for starters I'm trying luck with .OBJ and loader from nxPascal
or maybe not. in obj there is list of verts and then list of faces but those faces look like quads not triangles..
for starters I'm trying luck with .OBJ and loader from nxPascal
or maybe not. in obj there is list of verts and then list of faces but those faces look like quads not triangles..
Last edited by laggyluk; 01-08-2013 at 03:07 AM.
Also I need vertex colors, seems that i'll have to use collada monster..
Not a problem, an OBJ is not limited to quads. An OBJ can contain polygons of any size, triangles, quads etc. A good loader may straighten up the format to triangles as well as one-to-one matching vertices, normals and texture coordinates, which is needed to make it "OpenGL friendly".
Yes, It's possible to use triangles when exporting but it doesn't support vertex colors. It has 'Materials' but they are in different file and generally wtf
because my terrain is not textured maybe I'll just skip that model loading and use scaled voxels to construct stuff
you give up so easy. with blender you can make your own exporter
http://en.wikibooks.org/wiki/Blender...Export_scripts
I prefer shortcuts. Models would be 'cubes' anyways, wanted them because my mesh optimization is pretty lame but I guess it's gonna be another shortcoming of my 'game engine' btw now my model 'format' is a direct vbo buffer dump
Last edited by laggyluk; 02-08-2013 at 02:40 AM.
Bookmarks