Christian Lessig wrote:
I expected that there should be 6 indices for rendering two triangles?
How does OpenSG handles indices here?
It could be that you are getting strips or fans instead of discrete
triangles.
/Marcus
---
SF email is s
Hi Christian,
you may want to check the type of the primitive, I guess this is a
tristrip of length 4 which equals 2 triangles. All the makeXXX
Functions create optimized geometry.
Regards
Matthias
On Monday 18 April 2005 10:59, Christian Lessig wrote:
> Hi,
>
> I've got a question on geometr
Hi,
I've got a question on geometry indexing in OpenSG. Here a small example:
OSG::NodePtr scene = OSG::makePlane( 1.0, 1.0, 1, 1);
assert( OSG::NullFC != scene);
OSG::GeometryPtr geo = OSG::GeometryPtr::dcast( scene->getCore());
assert( OSG::NullFC != geo);
// preprocess geometry
OSG::separat