|
|
As reported and discussed in the povray.general group by Manuel
<man### [at] tinit> and Warp <war### [at] tagpovrayorg>. Example
below by Warp:
When the second 'uv_mapping' is uncommented in the code below,
instead of giving an error message, the pigment is reset (POV-Ray
warns that "No pigment type given").
If the first 'uv_mapping' is now commented away, an error message
*is* issued ("No matching } in 'texture', uv_mapping found instead").
camera { location -z*8 look_at 0 angle 35 }
light_source { <-20,10,-150>, 1 }
box
{ -1,1
texture
{ uv_mapping
pigment { rgb 1 }
//uv_mapping
normal
{ gradient x 1
slope_map { [0 <0,1>][.5 <1,0>][1 <0,-1>] }
scale 1/16
}
}
rotate y*45 rotate x*-20
}
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|