POV-Ray : Newsgroups : povray.general : POV-Ray Installation thread : Re: POV-Ray Installation thread Server Time
5 May 2024 08:22:54 EDT (-0400)
  Re: POV-Ray Installation thread  
From: Alain Martel
Date: 14 May 2021 10:20:44
Message: <609e873c$1@news.povray.org>

> hi,
> 
> William F Pokorny <ano### [at] anonymousorg> wrote:
>> ...
>> // This a povr branch only example!
>> ...
>> #declare Nrml00 = normal {
>>       average
>>       normal_map {
>>           [0 bevy type 1 bump_size 0.5] // unbiased wrinkles alt
> 
> the line above (28) gives me trouble.
> 
> 
>>           [1 bevy type 4 bump_size 0.5] // Lean already wrinkled at +y
>>       }
>> }
> 

In an average, the control values determine the weight of that part. So, 
that [0 bevy type 1 bump_size 0.5] mean zero weight, zero contribution. 
This mean that it could be removed without affecting the final result.
That zero weight may be the cause of your problem.

Try changing it to :
// effectively the same as the above code
#declare Nrm100 = normal{bevy type 4 bump_size 0.5}

or
// Equal weight
#declare Nrm100 = normal{
	average
	normal_map{
		[1 bevy type 1 bump_size 0.5]
		[1 bevy type 4 bump_size 0.5]
	}
}

or
//very little contribution for type 1
#declare Nrm100 = normal{
	average
	normal_map{
		[0.0001 bevy type 1 bump_size 0.5]
		[1 bevy type 4 bump_size 0.5]
	}
}


Post a reply to this message

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