Hi,

I'm using OSG 3.0.1 in Windows and compiling with Visual Studio V9.

I am having problems when trying to use depthPartition on a view in 
osgviewerQt.  

To see the issue, change the following in the Examples osgviewerQt project:

1) comment out the QWidget *Widget2 through *Widget4 in the ViewerWidget 
constructor AND there cooresponding grid->addWidget().  Also comment out the 
popupWidget.   This will simplyfy the example.

2) In the addViewWidget method, add view->setUpDepthPartition() after 
view->setCameraManipulator(..).

When executed, I get a blank QWidget and the "'invalid enumerant' at after 
RenderBin::draw(..)" message streaming in the DOS window.  

If you commented out the view->setUpDepthPartition() line, I see the cow in the 
widget with no problems.


Thanks for your help.
James

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50635#50635





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to