Jump to content
  • Advertisement
Sign in to follow this  
Cupcake

How can I draw a 3D ellipse?

This topic is 4824 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'm pretty new to D3D, and I'm doing a C# implementation. I'm trying to draw an ellipse in 3D, but one that can change in size an shape (think planets traveling along a visible orbit that can be altered by outside forces). Is there a function I can use, or a math library, or something I can do to simplify things? Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
I just draw a line strip after computing the arc points. I don't use C#, so I can't give you code specifics. I find 32 points are usually enough to have a smooth arc, but it depends on the distance it is viewed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!