From: Angus Dorbie (dorbie++at++sgi.com)
Date: 02/24/2000 12:00:30
You typically have a large window in which to perform your updates, just
don't take too long to do it. Variable time is not a problem, that is
what pfSync is there for.
If you have lot's of updates then do them after pfDraw and before
pfSync, NOT after pfSync and before pfDraw.
Cheers,Angus.
"c.mottram" wrote:
>
> 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
-- For Performer+OpenGL tutorials http://www.dorbie.com/ My comment on the abuse of Jon Johanson's rights; After giving up raiding their neighboring countries the Norse men have taken to raiding 15 year old kids in their bedrooms. Very sad.
This archive was generated by hypermail 2b29 : Thu Feb 24 2000 - 12:01:34 PST