|
|
Shay <sah### [at] simcopartscom> wrote:
: There is a simple, obdvious problem with this code, but I just can't see it.
: Why do a get a lip where the torus rests on the clipped sphere?
Because you are putting the outer edge of the torus on the surface of
the sphere. They are not tangent.
It means that the angle of the sphere surface normal at the intersection line
is 30 degrees but the angle of the torus surface normal is 0 degrees. Thus you
get a sharp edge there.
Making the torus and the sphere tangent at y=0.5 requires a bit trickier
math.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|