PDA

View Full Version : openGL heart



Ze
12-29-2005, 05:35 AM
Hi all,
can anybody tell me how can i draw a heart in openGL???

and i have another question
can i take input from users in openGL not from cin statment ???

andras
12-29-2005, 08:14 AM
We have a beginners' forum for questions like this. Please post your question there.

Thanks,

Andras

SirKnight
12-29-2005, 05:40 PM
Figure out what vertex positions you need on paper and put them in an array. Then render the array using line strips. Basically you're playing connect the dots.

-SirKnight

VikingCoder
12-30-2005, 02:12 PM
Get an OpenGL Volume Renderer which accepts DICOM images as input, and a 4-D CT heart dataset.

http://openqvis.sourceforge.net/

It would look something like this:

http://www.vitalimages.com/vipage.aspx?pg=ct-cardiac

(Of course, this may be overkill for your purposes.) :D