POV-Ray : Newsgroups : povray.general : Specularity mapping : Re: Specularity mapping Server Time
13 Aug 2024 15:25:35 EDT (-0400)
  Re: Specularity mapping  
From: Peter Popov
Date: 19 Aug 1998 00:36:27
Message: <35da483b.0@news.povray.org>
Try the following... haven't tested it as I'm typing while I am downloading
new msgs, but give it a shot:

#declare woodWithRivets =
plane
{ y, 0
  texture
  { pigment
    { DMFWood1 } // on top of my head
    normal
    { bump_map
      { sys "rivets.bmp" // not sure, wasn't there one
                         // in the Windoze directory?
        interpolate 2
        bump_size 0.5
      }
      rotate 90*x
    }
  }

  texture
  { material_map
    { gif "circles.gif" // same as rivets but only two colors:
                        // black for plane white for rivet
      texture { finish { Dull  } pigment { Clear } }
      texture { finish { Shiny } pigment { Glear } }
    }
  }
}

You get the idea. Not sure... should work. Please try and report the
results, I'm curious (I wanna see my skill in poving a prima vista).

Regards,

--Peter

pet### [at] usanet

Tim Glover wrote in message <35D### [at] nettallycom>...
>Anybody got any good ideas about how to do specularity mapping within
>POVRAY?  Since specularity is a "finish" function, it seems to be tired
>to a particular texture.  I've got a couple of way-out ideas that MAY
>work, but if there's a better way that I've overlooked, then I'd hate to
>re-invent the wheel (using flint axes and duct-tape).
>
>Tim Glover
>
>tgl### [at] nettallycom


Post a reply to this message

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