Use OpenGL to draw three-dimensional diamond heart
no vote
Application background
We need to draw a 3D diamond in different shapes. I started it with heard shape. user want this shape to draw in 3D space such as user can change any parameters of diamond shape. like diameter, table size, gurdle size, pavallion angle, start angle, etc...
OpenGl is a good developing tool to draw anything in 3D shape. so i prefer to choose it.
Key Technology
In this project i used an open source 3d drawing library called OpenGl. i did many calculation to draw a heart shape.
Very first i create vertices, then i draw different faces and stored it in some array.
and by combining this faces in proper way according to given parameter, a diamond heart shape is generated.