POV-Ray : Newsgroups : povray.beta-test : Blob component textures transformed twize : Blob component textures transformed twize Server Time
4 Nov 2024 13:03:25 EST (-0500)
  Blob component textures transformed twize  
From: Rune
Date: 17 Nov 2001 19:52:21
Message: <3bf70645@news.povray.org>
When a blob component with an individual texture is transformed after the
texture statement, the texture is transformed twize. It should only be
transformed once, so it follows the component.

I'm using beta 7 but the bug is also there in POV-Ray 3.1.

Example animation to demonstrate problem:

// +w160 +h120 +kff20
light_source {<1,2,-3>*1000, color 1.5}
background {color <0.3,0.5,0.8>}
blob {
   threshold 1
   sphere {
      0, 1, 2 scale <1,3,1>
      pigment {planar color_map {[0.9,color rgb 1][0.9,color red 1]}}
      translate y*clock // pigment translated twize!
   }
   translate <-3,0,7>
}
blob {
   threshold 1
   sphere {
      0, 1, 2 scale <1,3,1>
      pigment {planar color_map {[0.9,color rgb 1][0.9,color red 1]}}
      rotate 90*z*clock // pigment rotated twize!
   }
   translate <0,0,7>
}
blob {
   threshold 1
   sphere {
      0, 1, 2 scale <1,3,1>
      pigment {gradient y color_map {[0.8,color rgb 1][0.8,color red 1]}}
      scale 1+0.5*clock // pigment scaled twize!
   }
   translate <3,0,7>
}

Rune


Post a reply to this message

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