morphing geometry

New Message Reply Date view Thread view Subject view Author view

Rodney Hoinkes (rhoinkes++at++imm-studios.com)
Mon, 30 Jun 1997 19:14:37 -0400


hi,

i am trying to do a morph effect, so that objects will smoothly cycle
between geometries. i used the pfMorph class as in the morph.c example,
and i want to load two models and morph between them. i create two
models with the same number of polygons and verteces, but i still have a
problem:

the polygons are being optimized by the loader, so that even if one vert
is different, i get a different order of the polygons (which makes the
morph look pretty strange).

i tried to change my loader to do:
 pfdBldrMode(PFDBLDR_MESH_RETESSELLATE,FALSE);
but it doen't seem to do anything.

also i'm not sure which order the normals appear. they go by unique
vertex. is there an easy way to deal with them? (finding number of
normals and matching to verts).

am i doing the morphing the right way? or is there a better way of doing
it?

thank,

eyal katz
=======================================================================
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:55:31 PDT

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