Quoting syd : > I was looking for why the billboard are not showing up, without > success. It seems you found why. IIRC, plib use the Z-up convention > when OpenGL use Y-up natively. I don't know how OSG behave, but it > would be nice not to have to redo every model that use billboard if > it's possible, and add a transformation in the animation code. > > Hi again , > I did check the billboard animation to see if billboarded objects > could be rotated 90 degrees around the X axis first , but it'll take > much more reading on my part. > Anyone know where the tree drawing module is ? That might help, too. > Cheers,
I managed to restore the spherical billboards ( lights on planes, bridges and masts ) in my local copy, but not the axial one ( trees or radio mast at distance ). So I am still holding the code. I guess the AutoTransform class is not able to do axial billboarding, and OSG billboards are objects, not transforms, so I want to change that to a custom MatrixTransform, and steal the code from plib ssgCutout class, with the required axis swap. -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278/partner/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel