wireframe 3d image

I'm working on an embedded project. We are using wireframe modeling to represent 3d images. My requirement is that when that image(consider 12 lines cube) is rotated the lines on the back side should not be visble. Few lines should only e partially visible. But I don't know how to implement this. I'm not using any graphics library. Want to write my own algorithm.
Please do help.



  • SephirothSephiroth Fayetteville, NC, USA
    You would have to implement some form of culling method that determines when a point or line is visible and when it is not. If the camera is stationary and the cube does the rotating, it would be a tad easier than if both were moving. I'd check out http://www.gamedev.net/ for some more info on the matter. I personally use OpenGL and have always let it cull planes and faces for me, so I am not sure of an exact method myself.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion