Hello everybody,

I have 2 questions for you today ;).

1) The BIG one:
 What is the max number of primitives I can put in a single PrimitiveSet in 
order to get an efficient rendering?

2)Really less important:
 I created a geode to which I added a geometry.
To this geometry I added:
-A primitiveSet type DrawArrayLengths, mode TRIANGLES
-A colorArray Vec4ubArray, set the color binding
-A VertexIndices array
-A VertexArray

I fill the VertexArray, and the VertexIndices then set the first value of the 
DrawArrayLengths as the size of the VertexIndices.

I thought I add filled all the necessary elements to get a geode I can render, 
but when I add it to my root and run the viewer, it doesn't display.
 Do you see something I forgot?

Thanks for any suggestion!

Cheers,
Max

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13350#13350





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to