Brian Furtaw (brian++at++dingbat.clubfed.sgi.com)
Tue, 7 Jul 1998 11:21:00 -0400
To do this you will need to create your mesh as a pfFlux so the data you are
modifying stays frame syncronized. If your using PF-2.2 a good example of this
is /usr/share/Performer/src/pguide/libpf/C++/fluxed_gset.C . If your not using
Pf-2.2 you'll need to use a pfCyclebuffer. You could also look at
morph_engine.C in the same directory a pfMorph node takes care of what you are
describing automatically.
Brian
On Jul 7, 4:59pm, Stefano Conconi wrote:
> Subject: Dynamics vertex!
> Hi to all,
>
> Which could be the right way to simulate a deformation of a mesh?
>
> If we have a mesh with different polygons shape and the dynamics of all
> the vertices what can we do simulate the dynamics of all the vertices?
>
> Using performer can I traverse the vertex structure and change the
> position for each vertex?
>
> Or, have I to use the Multigen API, for example, to modify the db and
> every step to reload the dataset by performer's functions?
>
> There is some app. sample about this kind of applications?
>
> There is some function in performer that can permit me to get all the
> concurrent verteces of the adiacent polygons?
>
> Any suggestion will be appreciated?
>
>
> Thanks
>
> Stefano
> --
> -----------------------------------------------------------------
> Ing. Stefano Conconi
> STIGMA On-Line S.r.l.
> PAVIA - Italy
> -----------------------------------------------------------------
> E-Mail: conconi++at++stigma.it Phone: +39 (0382) 578948-9
> WWW: http://www.stigma.it Fax: +39 (0382) 577902
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Stefano Conconi
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
VisSim Technical Consultant
12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293
Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:41 PDT