POV-Ray : Newsgroups : povray.general : normal amount and normal map Server Time
9 Aug 2024 01:20:36 EDT (-0400)
  normal amount and normal map (Message 1 to 3 of 3)  
From: Chuck Roberts
Subject: normal amount and normal map
Date: 15 Sep 2000 10:09:04
Message: <39C22D70.58AA7B42@alleganisd.org>
Say I have a texture like this: 
#declare Texture1 = texture { //Reddish
    pigment { color rgb <0.790, 0.000, 0.000>
        } // pigment;
    normal { 
        boxed 
        normal_map {
            [ 0.250 bumps turbulence 0.2 ]
            [ 0.750 crackle turbulence 0.3 ]
            } // normal map
        scale <0.2, 0.1, 0.3>
        } //normal
} //texture

Normally, if you use a single pattern in a normal you need to
enter an amount. Like this:
#declare Texture1 = texture { //Reddish
    pigment { color rgb <0.790, 0.000, 0.000>
        } // pigment;
    normal { 
        boxed .25
        scale <0.2, 0.1, 0.3>
        } //normal
} //texture

However, is the amount required for normal maps? Is it optional?
I rendered an image with a normal map, with the amount and
without the amount and got no errors. So I guess it's optional,
but legal to use.

-- 
See my Free stuff page. It compares free website providers, and
lists free internet access providers.
http://www.crosswinds.net/~robertsc/free.htm

Win98 help file loaded with hints and tips, including securing a
Win 95/98 PC in a classroom setting. VB4 help file with lots of
code and hints. 
At http://www.crosswinds.net/~robertsc/


Post a reply to this message

From: Warp
Subject: Re: normal amount and normal map
Date: 15 Sep 2000 10:25:23
Message: <39c23152@news.povray.org>
Chuck Roberts <cro### [at] alleganisdorg> wrote:
: Normally, if you use a single pattern in a normal you need to
: enter an amount.

  No, you don't need to do it. If you don't specify the amount, a default
value is used. I don't know what's the default value (AFAIK it's not 1
although it would be logical).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: normal amount and normal map
Date: 15 Sep 2000 11:28:28
Message: <39C23F84.6C93848B@pacbell.net>
Warp wrote:
> 
> Chuck Roberts <cro### [at] alleganisdorg> wrote:
> : Normally, if you use a single pattern in a normal you need to
> : enter an amount.
> 
>   No, you don't need to do it. If you don't specify the amount, a default
> value is used. I don't know what's the default value (AFAIK it's not 1
> although it would be logical).

It is also not unusual that the POV-Team has assigned default
values for many of the functions in POV-Ray. For example pigment
pattens have default colors assigned if none are specified in an
image_map.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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