|
![](/i/fill.gif) |
I cambe back on Pov after about 1 year stop and I have a texture problem.
Let's look at my example :
camera {location <0,0,-5> look_at 0}
light_source {<0,0,-5> color rgb 1}
#declare pig1=pigment {
checker
color rgb <1,0,0>
color rgb <0,1,0>
scale 0.3
}
#declare pig2=pigment {
checker
color rgb <1,1,0>
color rgb <0,1,1>
scale 0.3
}
#declare pig=pigment {
checker
pigment {pig1}
pigment{pig2}
warp { turbulence 0.2}
}
box {<-1,-1,-1>,<1,1,1> pigment {pig}}
in this example, I create 2 checker pigments and I join them in another
checker. Then I warp the whole pigment. The big checker is deformed and so
are the 2 inner checkers (pig1 and pig2).
What if I would have pig1 and pig2 not deformed and the edge between them
deformed ?
Thanks for your answer
Post a reply to this message
|
![](/i/fill.gif) |