[Plib-users] Re: billboarding
Brought to you by:
sjbaker
From: Luca M. <luc...@li...> - 2005-01-26 09:01:12
|
Hi Steve, > Remember that in OpenGL, the 'camera' is always at the ori= gin, staring down the Z axis. > > If you want something to be aligned = to the plane of the screen, you *WANT* your > modelview matrix to be the= identity matrix! I'm a newby of 3D programming, I didn't know that th= e camera is always located at the origin. However, I solved the pro= blem (and the matrix is rightly the identity matrix) increasing the bou= nding sphere of the particle system. At the first attempt I've set it =0D = more or less at the size used in the water example. In flightGear, though= t, I've noticed that the distances are much more great so the sphere's = size was too little. When I've enlarged it, the objects stop to disappe= ar when the point of view rotates. I was lost in a glass of water... = the solution was more simple then what I'm expecting. Thanks, Luca =0D = =0A=0A=0A=0A____________________________________________________________=0A= 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!=0A= Scaricalo su INTERNET GRATIS 6X http://www.libero.it=0A |