mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Part of #161529 As a followup for the initial integration for the Mesh triangle BVH, move edge and vertex BVH trees to Embree as well. As described in the comments, Embree point queries are not supported for the "point" geometry type currently (there are TODOs in Embree source about that) so this commit uses the "user" geometry type which implements a custom bounding box callback. The other unfortunate aspect is that there are a few cases where the edges BVH is used for ray intersection, where the rays themselves have a radius. Embree does not support that either, so the old BVH is still there. In the future we can investigate how to address that gap. There is one downside to this change, which is that closest point lookups for the vertex and point cloud BVHs are at least 1.5x slower. Building is 2-3x faster though, and some investigation into Embree reveals there may be some performance wins available for the closest point lookup in the future. For the full tradeoff between build performance and lookup performance, KD-trees should be considered too. Pull Request: https://projects.blender.org/blender/blender/pulls/162651 |
||
|---|---|---|
| .. | ||
| bevel | ||
| boolean | ||
| extrude | ||
| split_edges | ||
| subdivision | ||
| triangulate | ||
| bone_info.blend | ||
| dual_mesh_2poly_verts.blend | ||
| dual_mesh_flipped_normals.blend | ||
| dual_mesh_non_manifold_edge.blend | ||
| dual_mesh_non_manifold_vert.blend | ||
| dual_mesh_propagate_attributes.blend | ||
| dual_mesh_suzanne.blend | ||
| edge_angle.blend | ||
| edge_angle_signed_big_face.blend | ||
| edge_neighbors.blend | ||
| edge_split.blend | ||
| edge_vertices.blend | ||
| face_area.blend | ||
| face_group_boundaries.blend | ||
| face_is_planar.blend | ||
| face_neighbors.blend | ||
| fill_curve_edges_deduplication.blend | ||
| flip_faces.blend | ||
| material_selection.blend | ||
| mesh_island_random_color.blend | ||
| mesh_topology.blend | ||
| offset_corner_in_face_invalid_inputs.blend | ||
| sample_nearest_mesh.blend | ||
| sample_nearest_surface.blend | ||
| sample_uv_surface.blend | ||
| set_position_normals_update.blend | ||
| shortest_path.blend | ||
| store-vertex-group-armature.blend | ||
| triangulate.blend | ||
| triangulate_deduplication.blend | ||
| uv_tangent.blend | ||
| uv_unwrap.blend | ||
| vertex_neighbors.blend | ||