Quite a regular
Joined: 2008/11/3 12:06 Last Login
: 2023/8/2 22:18
From South France
Group:
Registered Users
|
@TonyW: I can't use this, it should make the coding more complex than it actually is ... and I want to use simple memory allocation not trying to create structure for each cases ... Memory block size is defined depending on the amount of vertexes used for the object to create ... Simple AllocMem and a simple SetObjectVertex( int ObjectID, int VertexID, float X, float Y, float Z ) can define a vertex. Normals are under an algorithm and UV and COLOR are defined with SetObjectVertexUV( int ObjectID, int VertexID, float UVU, float UVV )... Samurai_Crow tell you exactly why I don't use structure in that case.
@Samurai_Crow Never seen this on DarkBASIC nor DarkBASIC Pro. but it's maybe something I'll add to my "to do list" in case ;)
Thank you for these answers.
|