Nicholas Vidovich wrote:
Thanks, Christian --

I have tried modifying the osgdrawinstanced example as well.

Do you have an example that sets the positions of the instances?

I tried passing positions in as a uniform sampler2D texture,
but that didn't work out.

I have done instanced rendering where position and orientation are passed as elements of a floating point texture. This works fine.

--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to