Blender Git Loki

Git Commits -> Revision c7d9402

Revision c7d9402 by Brecht Van Lommel (master)
June 22, 2020, 11:28 (GMT)
Cycles: remove support for rendering hair as triangle and lines

Triangles were very memory intensive. The only reason they were not removed yet
is that they gave more accurate results, but there will be an accurate 3D curve
primitive added for this.

Line rendering was always poor quality since the ends do not match up. To keep CPU
and GPU compatibility we just remove them entirely. They could be brought back if
an Embree compatible implementation is added, but it's not clear to me that there
is a use case for these that we'd consider important.

Ref T73778

Reviewers: #cycles

Subscribers:

Commit Details:

Full Hash: c7d940278b16bb357a848f176d070e1784ccdde2
Parent Commit: e50f1dd
Lines Changed: +171, -1157

19 Modified Paths:

/intern/cycles/blender/addon/properties.py (+3, -26) (Diff)
/intern/cycles/blender/addon/ui.py (+4, -7) (Diff)
/intern/cycles/blender/blender_curves.cpp (+56, -563) (Diff)
/intern/cycles/blender/blender_geometry.cpp (+6, -8) (Diff)
/intern/cycles/blender/blender_sync.h (+3, -6) (Diff)
/intern/cycles/bvh/bvh_embree.cpp (+19, -59) (Diff)
/intern/cycles/bvh/bvh_embree.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/bvh_shadow_all.h (+2, -22) (Diff)
/intern/cycles/kernel/bvh/bvh_traversal.h (+2, -9) (Diff)
/intern/cycles/kernel/bvh/obvh_shadow_all.h (+9, -22) (Diff)
/intern/cycles/kernel/bvh/obvh_traversal.h (+2, -9) (Diff)
/intern/cycles/kernel/bvh/qbvh_shadow_all.h (+2, -22) (Diff)
/intern/cycles/kernel/bvh/qbvh_traversal.h (+2, -9) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+42, -318) (Diff)
/intern/cycles/kernel/geom/geom_motion_curve.h (+7, -7) (Diff)
/intern/cycles/kernel/kernels/optix/kernel_optix.cu (+1, -3) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -7) (Diff)
/intern/cycles/render/curves.cpp (+8, -33) (Diff)
/intern/cycles/render/curves.h (+0, -26) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021