Hi egon,
Correct this code for me please.
manually draw the face by a given Object3D and the polyid.
PolygonManager poly=obj.getPolygonManager();
GL11.glBegin(GL11.GL_TRIANGLES);
SimpleVector p=poly.getTransformedVertex(polyid,2);
GL11.glVertex3f(p.x,p.y,p.z);
p=poly.getTransformedVertex(polyid,1);
GL11.glVertex3f(p.x,p.y,p.z);
p=poly.getTransformedVertex(polyid,0);
GL11.glVertex3f(p.x,p.y,p.z);
GL11.glEnd();
This code goes wrong when I rotate the Y axis of the Camera.
Other axes work properly, I guess. I need to manually draw some faces cause they are not listed in VisList. But, they can be seen.
Thank you.