PDA

View Full Version : Billboard issue



VinceGL
07-27-2011, 07:01 AM
Hi !

I'm currently working on billboard in my webgl game.
I'm using the spherical method in lightouse3D (http://www.lighthouse3d.com/opengl/billboarding/index.php3?billCheat)

And having the correct result:
http://www.lighthouse3d.com/opengl/billboarding/image3.gif

So, what is the problem ? -> It leans back into walls...
Is there a way to keep the same result but without having this issue ? (fix the billboard in the vertical plane but stay front of the camera).

Thank you in advance.

VinceGL
08-03-2011, 03:17 AM
No one ?

I find this topic (http://www.gamedev.net/topic/569421-2d-sprites-in-3d-scene-without-billboards/) related to the same problem, but even if I understand the way to process I'm not able to do this Maths stuff alone (I'm not enough familiarize with 3D maths). And I can't bump a topic one year later...

Please someone can help me to find a solution ?
Thank you.