openGL heart

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 ???

We have a beginners’ forum for questions like this. Please post your question there.

Thanks,

Andras

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

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.) :smiley: