POV-Ray : Newsgroups : povray.newusers : textures and warp : textures and warp Server Time
29 Jul 2024 08:23:32 EDT (-0400)
  textures and warp  
From: Mr Seb
Date: 22 Apr 2006 04:39:55
Message: <4449ebdb$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.