20,741
edits
Line 755: | Line 755: | ||
}} | }} | ||
With Canvas textures typically not rendering any scene/scenery data (terrain), we don't necessarily need those Cameras to render within the main viewer, i.e. by settig up a CompositeViewer instance rendering to a pbuffer instead of a visible window [https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg67926.html]: | With Canvas textures typically not rendering any scene/scenery data (terrain), we don't necessarily need those Cameras to render within the main viewer, i.e. by settig up a [http://www.openscenegraph.org/index.php/documentation/guides/programming-guides/93-viewer-vs-compositeviewer CompositeViewer ] instance rendering to a pbuffer instead of a visible window [https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg67926.html]: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> |