Ok, so I have everything worked out, including a one stop hypot3d(x1,y1,z1,x2,y2,z2) (the x1 being the x of the point in question, the x2 being the x of the camera) method.
BUT, It still boils down to rendering. From what I understand, I have to do a raycast to each point on the screen. How would I go about doing this? I have faces, which contain three vertices (no normals, but since there is no backface culling, I don't see how they are very relevant). I also have the image that is going to be displayed on the screen. What would I do to that image to tell it what to draw? Before, I would simply try and draw triangles in what ever order my code could come up with. Now I am just more confused. To strip it down to its basics, heres the stuff I have:
... yeah... as far as rendering goes, thats as advanced as I can get...
How would I go about using those faces in an array, to be able to get the image I need in order to display?
public GreenfootImage DrawSolid(GreenfootImage ImageToRender, ArrayList<Face> faces) { //render return ImageToRender; }