Archive: Another way to make a SSC torus


30th July 2003 03:39 UTC

Another way to make a SSC torus
Got bored at work today and penciled down a way to make a torus. It's slightly faster than Jheriko's Space Torus(I deleted his colorcoding and made n the same), and is kinda neat.

What I did was use 2D polar to make a "side view" of the torus on the x-y plane, and then make z oscillate back and forth. Sure, that's a cheap way of doing it, but it works.:p


30th July 2003 04:17 UTC

no clue what you said but that looks really cool and I can appreciate the work involved


30th July 2003 05:00 UTC

Good work Anubis. You make it sound so easy.....:D


30th July 2003 05:06 UTC

It really wasn't that difficult. I don't understand the way that jheriko did it.


30th July 2003 05:13 UTC

I knew you were gonna say that. :D

Unfortunately, I'm a n00b, so you can understand my comments and appreciation. :)


30th July 2003 07:01 UTC

wow. that is pretty cheapass :p ;) i think the wrapping wireframe works perfectly but to each his own...


30th July 2003 09:02 UTC

Very nice. In case you are interested the way in which mine works is pretty simple, I just swept a circle around a point. If you look closely at the code you should be able to see the 2x2 rotation matrix at work in there, along with the shifted parametric equation of a circle. The circle uses one parameter and the rotation uses the other.

Your method is basically the reverse of mine, you took a ring in xy then alter the distance from the centre and the z values to place circles around it.


30th July 2003 09:54 UTC

Hah, really cool...


30th July 2003 14:16 UTC

Yeah, I got that much from your code jheriko, I was just having difficulties figuring out how to do the code to rotate the circle right - I couldn't get myself to think in that way.


30th July 2003 18:14 UTC

Lol, i think you make it sound really fucking complicated, but when i look at the code i see that it's really incredible simple... You guys just love to talk technical, don't you? :p


30th July 2003 19:56 UTC

I am bad at explaining these things sometimes - technical is the only way I can get my point across. Maybe I should just post the code and let it do the talking.:p


1st August 2003 10:22 UTC

Maybe so that technical way is the one way that everybody understands it, but for me who just type to code and have learned these things by experimenting have no idea what you are talking about when you talk your tech talk :D Anyway, carry on ;)


1st August 2003 13:23 UTC

The 'technical' way is simply the logical process that leads to the final code, sometimes something really complex will lead to a fairly simple looking result that hides the underlying complexity of the methods used to get there.