POV-Ray : Newsgroups : povray.general : Specular mapping : Re: Specular mapping Server Time
7 Aug 2024 23:16:45 EDT (-0400)
  Re: Specular mapping  
From: Gail Shaw
Date: 18 Apr 2001 08:39:03
Message: <3add8ae7@news.povray.org>
Jakob Tendel <jak### [at] studentmetfu-berlinde> wrote in message
news:3ADD7773.494BE3A8@student.met.fu-berlin.de...
> The specific instance, where this problem cropped up was: I wanted to
create
> a shiny metal sphere with pitted rusty areas scattered over the surface. I
> used a layered texture for the shiny metal and rust respectively, but the
> raytrace used only the finish values of the uppermost layer. So either I
had
> a dull metal or shiny rust, both of which was unsatisfying. If one could
> control reflectivity with a grey image, one could overlay a corresponding
> image-map and hopefully achieve much better results.
>

The answer in that case would be to use a texture map instead of
layers

texture {
 bozo // or whatever
 texture_map {
  [0.0 texture {Metal}]
  [0.7 texture {Metal}]
  [0.8 texture {Rust}]
  [1.0 texture {Rust}]
 }
}

That said, I'd also like to have a finish map.

Gail
*************************************************************************
* gsh### [at] monotixcoza                *   Step into the abyss,           *
* http://www.rucus.ru.ac.za/~gail/   *   and let go.        Babylon 5   *
*************************************************************************
* The difficult we do immediately, the impossible takes a little longer *
*************************************************************************


Post a reply to this message

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