POV-Ray : Newsgroups : povray.general : xxx_map values, successive values? Server Time
1 Nov 2024 04:11:44 EDT (-0400)
  xxx_map values, successive values? (Message 1 to 2 of 2)  
From: Chuck Roberts
Subject: xxx_map values, successive values?
Date: 7 Sep 2000 09:45:30
Message: <39B844A0.FD16202A@alleganisd.org>
In the normal_map, color_map, pigment_map entries there is a
value for each entry. Like this: 
normal {
    gradient x       //this is the PATTERN_TYPE
    normal_map {
      [a  bumps scale 2]
      [b  dents]
      [c  dents]
      [d  marble turbulence 1]
    }
  }

Does d have to be >= c? And c >= b? And b >= a? Or can a,b,c,d be
any value? 

Is the following valid?
normal {
    gradient x       //this is the PATTERN_TYPE
    normal_map {
      [0.3  bumps scale 2]
      [0.2  dents]
      [0.6  dents]
      [0.5  marble turbulence 1]
    }
  }
-- 
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: Bob Hughes
Subject: Re: xxx_map values, successive values?
Date: 7 Sep 2000 17:00:16
Message: <39b801e0@news.povray.org>
"Chuck Roberts" <cro### [at] alleganisdorg> wrote in message
news:39B844A0.FD16202A@alleganisd.org...
| In the normal_map, color_map, pigment_map entries there is a
| value for each entry. Like this:
| normal {
|     gradient x       //this is the PATTERN_TYPE
|     normal_map {
|       [a  bumps scale 2]
|       [b  dents]
|       [c  dents]
|       [d  marble turbulence 1]
|     }
|   }
|
| Does d have to be >= c? And c >= b? And b >= a? Or can a,b,c,d be
| any value?

No, not for most any pattern anyway.  Only thing I can think of off-hand
would be 'average' in which case it's using the number as a percentage.
Otherwise they are index values and are meant to be only in order or the
lower will aways override the higher number if it's placed afterward.

Bob


Post a reply to this message

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