POV-Ray : Newsgroups : povray.binaries.images : Wot? No shadow line artifact? (39kbu) : Re: Wot? No shadow line artifact? (39kbu) Server Time
20 Nov 2024 04:34:01 EST (-0500)
  Re: Wot? No shadow line artifact? (39kbu)  
From: Gilles Tran
Date: 9 Oct 2001 04:18:10
Message: <3bc2b2c2$1@news.povray.org>

3bc2724c$1@news.povray.org...
> There is a problem with using the method described in the tutorial Alan
> mentioned.
> While it is easy to use an imagemap as pigment and a bumpmap as normal,


Actually, it's possible to do that with a texture_map and either
pigment_pattern or image_pattern.

#declare txt1=texture{pigment{Red}}
sphere{
    0,1
    texture{
        pigment_pattern{image_map{jpeg "testpov.jpg" map_type 1}}
//        image_pattern{jpeg "testpov.jpg" map_type 1}
        texture_map{
            [0 txt1 finish{metallic brilliance 3 reflection 0.1}]
            [1 txt1 finish{reflection 0.5}]
        }
    }
}

G.


--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery


Post a reply to this message

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