|
![](/i/fill.gif) |
> > >but I have a problem with your solution. Anytime I
> > > use a 'finish' at all I get an error message. I must not know how to use
> > > 'finish' correctly.
> >
> > Please, could you paste your texture here, so we could help you
> > Which message do you get?
> >
> sphere
> { <0,0,0>860
> pigment { image_map
> { gif "Sunny.gif"
> map_type 1
> }
> }
> translate <0,0,1000>
> }
Make sure you nest the brackets proiperly when adding finish. I find it
easier if the brackets following a scope indentation.
sphere{
<0,0,0> 860
pigment{
image_map{
gif "Sunny.gif"
map_type 1
}
}
translate <0,0,1000>
}
to add a finish just add it after the pigment block (outside its brackets).
It is also usually good protocol to wrap them inside a texture block:
sphere{
<0,0,0> 860
texture{ //texture start
pigment{ //pigment start
image_map{
gif "Sunny.gif"
map_type 1
}
} //pigment end
finish{ //finish start
ambient 1
diffuse0
} //finish end
} //texture end
translate <0,0,1000>
}
-tgq
Post a reply to this message
|
![](/i/fill.gif) |