Hi, Koduri

You can reuse AnimationPathCallback to animate other transform with same 
animation, or create new animation path callback reusing existing 
osg::AnimatiohPath

Cheers.

17.07.2012, 12:06, "Koduri Lakshmi" <[email protected]>:
> Hi,
>
> I want to drive a model in a critical path. I created this path in 3rd party 
> software and exported as an OSG file. The content of the OSG looks like as 
> follows
>
> Code:
> MatrixTransform {
>     DataVariance DYNAMIC
>     name "FORWARD CAR"
>     nodeMask 0xffffffff
>     cullingActive TRUE
>     UpdateCallbacks {
>       AnimationPathCallback {
>         pivotPoint 0 0 -0
>         timeOffset 0
>         timeMultiplier 1
>         AnimationPath {
>           LoopMode LOOP
>           ControlPoints {
>             0 2.9070041179657 24.1533756256104 -371.264617919922 
> -0.144665136933327 0 -0 0.989480674266815 1.15895998477936 1.15896010398865 
> 1.15896010398865
> ............................................
>
> }
>
> Here I gave only one control point.
> Is there any way to create animation path with these control points (using 
> above info) .
>
> I have many models in a scene and already in memory. If I export animation 
> with models then the final OSG model became huge in size. So I don't want to 
> place the models once again in a seperate OSG file.
>
> Can any one please help me how to create animation path with these control 
> points.
>
> ...
>
> Thank you!
>
> Cheers,
> Koduri
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=48882#48882
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to