You are not logged in.
If you take a look at the revolutionengine.tk, thay can load a object into there library and render it. The hole object is imported as a mesh and then you can render this object on to the screen.
Perhaps it is a valued addon to your library.
Offline
We already started to work on something like this. If you are curious you could look at this branch of the repository: http://code.google.com/p/grrlib/source/ … es/3D_test
New functions are:
void Draw3dObj(GRRLIB_Model* model); GRRLIB_Model* GRRLIB_ReadOBJ(char* filename); GRRLIB_Model* GRRLIB_ReadOBJMem(const char *buffer, u32 size); void GRRLIB_DeleteObj(GRRLIB_Model* model); void GRRLIB_VertexNormals(GRRLIB_Model* model, f32 angle); void GRRLIB_FacetNormals(GRRLIB_Model* model); void GRRLIB_LinearTexture(GRRLIB_Model* model); void GRRLIB_SpheremapTexture(GRRLIB_Model* model);
Right now the example does not work because light functions have been taken out, but they will soon come back.
Remember that this code is in development.
Offline