Blender Git Loki

Git Commits -> Revision ba345bc

Revision ba345bc by Antonis Ryakiotakis (master)
August 12, 2014, 11:49 (GMT)
Fix T41414, T41386.

There were a few issues to fix here:

* We did not really unpremultiply float image dabs prior to sending them
to the GPU. That made float and byte image result different in texture
painting and undoing could change the result.
* To make textures nicely composited over the mesh, I used decal mode in
OpenGL texture environment for the texture unit. This uses the texture's
alpha channel with a nice over operator.
* Texture creation used to override the alpha setting due to the display
restrictions. Not so anymore, people can now create transparent byte
images.

Also, made alpha zero default for new textures now, since it has such a
nice effect here.

Commit Details:

Full Hash: ba345bcbb6de5f32ba8ae3e9666077c707d10764
Parent Commit: 794277f
Lines Changed: +13, -21

4 Modified Paths:

/source/blender/editors/sculpt_paint/paint_image_proj.c (+2, -8) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+4, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+6, -12) (Diff)
/source/blender/imbuf/intern/divers.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021