POV-Ray : Newsgroups : povray.binaries.images : Q: blurring bump map image in pov ? : Re: Q: blurring bump map image in pov ? Server Time
7 Nov 2024 13:39:57 EST (-0500)
  Re: Q: blurring bump map image in pov ?  
From: Jaap
Date: 29 Jul 2004 16:55:00
Message: <web.410963801d66f241a8399d8d0@news.povray.org>
"Jaap" <jws### [at] yahoocom> wrote:
> hi,

got the image in one go, but not the code....:

#declare material_book_red =
material  {
  texture {
    image_pattern { png "bump_neg.png" once } // negative so outside image
defaults to book texture
    rotate x*90
    scale <-1,1,1>
    translate <0.5,0,1>
    scale 10
    texture_map {
      // book texture:
      [0 pigment { book_red }
         normal {
           average
             normal_map {
             [1, bump_map { png "bump_impressed.png" bump_size 20 } ] //once
             [1, crackle 0.6 scale 0.03 ]
           }
         }
         finish { book_finish }
      ]
      // gold lettering:
      [1 pigment { book_gold } //P_Gold4
         normal {
           bump_map { png "bump_letters.png" bump_size 15 } //once
         }
         //finish { F_MetalE } //F_MetalA
         finish { gold_finish }
      ]
    }
  }
}

jaap.


Post a reply to this message

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