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 had planned on breaking the position
dataset into some number of optimally sized textures and
rendering the instances in groups based on how many positions/
transforms I could fit in the texture)

-Nick

On Fri, Apr 23, 2010 at 10:14 AM, Christian Buchner <
[email protected]> wrote:

> the osgdrawinstanced sample uses OpenGL draw instancing. Refer to this
> one instead of osgforest.
>
> Christian
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to