Can someone please post a working example of
rendering 100k+ instanced objects using OSG?
I have seen quite a few posts saying you need to
use shaders or some other advanced technique,
but haven't found any concrete examples.
I need to render around 100k boxes without killing
the framerate.
I
the osgdrawinstanced sample uses OpenGL draw instancing. Refer to this
one instead of osgforest.
Christian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
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
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
Hi Paul --
I didn't mean to imply that the technique wasn't viable --
due to my errors and lack of experience I was unable
to correctly implement instanced rendering by passing
the data in a floating point texture.
Do you have an example you would be willing to post?
Thanks,
Nick
On Fri, Apr
Nicholas Vidovich wrote:
Hi Paul --
I didn't mean to imply that the technique wasn't viable --
due to my errors and lack of experience I was unable
to correctly implement instanced rendering by passing
the data in a floating point texture.
OK. Yeah, it's definitely possible. Sounds like you
6 matches
Mail list logo