On 3/22/2011 9:58 AM, Simon Kolciter wrote:
> 1. Push the list of vertices and primitive indices to the GPU.
> 2. Call GLSL function.

  Fine so far.

> 3. Pull the resulting list of normals from the GPU.

  Good lord, why? You're going to USE them on-GPU aren't you? Pulling them back 
across the
bus could be very slow and expensive.

  You should be able to do what you're looking for on-GPU. There are some cache 
and
read/write issues when you need to write to a data store and then immediately 
read it back
and use it for drawing. Others can comment on that.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to