Hello Antonio,
Antonio Bleile wrote:
> Hi,
>
> How would I render a tree by just rendering the leaves?
> It can't work with travmasks, so I tried with some
> reimplementation of the RenderAction
I guess that is more or less the only option (you basically need to
replace Action::recurse to omit the enter calls).
> and also adding
> a custom registerEnter function, but I can't figure out
> how to skip the rendering of internal geometry nodes
> (without skipping their children!)
Sorry, this part remains a mystery to me. What are "internal geometry
nodes" ? And in what way does that affect children handling (unless a
core's callback calls action->useNodeList() the action defaults to
visiting all children (callback returns Action::Continue) or none
(callback returns Action::Skip or Aktion::Quit) ?
Can you give a bit of background of what you are trying to do, maybe
that allows us to come up with some ideas.
Thanks,
Carsten
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users