Blender Git Commit Log

Git Commits -> Revision 35b1e9f

Revision 35b1e9f by Brecht Van Lommel (master)
December 16, 2021, 19:54 (GMT)
Cycles: pointcloud rendering

This add support for rendering of the point cloud object in Blender, as a native
geometry type in Cycles that is more memory and time efficient than instancing
sphere meshes. This can be useful for rendering sand, water splashes, particles,
motion graphics, etc.

Points are currently always rendered as spheres, with backface culling. More
shapes are likely to be added later, but this is the most important one and can
be customized with shaders.

For CPU rendering the Embree primitive is used, for GPU there is our own
intersection code. Motion blur is suppored. Volumes inside points are not
currently supported.

Implemented with help from:
* K�vin Dietrich: Alembic procedural integration
* Patrick Mourse: OptiX integration
* Josh Whelchel: update for cycles-x changes

Ref T92573

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

Commit Details:

Full Hash: 35b1e9fc3acd6db565e7e54252a4a4152d8343d9
Parent Commit: 2229179
Lines Changed: +2047, -69

6 Added Paths:

/intern/cycles/blender/pointcloud.cpp (+253, -0) (View)
/intern/cycles/kernel/geom/motion_point.h (+74, -0) (View)
/intern/cycles/kernel/geom/point.h (+124, -0) (View)
/intern/cycles/kernel/geom/point_intersect.h (+133, -0) (View)
/intern/cycles/scene/pointcloud.cpp (+304, -0) (View)
/intern/cycles/scene/pointcloud.h (+114, -0) (View)

42 Modified Paths:

/intern/cycles/blender/addon/ui.py (+1, -1) (Diff)
/intern/cycles/blender/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/blender/geometry.cpp (+16, -0) (Diff)
/intern/cycles/blender/object.cpp (+3, -2) (Diff)
/intern/cycles/blender/sync.h (+5, -1) (Diff)
/intern/cycles/bvh/build.cpp (+124, -6) (Diff)
/intern/cycles/bvh/build.h (+2, -0) (Diff)
/intern/cycles/bvh/bvh2.cpp (+27, -1) (Diff)
/intern/cycles/bvh/embree.cpp (+102, -4) (Diff)
/intern/cycles/bvh/embree.h (+5, -0) (Diff)
/intern/cycles/bvh/params.h (+14, -3) (Diff)
/intern/cycles/bvh/split.cpp (+48, -0) (Diff)
/intern/cycles/bvh/split.h (+14, -0) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+119, -1) (Diff)
/intern/cycles/device/optix/device_impl.h (+4, -2) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+9, -8) (Diff)
/intern/cycles/kernel/bvh/shadow_all.h (+29, -0) (Diff)
/intern/cycles/kernel/bvh/traversal.h (+28, -0) (Diff)
/intern/cycles/kernel/bvh/types.h (+1, -0) (Diff)
/intern/cycles/kernel/bvh/util.h (+14, -10) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/kernel/device/optix/kernel.cu (+58, -6) (Diff)
/intern/cycles/kernel/geom/geom.h (+3, -0) (Diff)
/intern/cycles/kernel/geom/primitive.h (+41, -8) (Diff)
/intern/cycles/kernel/geom/shader_data.h (+7, -0) (Diff)
/intern/cycles/kernel/osl/services.cpp (+12, -0) (Diff)
/intern/cycles/kernel/osl/services.h (+2, -0) (Diff)
/intern/cycles/kernel/svm/wireframe.h (+1, -1) (Diff)
/intern/cycles/kernel/textures.h (+4, -0) (Diff)
/intern/cycles/kernel/types.h (+16, -5) (Diff)
/intern/cycles/scene/alembic.cpp (+86, -1) (Diff)
/intern/cycles/scene/alembic.h (+10, -0) (Diff)
/intern/cycles/scene/alembic_read.cpp (+49, -0) (Diff)
/intern/cycles/scene/alembic_read.h (+20, -0) (Diff)
/intern/cycles/scene/attribute.cpp (+33, -0) (Diff)
/intern/cycles/scene/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/scene/geometry.cpp (+85, -6) (Diff)
/intern/cycles/scene/geometry.h (+10, -2) (Diff)
/intern/cycles/scene/object.cpp (+5, -1) (Diff)
/intern/cycles/scene/scene.cpp (+22, -0) (Diff)
/intern/cycles/scene/scene.h (+9, -0) (Diff)
/tests/python/CMakeLists.txt (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021