This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Jarrett Johnson 81bd49d4fe Pointcloud selection support
This patch adds support for selecting pointclouds.

Since pointclouds were not properly drawn to the selection buffer (as diagonsed by output from `glReadPixels` and Renderdoc), they were not able to be selectable by depth picking or occlusion queries. In `basic_engine`, objects were rendered with a shader which draws to a depth buffer but only assumes a single position vertex attribute. Pointclouds, though, require at least another vertex attribute `pos_inst` which provides the instance offsets. Thus, this patch adds another shader variant for pointclouds which supports these two attributes and renders the points appropriately.

{F11652666}

Addresses T92415

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D13059
2021-11-01 12:10:34 +01:00
..
2021-10-06 14:54:05 +11:00
2021-10-24 21:04:04 +11:00
2021-10-24 21:04:04 +11:00
2021-10-04 13:15:15 +11:00
2021-11-01 12:10:34 +01:00
2021-10-12 17:55:02 +11:00
2021-10-03 12:13:29 +11:00
2021-10-22 14:31:04 +02:00
2021-10-20 11:16:43 +11:00
2021-10-25 22:18:45 -04:00
2021-10-20 11:16:43 +11:00
2021-10-06 14:54:05 +11:00