Hi Carsten,
Carsten Neumann wrote:
>> I took a look on
>> simplestage, but i'm not sure if it will fit to my needs. My objective
>> is to render the screen to a texture buffer without modifing the
>> aplication scene.
>
> the scene as far as the application is concerned would not really have
> to change, but you'd put a small tree on top of it:
>
> root
> |
> +- SimpleStage
> | |
> | +- VisitSubTree -> ApplicationScene
> |
> +- VisitSubTree -> ApplicationScene
Do you really need two VSTs here? Or would the following work, too:
root
|
+- SimpleStage
| |
| +- VisitSubTree -> ApplicationScene
|
+- ApplicationScene...
I would like to reduce the number of VSTs as much as possible, as they mean
trouble for a system that is at heart single-parent like OpenSG, see the
Intersect thread for a good example...
> See Gerrit's mail for more info why you need VisitSubTree here.
> If you don't want to update the FBO texture every frame, you can use a
> traversal mask on the Node with the SimpleStage core and the RenderAction:
> A node and its subtree are only visited if the bitwise-AND of the node's
> trav mask with the action's trav mask is non-zero.
Good idea.
Yours
Dirk
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users