|
From: S.K.Bose <bo...@pa...> - 2001-09-24 10:17:21
|
On Mon, 24 Sep 2001, luc...@li... wrote:
> Last i have some specific questions for U:
>
> - How to get the global modelview transform that affects a geometry? Is
> there a quick way or should i build an appropriate NodeVisitor?
You will get accumulated modelview transformation matrix for each nodes in
RenderContext. This is calculated during render traversal.
> Can the getParentTransform help?
This will not help you anyway. This is applicable only for Viewpoint node
and some sensor nodes. Though there are problems with this as a node can
have multiple parents (DEF/USE).
Thanks,
Bose
|