Fixes point cloud selection by using new draw call.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- pointcloud_select (branched from master)
- Build Status
Buildable 24641 Build 24641: arc lint + arc unit
Event Timeline
| source/blender/draw/engines/basic/basic_engine.c | ||
|---|---|---|
| 196–198 | This need to be removed. And instead add a return here as the drawcall has already been made by DRW_shgroup_pointcloud_create_sub. If we return in the added case above, this would bypass the is_flat_object_viewed_from_side check. But I don't know how useful this check is for pointclouds or if it is even desirable. | |
| source/blender/draw/engines/basic/basic_engine.c | ||
|---|---|---|
| 196–198 | Lemme know if this new change is fine. Like you mentioned, it's probably not intended for pointclouds. They aren't flat from any angle and in wireframe, they seem to render as billboarded quads which face the camera. | |