Paul Melis wrote:
Paul Melis wrote:
I don't think there's an easy way out for this one, as wxWidgets uses
a different memory management strategy than OSG. Even removing the
GraphicsWindowWX as child of the main frame just before exit forces
destruction. IMHO GraphicsWindowWX shouldn't inherit
Hi,
Assuming I understand you correctly you added something like this to
class GraphicsWindowWX:
void setViewer(osgViewer::Viewer *v) { _viewer = v; }
void setView() { _viewer-getCamera()-setViewMatrixAsLookAt(
Paul Melis wrote:
I don't think there's an easy way out for this one, as wxWidgets uses
a different memory management strategy than OSG. Even removing the
GraphicsWindowWX as child of the main frame just before exit forces
destruction. IMHO GraphicsWindowWX shouldn't inherit from both a
hi,
i've used the osgViewerWX example for my program and I'd like to change the
camera view inside the GraphicsWindowsWX class. I've done this:
- I pass the viewer to GraphicsWindowsWX in function wxOsgApp::OnInit().
frame-SetViewer(viewer.get());
gw-setViewer(viewer.get());
And I
4 matches
Mail list logo