POV-Ray : Newsgroups : povray.bugreports : Bump maps fried in 3.1d Server Time
23 Dec 2024 07:34:21 EST (-0500)
  Bump maps fried in 3.1d (Message 1 to 2 of 2)  
From: Chris Young
Subject: Bump maps fried in 3.1d
Date: 1 Mar 1999 22:21:21
Message: <36dc5892.8754933@news.povray.org>
There is a bug in bump_maps in POV-Ray 3.1d which was just released.

Don't download it if you need bump maps.

For you compile-it-yourself folks...

try changing image.c line 362 from...

  VScaleEq(yprime, bump_normal[Y]);

to

  VScaleEq(yprime, (-bump_normal[Y]));

That fixed it for me but let's let the troups beat on it more just to
make sure before releasing 3.1e officially.
	Chris Young, POV-Team Coordinator


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bump maps fried in 3.1d
Date: 2 Mar 1999 00:03:07
Message: <36DB7101.EE1A4A4A@Kopp.com>
I think the real fix is to remove line 337, which reads:
  VScaleEq(yprime, -1);

I think that line was a fake-fix for an earlier manifestation of the
normal-flipping bug (aka average-normal bug).

Taking out line 337 without changing line 362 fixes the problem for me.  It
might be worthy to note that line 337 did NOT exist in the original POV 3.1
(it might be in 3.1a).

-Nathan

Chris Young wrote:
> 
> There is a bug in bump_maps in POV-Ray 3.1d which was just released.
> 
> Don't download it if you need bump maps.
> 
> For you compile-it-yourself folks...
> 
> try changing image.c line 362 from...
> 
>   VScaleEq(yprime, bump_normal[Y]);
> 
> to
> 
>   VScaleEq(yprime, (-bump_normal[Y]));
> 
> That fixed it for me but let's let the troups beat on it more just to
> make sure before releasing 3.1e officially.
>         Chris Young, POV-Team Coordinator


Post a reply to this message

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