POV-Ray : Newsgroups : povray.general : Diffuse, Normal, Displacement, etc. maps Server Time
24 Nov 2024 08:48:40 EST (-0500)
  Diffuse, Normal, Displacement, etc. maps (Message 1 to 3 of 3)  
From: Mike Horvath
Subject: Diffuse, Normal, Displacement, etc. maps
Date: 30 May 2019 01:29:25
Message: <5cef6a35$1@news.povray.org>
I found a texture online that I like.

https://3dtextures.me/2018/04/23/brick-wall-010/

It comes with Diffuse, Normal, Displacement, Roughness, and Ambient 
Occlusion maps. Is there a POV tutorial on how to use all of these? Thanks.


Michael


Post a reply to this message

From: Thomas de Groot
Subject: Re: Diffuse, Normal, Displacement, etc. maps
Date: 30 May 2019 03:03:25
Message: <5cef803d@news.povray.org>
On 30-5-2019 7:29, Mike Horvath wrote:
> I found a texture online that I like.
> 
> https://3dtextures.me/2018/04/23/brick-wall-010/
> 
> It comes with Diffuse, Normal, Displacement, Roughness, and Ambient 
> Occlusion maps. Is there a POV tutorial on how to use all of these? Thanks.
> 

Diffuse: self-evident;

Normal:
#local NormalMap =
function {
   pigment {
     image_map {
       jpeg "Mynormalmap.jpg" gamma 1
     }
   }
}

sphere {
   0, 1
   pigment {rgb 1}
   normal {
     function {
       NormalMap(x,y,z).red +
       NormalMap(x,y,z).green +
       NormalMap(x,y,z).blue
     } 1.5
     scale 0.5
   }
   finish {
     diffuse 1
   }
   //rotate -20*y
   translate z*1
}

Displacement: can be used as another, more traditional, normal map;

Roughness: Same I guess;

Ambient Occlusion: That is an interesting one, but needs a lot more 
explanation. I have used ambient occlusion in the far past but involving 
the whole scene. It is, among other things, a good way to light up dark 
corners. However, I think it is much less useful with the later versions 
of POV-Ray (my 2 cents).

-- 
Thomas


Post a reply to this message

From: Norbert Kern
Subject: Re: Diffuse, Normal, Displacement, etc. maps
Date: 30 May 2019 09:25:00
Message: <web.5cefd8f58cd8ad113c1c78400@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:
> I found a texture online that I like.
>
> https://3dtextures.me/2018/04/23/brick-wall-010/
>
> It comes with Diffuse, Normal, Displacement, Roughness, and Ambient
> Occlusion maps. Is there a POV tutorial on how to use all of these? Thanks.
>
>
> Michael


Hi Michael,

Trevor G Quale used normal, specular and diffuse maps back in 2007 -
http://news.povray.org/povray.text.scene-files/thread/%3Cweb.45acdfaa3fb2bd2ec150d4c10%40news.povray.org%3E/.

Robert McGregor made a nice thread in 2008 about ambient occlusion -
http://news.povray.org/povray.binaries.images/thread/%3C48f98dca@news.povray.org%3E/.

And Jaime Vive Piqueres baked occlusion maps in 2012 -
http://news.povray.org/povray.binaries.images/thread/%3C500e49bd@news.povray.org%3E/.

Norbert


Post a reply to this message

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