Blender Git Commit Log

Git Commits -> Revision b9425b2

Revision b9425b2 by Ton Roosendaal (master)
February 10, 2006, 18:57 (GMT)
Interesting commit for artists using huge textures;

The code that generated mipmaps took a real long time to do it... on a
5k x 5k image it took here (no optim, debug compile) 32.5 sec.

Recoded the very old filtering routine, which already brought it down to
2.8 seconds. Then tested if we even need this filtering... in many cases
the images are painted or photographs, which is filtered OK already.
Without the filter, the mipmap timing went down to 0.39 second. :)

http://www.blender.org/bf/filters/index1.html

Here's an example of two 'mips' generated with or without gauss filter.
Note that aliasing in an image remains there... which can be a wanted
effect anyway.

So; added the gauss filter as option in making mipmaps. Also had to
reshuffle the buttons there in a more logical manner.
There's also disabled code in the do_versions to set 'gauss' on in older
files. Will be enabled during release time.

Commit Details:

Full Hash: b9425b2a3509b4715acf753cefd4a2392b537ccb
SVN Revision: 6780
Parent Commit: 945484e
Lines Changed: +62, -37

7 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+4, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -0) (Diff)
/source/blender/imbuf/intern/filter.c (+30, -0) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+0, -14) (Diff)
/source/blender/render/intern/source/imagetexture.c (+14, -11) (Diff)
/source/blender/src/buttons_shading.c (+12, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021