POV-Ray : Newsgroups : povray.unofficial.patches : slope question : slope question Server Time
2 Sep 2024 12:15:19 EDT (-0400)
  slope question  
From: Tom Melly
Date: 17 Jan 2000 06:39:05
Message: <3882ff59@news.povray.org>
Hi, just started using megapov and have a few questions due to some
unexpected results of trying out "slope".

1. If I have "slope y", is the following correct?
    normal vector <  0, -1, 0 > returns 0.0
    normal vector <  1,  0, 0 > returns 0.5
    normal vector < -1,  0, 0 > returns 0.5
    normal vector <  0,  0, 1 > returns 0.5
    normal vector <  1,  0, 1 > returns 0.5
    normal vector <  1,  1, 1 > returns 0.75 (?)

2. Is there a formula for calculating the return from any particular normal
for a specified slope value?

3. Since scaling an object unevenly will modify surface normals, presumably
slope y pigments are affected by whether they are before or after such
scaling?

Many thanks.


Post a reply to this message

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