|
|
On Wed, 19 Sep 2001 18:16:04 -0500, Bob H. wrote:
>"Trevor Quayle" <Tin### [at] hotmailcom> wrote in message
>news:3ba8eb94@news.povray.org...
>> i think it should be:
>> #declare texture_3 = texture {pigment{Jade} }
>>
>> i.e., declared pigments need to be in pigment wrappers (textures in
>texture
>> wrappers, etc.)
>
>Yep, and just to reiterate: keep in mind that the wrapper of each kind of
>statement needs to be repeated like that when redeclaring. object,
>material, texture, pigment, normal, finish, interior, media, density and
>others. I'm not sure of the complete list but most anything with braces {},
>aside from CSG union, etc., though. Just happens to be how POV-Ray works
>with them.
object is a special case. You have to do this:
#declare Foo = sphere{0,1}
object{Foo}
--
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions
Post a reply to this message
|
|