Jump to content
  • Advertisement


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


Other quadratics

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

yes, it is. Think about it for a while and then make up an algo. It isn''t that hard at all.

Do not meddle in the affairs of moderators, for they are subtle and quick to anger.

Cool Links :: [ GD | TG | MS | NeHe | PA | SA | M&S | TA ]
Got Clue? :: [ Start Here! | Google | MSDN | GameDev.net Reference | OGL v D3D | File Formats | Go FAQ yourself ]

Share this post

Link to post
Share on other sites
The paremetrix equations for a torus are as follows:

x = (c + a cos(v))cos(u)
y = (c + a cos(v))sin(u)
z = a sin(v)

u, v randge from 0 to 2Pi

if c > a, the equations produce a standard ring torus/

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!