Renderman Exporter
Andreas Zehender
zehender at kde.org
Wed Oct 13 19:19:37 CEST 2004
Hi!
On Tuesday, 12. October 2004 22:16, david at david-williams.info wrote:
> So, I think I should refactor my code so that rather than calling
> serialise() at all I simply visit the nodes I want in the order I want
> them. While I could do this all within my exporter, it seems that some
> of the functionality should be bult into the export framework. Perhaps
> it would be appropriate for each node in a Scene to have a function
> such a findChildOfType() or findAllChildrenOfType(). I can of course
> add such functionality myself, but wanted to make sure it was
> appropriate and that I hadn't missed some better way of achieving my
> aims.
Sounds good.
Do you have to search recursively or is it enough to search through the top
level objects? Anyway, a method as you suggest sounds good and doesn't
hurt ;-)
--
--------------------------------------------------
Andreas Zehender
Master of Computer Science, Dipl. Ing. (BA)
http://www.azweb.de
az at azweb.de | zehender at kde.org
--------------------------------------------------
More information about the kpovmodeler-devel
mailing list