On Sun, 2 Sep 2001, Jarek Rzepecki wrote:
> Hi!
> I have an object tree (not OIV object tree). Now, i would like to build
> an OIV tree from this tree. Elements of OIV tree should be SoSeparator
> type (becouse every object in my tree can have child objects,
> transformations etc...) How can i build this tree? But once agein problem
> is not reading from my tree - i can read object information, translation
> etc from this not OIV tree and applay them to OIV. Problem is how to build
> this SoSeparator tree. Thank you for any help...
> - jarek
Jarek,
I'm not clear on how you're accessing your non-OIV tree, but I assume you
are familiar with the format that it is in. What I would do is make a
small OIV tree, save it to a file as text, and then look at the file and
try to understand how it works. It's not a complicated format by any
means. Then, write a program (perl would be ideal) that converts your
non-OIV tree into an OIV tree.
--Jeremy [buchmann@xxxxxxxxxx] [buchmann@xxxxxxxx]
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin
|