|
|
Bonsai wrote:
Something thats incorrect because he had not enough coffee, yet. ;-)
> The last thing is placing a torus that way, that it fills the edges. The
> major radius for the torus is the radius for the bigger hole and the
> minor radius is the radius for the first hole you made.
The radius for the minor radius is the difference between the radii of
the two holes.
Here is a short example scene:
#default {
texture { pigment {color rgb 1}}
}
// create a regular point light source
light_source {
<20, 40, -20>
color rgb <1,1,1> // light's color
}
// perspective (default) camera
camera {
location <10, 10, 0>
look_at <0.0, 5.0, 0.0>
right x*image_width/image_height
}
merge {
difference {
box { <-5, -5, -5>, < 5, 5, 5>}
cylinder { <0, 0, 0>, <0, 6, 0>, 2 }
cylinder { <0, 4, 0>, <0, 6, 0>, 3 }
}
torus { 3, 1 translate <0, 4, 0>}
}
Hope that helps...
So long,
Bonsai
--
<--------------------------->
___ __ __ _ ___ ___ _
| _ ) \ \( ) _) _ )( )
| _ \() |\ \ |\ \/ _ \| |
|___/__/_)\__)___)/ \_)_)
www.b0n541.net
<--------------------------->
Post a reply to this message
|
|