Im trying to simulate an isometric tile engine with open gl. I can correctly rotate the tiles and the viewpoint up and down, but I dont know how to fix the angle of the tile plane, see the image here:![]()
At beginning, i translate the image using this code:
glTranslatef(xd, yd, zd);
glRotatef(yrot,0.0f,1.0f,0.0f);
glRotatef(xrot,1.0f,0.0f,0.0f);
yrot starting value: -40.0
xrot starting value: -80.0
xd= -10.0, yd= -5.0,zd= -18.0
Any suggestion?



