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. |
Revision 8c06925 by Lukas Toenne (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 12, 2014, 15:32 (GMT) |
Merge branch 'master' into gooseberry |
Revision 3ac7982 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 12, 2014, 15:27 (GMT) |
Merge branch 'wiggly-widgets' into gooseberry |
Revision 74308df 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 12, 2014, 15:27 (GMT) |
Support for custom cursors for widgets. They are set when a highlighted widget intersection is detected and on area level. There's a discussion about using owners and a stack or array for cursors but that needs some more thought and design. |
Revision 9880af5 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 12, 2014, 13:17 (GMT) |
More changes to overdrop transform operator. * Calling key press confirms * Change name of operator accordingly. |
Revision 7b4fdfb by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 12, 2014, 12:04 (GMT) |
Merge branch 'wiggly-widgets' into gooseberry |
Revision 9a9347e 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 12, 2014, 12:02 (GMT) |
Gooseberry request draw sequencer backdrop on -top- of everything. Due to this we -obviously- rename this to overdrop I am not sure if others would agree here, but it's pretty safe to do this on a branch first. Rationale is that it's much nicer to work on full screen with this. |
Revision 90bbe33 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 12, 2014, 11:35 (GMT) |
Merge branch 'wiggly-widgets' into gooseberry |
Revision 443ef39 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 12, 2014, 11:34 (GMT) |
Minor adjustments to the cage transform widget and sequencer operator. * Bigger scale handler for widget. * Operator has description on area * Cancelling resets position. |
Revision 472abc4 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 11, 2014, 13:43 (GMT) |
Merge branch 'master' into gooseberry |
Revision d445330 by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths) December 11, 2014, 13:06 (GMT) |
Merge branch 'wiggly-widgets' into gooseberry Conflicts: source/blender/blenloader/intern/versioning_270.c source/blender/windowmanager/WM_api.h source/blender/windowmanager/intern/wm_event_system.c |
|