Dalai Felinto
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
Brecht Van Lommel
994eb1ec17
Cycles: support rendering new Volume object type
...
Voxels are loaded directly from the OpenVDB grid. Rendering still only supports
dense grid, so memory usage is not great for sparse volumes, this is to be
addressed in the future.
Ref T73201
2020-03-18 11:23:05 +01:00
Brecht Van Lommel
9910803574
Fix Cycles link error with debug + asan after RTTI changes
2020-03-11 17:05:15 +01:00
Campbell Barton
a5c984a57d
Cleanup: cmake indentation
2020-03-04 11:02:35 +11:00
Brecht Van Lommel
d9c5f0d25f
Cleanup: split Cycles Hair and Mesh classes, with Geometry base class
2020-02-07 12:18:15 +01:00
Brecht Van Lommel
ad489b7164
Cleanup: add type inheritance for Cycles nodes
2020-02-07 12:18:15 +01:00
Campbell Barton
9ade9d247d
CMake: fix Cycles linking with OpenCL
2019-04-19 14:00:16 +02:00
Campbell Barton
3633a79789
Cleanup: correct misleading classmethod arg
2019-04-19 07:36:07 +02:00
Campbell Barton
108045faa0
ClangFormat: format '#if 0' code in intern/
2019-04-17 08:17:13 +02: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
Brecht Van Lommel
b2e2db94bd
Fix T60379: Cycles viewport adaptive subdivision hangs after updates.
...
The camera world to raster computation was using wrong values. Also fixes
update when changing subdivision scene settings.
2019-04-04 21:22:31 +02:00
Brecht Van Lommel
7574f90a71
Fix Cycles standalone build, needs OpenJPEG libraries with OIIO now.
2019-03-26 15:29:01 +01:00
Campbell Barton
41b289be30
Cleanup: unused imports
2019-03-15 19:45:21 +11:00
Brecht Van Lommel
3428ec5984
Merge branch 'blender2.7'
2019-03-05 19:14:00 +01:00
Stefan Werner
304a89eccf
Cycles: Changed standalone XML parser to read UV as float2
2019-03-05 15:29:50 +01:00
Brecht Van Lommel
7a41c1634b
Merge branch 'blender2.7'
2019-02-14 20:00:37 +01:00
Brecht Van Lommel
de0e456a6c
Cleanup: fix compiler warnings.
2019-02-14 19:39:39 +01:00
Brecht Van Lommel
f4b1f1f0be
Merge branch 'blender2.7'
2019-01-30 18:36:54 +01:00
Brecht Van Lommel
001414fb2f
Cycles: delay CUDA and OpenCL initialization to avoid driver crashes.
...
We've had many reported crashes on Windows where we suspect there is a
corrupted OpenCL driver. The purpose here is to keep Blender generally
usable in such cases.
Now it always shows None / CUDA / OpenCL in the preferences, and only when
selecting one will it reveal if there are any GPUs available. This should
avoid crashes when opening the preferences or on startup.
Differential Revision: https://developer.blender.org/D4265
2019-01-29 17:00:02 +01:00
Brecht Van Lommel
690478027b
Merge branch 'blender2.7'
2019-01-27 20:17:11 +01:00
Brecht Van Lommel
d377cd5db1
Fix Cycles standalone build as part of Blender.
2019-01-27 20:05:25 +01:00
Sergey Sharybin
b8cb08fa56
Merge branch 'master' into blender2.8
2018-12-13 14:32:32 +01:00
Sergey Sharybin
2947882bb1
Cycles: Update standalone app to OIIO 2.0
2018-12-13 14:31:38 +01:00
Sergey Sharybin
0970ed0550
Merge branch 'master' into blender2.8
2018-11-26 12:00:36 +01:00
Sergey Sharybin
acd1d1a31d
CMake: Remove Cycles specific OpenSubdiv options
...
Just use one flag which enables OpenSubdiv globally for all the
areas of Blender.
2018-11-26 11:41:38 +01:00
Sergey Sharybin
78a6689aea
Merge branch 'master' into blender2.8
2018-11-09 14:34:33 +01:00
Sergey Sharybin
cb4b5e12ab
Cycles: Cleanup, spacing after preprocessor
...
It is supposed to be two spaces before comment stating which if
else/endif statements corresponds to. Was mainly violated in the
header guards.
2018-11-09 11:34:54 +01:00
Stefan Werner
9d0eac6ba5
Merge branch 'master' into blender2.8
2018-11-07 14:30:09 +01:00
Stefan Werner
2c5531c0a5
Cycles: Added Embree as BVH option for CPU renders.
...
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag.
Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly.
There, Embree is off by default too and must be enabled with the WITH_EMBREE flag.
Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint.
TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache).
Differential Revision: https://developer.blender.org/D3682
2018-11-07 12:58:12 +01:00
Brecht Van Lommel
975a40dceb
Merge branch 'master' into blender2.8
2018-09-27 20:12:14 +02:00
Brecht Van Lommel
bd267b0332
Fix cycles_cubin_cc build error on macOS.
2018-09-27 15:59:14 +02:00
Ray Molenkamp
54ea26f019
Merge remote-tracking branch 'origin/master' into blender2.8
2018-09-04 17:00:44 -06:00
Ray Molenkamp
19c7e499e1
cycles: Fix x86 build error.
...
WITH_CYCLES_CUDA_BINARIES was set as a regular variable causing it to be overwritten by the release.cmake settings.
2018-09-04 16:58:41 -06:00
Brecht Van Lommel
871b7ba892
Merge branch 'master' into blender2.8
2018-08-28 19:15:08 +02:00
Sergey Sharybin
658a9c6cf5
Cycles: Cleanup, style
...
I wouldn't mind changing style to have space after keyword, but there was
no official code style change proposed.
2018-08-24 14:36:18 +02:00
Brecht Van Lommel
77964b2efb
Fix Cycles standalone build issue with OpenColorIO.
2018-07-10 17:48:48 +02:00
Campbell Barton
de777ad9e6
Merge branch 'master' into blender2.8
2018-07-06 10:18:52 +02:00
Campbell Barton
1daa20ad9f
Cleanup: strip trailing space for cycles
2018-07-06 10:17:58 +02:00
Lukas Stockner
27de412ca8
Merge remote-tracking branch 'origin/master' into blender2.8
2018-06-14 22:54:42 +02:00
Lukas Stockner
3ee606621c
Cycles: Query XYZ to/from Scene Linear conversion from OCIO instead of assuming sRGB
...
I've limited it to just the RGB<->XYZ stuff for now, correct image handling is the next step.
Reviewers: brecht, sergey
Differential Revision: https://developer.blender.org/D3478
2018-06-14 22:21:37 +02:00
Brecht Van Lommel
3692a2bcb3
Merge branch 'master' into blender2.8
2018-03-16 04:35:37 +01:00
Guillaume Chereau
e56fd59f22
Code refactor: move OIIO image buffer writing outside session, into callback.
...
Original patch by Guillaume, modifications by Brecht.
Differential Revision: https://developer.blender.org/D3102
2018-03-15 23:05:16 +01:00
Brecht Van Lommel
d27158aae9
Merge branch 'master' into blender2.8
2018-03-10 06:55:39 +01:00
Brecht Van Lommel
b66efbecf4
Code refactor: make Transform always affine, dropping last row.
...
This save a little memory and copying in the kernel by storing only a 4x3
matrix instead of a 4x4 matrix. We already did this in a few places, and
those don't need to be special exceptions anymore now.
2018-03-10 04:54:05 +01:00
Brecht Van Lommel
2adece9fbb
Merge branch 'master' into blender2.8
2018-03-03 14:58:14 +01:00
Brecht Van Lommel
b6fe80ca19
Fix Cycle standalone build.
2018-03-02 19:56:22 +01:00
Campbell Barton
2bc952fdb6
Merge branch 'master' into blender2.8
2018-02-18 22:33:05 +11:00
Brecht Van Lommel
fee4b646c4
Cycles: tweak CUDA messages and avoid build errors with existing sm_2x configs.
2018-02-18 00:53:25 +01:00
Campbell Barton
9b9861578d
Merge branch 'master' into blender2.8
2018-02-09 13:56:49 +11:00
Campbell Barton
8f9386596f
CMake: include missing headers
2018-02-09 13:50:05 +11:00