reubert
2004.10.07, 06:23 AM
howdy
Does anyone know of a nice fast way to draw a heap of billboards? When I say billboards, they don't need to be "true" billboards. Having them always have up vector as 0.0,1.0,0.0 and all facing the camera plane, rather than the camera point would be fine.
So far I've only been able to figure out ways that involve a multMatrix or loadMatrix call for every billboard. Not only is this an overhead, but it rules out vertex arrays.
I thought I'd almost got there when I came across ARB_point_sprite, but it's not defined in panther :(
David
Does anyone know of a nice fast way to draw a heap of billboards? When I say billboards, they don't need to be "true" billboards. Having them always have up vector as 0.0,1.0,0.0 and all facing the camera plane, rather than the camera point would be fine.
So far I've only been able to figure out ways that involve a multMatrix or loadMatrix call for every billboard. Not only is this an overhead, but it rules out vertex arrays.
I thought I'd almost got there when I came across ARB_point_sprite, but it's not defined in panther :(
David