Blender Git Commit Log

Git Commits -> Revision aa1e4ba

Revision aa1e4ba by Kévin Dietrich (master)
August 19, 2020, 13:47 (GMT)
Cycles : add a Volume Geometry Node

This splits the volume related data (properties for rendering and attributes) of the Mesh node
into a new `Volume` node type.

This `Volume` node derives from the `Mesh` class since we generate a mesh for the bounds of the
volume, as such we can safely work on `Volumes` as if they were `Meshes`, e.g. for BVH creation.
However such code should still check for the geometry type of the object to be `MESH` or `VOLUME`
which may be bug prone if this is forgotten.

This is part of T79131.

Reviewed By: brecht

Maniphest Tasks: T79131

Differential Revision: https://developer.blender.org/D8538

Commit Details:

Full Hash: aa1e4baa22b3393dc723d48061c9781f4b8b42c7
Parent Commit: 3e56dd8
Lines Changed: +797, -689

2 Added Paths:

/intern/cycles/render/volume.cpp (+611, -0) (View)
/intern/cycles/render/volume.h (+38, -0) (View)

1 Deleted Path:

/intern/cycles/render/mesh_volume.cpp (+0, -583)

16 Modified Paths:

/intern/cycles/blender/blender_geometry.cpp (+22, -7) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -1) (Diff)
/intern/cycles/blender/blender_volume.cpp (+27, -22) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+2, -2) (Diff)
/intern/cycles/bvh/bvh_embree.cpp (+3, -3) (Diff)
/intern/cycles/bvh/bvh_optix.cpp (+1, -1) (Diff)
/intern/cycles/bvh/bvh_split.cpp (+1, -1) (Diff)
/intern/cycles/device/device_optix.cpp (+1, -1) (Diff)
/intern/cycles/render/attribute.cpp (+21, -8) (Diff)
/intern/cycles/render/CMakeLists.txt (+2, -1) (Diff)
/intern/cycles/render/geometry.cpp (+15, -16) (Diff)
/intern/cycles/render/geometry.h (+3, -1) (Diff)
/intern/cycles/render/light.cpp (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+6, -5) (Diff)
/intern/cycles/render/mesh.h (+3, -4) (Diff)
/intern/cycles/render/object.cpp (+39, -32) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021