Jump to content
  • Advertisement

Archived

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

guille

sphere radius < 1.0

This topic is 6152 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

Hi! Does anyone know how to draw a sphere with gluSphere with radius smaller than 1.0 ??? Thank you!

Share this post


Link to post
Share on other sites
Advertisement
If it doesn''t let you, I guess it doesn''t let you. Instead of making your sphere smaller, why don''t you scale the rest of your scene bigger?

Wait a second, I have an idea. Use glScale to make your sphere smaller.

Use glScale with the radius that you want, like if you want .6 radius, do a

glScale(.6, .6, .6);

Then draw your sphere with a radius of one.

Let me know if it works...

-Blackstream

Will you, won''t you, will you, won''t you, won''t you take my virus?

-The Mad Hacker

Blackstream''s Webpage

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!