Set vertex type for meshes.

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Set vertex type for meshes.

Post by Jedive »

It would be cool to be able to set the default vertex type when loading meshes. I want to use .3ds format for my maps, so the .3ds file will store the UV data for the textures. But the UV data of the lightmaps is different, so i will also have a .luv file or something with the second UV coordinates for each vertex in the mesh. If it were possible to set the engine to load the meshes with the EVT_2TCOORDS vertex mode (the default one is EVT_STANDARD for .3ds meshes, because they only contain one set of UV coordinates), i would then read the UV data in the .luv file, and set the correct UV values of the second set in the vertex.
Post Reply