POV-Ray : Newsgroups : povray.beta-test : Layered Normals? Server Time
4 Nov 2024 21:23:43 EST (-0500)
  Layered Normals? (Message 1 to 4 of 4)  
From: Josh English
Subject: Layered Normals?
Date: 25 Sep 2001 15:00:42
Message: <3BB0D2E7.B31A24F6@spiritone.com>
Is it still possible to layer normals in one texture block in POV-Ray
3.5? When I create a second normal on top of another, the latest normal
is used and the underlying normal is ignored.

Is this a new feature that I can't find in the docs?

--
Josh English
eng### [at] spiritonecom
The POV-Ray Cyclopedia http://www.spiritone.com/~english/cyclopedia/


Post a reply to this message

From: Ron Parker
Subject: Re: Layered Normals?
Date: 25 Sep 2001 15:08:56
Message: <slrn9r1lia.5o7.ron.parker@fwi.com>
On Tue, 25 Sep 2001 11:54:30 -0700, Josh English wrote:
>Is it still possible to layer normals in one texture block in POV-Ray
>3.5? When I create a second normal on top of another, the latest normal
>is used and the underlying normal is ignored.
>
>Is this a new feature that I can't find in the docs?

It's always been that way.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

From: Bob H 
Subject: Re: Layered Normals?
Date: 26 Sep 2001 06:22:14
Message: <3bb1ac56@news.povray.org>
"Ron Parker" <ron### [at] povrayorg> wrote in message
news:slr### [at] fwicom...
> On Tue, 25 Sep 2001 11:54:30 -0700, Josh English wrote:
> >Is it still possible to layer normals in one texture block in POV-Ray
> >3.5? When I create a second normal on top of another, the latest normal
> >is used and the underlying normal is ignored.
> >
> >Is this a new feature that I can't find in the docs?
>
> It's always been that way.

The doc has an example of two normals in one texture statement (well, there
isn't a texture wrapper but same thing) and says they should be additive.
Found that again: 3.7.2.1  Using Basic Normal Modifiers

Bob H.


Post a reply to this message

From: Ron Parker
Subject: Re: Layered Normals?
Date: 26 Sep 2001 10:24:54
Message: <slrn9r3p9n.9ce.ron.parker@fwi.com>
On Wed, 26 Sep 2001 05:22:02 -0500, Bob H. wrote:
>"Ron Parker" <ron### [at] povrayorg> wrote in message
>news:slr### [at] fwicom...
>> On Tue, 25 Sep 2001 11:54:30 -0700, Josh English wrote:
>> >Is it still possible to layer normals in one texture block in POV-Ray
>> >3.5? When I create a second normal on top of another, the latest normal
>> >is used and the underlying normal is ignored.
>> >
>> >Is this a new feature that I can't find in the docs?
>>
>> It's always been that way.
>
>The doc has an example of two normals in one texture statement (well, there
>isn't a texture wrapper but same thing) and says they should be additive.

Whoops, I was thinking you said finish.  Yeah, normal shouldn't work like
that.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

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