POV-Ray : Newsgroups : povray.general : Odd slope pattern behavior (bug?) : Re: Odd slope pattern behavior (bug?) Server Time
2 Aug 2024 02:19:28 EDT (-0400)
  Re: Odd slope pattern behavior (bug?)  
From: Rune
Date: 28 Jan 2005 05:43:10
Message: <41fa173e@news.povray.org>
The oddness continues. Try to have a look at the scene below...


camera {orthographic location -6*z}
light_source {<0,1,-1>*1000, color 1}

#declare TextureA =
texture {
   slope y
   texture_map {
      [0.4 pigment {red   1}]
      [0.5 pigment {green 1} normal {spotted 5}]
      [0.6 pigment {blue  1}]
   }
}

#declare TextureB =
texture {
   gradient y+x
   texture_map {[0,TextureA][1,TextureA]}
}

#declare TextureC =
texture {
   gradient y-x
   texture_map {[0,TextureB][1,TextureB]}
}

#declare Object =
union {
   cylinder {-y, y, 1}
   sphere {-y, 1}
   sphere {y, 1}
   translate 5*z
}

object {Object texture {TextureA} translate -3*x}
object {Object texture {TextureB}}
object {Object texture {TextureC} translate  3*x}


Rune
-- 
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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