Jean-Luc Dery (dery++at++atlantis.Discreet.QC.CA)
Tue, 11 Mar 1997 09:38:23 -0500
I've got a question in relation to channel setup synchronization in the
rendering pipeline that goes like this:
- my application is set to APP_CULL_DRAW multiprocess mode
- at frame n, I call the following functions in the channel app
callback:
chan->setScene( someScene1 );
chan->setESky( someES1 );
someES1->setColor( <<red>> );
and at frame n + 1,
chan->setScene( someScene2 );
chan->setESky( someES2 );
someES1->setColor( <<green>> );
Now, my question is:
When I'm in the draw process for frame n, from the channel draw callback, I do
the following:
currentScene = chan->getScene();
currentES = chan->getESky();
chan->clear();
I'm I right or I'm I wrong with the assumption that:
currentScene = someScene1
currentES = someES1
but my ES will be red.
If this is true, then, in order to have pipeline synchronization for ES
attributes, one must apply changes in the draw process using a cycle buffer or
the chanPassData feature.
Thanks in advance for any help.
Jean-Luc
-- _____________________________________________________________________________Jean-Luc Dery Discreet Logic System Engineer 5505 boul. St-Laurent, bureau 5200 3-D Graphics Technology Montreal (Quebec), Canada, H2T 1S6 Tel: (514) 272-0525 #394 Email: dery++at++discreet.com Fax: (514) 272-0585 _____________________________________________________________________________ ======================================================================= 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:54:52 PDT