John A. Collier (jcollier++at++alexandra.mtl.com)
Tue, 15 Nov 1994 07:36:55 -0500
I am trying to switch materials between 2 channel draws. The idea is to have
the same image in both windows but with different colors. It works when I am
not trying to switch channels and just change the materials upon a keystroke
on one channel. The materials flicker in both windows when running on both
channels.
I issue a
pfChanTravMode(pfchan,PFTRAV_CULL,(PFCULL_VIEW ));
to eliminate cull sorting.
For channel 0, I then issue a
pfGStateAttr((pfGeoState *)shared->geostates[index],
PFSTATE_FRONTMTL,
shared->ir_address[index]);
to place the material at shared->ir_address[index] in the geostate
at shared->geostates[index].
For channel 1, I issue the same command but to a different material address.
I am running on a simgle pipe Onyx.
Any suggestions?
Thanks for your time,
John
-- John A. Collier e-mail: jcollier++at++mtl.com MTL Systems, Inc. voice: (513) 426-3111 3481 Dayton-Xenia Rd. fax: (513) 426-8301 Dayton, OH 45432-2796
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:40 PDT