how to create dynamic object?

New Message Reply Date view Thread view Subject view Author view

Liu Xiaoyan (liuxy++at++nsrc.nus.sg)
Fri, 20 Mar 1998 19:27:44 +0800


Hi, all.

In my collision detection program, I want to spurt out something at the
point of collision(like a small sphere etc.) and then just disappear.
But, I don't know how to define the time period these objects exists.

Shall I use pfTime to let it be enabled for drawing at time1 and
disabled at
time2? Or better to let it live for several frames? How to count the
frames
that a scene is drawn?

If these small spheres are to be created and deleted dynamically based
on
the numbers from the collision, what's the efficient way to do this?

Thanks for any help.

Liu Xiaoyan

***********************************************************************
Liu Xiaoyan National Supercomputing Research Center
Data Visualization Group http://www.nsrc.nus.edu.sg Tel:(65)7709267
***********************************************************************
=======================================================================
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:57:03 PDT

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