From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 02/24/2000 15:08:29
Hello Chiron !
updateSim runs as a part of the APP process. If you slow it down, your frame
rate will slow down.
If you want to modify geometry in an asynchronous process (not slowing the
APP-CULL-DRAW frame rate), you can use a COMPUTE process (see man pfCompute).
All the geometry that you plan to modify has to be multi-buffered (see man
pfFlux) in order to avoid the glitches you mention.
-yair
>
> Quick naive question,
> In a perfly application if I put non constant time consuming code in the
> dovehicles() function will this mess up the sync neccessary to get proper 3D
> in a CAVE.
> In other words are the updateSim and the draw functions already on separate
> processes with their own mutexes so that geometric updates don't happen
> while the picture is being drawn.
> I've tried putting all this code in another process using sproc, though with
> slightly unfortunate results as I'm changing geometry as its being drawn so
> there are a few glitches appearing. Just wondering whether I'm wasting my
> time here!
> thanks for any help
> Chiron
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
--
\_________ \_____ \__ \__ \_____ Yair Kurzion
\_________ \_____ \__ \__ \_____ yair++at++sgi.com
\__ \__ \____\__ \__ http://reality.sgi.com/yair
\__ \__ \__ Work: (650) 933-6502
\__ \__ \__ Home: (408) 226-9771
\__ \__ \__
This archive was generated by hypermail 2b29 : Thu Feb 24 2000 - 15:10:47 PST