-
2d rectangle in a 3d world
Hi!
Please, see the images below to understand my problem (my english is so bad...)
I'm trying to paint a 2d rectangle in a point of a 3d world. I need that this rectangle doesn't have any deformation and i need it with a know size (in pixels). Now i can do that painting with the projection gluOrtho2D, but i have a problem, the Z Buffer doesn't work (i know that its no correct). Any idea how to do that?
Now:
Expected:
thanks in advance!
-
Super Moderator
OpenGL Lord
Re: 2d rectangle in a 3d world
-
Re: 2d rectangle in a 3d world
Orienting the polygon based on the view direction is called billboarding...
(First entrance at google)
Now i know what was my problem
A lot of thanks, zbuffer!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules