"Chris S." wrote:
>
> Alright then...so how'd you do it?
Just an intersection of 4 torii.
Like this:
// ============================================================
#macro Quadra(Thing)
#local Angle = 180 - degrees(acos(1/3));
object { Thing rotate 60*y }
object { Thing rotate Angle*x }
object { Thing rotate Angle*x + 120*y }
object { Thing rotate Angle*x - 120*y }
#end // macro Quadra
#declare aTorus = torus { 2.445, 2 }
#declare StrangeShape =
intersection {
Quadra(aTorus)
}
/*
#declare StrangeShape =
merge {
Quadra(object { StrangeShape translate 3.95*y } )
}
*/
object {
StrangeShape
pigment { color Yellow }
}
// ============================================================
Also try to remove the commented code
Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html
Post a reply to this message
|