Allan Schaffer (aschaffe)
Tue, 18 Jun 1996 14:07:41 -0700
> > > Does anybody have, or does this exist in Performer, a function that
> > > computes from 3D coordinates to 2D screen coords ?
In addition to what's been said already, here's a superlightweight
IRIS GL method:
[within the draw callback; also note that Performer coords
have been rotated so that Z is up]
cmov(x,y,z);
getcpos(&sx, &sy);
Allan
--
Allan Schaffer aschaffe++at++sgi.com
Silicon Graphics http://reality.sgi.com/aschaffe
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
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:53:01 PDT