POV-Ray : Newsgroups : povray.general : reflection map Server Time
29 Nov 2024 23:44:02 EST (-0500)
  reflection map (Message 1 to 3 of 3)  
From: Muniz
Subject: reflection map
Date: 28 Mar 2005 16:25:00
Message: <web.4248753623ade648c842928d0@news.povray.org>
Is there any way to use reflection map in pov ?


Post a reply to this message

From: Slime
Subject: Re: reflection map
Date: 28 Mar 2005 16:54:35
Message: <42487d1b@news.povray.org>
> Is there any way to use reflection map in pov ?


You can have one reflection "map" which applies to the whole scene. If you
don't mind seeing it in the background too, then simply this should work
fine:

sky_sphere {
    pigment {
        image_map {
            tga "imagemap.tga"
            map_type 1 // this causes the image to be intepreted spherically
            interpolate 2
        }
    }
}

If you don't want it visible in the background, then you can do this
instead:

sphere {
0, 1
// same pigment as above goes here
finish {ambient 1 diffuse 0} // ignores light sources
scale 10000 // this should be large enough
no_image // not visible except in reflections
no_shadow
}

A "spherical" type image can be rendered in POV-Ray using the spherical
camera.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Mike Williams
Subject: Re: reflection map
Date: 28 Mar 2005 19:20:42
Message: <9+nMgAAr8JSCFw3V@econym.demon.co.uk>
Wasn't it Muniz who wrote:
>
>Is there any way to use reflection map in pov ?

It would be just a subset of texture_map. 

#declare MyTex = texture {
  pigment_pattern {image_map {jpeg "reflectionmap.jpg" interpolate 2}}
  texture_map {
     [0 pigment {whatever} finish {reflection 0.0}]
     [1 pigment {whatever} finish {reflection 1.0}]
  }      
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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