[SOLVED] Porting another model format...
Posted: Wed Mar 04, 2009 8:16 pm
Hello,
I would like to port Renderware model format into my project,
here's a sample RWX model, a floor :
Could you please where I should look to create a mesh, create a surface on it, set the surface's vertices, set it's texture and how to make a Quad from the vertices ?
Thanks !
I would like to port Renderware model format into my project,
here's a sample RWX model, a floor :
Code: Select all
ModelBegin
#stone3
Surface .5 .3 0
Color .6 .6 .6
ClumpBegin
Vertex -.4 0 .4 UV 0 0
Vertex .4 0 .4 UV 4 0
Vertex .4 0 -.4 UV 4 4
Vertex -.4 0 -.4 UV 0 4
Quad 4 3 2 1
Texture stone3
TextureModes Foreshorten
Quad 1 2 3 4
ClumpEnd
ModelEnd
Thanks !