http://www.miikahweb.com/feed.php MiikaHweb - Blender Strand_gpu Branch http://www.miikahweb.com/ MiikaHweb - Blender Strand_gpu Branch fi Wed, 08 Apr 20 01:17:39 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[dac67e2]: Merge branch 'strand_editmode' into strand_gpu]]> http://www.miikahweb.com/en/blender/git-logs/commit/dac67e2fed8b16ff09042178f5d698244247213e dac67e2
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'strand_editmode' into strand_gpu

----------------------------------------
0 Paths Changed]]>
Wed, 20 Jul 2016 07:45:22 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dac67e2fed8b16ff09042178f5d698244247213eLukas Toenne
<![CDATA[[07cffae]: Fix for uninitialized v_mirr variable when using edge strokes...]]> http://www.miikahweb.com/en/blender/git-logs/commit/07cffae7eafc6d55857348075aea5dfc3c191db7 07cffae
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix for uninitialized v_mirr variable when using edge strokes with mirroring.

----------------------------------------
1 Path Changed]]>
Wed, 20 Jul 2016 07:44:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/07cffae7eafc6d55857348075aea5dfc3c191db7Lukas Toenne
<![CDATA[[28e06bb]: Handle replacement of the shader cache for strands outside...]]> http://www.miikahweb.com/en/blender/git-logs/commit/28e06bbe6117da80e86e9be78a25a9d2a83d7543 28e06bb
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
3 Paths Changed]]>
Tue, 19 Jul 2016 15:10:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/28e06bbe6117da80e86e9be78a25a9d2a83d7543Lukas Toenne
<![CDATA[[3467f8f]: Fix unfreed memory due to incorrect pointer checks.]]> http://www.miikahweb.com/en/blender/git-logs/commit/3467f8fb82b7142241ca09b45e553da70c3b6eb6 3467f8f
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix unfreed memory due to incorrect pointer checks.

----------------------------------------
1 Path Changed]]>
Tue, 19 Jul 2016 15:12:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3467f8fb82b7142241ca09b45e553da70c3b6eb6Lukas Toenne
<![CDATA[[e785555]: Merge branch 'master' into strand_gpu]]> http://www.miikahweb.com/en/blender/git-logs/commit/e7855556e18757e912cea986fc309eb1bd1460e5 e785555
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_gpu

----------------------------------------
0 Paths Changed]]>
Tue, 19 Jul 2016 09:42:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e7855556e18757e912cea986fc309eb1bd1460e5Lukas Toenne
<![CDATA[[1b431c3]: Merge branch 'master' into strand_editmode]]> http://www.miikahweb.com/en/blender/git-logs/commit/1b431c3cfe3e0a435e71fbf9752615fcb876a857 1b431c3
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_editmode

----------------------------------------
0 Paths Changed]]>
Tue, 19 Jul 2016 09:42:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1b431c3cfe3e0a435e71fbf9752615fcb876a857Lukas Toenne
<![CDATA[[e226318]: Merge branch 'master' into strand_gpu]]> http://www.miikahweb.com/en/blender/git-logs/commit/e226318e039889e35d67090a1dd602c8b501099d e226318
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_gpu

----------------------------------------
0 Paths Changed]]>
Tue, 19 Jul 2016 08:32:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e226318e039889e35d67090a1dd602c8b501099dLukas Toenne
<![CDATA[[dd1211e]: Merge branch 'master' into strand_editmode]]> http://www.miikahweb.com/en/blender/git-logs/commit/dd1211ecb8b370fcdc47822f61ce6b6210c500ff dd1211e
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_editmode

----------------------------------------
0 Paths Changed]]>
Tue, 19 Jul 2016 08:32:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dd1211ecb8b370fcdc47822f61ce6b6210c500ffLukas Toenne
<![CDATA[[44efcdd]: Fix incorrect tangent calculations for the "curl" effect.]]> http://www.miikahweb.com/en/blender/git-logs/commit/44efcddec5da4754a7d06086ad5a6d976f580cd1 44efcdd
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
3 Paths Changed]]>
Mon, 18 Jul 2016 15:16:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/44efcddec5da4754a7d06086ad5a6d976f580cd1Lukas Toenne
<![CDATA[[b05fb30]: Better fix for uninitialized variables.]]> http://www.miikahweb.com/en/blender/git-logs/commit/b05fb3061403560cced06efe12002a9d72b5235f b05fb30
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 15:28:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b05fb3061403560cced06efe12002a9d72b5235fLukas Toenne
<![CDATA[[01725d4]: Fix some uninitialized variables, leading to incorrect tangents...]]> http://www.miikahweb.com/en/blender/git-logs/commit/01725d4d52a5c9442076fe4b0075d50b93bbb276 01725d4
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix some uninitialized variables, leading to incorrect tangents for strands shading.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 15:04:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/01725d4d52a5c9442076fe4b0075d50b93bbb276Lukas Toenne
<![CDATA[[065b1d0]: Fix for strand curve interpolation length.]]> http://www.miikahweb.com/en/blender/git-logs/commit/065b1d06e373b0ef597e8a9465e7d39c67f20687 065b1d0
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix for strand curve interpolation length.

The shader was overshooting the actual strand length by one segment.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 12:02:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/065b1d06e373b0ef597e8a9465e7d39c67f20687Lukas Toenne
<![CDATA[[e7ff0f2]: Removed unused utility function.]]> http://www.miikahweb.com/en/blender/git-logs/commit/e7ff0f2e869578a3060908f7d8396348347548ad e7ff0f2
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Removed unused utility function.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 10:40:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e7ff0f2e869578a3060908f7d8396348347548adLukas Toenne
<![CDATA[[f59f655]: Fix for calculation of the view vector in strand shading.]]> http://www.miikahweb.com/en/blender/git-logs/commit/f59f6553ccc69b6eb14d8641e5ea1ed343faaa08 f59f655
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix for calculation of the view vector in strand shading.

The product with the model-view matrix must take translation into account.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 10:37:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f59f6553ccc69b6eb14d8641e5ea1ed343faaa08Lukas Toenne
<![CDATA[[71fce3c]: Augmentation of the strand shader with a debugging shader.]]> http://www.miikahweb.com/en/blender/git-logs/commit/71fce3c784681ffbe165949f0f37982ff072e023 71fce3c
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
15 Paths Changed]]>
Sun, 17 Jul 2016 09:46:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/71fce3c784681ffbe165949f0f37982ff072e023Lukas Toenne
<![CDATA[[7c24400]: Cleanup for nicer code structure in the strand vertex shader...]]> http://www.miikahweb.com/en/blender/git-logs/commit/7c244008eea6158311af6b6da533eba082864bfa 7c24400
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Cleanup for nicer code structure in the strand vertex shader.

----------------------------------------
1 Path Changed]]>
Sun, 17 Jul 2016 06:55:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7c244008eea6158311af6b6da533eba082864bfaLukas Toenne
<![CDATA[[9f69daf]: Use a converter class for handling differences between DNA...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9f69daff40d8e562088c87661d8a8d7ed7abad38 9f69daf
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
8 Paths Changed]]>
Sat, 16 Jul 2016 10:19:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9f69daff40d8e562088c87661d8a8d7ed7abad38Lukas Toenne
<![CDATA[[58f7322]: Deduplication of strand drawing functions.]]> http://www.miikahweb.com/en/blender/git-logs/commit/58f732231ff1e3766fff058b5376d853e4aea2fa 58f7322
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
3 Paths Changed]]>
Fri, 15 Jul 2016 10:51:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/58f732231ff1e3766fff058b5376d853e4aea2faLukas Toenne
<![CDATA[[66f8e87]: Removed deprecated editmode drawing code.]]> http://www.miikahweb.com/en/blender/git-logs/commit/66f8e8734b6066dbe38c25d181de66675de5256a 66f8e87
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
1 Path Changed]]>
Fri, 15 Jul 2016 10:44:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/66f8e8734b6066dbe38c25d181de66675de5256aLukas Toenne
<![CDATA[[0606172]: New option for selecting a fiber rendering primitive.]]> http://www.miikahweb.com/en/blender/git-logs/commit/060617232d1612b2633411a6c4cc5d2088362b7e 0606172
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
10 Paths Changed]]>
Fri, 15 Jul 2016 10:30:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/060617232d1612b2633411a6c4cc5d2088362b7eLukas Toenne
<![CDATA[[5a3fabd]: Removed a couple of unused fiber curve attribute buffers.]]> http://www.miikahweb.com/en/blender/git-logs/commit/5a3fabdfce6acfa0f2fcdc3be7a2c584aa2eb027 5a3fabd
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Removed a couple of unused fiber curve attribute buffers.

----------------------------------------
4 Paths Changed]]>
Thu, 14 Jul 2016 15:04:43 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5a3fabdfce6acfa0f2fcdc3be7a2c584aa2eb027Lukas Toenne
<![CDATA[[7ba3936]: More detailed invalidation function for strand draw data.]]> http://www.miikahweb.com/en/blender/git-logs/commit/7ba393651f34df7b54072a264dd03099d3817930 7ba3936
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
2 Paths Changed]]>
Thu, 14 Jul 2016 14:46:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7ba393651f34df7b54072a264dd03099d3817930Lukas Toenne
<![CDATA[[8d77fe8]: Cleanup: Move code for strand drawing buffers into its own...]]> http://www.miikahweb.com/en/blender/git-logs/commit/8d77fe834bf8d521d9f80cabccd3a75062453e86 8d77fe8
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
7 Paths Changed]]>
Thu, 14 Jul 2016 10:38:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8d77fe834bf8d521d9f80cabccd3a75062453e86Lukas Toenne
<![CDATA[[a685642]: Merge branch 'strand_editmode' into strand_gpu]]> http://www.miikahweb.com/en/blender/git-logs/commit/a685642e543b76d0768f9ab919204b8339ac8b79 a685642
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'strand_editmode' into strand_gpu

----------------------------------------
0 Paths Changed]]>
Thu, 14 Jul 2016 08:00:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a685642e543b76d0768f9ab919204b8339ac8b79Lukas Toenne
<![CDATA[[1d28579]: Merge branch 'mesh_samples' into strand_editmode]]> http://www.miikahweb.com/en/blender/git-logs/commit/1d28579daf03ad3133f02400106f1853a4237761 1d28579
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'mesh_samples' into strand_editmode

----------------------------------------
0 Paths Changed]]>
Thu, 14 Jul 2016 07:59:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1d28579daf03ad3133f02400106f1853a4237761Lukas Toenne
<![CDATA[[28270f0]: Replace the deprecated TessFace usage for mesh sampling by...]]> http://www.miikahweb.com/en/blender/git-logs/commit/28270f0953d957ac60b9751eff37c4ebe2258166 28270f0
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
1 Path Changed]]>
Thu, 14 Jul 2016 07:55:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/28270f0953d957ac60b9751eff37c4ebe2258166Lukas Toenne
<![CDATA[[48fc8b7]: Merge branch 'master' into strand_editmode]]> http://www.miikahweb.com/en/blender/git-logs/commit/48fc8b76b207a6294b9f2a13b24445dceec58fdd 48fc8b7
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_editmode

----------------------------------------
0 Paths Changed]]>
Thu, 14 Jul 2016 07:57:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/48fc8b76b207a6294b9f2a13b24445dceec58fddLukas Toenne
<![CDATA[[bd4ca21]: Merge branch 'master' into mesh_samples]]> http://www.miikahweb.com/en/blender/git-logs/commit/bd4ca21b5470d30734a087212342270c653c470a bd4ca21
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into mesh_samples

----------------------------------------
0 Paths Changed]]>
Thu, 14 Jul 2016 07:56:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bd4ca21b5470d30734a087212342270c653c470aLukas Toenne
<![CDATA[[813a656]: Fix crashes when generating fibers without any control curves...]]> http://www.miikahweb.com/en/blender/git-logs/commit/813a6568aa2a638df13fb4529798764fcc57b28e 813a656
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix crashes when generating fibers without any control curves present.

----------------------------------------
2 Paths Changed]]>
Wed, 13 Jul 2016 16:38:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/813a6568aa2a638df13fb4529798764fcc57b28eLukas Toenne
<![CDATA[[c88dcfb]: Fix crash when adding a strands modifier and the fiber vertex...]]> http://www.miikahweb.com/en/blender/git-logs/commit/c88dcfbdf13c34bef8bf0c1660ea71b396f75521 c88dcfb
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
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.

----------------------------------------
1 Path Changed]]>
Wed, 13 Jul 2016 16:27:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c88dcfbdf13c34bef8bf0c1660ea71b396f75521Lukas Toenne
<![CDATA[[a7a07c1]: Merge branch 'strand_editmode' into strand_gpu]]> http://www.miikahweb.com/en/blender/git-logs/commit/a7a07c1e67fa2a4638a6e4c7f67a055f0c1c9a28 a7a07c1
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'strand_editmode' into strand_gpu

----------------------------------------
0 Paths Changed]]>
Wed, 13 Jul 2016 14:50:38 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a7a07c1e67fa2a4638a6e4c7f67a055f0c1c9a28Lukas Toenne
<![CDATA[[2f59675]: Merge branch 'master' into strand_editmode]]> http://www.miikahweb.com/en/blender/git-logs/commit/2f596756b79e526e9df6ac93373094ee45fd3323 2f59675
Branches : hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, tmp_hair_curves
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Merge branch 'master' into strand_editmode

----------------------------------------
0 Paths Changed]]>
Wed, 13 Jul 2016 14:50:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2f596756b79e526e9df6ac93373094ee45fd3323Lukas Toenne
<![CDATA[[3c336bb]: Fix for incorrect buffer size calculation.]]> http://www.miikahweb.com/en/blender/git-logs/commit/3c336bb41f4a4bf3ed3411b68bec5320d0cb5f43 3c336bb
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Fix for incorrect buffer size calculation.

The fiber vertex buffer was calculated more than 10x bigger than necessary ...

----------------------------------------
1 Path Changed]]>
Wed, 13 Jul 2016 13:00:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3c336bb41f4a4bf3ed3411b68bec5320d0cb5f43Lukas Toenne
<![CDATA[[007a2e0]: Common control curve interpolation utility function.]]> http://www.miikahweb.com/en/blender/git-logs/commit/007a2e09c08e552f96650dc148d5b054775e26d2 007a2e0
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Common control curve interpolation utility function.

----------------------------------------
3 Paths Changed]]>
Tue, 12 Jul 2016 11:00:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/007a2e09c08e552f96650dc148d5b054775e26d2Lukas Toenne
<![CDATA[[08f18a5]: Store buffer textures for the rotating frame on control curves...]]> http://www.miikahweb.com/en/blender/git-logs/commit/08f18a52c2586a50e36bd1ce9f4613b6cb22980e 08f18a5
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Store buffer textures for the rotating frame on control curves.

This frame will allow better deformation effects for bent curves.

----------------------------------------
7 Paths Changed]]>
Tue, 12 Jul 2016 09:50:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/08f18a52c2586a50e36bd1ce9f4613b6cb22980eLukas Toenne
<![CDATA[[1942c2c]: Implementation of Curl effect for vertex displacement.]]> http://www.miikahweb.com/en/blender/git-logs/commit/1942c2c2cf0e2a1b0708b87329be1a13897248bc 1942c2c
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Implementation of Curl effect for vertex displacement.

----------------------------------------
12 Paths Changed]]>
Wed, 13 Jul 2016 12:01:01 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1942c2c2cf0e2a1b0708b87329be1a13897248bcLukas Toenne
<![CDATA[[26ceb98]: Use DynString to "include" shared code in the strand vert/geom...]]> http://www.miikahweb.com/en/blender/git-logs/commit/26ceb98ced0d6f88d8756d511614f989aea1ab71 26ceb98
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Use DynString to "include" shared code in the strand vert/geom/frag shaders.

This way we can avoid duplicate code for effects without going out of sync.

----------------------------------------
6 Paths Changed]]>
Tue, 12 Jul 2016 06:09:08 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/26ceb98ced0d6f88d8756d511614f989aea1ab71Lukas Toenne
<![CDATA[[b0ba132]: Ensure correct storage of curve normals and tangents with edit...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b0ba1328b4cde9e14e6c8effeb338d15b0a785aa b0ba132
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Ensure correct storage of curve normals and tangents with edit BMesh curves.

----------------------------------------
2 Paths Changed]]>
Wed, 13 Jul 2016 03:33:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b0ba1328b4cde9e14e6c8effeb338d15b0a785aaLukas Toenne
<![CDATA[[062e52b]: Alternative implementation for strand fiber interpolation without...]]> http://www.miikahweb.com/en/blender/git-logs/commit/062e52b8ee508babdde804b39aaaced236299760 062e52b
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
Alternative implementation for strand fiber interpolation without a geometry shader.

Geometry shaders easily become performance bottlenecks, for in-depth explanation see e.g.

http://gamedev.stackexchange.com/a/48434
http://rastergrid.com/blog/2010/09/history-of-hardware-tessellation/

The geometry shader was used so far for generating the fiber geometry (line strips)
from just the root vertices. Without a geometry shader every vertex has to be put into
a buffer and uploaded to the GPU (we could use a tesselation shader to cut down on size,
but that remains to be decided later if OpenGL 4.x is available).

To limit the size of this vertex buffer, the vertices contain only minimal necessary
information: an index for the fiber curve, and an interpolation curve parammeter in [0.0, 1.0].
The locations of vertices are interpolated in the vertex shader using texture lookups.
A range of textures encode all the necessary per-fiber attributes, in particular the
interpolation indices and weights wrt. control curves. These control curves are stored in
yet another texture (as is the case with the geometry shader too).

Initial performance seems to improve drastically without the geometry shader.

----------------------------------------
11 Paths Changed]]>
Mon, 11 Jul 2016 19:08:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/062e52b8ee508babdde804b39aaaced236299760Lukas Toenne
<![CDATA[[10e4fb0]: A couple of additional per-fiber attributes, for deforming...]]> http://www.miikahweb.com/en/blender/git-logs/commit/10e4fb01f5225da56973ed6deaf521a249c7ebd4 10e4fb0
Branches : strand_gpu, strand_nodes
Author : Lukas Toenne (lukastoenne)
----------------------------------------
A couple of additional per-fiber attributes, for deforming strand fibers.

The orientation of the hair root ("root space") as well as a parametric
distance on the scalp to the primary deforming hair are passed to the
vertex shader. These value will allow deformation modifiers to be applied
for things like noise and clumping.

----------------------------------------
9 Paths Changed]]>
Sun, 10 Jul 2016 07:47:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/10e4fb01f5225da56973ed6deaf521a249c7ebd4Lukas Toenne