Ffelagund
09-01-2008, 12:41 AM
Hello,
I need to draw some quads (or triangles, it doesnt matter) in a 3D space. Those quads lies over a big quads (a base plane), and that base can be rotated and zoomed. I need that those primitives have always the same viewing size, regardless the zoom or the fov.
I cant use point sprites because point sprites clips the plane where they will lay.
I can do it projecting primitive's vertices on the screen, and computing the needed transformation to change its size, but its a complex process, and computationally very expensive (I have a lot of primitives to draw) I'm sure that should be any other math method for achieve this but I dont know it.
Anyone can help me with this?
Thanks,
Jacobo.
I need to draw some quads (or triangles, it doesnt matter) in a 3D space. Those quads lies over a big quads (a base plane), and that base can be rotated and zoomed. I need that those primitives have always the same viewing size, regardless the zoom or the fov.
I cant use point sprites because point sprites clips the plane where they will lay.
I can do it projecting primitive's vertices on the screen, and computing the needed transformation to change its size, but its a complex process, and computationally very expensive (I have a lot of primitives to draw) I'm sure that should be any other math method for achieve this but I dont know it.
Anyone can help me with this?
Thanks,
Jacobo.