This doesn’t make sense because
-->vdata= rbcN.getInternalScene( ).node().modifyGeom( 0 ).modifyVertexData( )
-->vdata2= rbcN.getInternalScene( ).node().modifyGeom( 1 ).modifyVertexData( )
-->print id(vdata), id( vdata2)
10809144 10807296
-->print vdata is vdata2
False
but they both have 40 rows! And,
-->print rbcN.getInternalScene( ).node().getGeoms( )
[Geom [ GeomTristrips ], 2 faces, Geom [ GeomTristrips ], 2 faces, Geom [ GeomTristrips ],
2 faces, Geom [ GeomTristrips ], 2 faces, Geom [ GeomTristrips ], 2 faces, Geom [ GeomTri
strips ], 2 faces, Geom [ GeomTristrips ], 2 faces, Geom [ GeomTristrips ], 2 faces, Geom
[ GeomTristrips ], 2 faces, Geom [ GeomTristrips ], 2 faces]
So what data is this all and does it overlap and if so how?
c.setColor( r, g, b, 1 )
c.flattenLight()
When I called it, the vdata became:
-->card
40 rows.
Array 0 (00E577F4, [ vertex(3f) normal(3f) texcoord(2f) ]):
row 0:
vertex 0 0 0.5
normal 0 -1 0
texcoord 0 1
row 1:
vertex 2.5766 0.352811 1.42701
normal 0 -1 0
texcoord 0 0
So I will not be able to write relative vertices, but that wasn’t one of my requirements, not one of the things I was planning to do anyway, so. However, a color array did not appear.
Also, what all attributes are there in a RenderState?