[prev in list] [next in list] [prev in thread] [next in thread]
List: kpovmodeler-devel
Subject: Re: Renderman Exporter
From: Andreas Zehender <zehender () kde ! org>
Date: 2004-10-13 17:19:37
Message-ID: 200410131919.37330.zehender () kde ! org
[Download RAW message or body]
Hi!
On Tuesday, 12. October 2004 22:16, david@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@azweb.de | zehender@kde.org
--------------------------------------------------
List archive and information: https://mail.kde.org/mailman/listinfo/kpovmodeler-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic