|
![](/i/fill.gif) |
Samuel Benge <stb### [at] THIShotmail com> wrote:
> Marty Schrader wrote:
> > This subject has been beaten to death on this group, but to no
> > satisfactory conclusion.
>
> Here you go, Marty:
>
Hey Samuel can you tell me why I loose part of the first few characters?
see code below
Leef_me
camera {
// orthographic
location <0,0,-10.5> look_at <0,0,0>
}
light_source { <-10,-7,-40> color rgb 1}
light_source { <1,0,-1.5> color rgb 1}
// Create an infinite sphere around scene and allow any pigment on it
sky_sphere {
pigment {
gradient y
color_map { [0.0 color rgb <0.7,0.7,1.0>] [1.0 color blue 0.5] }
}
}
// using text as a pigment on a plane, original code was in response to text
on a cylinder
//From: Samuel Benge
//Subject: Re: Simple 2D text on a cylinder's surface
//Date: 12 Oct 2007 06:39:40
// begin code
#declare my_text=
text{
ttf"arialbd.ttf"
"Test"
1,0
// translate<1.5,0,0>
}
//**********************************************
//
// Why is part of the first character or two lost?
//
//**********************************************
// flat circular FINITE (no CSG) shape, center hole cutout is optional
disc {
<0, 0, 0> // center position
z, // normal vector
5.0, // outer radius
//0.2 // optional hole radius
pigment{
pigment_pattern{
object{my_text 0,1}
// translate<1.5,0,0>
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |