POV-Ray : Newsgroups : povray.newusers : Combining normals : Re: Combining normals Server Time
30 Jul 2024 10:16:23 EDT (-0400)
  Re: Combining normals  
From: SomeOne
Date: 10 Jul 2004 10:49:43
Message: <40f00207@news.povray.org>
"Mike Williams" <nos### [at] econymdemoncouk> schreef in bericht
news:FaW### [at] econymdemoncouk...
| Wasn't it SomeOne who wrote:
| >Is it possible to make combinations of  normals? For example I want to give
an
| >object a bumps with a large scaling to get a slow wavy pattern and then
| >superimpose onto that a bumpy or wavy texture of a much smaller scale. This
| >suggests I need to define on the surface of the object two normals. But
won't
| >one overrule the other?
|
|
| You can't layer normals in the same way that you layer pigments,
| because, as you say, one overrules the other.
|
| You can use an average normal_map, like this for simple blending of two
| normals:
|
|   normal {average
|     normal_map {
|       [0.5 Norm1]
|       [0.5 Norm2]
|     }
|   }
|

Yes, thats what I was looking for. I was already thinking of creating
heightfield do this. But this works like a charm.

Thanks!!

-- 
Maurice


Post a reply to this message

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