Blender Git Loki

Blender Git "hair_system" branch commits.

Page: 6 / 35

November 7, 2014, 10:43 (GMT)
Pampering the stupid MSVC compiler again, it fails to build valid C code.
November 6, 2014, 14:36 (GMT)
Merge branch 'master' into gooseberry
November 6, 2014, 14:14 (GMT)
Added new header for Eigen utility classes.

These make passing data between Eigen vector and matrix types and plain
C arrays more convenient.
November 6, 2014, 14:08 (GMT)
Updated a few comments.
November 6, 2014, 14:05 (GMT)
Compile hair volumetrics code as C++, so we can use Eigen easier.
November 6, 2014, 13:57 (GMT)
Minor debug code fix.
November 6, 2014, 13:12 (GMT)
Use a fixed, uniform cell size for hair continuum grids.

This is a bit more awkward for artists to use, but necessary for
a stable solution of the hair continuum calculation. The grid size is
defined by the user, the extent of the grid is then calculated based on
the hair geometry. A hard upper limit prevents bad memory allocation
in case too small values are entered.
November 6, 2014, 11:36 (GMT)
Removed unused voxel_filter_size DNA property.

This is an artifact of earlier attempts to implement velocity smoothing,
but doesn't work anyway.
November 6, 2014, 11:32 (GMT)
Renamed HairVertexGrid to HairGrid, since it's not actually storing
hair vertex data.
November 6, 2014, 11:28 (GMT)
Removed unused "collider grid" struct from hair volumetrics.

This is a leftover from previous approach of hair collisions (with
insufficient results). The hair volumetrics actually implements
"collision" with solid objects as well, but uses a Neumann boundary
condition on the main grid for this purpose.
November 6, 2014, 11:17 (GMT)
Better grid rasterization method for hair volumetric grids.

This is based on the paper
"Detail Preserving Continuum Simulation of Straight Hair"
(McAdams, Selle, Ward, 2009)

The main difference is that hair line segments are used rather than only
rasterizing velocity at the vertices. This gives a much better coverage
of the hair volume grid, otherwise gaps can be produced at smaller grid
cell sizes and the distribution is uneven along the hair curve.

The algorithm for rasterizing is a variation of Bresenham's algorithm
extended onto 3D grids.
November 5, 2014, 18:41 (GMT)
Add mapping to properties for widgets.

Still pretty much exploring the best way to move here but currently this
works by wrapping objects in RNA pointers, pretty much like buttons do.

Also modified the arrow widget for lamps to use the new code. The new
"unmbrella" widget works now as expected for lamps - of course fine
tuning is also needed.
November 5, 2014, 18:17 (GMT)
New debug element "circle" for simulations, which is quite useful for
visualizing scalar fields.
November 5, 2014, 17:23 (GMT)
Resurrection of 2.49 feature:

Ghosting of original arrow position while we are interacting with an
arrow widget.
November 5, 2014, 17:09 (GMT)
Make projection code for arrow widget better. Also add some code to
allow tweaking of properties
November 5, 2014, 16:25 (GMT)
Debug grid drawing for hair volume was drawing one subdivision too many.
November 5, 2014, 10:41 (GMT)
Merge branch 'master' into wiggly-widgets
November 4, 2014, 16:58 (GMT)
Warnings
November 4, 2014, 16:10 (GMT)
Merge branch 'master' into gooseberry
November 4, 2014, 16:02 (GMT)
Support animation of camera dof properties.

Also minor cleanup
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021