|
|
Tim Cook wrote:
> Current state of things. Map in major need of improvement in addition
> to fixing extrusion direction.
>
If extruding the outer surface of a torus is close enough, this type of
construction might work for you. You may need to make the image taller,
with the pattern centered vertically, so it doesn't wrap around to the
donut-hole-side of the torus.
#declare fn_deco1=function{
pigment{
image_map{
png "decoband.png"
map_type 5 interpolate 4
}
}
}
#local r_major=1; //This matches the map_type 5 major radius.
#local r_minor=0.05;
isosurface{
function{f_torus(x,y,z, r_major, r_minor)
-fn_deco1(x,y,z).grey*0.013 }
//max_gradient, contained_by, and whatnot...
//scale, rotate, and translate as needed.
}
~David
Post a reply to this message
Attachments:
Download 'watchdeco.png' (34 KB)
Download 'decoband.png' (4 KB)
Preview of image 'watchdeco.png'
Preview of image 'decoband.png'
|
|