[osg-users] Adding nodes to the scene while the viewer is running

Per Rosengren perrose at kth.se
Sat Feb 16 13:31:38 PST 2008


Thank you! A small typo in my code resulted in that my geodes didn't get 
any children. No wonder they weren't visible...

Robert Osfield wrote:
> Hi Per,
> 
> Is it simply that the new objects aren't in the current camera's view?
>  Try moving the camera around the scene.  Try pressing space bar to
> force the camera manipulator back to its home position.
> 
> Robert.
> 
> 2008/2/15 Per Rosengren <perrose at kth.se>:
>> I try to add Geoms to the scene of my running osgViewer::Viewer. If I
>> print all children of Viewer::getCamera(), the new nodes are there, but
>> they are not visible in the viewer.
>> They are added to a Switch in the scene, and they are set to be visible.
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perrose.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080216/6cd19183/attachment.vcf 


More information about the osg-users mailing list