PDA

View Full Version : Fast render of points in a texture.



TAX
01-20-2004, 02:06 AM
I am using a float pbuffer to store particle coords. I want to render them as points, without reading them back to the CPU.

It seems that I cant read a texture from a vertex program.

Has anyone tried somthing like this?

davepermen
01-20-2004, 02:52 AM
for such (and much other) uses, the ARB_uber_buffer spec is at work.. currently you can only do this with NV_pixel_array_range (or similar naming).

V-man
01-21-2004, 07:59 PM
Originally posted by TAX:
It seems that I cant read a texture from a vertex program.


As far as I know, current hw can't do this yet.

Correct me if I'm wrong.

Humus
01-22-2004, 12:12 AM
No hardware today can read textures directly from the vertex shader. However, with the super_buffer extension you can use a texture as a vertex buffer, which should allow you to do some stuff that would otherwise need texture access.