PDA

View Full Version : hierarchical structure


Zafer
05-07-2004, 10:50 AM
Hi All,
I am trying to create an animation using hierarchical objects. Normally all transformations to the mother node are inherited by its children. I want to transform the mother node while the children remain stationary in some cases. How can I do this while having the hierarchical structure? Or is it possible to assign or break the hiearchy on the fly?
Zafer

farshizzo
05-07-2004, 11:57 AM
Hi Zafer,

This functionality is not built-in to Vizard, but if you tell me exactly what you need I could create a plug-in for you that could do this. Do you just need to detach a child from the parent and then reattach it later?

Zafer
05-07-2004, 01:13 PM
Yes, I think that would work. So, I can remove the children first and apply the transformation to the parent and then I can add the children again.
Many Thanks.
Zafer



Originally posted by farshizzo
Hi Zafer,

This functionality is not built-in to Vizard, but if you tell me exactly what you need I could create a plug-in for you that could do this. Do you just need to detach a child from the parent and then reattach it later?

farshizzo
05-07-2004, 06:43 PM
Hi Zafer,

I went ahead and built-in this feature into Vizard. In the meantime, you can download the plugin to do this here (http://www.worldviz.com/download/files/hierarchy.zip) . The zip file contains an example of how to use the plugin. Press the 'd' key to detach the arrow from the duck. Press the 'a' key to reattach the arrow to the duck.

Zafer
05-10-2004, 01:45 PM
Farshizzo, Thanks! This works. I have one question:
In your example, the color of the arrow turns to gray when you detach the child. How can I fix this, preserve the color?
Zafer


Originally posted by farshizzo
Hi Zafer,

I went ahead and built-in this feature into Vizard. In the meantime, you can download the plugin to do this here (http://www.worldviz.com/download/files/hierarchy.zip) . The zip file contains an example of how to use the plugin. Press the 'd' key to detach the arrow from the duck. Press the 'a' key to reattach the arrow to the duck.

farshizzo
05-10-2004, 02:05 PM
Hi Zafer,

Sorry about that, I didn't notice it earlier. I updated the plugin. Just download it again and it should work.