Sivu saatavilla vain englanninkielisenä.
MiikaHweb - Blender Git Statistics v1.06
Blender Git Statistics -> Branches -> viewport_bvh_select
"Viewport_bvh_select" branch
Total commits : 11
Total committers : 1
First Commit : August 25, 2016
Latest Commit : September 8, 2016
Commits by Date
Date | Number of Commits | |
---|---|---|
September 8, 2016 | 1 | |
September 7, 2016 | 0 | |
September 6, 2016 | 0 | |
September 5, 2016 | 0 | |
September 4, 2016 | 0 | |
September 3, 2016 | 0 | |
September 2, 2016 | 0 | |
September 1, 2016 | 0 | |
August 31, 2016 | 0 | |
August 30, 2016 | 0 | |
August 29, 2016 | 0 | |
August 28, 2016 | 4 | |
August 27, 2016 | 2 | |
August 26, 2016 | 0 | |
August 25, 2016 | 4 |
Committers
Author | Number of Commits |
---|---|
Julian Eisel | 11 |
Popular Files
Filename | Total Edits |
---|---|
object.c | 6 |
view3d_bvh.c | 5 |
BKE_object.h | 4 |
BKE_lamp.h | 2 |
drawobject.c | 2 |
camera.c | 2 |
BKE_speaker.h | 2 |
speaker.c | 2 |
lamp.c | 2 |
BKE_camera.h | 2 |
Latest commits
September 8, 2016, 10:16 (GMT) |
Merge branch 'master' into viewport_bvh_select |
August 28, 2016, 13:59 (GMT) |
Add/use BKE_object_boundbox_to_worldspace |
August 28, 2016, 13:27 (GMT) |
Merge branch 'master' into viewport_bvh_select |
August 28, 2016, 02:21 (GMT) |
Avoid allocating bounding boxes |
August 28, 2016, 01:40 (GMT) |
Support selecting empties using new BVH selection Adding support for all empty draw types was a bit more involved, but things work now ;) |
August 27, 2016, 21:59 (GMT) |
Support selecting speakers using new BVH selection |
August 27, 2016, 21:34 (GMT) |
Support selecting lamps using new BVH selection |
August 25, 2016, 22:24 (GMT) |
Correct license header |
August 25, 2016, 15:46 (GMT) |
Merge branch 'master' into viewport_bvh_select |
August 25, 2016, 15:45 (GMT) |
Fix crash on undo and file read |
August 25, 2016, 15:21 (GMT) |
Initial BVH based object mode selection As part of the viewport project, we wanted to switch from OpenGL based to BVH based selection (see https://wiki.blender.org/index.php/Dev:2.8/Viewport#Discussion_Items). This should increase performance and make selection drawing and hence driver independent. (OpenGL selection was always an issue with buggy drivers.) This commit adds initial functions for building and visualizing an object BVH (AABB) using the multi-threaded BLI_bvhtree and uses it for object mode selecting. Only basic selection works now, not taking care for movie clip editor selection syncing or so. One idea was to keep the actual BVH part a bit separate from selection, so that it can be reused e.g. for culling out objects out of view frustum before drawing. Quite some speedup is already visible, but it's not fair to compare to previous selection, since we're only doing bounding box intesection checks currently. Detailed geometry intersection checks are not done yet, neither are overlapping objects handled. One issue I faced was that some object types (cameras, lamps, speakers) are basically infinite small points with no visible bounding box. I added some functions to get the visual bounding box for those, but only implemented it for cameras so far. Main TODOs I can see (random order): * Selection should behave just like current OpenGL based selection. * Lasso, Circle & Box select. * The BVH tree is currently recreated on every redraw, more reasonable updating needs to be checked on. It's unsure if it's better to commonly recreate the entire tree or if we can use some more advanced caching and updating. The BLI_bvhtree isn't really flexible when it comes to updating (e.g. you can't insert objects after initial creating), so maybe adding a different BVH type will be needed. * Do more detailed geometry intersection checks. OpenSubdiv needs some special attention here, since its geometry only lives on the GPU (AFAIK). It should be possible to send geometry patches from GPU to CPU so we can create AABBs for BVH ray casting. * Better handling for overlapping geometry. * BVH based selection for other modes (edit mode, pose mode, etc). I'd like to make the edit mode BVH lookups efficient enough to allow performant pre-selection highlighting. * Allow selecting lamps and speakers (not possible currently). |
MiikaHweb - Blender Git Statistics v1.06