Canvas troubleshooting: Difference between revisions

Jump to navigation Jump to search
m
Line 138: Line 138:


=== Tracking update/cull and draw per Canvas or Element ===
=== Tracking update/cull and draw per Canvas or Element ===
<syntaxhighlight lang="cpp">
</syntaxhighlight>
=== Patching CanvasMgr to use CompositeViewer internally ===
With Canvas textures typically not rendering any scene/scenery data (terrain), we don't necessarily need those Cameras to render within the main viewer. This is intended to help better leverage OSG-level concurrency support by using a separate CompositeViewer instance to render Canvas textures, without having to change the main OSGViewer and its threading mode:
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
</syntaxhighlight>
</syntaxhighlight>

Navigation menu