[info-performer] Questions regarding shared memory and video capture

Date view Thread view Subject view Author view

pchen++at++mail.eecis.udel.edu
Date: 09/06/2005 11:47:28


Hey, Everybody,
How are you all doing?
I am now working on a surgical simulation project using Performer and
PHANTOM device on a SGI Prism. The graphic server is runing Redhat Linux.
My first question is for shared memory. In my simulation I built a
pfGeoSet object for an organ model. I then used pfGeoSet::setAttr() to set
the triangular surface meshes into the pfGeoSet. Those tiangle meshes are
saved in an array allocated from the shared memory by pfMalloc. My
question is, before I quit the simulation, I want to free the used shared
memory, whats should I do?
Should I use pfDelete() to delete the pfGeoSet object? Shoudl I use
pfFree() to free the array containing the triangle meshes? Or should I do
both?

My second question is, I want to make a video of my simulation, dose
Performer provide any video output so that I can save each frame of my
simulation into a video file?

If anyone know how to solve these problem? Please let me know.
Thanks in advance

Raymond


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Sep 06 2005 - 11:47:47 PDT