Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Thu, 15 Jan 1998 18:39:13 -0800
ps you need atan2f using eye position - billboard center in x & y to
get heading. Then you use the sin and cos of this heading you multiply
x & y (respectively) for x and y -x (respectively) for y for each
vertex (I've probably gotten the signage wrong).
This is all highschool trig and you should really buy a book on simple
trigonometry or a computer graphics text to help with this stuff.
Cheers,Angus.
--
"The Revolution 3D can be thought of as a chariot being pulled by three
powerful horses, each representing 3-D, 2-D and MPEG acceleration. While
many competing technologies may offer three horse chariots, often only
one of the three horses is fast" - industry analyst Richard Doherty,
=======================================================================
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:56:34 PDT