Revision 2632c13 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) September 15, 2014, 14:12 (GMT) |
SSAO shader. This works by using the calculated view space normal and accumulating coverage of a certain area by nearby pixels. There are two sliders to control the effect: * Scale controls the area around each pixel that the shader "collides" against * Darkening scales the occlusion effect. The effect works, but due to the way the normals are calculated, the normals are never smooth shaded (that would require a separate render target to store them) and the edges or polygons can be too apparent. This is not really fixable at the moment unless we move to deferred pipeline. The FX system is stll not well optimized and rendering does not always work correctly, but it's good to have this out for people to play with. |
Revision 624c995 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 15, 2014, 12:22 (GMT) |
Removed unused code. |
Revision 28f173b by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 15, 2014, 12:18 (GMT) |
Added a calculation function for the fictitious forces introduced by moving hair root reference frames. This calculates Euler, Coriolis and Centrifugal forces which result from describing hair in a moving reference frame. http://en.wikipedia.org/wiki/Fictitious_force |
Revision e2e49b9 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 15, 2014, 10:51 (GMT) |
Fix for own misconception of fictitious forces in the moving hair root frames. These forces don't have to be calculated for each individual contribution. Rather they can be split off and be calculated on top of the basic force vector rotation (todo). |
Revision 68275a4 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 15, 2014, 10:10 (GMT) |
Added back spring force definitions outside the implicit solver. There are currently 3 types of springs: basic linear springs, goal springs toward a fixed global target (not recommended, but works) and bending springs. These are agnostic to the specific spring definition in the cloth system so hair systems can use the same API without converting everything to cloth first. |
Revision ffb8b18 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 17:36 (GMT) |
Main cloth force calculation function outside of implicit core code. Still misses spring forces. |
Revision 6288a2d by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 16:08 (GMT) |
Hair volume calculation is now in its own file. Code is currently disabled until the other main forces are in place. |
Revision 5f04368 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 15:47 (GMT) |
Moved the unused goal force calculation function to the main mass-spring source file. |
Revision d0337e0 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 15:36 (GMT) |
Moved most of the main cloth solver function out of implicit code core. Force calculation is disabled, will follow shortly. |
September 14, 2014, 12:54 (GMT) |
Merge branch 'master' into temp_custom_loop_normals |
Revision c5cb46f by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 12:16 (GMT) |
Moved init/free functions for solver data out of implicit core. This also initializes spring matrix indices (off-diagonal 3x3 blocks), which now uses a new API function. |
Revision 4da2c84 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 14, 2014, 11:23 (GMT) |
Moved "set_positions" for cloth out of core implicit solver. API for the solver now has functions for setting of vertex motion state and the associated root transform data. |
September 13, 2014, 23:43 (GMT) |
Revert "Squashed commit of the following:" This reverts commit 48eac582c846bd75f6083740509ed75cfa8a3f19. |
September 13, 2014, 23:43 (GMT) |
Squashed commit of the following: commit 5f4d6c97c8f0d8b5e35ec23167d6f35a628c052c Author: Jonathan deWerd <jjoonathan@gmail.com> Date: Sat Sep 13 19:28:42 2014 -0400 Merge of soc-2014-NURBS: rhino import, analytic normals, trim support, uv trim editor, ux improvements. |
September 13, 2014, 23:42 (GMT) |
Merge remote-tracking branch 'origin/master' into testbuild |
September 13, 2014, 21:05 (GMT) |
Revert "Merge of SoC-NURBS: rhino import, analytic eval, trim support, uv trim editor, ux fixes." This reverts commit 85a59690c092d7242fabd2164960a98f0661d3f8. |
September 13, 2014, 21:03 (GMT) |
Merge of SoC-NURBS: rhino import, analytic eval, trim support, uv trim editor, ux fixes. |
September 13, 2014, 21:01 (GMT) |
Merge branch 'master' into testbuild |
Revision fe135d3 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 13, 2014, 16:45 (GMT) |
Renamed functions to make them explicitly refer to cloth, and split the create/free functions for solver data off from the cloth solver. |
Revision 6978d15 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) September 13, 2014, 12:36 (GMT) |
Moved the cloth solver code into a new subfolder/library inside Blender code. The implicit solver itself should remain agnostic to the specifics of the Blender data (cloth vs. hair). This way we could avoid the bloated data conversion chain from particles/hair to derived mesh to cloth modifier to implicit solver data and back. Every step in this chain adds overhead as well as rounding errors and a possibility for bugs, not to speak of making the code horribly complicated. The new subfolder is named "physics" since it should be the start of a somewhat "unified" physics systems combining all the various solvers in the same place and managing things like synchronized time steps. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021