I will be probably starting in the near future working on a 3D project we got assigned to do at faculty.
The project itself is not very hard - render some primitive wireframe bodies (cubes, pyramids, blabla), scale them, translate them, rotate them, along with some GUI for this.
I would like to do a bit more than this, don't ask why, because i'm not sure either. But i don't know what to search on Google for, since i can't name the algorithms i need. Or not algorithms - maybe some good pointers.
Ok, onto the subject:
I want to switch from a wireframe, let's say, cube, to a 'painted' cube. What would be a basic algorithm to 'hide' the non-visible surfaces of the cube ? How would a texture be applied to a cube, given a certain rotation angle?
Two objects (A cube, and another cube, let's say) are at different distances from the viewer, so that the front one is fully visible, and the one in the back is only partially visible. How are the two rendered? Object by object, or surface(polygon) by polygon?
Thank you very much.
BTW: I will be using ONLY primitives, like drawLine, drawRectangle, drawCircle and such.
Edited by totonex, 26 November 2010 - 02:10 PM.
BTW


Sign In
Create Account


Back to top









