Hi Austin,
Austin Baker wrote:
> Hi,
>
> I'm new to OpenSG and am looking for a way to test a system's ability to
> dynamically load and unload a single object while running. Can somebody
> recommend a good way to do this?
>
> My natural inclination is to do this:
>
> osg::NodePtr testObject = loadModel("tree1.3ds", getRootNode());
> getRootNode()->subChild(testObject);
>
> where getRootNode returns a pointer to the NodePtr "scene_root".
That should work just fine. :)
Hope it helps
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users