Hi,
I went crazy on why my app based on OSG 320 thrown away the Camera global
settings when I used osgViewer::View::addSlave.
Finally I found what seems a typo in the following enumerator (file SceneView,
row 54):
enum Options
{
NO_SCENEVIEW_LIGHT = 0x0,
HEADLIGHT = 0x1,
SKY_LIGHT = 0x2,
COMPILE_GLOBJECTS_AT_INIT = 0x4,
APPLY_GLOBAL_DEFAULTS = 0x8,
CLEAR_GLOBAL_STATESET = 0x16,
the CLEAR_GLOBAL_STATESET is set to "0x16". Is this your intent or the right
value is 0x10 for correct bitwise operations?
Cheers,
Giuseppe
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56156#56156
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org