Revision c629291 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 29, 2014, 11:01 (GMT) |
Framebuffer compositing: * Cleanup compositing buffers better when not needed. * Support passes for the dof effect through defines in main - easy solution to allow not having too many files for one shader effect. |
Revision 518f794 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 29, 2014, 10:12 (GMT) |
SSAO and DOF work well together now. |
Revision dc22a50 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 28, 2014, 20:24 (GMT) |
Code that enables simultaneous DOF-SSAO effect. There's some sort of texture coordinate offset still. |
Revision d2d3bd3 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 28, 2014, 18:44 (GMT) |
Use optimized view space reconstruction for ortho case as well. |
Revision 0782c68 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 28, 2014, 18:07 (GMT) |
Add a library file for projection shader code, should enable us to use optimized position calculation again - relevant for both SSAO and DOF |
Revision 8f25b6d by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 28, 2014, 17:28 (GMT) |
More attempts to synchronize viewport and camera dof - probably will need fixes in the rendering systems. Reserve textures for the dof effect. |
Revision d86c686 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 28, 2014, 16:16 (GMT) |
Moved render simplification function for particle distribution into the distribution code. |
Revision 97caee6 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 28, 2014, 16:09 (GMT) |
Removed unused variable. |
Revision e43ecb1 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 28, 2014, 15:45 (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. |
Revision d6e93d9 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 28, 2014, 15:29 (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. |
Revision 6e8ba2f by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 27, 2014, 19:45 (GMT) |
DOF calculation shader. |
Revision c48abbb by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 27, 2014, 10:10 (GMT) |
Merge branch 'master' into viewport_experiments |
Revision 5efa0e0 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 27, 2014, 09:06 (GMT) |
Add separate file for DOF effect and cleanup the parameter passing a little. |
Revision d54c249 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 23, 2014, 20:42 (GMT) |
Separate SSAO pass - it's unlikely we'll be able to reuse this with depth of field in one pass, so better separate the shaders as well |
Revision 3967f56 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 23, 2014, 18:12 (GMT) |
Fix irritating issue with self shadowing. Issue here was position reconstruction could use depths from pixels off the initial position. Using linear filtering here eliminates the issue. Usually this is not correct however given that for depth discontinuities we will get different depths anyway, the cases where we get smooth interpolation of depths helps a lot in image quality. |
Revision 1082a2f by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 23, 2014, 15:01 (GMT) |
Add some pedantic GLSL casts to make shader compile in OSX |
Revision ddb33a3 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, viewport_experiments) October 22, 2014, 17:27 (GMT) |
SSAO introduce quality settings Basically change the way SSAO samples the screen by using a circular filter instead. This is inspired by HBAO though we still don't use this. The quality settings change the number and density of samples. We can definitely improve things here though. We also jitter the sampling locations per pixel. Generally this adds a kind of noise. Some banding is, unfortunately still apparent and small distances will introduce noise. This can be fixed but I will have to see if it can be done without much of a cost. |
Revision f19fcf7 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 22, 2014, 16:12 (GMT) |
Merge branch 'master' into hair_immediate_fixes Conflicts: source/blender/blenkernel/intern/key.c |
Revision cfd13b6 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 22, 2014, 16:11 (GMT) |
Removed unused line. |
Revision 529c287 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) October 22, 2014, 14:42 (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. |
|