Advertisement

2D objects on 3D backgrounds...

Started by January 18, 2000 06:49 AM
0 comments, last by Someone 25 years, 1 month ago
Hi! I''m just wondering how do the game programmers place 2D objects on 3D backgrounds. It''s one of those things where it''ll always face the camera no matter where it is. Is this done by placing a polygon and code it to always face the camera? Or is there some other method that they are using? Just wondering which is the most effective way to handle this..
That is exactly what they are doing. Take a quad and let it always face the viewer. Very useful for crappy trees and th e like. Now, how do you do that?

calculate the vector between the center of the poly and the viewer. Now use the algorithm described in Paul Nettle''s WWH 2 or 3 (http://www.graphicspapers.com), not sure, to rotate the plane.

DaBit.


This topic is closed to new replies.

Advertisement