Re: getting DCS's created when Performer loads Inventor
Mario Veraart (rioj7++at++fel.tno.nl)
Wed, 9 Sep 1998 18:53:47 +0200 (MET DST)
Bert VandenBerg wrote:
>
> I'm porting a simple animation program written in inventor (to
> performer). I have a number of (heirarchical) .iv data files, and need
> to selectively animate items in the files (identified with "DEF name
> Separator { ... }".
>
> The inventor loader appears to convert each "Separator {}" into a
> pfGroup node. What I need is to have a DCS created which has as its
> child the pfGroup node, so that I can individually animate the items
> contained in "Separators {}".
>
> Is there a type of inventor node that will result in a DCS being created
> in the Performer scenegraph?
>
> I'd like to avoid modifying the Inventor loader.
If you can find the pfGroups in the scene graph just write some code
that will replace this pfGroup with a pfDCS. Just move all children
from the pfGroup to the pfDCS and detach the pfGroup from all its
parents and attach the pfDCS to these parents.
Mario
This archive was generated by hypermail 2.0b2
on Wed Sep 09 1998 - 09:54:19 PDT