POV-Ray : Newsgroups : povray.general : How do I set depth of a normal? Server Time
7 Nov 2024 04:52:42 EST (-0500)
  How do I set depth of a normal? (Message 1 to 7 of 7)  
From: natwod
Subject: How do I set depth of a normal?
Date: 8 Jan 2004 12:15:02
Message: <web.3ffd90071743f0a05377cb8a0@news.povray.org>
I was wondering if there is a way to set the depth of a normal for an
object.  I know that you can scale the x/y/z, but scaling all 3 of these
changes the look and size of the normal, and scaling just one only
increases the depth in that direction, and simply stretches the normal on
all other sides of the object.

Is there an easy way to increase/decrease the depth of a normal without
scaling in all 3 dimensions?

Thanks!
  Natwod


Post a reply to this message

From: ABX
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 12:55:07
Message: <p66rvvo8tpku7jd874icli8ro79lmneqt5@4ax.com>
On Thu,  8 Jan 2004 12:14:47 EST, "natwod" <nomail@nomail> wrote:
> Is there an easy way to increase/decrease the depth of a normal without
> scaling in all 3 dimensions?

Do you mean Depth*Normalize(V)?

ABX


Post a reply to this message

From: Peter Popov
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 13:14:38
Message: <rd7rvvg7m3alk8fb5iamj69p1l86bogfhl@4ax.com>
On Thu,  8 Jan 2004 12:14:47 EST, "natwod" <nomail@nomail> wrote:

>Is there an easy way to increase/decrease the depth of a normal without
>scaling in all 3 dimensions?

normal { wrinkles 0.01 }
normal { wrinkles 0.1 }
normal { wrinkles 1 }
normal { wrinkles 10 }
normal { wrinkles 100 }

should produce different results.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Christopher James Huff
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 13:17:55
Message: <cjameshuff-6DC070.13180108012004@netplex.aussie.org>
In article <web.3ffd90071743f0a05377cb8a0@news.povray.org>,
 "natwod" <nomail@nomail> wrote:

> Is there an easy way to increase/decrease the depth of a normal without
> scaling in all 3 dimensions?

Yes: http://povray.org/documentation/view/186/
"The PATTERN_TYPE may optionally be followed by a float value that 
controls the apparent depth of the bumps. Typical values range from 0.0 
to 1.0 but any value may be used. Negative values invert the pattern. 
The default value if none is specified is 0.5."

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: natwod
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 14:15:02
Message: <web.3ffdac29793c4e8e5377cb8a0@news.povray.org>
Great!  Thanks for the advice, everybody!

Natwod

Christopher James Huff wrote:
>In article <web.3ffd90071743f0a05377cb8a0[at]news.povray.org>,
> "natwod" <nomail[at]nomail> wrote:
>
>> Is there an easy way to increase/decrease the depth of a normal without
>> scaling in all 3 dimensions?
>
>Yes: http://povray.org/documentation/view/186/
>"The PATTERN_TYPE may optionally be followed by a float value that
>controls the apparent depth of the bumps. Typical values range from 0.0
>to 1.0 but any value may be used. Negative values invert the pattern.
>The default value if none is specified is 0.5."
>
>Christopher James Huff <cja### [at] earthlinknet>
>http://home.earthlink.net/~cjameshuff/
>POV-Ray TAG: <chr### [at] tagpovrayorg>
>http://tag.povray.org/
>


Post a reply to this message

From: Slime
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 14:56:05
Message: <3ffdb5d5$1@news.povray.org>
> "The PATTERN_TYPE may optionally be followed by a float value that
> controls the apparent depth of the bumps. Typical values range from 0.0
> to 1.0 but any value may be used. Negative values invert the pattern.
> The default value if none is specified is 0.5."

I believe that the bump_size keyword can also be used to either multiply
this depth value or replace it.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: Christopher James Huff
Subject: Re: How do I set depth of a normal?
Date: 8 Jan 2004 16:37:16
Message: <cjameshuff-618317.16372308012004@netplex.aussie.org>
In article <3ffdb5d5$1@news.povray.org>, "Slime" <fak### [at] emailaddress> 
wrote:

> I believe that the bump_size keyword can also be used to either multiply
> this depth value or replace it.

Right. I should have mentioned that...I prefer it to the "append a float 
value" syntax. It also gives you a way to change the bump size on a 
previously declared normal:
http://povray.org/documentation/view/186/#s06_07_02_03_02

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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