Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Thu, 21 Aug 1997 18:54:16 -0700
This is a *really* bad idea, it will exhibit the same difficulty,
the culling information will also be bogus since the cull process won't know
about object positions in the draw.
You need to perform the update in the application to stick an object
to the eye. Otherwise you have to pass the information downstream
using pfcyclebuffer methods and the culling will *very* likely be wrong.
The reason you see shuddering is the timing of your application driven
object position *write* in memory is asynchronous with the update of
the DCS in the draw callback which *reads* the same memory for the
position info.
The update will also happen too early if you don't buffer
the information downstream.
If you just update everything in the application the DCS and channel
position matrix info will be sent downstream at the same time when you
call pfFrame and you don't have to worry about cycle buffers or anything
else.
Cheers,Angus.
=======================================================================
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:55:46 PDT