Carsten Neumann wrote: > 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).
I thought about that as well, but it's not virtual... Or has that changed since 1.6? Allright I'll take a look... >> 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 Internal geometry nodes are Geometry nodes with children :) > 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. I just add bounding boxes of a geometry nodes as child of that node. I know there are 1000 better ways to do so, but I have a particular case here.... Cheers, Toni -- Ing. Antonio Bleile Seac02 S.r.l. via Avogadro 4 10121 Torino Italia Tel. +39.011.197.006.52 Fax +39.011.197.006.53 E-mail [EMAIL PROTECTED] Sito www.seac02.it ------------------------------------------------------------------------- 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
