Blender Git Commits

Blender Git "strand_gpu" branch commits.

July 20, 2016, 07:45 (GMT)
Merge branch 'strand_editmode' into strand_gpu
July 20, 2016, 07:44 (GMT)
Fix for uninitialized v_mirr variable when using edge strokes with mirroring.
July 19, 2016, 15:12 (GMT)
Fix unfreed memory due to incorrect pointer checks.
July 19, 2016, 15:10 (GMT)
Handle replacement of the shader cache for strands outside the creation function.

This makes it easier to run preparation code outside the gpu module conditionally.
July 19, 2016, 09:42 (GMT)
Merge branch 'master' into strand_gpu
July 19, 2016, 09:42 (GMT)
Merge branch 'master' into strand_editmode
July 19, 2016, 08:32 (GMT)
Merge branch 'master' into strand_gpu
July 19, 2016, 08:32 (GMT)
Merge branch 'master' into strand_editmode
July 18, 2016, 15:16 (GMT)
Fix incorrect tangent calculations for the "curl" effect.

The result for tangents under a mix transformation is essentially a mix
of the original and target tangents, plus a shape correction term.
July 17, 2016, 15:28 (GMT)
Better fix for uninitialized variables.

The previous one probably only works because there are currently no more
than 3 valid control curves for each fiber, so the 4th one resets the
cumulative values to 0.0.
July 17, 2016, 15:04 (GMT)
Fix some uninitialized variables, leading to incorrect tangents for strands shading.
July 17, 2016, 12:02 (GMT)
Fix for strand curve interpolation length.

The shader was overshooting the actual strand length by one segment.
July 17, 2016, 10:40 (GMT)
Removed unused utility function.
July 17, 2016, 10:37 (GMT)
Fix for calculation of the view vector in strand shading.

The product with the model-view matrix must take translation into account.
July 17, 2016, 09:46 (GMT)
Augmentation of the strand shader with a debugging shader.

The debug shader shares most code with the regular shader. It uses a
geometry shader pass to create extra vector lines.
July 17, 2016, 06:55 (GMT)
Cleanup for nicer code structure in the strand vertex shader.
July 16, 2016, 10:19 (GMT)
Use a converter class for handling differences between DNA and BMesh strands data.

This moves most of the data access logic for this data out of the GPU code and into
the respective BKE files. The concept is similar to how DerivedMesh is used in other
GPU code.
July 15, 2016, 10:51 (GMT)
Deduplication of strand drawing functions.

The two variants for object and edit mode are the same, except for
setting the edit data in the parameters.
July 15, 2016, 10:44 (GMT)
Removed deprecated editmode drawing code.

The only real missing feature from this code is drawing points and
selection state, which can be reimplemented quite easily.
July 15, 2016, 10:30 (GMT)
New option for selecting a fiber rendering primitive.

Currently lines and ribbons (triangle strips) are supported.
The ribbon width can be controlled with a parameter. Ribbons are
oriented toward the camera, similar to billboards, but shaded like lines
with the Kajiya shader imitating a reflective tube.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020