Hi,
i m just trying to modify player .c so that,i can display the object just as in simple OpenGL code without using camera functions instead by using glTranslated and glRotated inside glPushMatrix&glPopMatrix. But when i m using this only few triangles in arbitary directions are shown.
 
the basic reason for excluding camera is that i m embedding this code in another 3dengine(X-plane) and it has its own camera and i did many attempt to embedd lib3ds camera into the x-plane's one but the object is simply seems to be drawn according to the screen not in 3d environment. 
 
kindly tell me if i can display objects without using
lib3ds_matrix_camera(M, c->data.camera.pos, t->data.target.pos, c->data.camera.roll);
 
and by using simple OpenGL translation and rotation functions or any other possible way of drawing object without camera.
 
waiting 4 ur favourable response.
 
Sana Anwar
 
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to