Revision b0c0505 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 17:51 (GMT) |
Facemap bones now draw properly. It's not possible yet to select the bones so use with caution. |
Revision 018593b by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 17:33 (GMT) |
Fix more crashes when removing facemaps. Indices of leftover facemaps above the deleted one could become invalid |
Revision a1e2885 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 17:16 (GMT) |
More silly mistakes in widget move code. |
Revision 380a325 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 17:08 (GMT) |
Stubs for new facemap widget, fixes for facemaps. Move/remove facemap not working well (probably was never working but by displaying them has actually made the issue apparent) |
Revision 8ffd46d by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 15:53 (GMT) |
Fix crash with decimate modifier on zero. |
Revision 4887f7b by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 15:42 (GMT) |
Fixes to facemaps: * Test display code that displays the active facemap. Will not work on subsurf modifier yet (crash) * Fix loading of files with facemaps * Facemap data now reside on polys instead of tessfaces. |
Revision ad23e22 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 17, 2014, 11:00 (GMT) |
Merge branch 'master' into wiggly-widgets |
Revision 00fe49d by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 16, 2014, 19:14 (GMT) |
Code that will draw a transparent overlay of a facemap over the mesh (crashes atm). |
Revision 3a7b5bd by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 16, 2014, 18:40 (GMT) |
Improved force field effects on hair strands. The previous calculation was modulated with the angle between the wind direction and the segments, which leads to very oscillating behavior. Now the formula includes an estimate for the geometric cross section of a hair segment based on the incident angle and the hair thickness (currently just the particle size). This gives a more stable behavior and more realistic response to wind. |
Revision bc99082 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 16, 2014, 18:35 (GMT) |
Add code that copies sorted per facemap vertex indices to a VBO buffer |
Revision 3d74e55 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 16, 2014, 17:26 (GMT) |
Initial VBO code for GPU subsurf. This commit adds a few generalizations to the VBO code so that modifiers can create and populate their own GPU objects. The VBO code originally supported CDDerivedMesh only. The design moves slightly towards the viewport refactor where the rendering system requests data from modifiers. What we do have is support for solid shading with multiple materials, flat/smooth shading and a big performance boost. Performance could In this commit only basic support for vertices and normals is provided and some features from blender's VBO system, such as mapping to original faces, unique element indices for vertices and loose vertex/ and can be added later. The one feature that is missing now is the quick navigation feature of the multires modifier (which uses the same code). - Why this commit is made on the widget branch - Facemap widgets need to avoid drawing the whole mesh when we do collision detection on them. For subsurf drawing we need to iterate through the whole mesh every time. What we need instead is sort indexed elemet drawing according to the facemap each face belongs to. This screams VBOs but since I was going to add that, I thought that I could push it a bit further and add proper solid shading support. |
Revision c32ac24 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 16, 2014, 17:18 (GMT) |
Revert "Initial VBO code for GPU subsurf." This reverts commit 7163ddf53e6f5f67c59a8dfc14f60515f8f577c7. |
Revision 7163ddf by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 16, 2014, 16:05 (GMT) |
Initial VBO code for GPU subsurf. This commit adds a few generalizations to the VBO code so that modifiers can create and populate their own GPU objects. The VBO code originally supported CDDerivedMesh only. The design moves slightly towards the viewport refactor where the rendering system requests data from modifiers. In this commit only basic support for vertices and normals is provided and some features from blender's VBO system, such as mapping to original faces, unique element indices for vertices and loose vertex/ and can be added later. The one feature that is missing now is the quick navigation feature of the multires modifier (which uses the same code). What we do have is full support for solid shading with multiple materials, flat/smooth shading and a big performance boost. Performance could - Why this commit is made on the widget branch - Facemap widgets need to avoid drawing the whole mesh when we do collision detection on them. For subsurf drawing we need to iterate through the whole mesh every time. What we need instead is sort indexed elemet drawing according to the facemap each face belongs to. This screams VBOs but since I was going to add that, I thought that I could push it a bit further and add proper solid shading support. |
Revision c2d22f7 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 15, 2014, 19:05 (GMT) |
New python submodule `mathutils.interpolate` for various mesh interpolation and weighting methods. This module will contain mirrored functions for calculating and applying weights for points on a mesh. This includes barycentric and UV weighting and possibly more advanced global weighting such as harmonic weights. The naming should follow this scheme: <type>_{2d,3d}_{calc,apply} e.g. poly_2d_calc poly_2d_apply uv_3d_calc ... Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D939 |
Revision 1740ee2 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 15, 2014, 16:10 (GMT) |
Merge branch 'master' into wiggly-widgets |
Revision 91ed7c2 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 15, 2014, 16:08 (GMT) |
Placeholder GPU functions to get GPU facemap index buffer. API should allow a widget to draw a specific facemap bound to a mesh quickly. |
Revision 1a366cb by Antonis Ryakiotakis (gooseberry, gooseberry_farm, temp_constraint_volume, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 15, 2014, 13:01 (GMT) |
Fix selection id not getting incremented in face-map bones |
Revision 935fa06 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 15, 2014, 11:11 (GMT) |
Merge branch 'wiggly-widgets' into gooseberry |
Revision bffde90 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 15, 2014, 11:11 (GMT) |
Deactivate irritating shapekey widget while it's still under development. |
Revision 6b8ebd6 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) December 15, 2014, 11:09 (GMT) |
Hook up facemap property to bones. A bone using a facemap will not be displayed at all, rather it will use the facemap of the mesh as an interaction area. The facemap still does nothing since it's not yet hooked up to the customdata and widget code. That will come next. |
|