Blender Git Loki

Git Commits -> Revision 71e47b3

Revision 71e47b3 by Ton Roosendaal (master)
November 21, 2005, 22:47 (GMT)
Bugfix #2841

Ancient issue with Image bumpmap & orientation... this report was about
UV textures, which flipped bump direction when UV coordinates rotate.
So... time to dive deeper into it, and I found a very bad old construction
in the way image textures handled bump normals. Instead of using the
correct dx,dy vectors it was calculating the boundbox for it, and applied
it as such (loosing negative direction for the dx or dy that way).

Anyhoo! To make a long story short; the weird "correct Nor Map" option
now can be removed... but requires careful testing!

Here's renders from file I got from env, 239 means old and 240 is this cvs.

http://www.blender.org/bf/dino239.jpg
http://www.blender.org/bf/dino240.jpg

http://www.blender.org/bf/dino239a.jpg
http://www.blender.org/bf/dino240a.jpg

Note the much finer detail, and the more consistant normals direction.
No, go render testing dudes!

Commit Details:

Full Hash: 71e47b31c6ba8133ff57240e66c6faf333ce0202
SVN Revision: 5879
Parent Commit: 280375a
Lines Changed: +21, -19

2 Modified Paths:

/source/blender/render/intern/source/imagetexture.c (+19, -15) (Diff)
/source/blender/render/intern/source/texture.c (+2, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021