Archived

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

Other quadratics

This topic is 5565 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.


ANDREW RUSSELL STUDIOS
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