Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just can''t figure out how to use Quadrics to draw 2 objects: 1) half sphere - like a cap. 2) something like streach cilynder - I mean that the sides will be round like a cliynder and the middle will be like a cube. thanks.

Share this post

Link to post
Share on other sites
I don''t think those shapes are supported by the quadrics set... so you''ll have to generate all the vertices yourself mathematically (or with a model). I can email you my code that generates various sections of a sphere if you''d like, I have it from when I made a pacman game (various sections were pacman).

download version 2.0 at the bottom for a good idea of the sphere:
my pacman development site

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!