|
|
You need to scale it thicker to extend past the outer surface of the
superellipsoid
Then scale smaller in x/y and translate to center.
As a useful tool for future difference{}
make the "parent" object transparent (t~0.95)
make the subtractive child object a bright contrasting solid color.
Calculate the bounding boxes of the two objects and keep track of where they
truly are.
Make a union of the two objects to see that they will "work" in the difference
you envision.
THEN rewrite the scene as a difference, rather than a union.
(or do both, side-by-side)
{It would also be helpful to debug faster if you provide a completely renderable
scene - with camera location, etc.}
try this:
difference {
superellipsoid{ <1.00,0.25>
texture{ pigment{ color rgb<0.65,1,0.1>}
finish { phong 1}
}
}
text{ ttf "timrom.ttf", "text", 2, 0
texture{ pigment{ color rgb<1,0.9,0.5>}
finish { phong 1 reflection 0.1}}
scale 0.5
translate -x*0.3
translate -z*1
}
}
Post a reply to this message
|
|