|
![](/i/fill.gif) |
John VanSickle wrote:
>You should see an image that is white on the left side and black on
>the right, with red text. Adjust W until the right edge of the text
>lies exactly on the border between the black and white areas. When
>this happens, W is either the exact width of the text, or is a simple
>fraction (1/2, 1/3, 1/4) of that width; starting with a higher value
>and working your way down will give better results.
This makes me think, if your intention is to put the letters on the same
positions as they are in the "full text", you could as well use a
pigment_map or texture_map with a gradient to give each letter a different
texture.
text {
ttf
"crystal.ttf",
"POV",
0.1,
0
pigment {
gradient x
scale 2
pigment_map{
[0.2, wood]
[0.2, granite]
[0.5, granite]
[0.5, wood]
}
}
translate <-0.75,0,0>
}
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
![](/i/fill.gif) |