Blender Git Loki

Git Commits -> Revision d996f4e

Revision d996f4e by Campbell Barton (master)
October 31, 2008, 05:51 (GMT)
basic projection painting - should work without crashing and not be too slow.

does not use any opengl for calculations (2.5 friendly!) and free from screen pixel artifacts. raytracing is used for occlusion.
Details
* Uses a 2D screenspace bucket grid that store intersecting faces and a list of UV pixels to optimize lookups between the brush rectangle UV pixels
* Buckets and faces are initialized when a brush first touches them.
* on initializing all the faces used have their UV pixels are converted into screenspace and copied into the buckets for painting (if the pixel is not occluded by a ray cast).

still a lot to do - blend modes, float buffer, image wrapping, image texture filtering.

Add feature requests here
http://wiki.blender.org/index.php/Wahooney_re/Paint_Branch_Proposals

Commit Details:

Full Hash: d996f4e0b7df8254997caaac0b03c507edc4e537
SVN Revision: 17240
Parent Commit: 457b111
Lines Changed: +929, -18

1 Modified Path:

/source/blender/src/imagepaint.c (+929, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021