Hi,
To save some memory I am trying to use 3 unsigned bytes for the color of my
vertices (they are generated) instead of the 4 floats I had before.
Before it was set to Vec3Array, and now Vec3bArray. (actually last thing I
tried is Vec4bArray), but I only get black colors.
I'm sure I'm not
Hi Bram,
osg::Geometry is written to primarily use Vec3Array for vertices,
while non Vec3Array can be passed to OpenGL these non Vec3Array won't
support computation of bounding volumes etc. so problems such as
incorrect culling could result.
I would recommend use Vec3Array. If you really have
2 matches
Mail list logo