increased Vertex functionality

Blitz3D Forums/Blitz3D Programming/increased Vertex functionality

MusicianKool(Posted 2010) [#1]
I would like to be pointed in the right direction for this or to a userlib that can already do this.

I need to be able to manipulate the internal vertex array/list of a mesh so that I can manipulate it as one could with any array. This way i can reconstruct a mesh in a very coherent way as well as add properties to individual vertex's (IE. a multi-dimensional array), quickly.

Thanks!


Yasha(Posted 2010) [#2]
FastPointer will let you have direct access to memory from B3D, which is useful for this.

To see what you're peeking and poking, take a look at the structure tables. The vertex array pointer is in the surface struct.


Dreamora(Posted 2010) [#3]
Question is what properties you would want to add to individual vertices cause they have all properties, nothing for you to add (DX7 has no FVF just in case)