I have a cone created in POV-Ray with
torus { 8, 4 texture { pigment { Purple } } translate <0, .... , 0>
cone { <0, 0, 0> 5 <0, 5, 0> 0 texture { pigment { Brown } } }
I'm trying to make the torus "rest" on top of the cone. How would I calculate the value needed to do such a thing?
I assume that the desired result is a torus that "fits" the cone like a belt. Provided that
torus_major_radius - torus_minor_radius >= cone_base_radius
, the proper code would be (feel free to play with the values):This will produce the following result: