Re: loading keyframe information

New Message Reply Date view Thread view Subject view Author view

Shawn Kendall (kendalls++at++orl.saic.com)
Mon, 24 Nov 1997 17:28:50 -0500 (EST)


On Mon, 24 Nov 1997, Anita Kishore wrote:

> On Nov 24, 1:18pm, Shawn Kendall wrote:
> > Subject: Re: loading keyframe information
> > On Mon, 24 Nov 1997, Anita Kishore wrote:
> >
> > > You have to do your own modifications to the loader that you are using, and
> > > extract the animation info. from it. After that in the pf rendering code,
> > > ie: your application, you need to do your own interpolations inbetween
> >
> > Just a quick note. You don't have to write your own interps. You
> > can use pfMorph to do interpolations inbetween the keyframes.
> > __________________________________________________________
> >
> > Shawn Kendall
> > SAIC
> > Research Park
> > University of Central Florida
> > __________________________________________________________
> >
> >
>
> Maybe for the interpolation type that pfMorph uses internally, but
> I doubt if pfMorph allows you to specify the type of interpolation that you
> want ie: if linear, quadratic, or spline...etc.

It is true that the interpolation is inheritly linear, i.e. you use a
number between 0.0 and 1.0 but you can easily map any other scheme
- quadratic/spline - to it. The big gain here is that pfMorph handles
updating ALL the attributes you want to interpolate in a Gset. For
example, if you may need to morph between list of vertices and normals (as
in morph.c). Once the attributes are set, morphing the whole list is
handled by Performer and all you have to do is use the pfMorphWeights
call.

I will say that I'm relatively new to pfMorph but I found it very easy and
powerful to use.

__________________________________________________________

Shawn Kendall
SAIC
Research Park
University of Central Florida
__________________________________________________________

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:15 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.