Blender Git Loki

Git Commits -> Revision b481524

Revision b481524 by Antonis Ryakiotakis (master)
June 6, 2011, 22:10 (GMT)
fix for float projection painting, now updating correctly.

This fix also allows for partial update of the image, speeding up painting.
The different code path implemented will be used to upload high resolution images to OpenGL when onion branch is merged.
Due to conversion of float textures to/from sRGB, corrections made to brush color sampling to take account of the image profile. This is not 100% correct yet as texture images used for projection painting strokes are not converted to/from sRGB yet(This has been decided due to loss of precision for 8-bit formats). It will have to do for now, though.

last-minute update, exr image loading is broken, will fix asap

Commit Details:

Full Hash: b481524fde453884f8854a95bba1c1fdeb46959f
SVN Revision: 37276
Parent Commit: 9088b69
Lines Changed: +218, -29

9 Modified Paths:

/source/blender/blenkernel/BKE_brush.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+18, -15) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+2, -0) (Diff)
/source/blender/blenlib/BLI_utildefines.h (+6, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+15, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+22, -9) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+19, -3) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+5, -0) (Diff)
/source/blender/imbuf/intern/divers.c (+129, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021