Hi Mike,
basically the thing you are looking for is instancing. The question is
still a bit void. You'll need a shader to do instancing, but you need to
put some effort into it by using a visitor to create your instances.
Take a look at the osggpucull example if your looking for an efficient
Similar to what OSGforest example does, except render an actual ive file and
mot just textured quads...
Thank you!
Cheers,
Mike
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69661#69661
___
Hi,
Wondering if it possible to draw an ive file inside a shader. For example, say
I want to populate an urban area with a particular building, maybe have the
shader scale and rotate and place it randomly. Can I use a shader to draw the
ive file over and over again externally to the actual
3 matches
Mail list logo