|
From: Dair G. <da...@re...> - 2004-08-27 15:30:30
|
James Dessart wrote: >Is it possible to do billboarding in Quesa? I noticed it was mentioned=20 >in the transparency thread, but I'm not sure how to go about doing it=20 >with Quesa, and I'd like to. See createTestRasterize() in Geom Test.c: if you submit a Q3RasterizeCameraTransform object, the x and y coordinates of vertices are treated as pixel coordinates (with z allowing an offset). That's more intended for GUI overlays - it might be useful to have a more 3D-style billboard, that would maintain some orientation to the camera while remaining fixed in other dimensions. E.g., a tree that would rotate around the y axis to face the camera position, while remaining fixed around z and x. Don't know if that would be best as some kind of transform that would position any type of geometry, or as a new geometry type (the latter would be a textured quad, while the former would let you do both a textured quad and something more complex). -dair ___________________________________________________ mailto:dair+refnum.com http://www.refnum.com/ |