Blender Git Commits

Blender Git "temp_hair_modifiers" branch commits.

Page: 22 / 37

October 30, 2014, 14:59 (GMT)
Removed unused variable.
October 30, 2014, 14:59 (GMT)
Reorganizing hair dynamics UI layout a bit to make settings slightly
more intuitive.

Also removed a couple of unused or useless features from the UI:
* collider friction is unused and replaced in favor of true collision
* spring damping refers to structural springs (stretch), which is
not noticable in hair due to extreme stiffness atm.
* pressure factors are not sure since this feature is too unstable atm.
October 30, 2014, 14:59 (GMT)
Unified the main Eigen solver function a bit for constrained/unconstrained
solver variants.
October 30, 2014, 14:59 (GMT)
Moved render simplification function for particle distribution into the
distribution code.
October 30, 2014, 14:59 (GMT)
Disabled the hair preview feature in the code, due to limited usefulness.

Interpolating hairs in a meaningful way is a quite difficult problem.
It works ok-ish for child hairs as long as they don't move, but with
motion the direction of interpolated hairs can become quite nonsensical
quickly.

Probably a better way to create simulation previews is to limit
simulation to a particular well-defined area (like render preview
borders), but run it in full detail in that area. The error from
omitting some interaction should still be much less than orientation
errors from interpolation.
October 30, 2014, 14:59 (GMT)
Updating Eigen implicit dynamics solver implementation to adhere to the
new mass-spring solver API.
October 30, 2014, 14:59 (GMT)
Removed unused line.
October 30, 2014, 14:59 (GMT)
New hair editing feature "Shape Cut", for cutting hair based on a mesh
shape instead of a brush tool.

The brush cutting tool for hair, while useful, is not very accurate and
often requires rotating the model constantly to get the right trimming
on every side. This makes adjustments to a hair shape a very tedious
process.

On the other hand, making proxy meshes for hair shapes is a common
workflow. The new operator allows using such rough meshes as boundaries
for hair. All hairs that are outside the shape mesh are removed, while
those cutting it at some length are shortened accordingly.

The operator can be accessed in the particle edit mode toolbar via the
"Shape Cut" button. The "Shape Object" must be set first and stays
selected as a tool setting for repeatedly applying the shape.
October 30, 2014, 14:59 (GMT)
Switched back to blender implicit solver for merge.
October 30, 2014, 14:59 (GMT)
Moved particle code for distributions into own file to make hacking
easier.

This code is badly broken and needs to be replaced, but at least having
a workable code structure might help with quick hacks to fix the worst
cases.
October 30, 2014, 14:59 (GMT)
Ported the remaining implicit solver functions for Eigen.

Also added a couple of utility wrapper functions for Eigen types to make
interfacing with plain float arrays and blenlib math easier.
October 30, 2014, 14:59 (GMT)
A little bit of code sanity by splitting particle distribution function
by type.

Instead of squashing totally unrelated code into the same monster
function.
October 30, 2014, 14:31 (GMT)
Merge branch 'master' into gooseberry
October 30, 2014, 14:24 (GMT)
Merge branch 'master' into gooseberry

Conflicts:
source/blender/blenlib/BLI_math_matrix.h
source/blender/blenlib/intern/math_matrix.c
source/blender/editors/object/object_bake_api.c
October 30, 2014, 14:10 (GMT)
Reorganizing hair dynamics UI layout a bit to make settings slightly
more intuitive.

Also removed a couple of unused or useless features from the UI:
* collider friction is unused and replaced in favor of true collision
* spring damping refers to structural springs (stretch), which is
not noticable in hair due to extreme stiffness atm.
* pressure factors are not sure since this feature is too unstable atm.
October 30, 2014, 13:41 (GMT)
Disabled the hair preview feature in the code, due to limited usefulness.

Interpolating hairs in a meaningful way is a quite difficult problem.
It works ok-ish for child hairs as long as they don't move, but with
motion the direction of interpolated hairs can become quite nonsensical
quickly.

Probably a better way to create simulation previews is to limit
simulation to a particular well-defined area (like render preview
borders), but run it in full detail in that area. The error from
omitting some interaction should still be much less than orientation
errors from interpolation.
October 29, 2014, 18:41 (GMT)
Correctly downsample circles of confusion and use parallelism to do it
more efficient.
October 29, 2014, 17:31 (GMT)
Second pass, blurs the downsampled buffer once.
October 29, 2014, 17:08 (GMT)
Use the correct shaders and varyings
October 29, 2014, 15:18 (GMT)
Viewport DOF:

* Scons builds correctly
* Separate vertex shader file for DOF, will make handling main easier
* Downsample color buffer + blur it. Circle of confusion is calculated
from zplane instead of length of distance from camera.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021