i have a bytebuffer this way
x, y, z <- 3 float
r, g, b<- 3 byte
x,y,z, <- 3 float
r, g, b <- 3 byte
this are just 2 vertices i can give it directly to opengl( gldrawElements) with some stride between in
but are there methods in java to extract just the vertices.ByteBuffer.asFloatBuffer doeesn’t work because
i dont store my vertices consectutive…
Chera
Paul