POV-Ray : Newsgroups : povray.general : procedural texture as a bump map? : Re: procedural texture as a bump map? Server Time
30 Jul 2024 16:20:27 EDT (-0400)
  Re: procedural texture as a bump map?  
From: Tim Attwood
Date: 5 Nov 2008 05:41:10
Message: <49117846$1@news.povray.org>
>> #declare N_WoodGrain12a = normal {
>>     bozo
>>     turbulence 0.04
>>     lambda 2.5
>>     omega 0.1
>>     octaves 7
>>     scale <0.5, 0.05, 0.05>
>> };
>
> Ok, but how did you arrive at that?
> I looked through the docs on normal, but didn't see any way to apply the 
> pigment
> or texture as a normal.

It's just the pattern from the P_WoodGrain12a pigment,
modified to be a normal, you can look it up in woods.inc,
that's in the POV/include directory.

The normal patterns look best if they match the color patterns,
if you dislike the resulting normal you can tweak the weighting
of the average.

The next step up in realism is to switch to isosurfaces.
http://www.imagico.de/pov/iw/docu03.html


Post a reply to this message

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