|
 |
Thanks guys,
There's a much easier way to do it, and get full color as well.
repeat warp in z
------------------------------------------------------------------
#version 3.8;
global_settings {assumed_gamma 1.0 }
camera {
location <0, 2, -10>
right x*image_width/image_height
up y
look_at <0, 0, 0>
}
light_source {<0, 50, -100> rgb 1}
sky_sphere {pigment {rgb 1}}
#declare Text =
union {
#local Scale = 1/6;
text { ttf "arial.ttf", "Text Line1", 2, 0.0 translate y*2}
text { ttf "arial.ttf", "Text Line2", 2, 0.0 translate y*1}
text { ttf "arial.ttf", "Text Line3", 2, 0.0 }
translate -z*1
scale Scale
translate x*Scale/2
}
#declare HollowP =
pigment {
object {
Text
color rgb x+y // outside
color rgb 0 // inside
}
}
//#declare FHollow = function {pigment {HollowP warp {repeat x*1} warp {repeat
y*0.5}}}
#declare Hollow = pigment {HollowP warp {repeat x*1} warp {repeat y*0.5} warp
{repeat z*0.1}}
#for (X, -10, 10)
box {0, 1
translate <X, 0, X*0.5>
texture {pigment {Hollow}}
}
#end
Post a reply to this message
Attachments:
Download 'easyinfinitetext.png' (64 KB)
Preview of image 'easyinfinitetext.png'

|
 |