POV-Ray : Newsgroups : povray.general : Generate normal map : Re: Generate normal map Server Time
28 Apr 2024 21:29:04 EDT (-0400)
  Re: Generate normal map  
From: Bald Eagle
Date: 14 Oct 2019 16:05:06
Message: <web.5da4d42b892ac194eec112d0@news.povray.org>
"Josh" <nomail@nomail> wrote:
I
> would expect that near the center of the asteroid, the color would be RGB
> 128,128,255, and that near the right edge the red component would be 255, and
> near the left edge the red component near 0, and the same for the green, close
> to 0 and 255 near the edges. Maybe mind didn't render correctly or it isn't
> quite right yet.

The answer lies here:

http://www.povray.org/documentation/view/3.6.1/393/


                                                                        0.5
                                                                         |
right now, if the camera is pointing this way --->   the results are  0------1.0
                                                                         |
                                                                        0.5

So the whole normal result needs to get adjusted.
I'm not sure if there's a way to rotate the results by 90 deg along the r and g
axes...


Post a reply to this message

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