Brecht Van Lommel
bba11c68c4
Fix T75995: Cycles render artifacts with overlapping volumes
...
This is a workaround, but a proper solution requires significant changes to
ray intersection in the kernel.
2020-05-01 23:42:42 +02:00
Brecht Van Lommel
cc53c9e476
Fix T75290: Cycles crash with out of bounds memory access in volume mesh build
2020-04-08 21:58:17 +02:00
Dalai Felinto
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
Brecht Van Lommel
7537cad576
Volumes: add render settings for volume datablock
...
* Space: volume density and step size in object or world space
* Step Size: override automatic step size
* Clipping: values below this are ignored for tighter volume bounds
The last two are Cycles only currently.
Ref T73201
2020-03-18 11:23:05 +01:00
Brecht Van Lommel
006025ead0
Cycles: support for different 3D transform per volume grid
...
This is not yet fully supported by automatic volume bounds but works fine in
most cases that will have mostly matching bounds.
Ref T73201
2020-03-18 11:23:05 +01:00
Brecht Van Lommel and Brecht Van Lommel
d8aa613d94
Cleanup: add ImageHandle to centralize image ownership logic
2020-03-11 20:35:38 +01:00
Brecht Van Lommel
d9c5f0d25f
Cleanup: split Cycles Hair and Mesh classes, with Geometry base class
2020-02-07 12:18:15 +01:00
Campbell Barton
cd6b49f995
Cleanup: spelling
2019-07-07 15:38:41 +10:00
Campbell Barton
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
Stefan Werner and Brecht Van Lommel
b747524144
Cycles: speed up mesh volume bounds construction.
...
Patch by Stefan, with minor tweaks by Brecht.
2018-07-28 19:23:35 +02:00
Brecht Van Lommel
fddb4dee8a
Fix T54356: volume rendering bug using just color attribute.
2018-03-19 21:22:15 +01:00
Brecht Van Lommel
d526b35ce2
Code cleanup: use spaces for aligned indentation.
2018-03-10 06:27:19 +01:00
Brecht Van Lommel
94b99949eb
Fix T54202: Cycles crash rendering empty mesh volume after recent optimization.
2018-03-02 23:10:27 +01:00
Kévin Dietrich
7377d411b4
Cycles volume: fast empty space optimization by generating a tight mesh
...
around the volume.
We generate a tight mesh around the active voxels of the volume in order
to effectively skip empty space, and start volume ray marching as close
to interesting volume data as possible. See code comments for details on
how the mesh generation algorithm works.
This gives up to 2x speedups in some scenes.
Reviewed by: brecht, dingto
Reviewers: #cycles
Subscribers: lvxejay, jtheninja, brecht
Differential Revision: https://developer.blender.org/D3038
2018-03-01 11:54:01 +01:00