Re: Renderman Exporter

Andreas Zehender <[email protected]> Wed, 13 Oct 2004 19:19:37 +0200
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <[email protected]>
Hi!

On Tuesday, 12. October 2004 22:16, [email protected] 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
 [email protected] | [email protected]      
--------------------------------------------------

List archive and information: https://mail.kde.org/mailman/listinfo/kpovmodeler-devel