[Plib-users] Billboarding problem
Brought to you by:
sjbaker
From: Luca M. <luc...@li...> - 2005-01-24 10:19:48
|
Hi everyone, I'm working on the FlightGear project and I'm trying to a= dd a particle system to simulate the smoke. I've solved the main proble= m to add it into the simulator - now the particles are visible into the =0D = scenery and follow the movements of the aircraft - but I've a problem wi= th the billboarding functionality. I've found that, and I don't know th= e reason of it, the GL_MODELVIEW matrix, used to rotate the objects doe= sn't change. In other words the data stored into the matrix is always the= same, even when the point of view is moved. There's a way to solve t= his? I cannot use the animations (the billboard animation) that FlightGea= r offers because I don't load an external object. There's another mat= rix that could be used to calculate the correct rotation. Hi, Luca=0D = PS:Norman, I don't know if you remember the question I've made some tim= e ago but now I understand what you have told me. I've to add the parti= cle system to the root and not to the aircraft; the position of every p= article could be taked from the position of the aircraft. =0A=0A=0A=0A___= _________________________________________________________=0A6X velocizzar= e la tua navigazione a 56k? 6X Web Accelerator di Libero!=0AScaricalo su = INTERNET GRATIS 6X http://www.libero.it=0A |