Questions tagged [wxglcanvas]

10 questions
5
votes
4 answers

Is there an opensource framework for 3d canvas?

Is there an opensource framework to allow real-time rendering of textured polygons? I want to display photo's in a 3d space. I don't need many polygons (less than 100, but the more the better, of course)
Mr Bell
  • 9,228
  • 18
  • 84
  • 134
1
vote
0 answers

How to get the frame rate using wxGLCanvas for linux environment?

I am new learner. I want to know about to How to get the frame rate using wxGLCanvas for linux environment? Have you any idea and code about it? Please help..
1
vote
1 answer

Initialize Glew from within wxGLCanvas under Linux

When the constuctor for my wxGLCanvas sub-class MyGLCanvas::MyGLCanvas(wxWindow* parent) : wxGLCanvas(parent, wxID_ANY, 0) { wxGLContext *m_context = new wxGLContext(this); SetCurrent(*m_context); GLenum err = glewInit(); } is…
matec
  • 1,316
  • 1
  • 10
  • 22
1
vote
1 answer

wxWidgets in C++: how to make a wxGauge appear on top of a wxGLCanvas

I have an app made in C++ with wxWidgets that downloads tiles from OpenStreetMap and displays the map inside a wxGLCanvas. I also made a progress bar with wxGauge that shows download progress. The map and the progress bar are both inside a…
ChrisX
  • 334
  • 1
  • 5
  • 20
0
votes
0 answers

I am getting wrong values when calling glReadPixels

In my program I am trying to select an object on right mouse click event using glReadPixels method. Window for rendering is created using wxWidgets (by extending wxFrame and wxGLCanvas). However, I am getting wrong values. He is tutorial that I…
Elnur
  • 119
  • 1
  • 5
0
votes
1 answer

wxGLCanvas exits process

I have a problem with the OpenGL canvas of the wx library. When I use the method SwapBuffers of wxGLCanvas the whole process will be terminated with exit code 1. If I remove the method call the program runs on and on. Unfortunately there is no GL…
okoman
  • 5,529
  • 11
  • 41
  • 45
0
votes
1 answer

WxPython GLCavans not working on some machine

I'm trying to run this simple (and useless) script on different machines: import wx from wx import glcanvas app = wx.App() frame = wx.Frame(None) glcanvas.GLCanvas(frame) It seems to work (it ends gracefully without errors) on most PCs, but i'm…
Luca
  • 1,270
  • 1
  • 18
  • 34
0
votes
1 answer

How to use a wxGLCanvas in a double-buffered wxFrame?

My wxWidgets application has a main wxFrame with a wxAUIManager. In four panes i have a wxTreeCtrl, a wxNotebook (in a wxPanel to manage flickering), a wxListBox and an wxGLCanvas respectively. To manage a flickering issue I would like to have the…
marcks
  • 400
  • 1
  • 2
  • 11
0
votes
1 answer

wxOSX/Carbon: wxGLCanvas mouse offset in non-floating window classes

I mainly program plugins using wxWidgets within a Carbon bundle which is loaded at runtime. The host-applications where my plugins are running in provide a native window handle (WindowRef), which I can use to add my custom, wxWidgets-based…
srose
  • 1
  • 1
-2
votes
2 answers

wxglcanvas c++ fedora not showing

Currently working on a project using WxWidgets I want to use a wxGLCanvas unfortunately nothing is showing up. I've installed a lot of packages on my Fedora (21) without any improvement, I've already installed the "standard" opengl package since…
Jérôme B
  • 311
  • 5
  • 18