Calculate its perpendicular first. Any three points define a plane, and
that plane has a perpendicular vector that is often called a "normal". Rotate
the triangle so that its normal is aimed at the camera location.
Cheers!
Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
Post a reply to this message
|