|
![](/i/fill.gif) |
Hi everyone,
I just came across this thread and the very nice solutions presented here.
I had a similar issue with an elongated torus. However, I had the feeling that
the functions presented here require some calculation of the ray tracer. There
is a rather simple (quick and dirty) workaround, which might save some
computational effort:
When shapes overlap sufficiently, the ray tracer is rather quick. So I got my
elongated torus with a small trick using a for loop:
#for (n, 1,99, 1)
torus { 1,0.1
translate<0,0.1*n,0>
} // end of torus -------------------------------
#end
This makes you an elongated torus along the y-axis, from 0 to 10, with a major
radius of 1, and a radius of 0.1 for round corners.
Post a reply to this message
|
![](/i/fill.gif) |