answersLogoWhite

0

A cone is a 3-dimensional shape, while drawing on a computer is generally limited to two dimensions, and projection of three dimensions onto a flat (two-dimensional) canvas.

You can draw a cone very easily onto a 2-dimensional canvas if you are free to chose the viewing angle, and if that viewing angle does not need to change.

You could draw a triangle and state that it shows a side view of the cone, you could draw a circle and state that it shows the bottom view of the cone, or you could draw a circle with the center point marked, and state that it shows the top view of the cone.

You could draw all three, top, bottom and side view, and state it shows the cone in all three dimensions, in the way most 3-dimensional objects are shown in a technical drawing.

For creating a projection of a 3-dimensional cone from an arbitrary viewing angle, you should consult dedicated (but non-trivial!) literature on 3-D rendering. Many languages also support 3D graphics toolkits such as OpenGL.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

Add your answer:

Earn +20 pts
Q: How do you draw cone in c program?
Write your answer...
Submit
Still have questions?
magnify glass
imp