POV-Ray : Newsgroups : povray.general : specular map? Server Time
23 Dec 2024 22:40:05 EST (-0500)
  specular map? (Message 1 to 4 of 4)  
From: jhu
Subject: specular map?
Date: 18 Sep 2006 10:10:01
Message: <web.450ea86cb9c97fc6f89be9050@news.povray.org>
i have a texture that i'm using as a bump map. but i'd also like to use it
as as specular map. since povray doesn't support specular maps, i'm
assuming there's a way to do this with material maps. but i'm rather at a
loss at how this is done. any help would be greatly appreciated. thanks!


Post a reply to this message

From: Penelope20k
Subject: Re: specular map?
Date: 18 Sep 2006 10:22:53
Message: <450eabbd$1@news.povray.org>
whta doyou mean as specular map ..

If its is the specular as a finish statement , then just use finish_map






news:web.450ea86cb9c97fc6f89be9050@news.povray.org...
> i have a texture that i'm using as a bump map. but i'd also like to use it
> as as specular map. since povray doesn't support specular maps, i'm
> assuming there's a way to do this with material maps. but i'm rather at a
> loss at how this is done. any help would be greatly appreciated. thanks!
>
>


Post a reply to this message

From: Penelope20k
Subject: Re: specular map?
Date: 18 Sep 2006 10:25:31
Message: <450eac5b@news.povray.org>
as mean texture_map with changing finishing statements ...



news:web.450ea86cb9c97fc6f89be9050@news.povray.org...
> i have a texture that i'm using as a bump map. but i'd also like to use it
> as as specular map. since povray doesn't support specular maps, i'm
> assuming there's a way to do this with material maps. but i'm rather at a
> loss at how this is done. any help would be greatly appreciated. thanks!
>
>


Post a reply to this message

From: FlyerX
Subject: Re: specular map?
Date: 18 Sep 2006 17:23:06
Message: <450f0e3a$1@news.povray.org>
You can try this for general blending:

material{

texture{

pigment_pattern{  //blending pigment_pattern
      	uv_mapping image_map{png "map.png" interpolate 2 }scale 1.0
	}
   texture_map{
        [0  //black -> texture 1
         //insert pigment1 here
	pigment{}
         //insert finish1 here
	finish{}
         //insert normal1 here
	normal{}
        ]
        [1  //white -> texture 2
         //insert pigment2 here
	pigment{}
         //insert finish2 here
	finish{}
         //insert normal2 here
	normal{}
        ]}scale 1.0}

             //insert interior here

         }


You can fill in the blanks. Remove the uv_mapping if your model does not 
use it.

This is what PoseRay (http://mysite.verizon.net/sfg0000/) does for the 
custom POV-Ray materials.

later,

FlyerX

jhu wrote:
> i have a texture that i'm using as a bump map. but i'd also like to use it
> as as specular map. since povray doesn't support specular maps, i'm
> assuming there's a way to do this with material maps. but i'm rather at a
> loss at how this is done. any help would be greatly appreciated. thanks!
> 
>


Post a reply to this message

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