After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300122 - The lighting effects plug-in gives wrong results with bumpmap and environment map
The lighting effects plug-in gives wrong results with bumpmap and environment...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-04-10 19:42 UTC by Michael Schumacher
Modified: 2005-04-26 18:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example of a possible result (30.82 KB, image/png)
2005-04-10 19:45 UTC, Michael Schumacher
Details
.xcf.gz file with all layers mentioned in this report, and the results for different layers (212.90 KB, application/x-gzip)
2005-04-10 19:48 UTC, Michael Schumacher
Details

Description Michael Schumacher 2005-04-10 19:42:38 UTC
How to reproduce:

1. create a new image
2. add a layer for the environment map, e.g. Solid Noise mapped to a golden gradient
3. add a layer for the bumpmap, e.g. blurred what text on a black background
4. add some layers to play on, e.g. white, black and transparent
5. Use Lighting effects with the following settings (not all of them might be
relevant):

- transparent background
- high quality preview
- one directional light
- bumpmap with the layer from step 3
- environment map with the layer from step 2

6. update the preview if needed

For some layers, this will already show the problem.

7. Apply the plug-in

There are different possible results, the most common is a colored streak behind
the letters of the bumpmap. I'll attach an image that shows the problem.
Comment 1 Michael Schumacher 2005-04-10 19:45:44 UTC
Created attachment 45109 [details]
Example of a possible result
Comment 2 Michael Schumacher 2005-04-10 19:48:08 UTC
Created attachment 45110 [details]
.xcf.gz file with all layers mentioned in this report, and the results for different layers
Comment 3 weskaggs 2005-04-11 22:52:41 UTC
Thanks for the info.  The basic problem turned out to be a simple typo, but I
also took the chance to work in some changes that should make env mapping
perform a bit more like it ought to.

2005-04-11  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/Lighting/lighting_shade.c:  Fix typo responsible for
	bug #300122, also revise env-mapping code to make it perform
	better.
Comment 4 Michael Schumacher 2005-04-26 18:00:54 UTC
*** Bug 302075 has been marked as a duplicate of this bug. ***