20,741
edits
| Line 358: | Line 358: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The serialized scene graph can be easily viewed using the standalone osgviewer tool like this | The serialized scene graph can be easily viewed using the standalone <code>osgviewer</code>[http://trac.openscenegraph.org/projects/osg//wiki/Support/UserGuides/osgviewer] tool like this | ||
<pre> | <pre> | ||
osgviewer textnode.osg | osgviewer textnode.osg | ||
</pre> | </pre> | ||
Doing this can be useful for comparing rendering performance between fgfs and osgviewer (i.e. via the osg on screen stats). | |||
This is what a simple Canvas sub-scenegraph may look like: | This is what a simple Canvas sub-scenegraph may look like: | ||