Hi Vinay,
I don't if it's a typo, of the code you are trying to use is exactly
as you've set it, but you inhertiedWindwData is most definately wrong,
it should something like:
traits-inheritedWindowData = new
osgViewer::GraphicsWindowX11::WindowData(m_hWnd);
Note the inclusion of WindowData.
Sorry, that was a typo. The computer my code is on isn't connected to the
internet so I mistyped it as I rewrote it.
So yes, I do have what you have written below. I have taken a look at the
osgViewerMFC and didn't see anything else that I was missing. I will look into
the osgviewerQT
Hello,
I'm trying to port some code which worked in OpenSceneGraph 1.0 and used the
old Producer's viewer.
previously i had a statement which said:
Code:
viewer.getCamera(0)-getRenderSurface()-setWindow(gtk_plug_id);
I tried creating a graphics context and setting the
3 matches
Mail list logo