Blender Git Loki

Blender Git "strand_nodes" branch commits.

Page: 4 / 37

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.
July 14, 2016, 15:04 (GMT)
Removed a couple of unused fiber curve attribute buffers.
July 14, 2016, 14:46 (GMT)
More detailed invalidation function for strand draw data.

Currently only used in its broadest form for freeing the whole buffer,
but could be used in the future to selectively invalidate parts of the
data, to avoid costly uploading of large but static buffers.
July 14, 2016, 10:38 (GMT)
Cleanup: Move code for strand drawing buffers into its own file.

The gpu_buffers.c file is becoming too large, and incorporates all the logic
from meshes and now strands, which should be separate from the API.

Making the strands buffer code separate also allows much more control,
e.g. for partially invalidating draw data and avoiding unnecessary buffer
uploads to the GPU.
July 14, 2016, 08:00 (GMT)
Merge branch 'strand_editmode' into strand_gpu
July 14, 2016, 07:59 (GMT)
Merge branch 'mesh_samples' into strand_editmode
July 14, 2016, 07:57 (GMT)
Merge branch 'master' into strand_editmode
July 14, 2016, 07:56 (GMT)
Merge branch 'master' into mesh_samples
July 14, 2016, 07:55 (GMT)
Replace the deprecated TessFace usage for mesh sampling by LoopTri.

Also make sure a valid generator instance for random sampling is always
returned, regardless of triangle counts.
July 13, 2016, 16:38 (GMT)
Fix crashes when generating fibers without any control curves present.
July 13, 2016, 16:27 (GMT)
Fix crash when adding a strands modifier and the fiber vertex/edge buffer is NULL.

The NULL buffer pointer is expected, just needs a sanity check.
July 13, 2016, 14:50 (GMT)
Merge branch 'strand_editmode' into strand_gpu
July 13, 2016, 14:50 (GMT)
Merge branch 'master' into strand_editmode
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021