Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How do I make a cylinder directly in the code ?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 SIHOG   Members   

122
Like
Likes
Like

Posted 29 July 2001 - 08:58 PM

How do I make a cylinder directly in the code ? Thanks !

#2 Julio   Members   

116
Like
Likes
Like

Posted 30 July 2001 - 01:41 AM

you could hardcode the sphere, which would be the hard way, or you could use glut. I don''t remember the exact parameters, but it''s some thin like this:
GLU_QUADRIC *q;
glutQuadric(something I don''t remember);
I don''t even know if those names are correct, but do a search on Opengl.org for glut quadrics. you should find it.


Never underestimante the power of stupid people in large groups.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.