CyclesProject
ActivePublic

Properties

Description

What is Cycles?
Cycles is a ray tracing renderer focused on interactivity and ease of use, while still supporting many production features.

Contacts

Documentation
Manuals for both Artists and Developers are available.

Development
Cycles is officially under the Blender Foundation umbrella, and so is developed on developer.blender.org. Source code is available either as standalone repository or as bundled into Blender sources.

To clone Cycles together with blender please consult BF Blender project.

To clone Cycles source from stadalone repository as read-only use:

git clone git://git.blender.org/cycles.git

To clone as read-write (needs ssh key):

git clone git@git.blender.org:cycles.git

Browse code
Online browse of sources is available for:

Module Owners: @Brecht Van Lommel (brecht) @Thomas Dinges (dingto) @Sergey Sharybin (sergey)
Developer Members: @Lukas Stockner (lukasstockner97) @Mai Lavelle (maiself) @Dalai Felinto (dfelinto) @Stefan Werner (swerner) @Alexander Gavrilov (angavrilov) @Martijn Berger (juicyfruit) @Nathan Letwory (jesterking)
User Members: @Matt Heimlich (m9105826) @Marco G (marcog)

Recent Activity

Yesterday

Sergey Sharybin (sergey) claimed T51051: Cycles renders missing/semitransparent faces on Tails OS.

Can confirm with 32bit builds on my laptop.

Tue, Mar 28, 3:46 PM · Platform: Linux, Cycles, BF Blender
Fabian Hernandez (cocoknight) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

Here's the output from the latest git build, though I feel like I might not be getting the best debug output because of the difference between the first run of blender and then afterwards, This might have a cross-version effect? So maybe this git version 59bb4ca is behaving as though it was not the firs run because I already run 5ce120b865?

Tue, Mar 28, 2:09 PM · Cycles, BF Blender
Fabian Hernandez (cocoknight) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

Thanks Aaron

Tue, Mar 28, 1:16 PM · Cycles, BF Blender
Pascal Schön (VanCantus) planned changes to D2313: Cycles Disney BRDF.

Regarding the SSS color topic: Currently I'm "multiplying" the surface and subsurface color together. Other renderers like the one in Modo and Renderman are simply blending those colors together using the subsurface amount. But there's also another approach which is described here. At the moment I think it would make sense to handle it like Renderman does because this is the "ground truth" for the Disney shader, but it can be discussed before I change it.

Tue, Mar 28, 8:05 AM · Cycles
Aaron Carlisle (Blendify) added a comment to T50761: [AMDGPU-pro] Cycles troubles with opencl (CL_OUT_OF_HOST_MEMORY).

Please try again with a build from https://builder.blender.org/download/

Tue, Mar 28, 4:49 AM · Cycles, BF Blender
Aaron Carlisle (Blendify) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

Please test with latest master.

Tue, Mar 28, 4:47 AM · Cycles, BF Blender

Sun, Mar 26

Luca Rood (LucaRood) closed T50864: Image Sequence Textures for Particles failing as "Invalid".

It seems that @ronan ducluzeau (zeauro) clarified the issue, and that there is no bug here after all. Closing.

Sun, Mar 26, 2:56 PM · Cycles, Physics, Images & Movies, Animation, BF Blender
Hank (ThisIsntReal) created T51051: Cycles renders missing/semitransparent faces on Tails OS.
Sun, Mar 26, 5:55 AM · Platform: Linux, Cycles, BF Blender

Fri, Mar 24

Nathan Osman (nathan-osman) added a comment to T50761: [AMDGPU-pro] Cycles troubles with opencl (CL_OUT_OF_HOST_MEMORY).

I'm seeing this as well with a Radeon R9 270X (2 GB vRAM), 16 GB of system RAM, and amdgpu 16.60-379184 on Ubuntu 16.04.

Fri, Mar 24, 9:28 PM · Cycles, BF Blender
Sergey Sharybin (sergey) closed T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL) as "Resolved" by committing rB467d824f805a: Fix T50238: Cycles: difference in texture position between OpenGL and Cycles….
Fri, Mar 24, 12:24 PM · Cycles, BF Blender

Thu, Mar 23

john peterson (bliblubli) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

Ok, another precision. Python doesn't suffer from this problem. So replacing the divide node at 0.0084667 with a multiply node at 1/0.0084667 workaround the bug. But it's really cumbersome. This view is at 39 unit from origin. I wouldn't call that far away, so precision shouldn't be an issue. Maybe constant folding could do this job and change the divide node to a multiply node? Or just rearrange computation to maximize precision?

Thu, Mar 23, 6:06 PM · Cycles, BF Blender
john peterson (bliblubli) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

Interesting!

If i re-type that 0.008 then the issue goes away. How did you put value to the node?

Thu, Mar 23, 5:14 PM · Cycles, BF Blender
Sergey Sharybin (sergey) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

Mapping node is converted to mat4 on CPU side for both GLSL and Cycles. Shading system will perform point*matrix multiplication when evaluating shader.

Thu, Mar 23, 5:04 PM · Cycles, BF Blender
Clément Foucault (fclem) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

Here is a simpler file.


Increase the rotation Z value with shift click and you will see it only updates after a view click. In render mode it updated right away.
This is a precision issue.
The object is far from the rotation origin and the value on which you apply the rotation is very high / low.
I guess OGL has less float precision when dealling with this. It seems that all transformation are baked into a single matrix on the GLSL end. I do not know about cycles.

Thu, Mar 23, 4:50 PM · Cycles, BF Blender
Sergey Sharybin (sergey) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

If i re-type that 0.008 then the issue goes away. How did you put value to the node?

Thu, Mar 23, 4:39 PM · Cycles, BF Blender
john peterson (bliblubli) added a comment to T50238: Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL).

it's the math divide node that trigger the bug:

Thu, Mar 23, 4:26 PM · Cycles, BF Blender
Sergey Sharybin (sergey) merged T51034: rendering bug into T43835: strange cracks appear on model.
Thu, Mar 23, 10:05 AM · Cycles, BF Blender
Lukas Stockner (lukasstockner97) added a comment to D2574: Cycles: Implement optional normal adjustment that ensures valid reflections for normal maps and bump maps.

I agree, enabling by default makes sense, since it's hard to imagine that any user actually wants the black spots.

Thu, Mar 23, 5:46 AM · Cycles
Brecht Van Lommel (brecht) added a comment to D2574: Cycles: Implement optional normal adjustment that ensures valid reflections for normal maps and bump maps.

What is the general idea of the algorithm? I agree we should aim to just always enable this, if possible.

Thu, Mar 23, 5:18 AM · Cycles

Wed, Mar 22

Stefan Werner (swerner) updated the diff for D2056: Allow CUDA GPU rendering to use host memory.

This is an update of the patch against the latest master. It still needs to be changed to share host memory between GPUs where possible instead of creating duplicate allocations.

Wed, Mar 22, 10:58 PM · Cycles
Sergey Sharybin (sergey) added a comment to D2574: Cycles: Implement optional normal adjustment that ensures valid reflections for normal maps and bump maps.

The idea is indeed nice, but i don't think this should be an option. Just implement it in a way that it does not cause slowdown for regular renders ;)

Wed, Mar 22, 10:26 PM · Cycles
Lukas Stockner (lukasstockner97) created D2574: Cycles: Implement optional normal adjustment that ensures valid reflections for normal maps and bump maps.
Wed, Mar 22, 9:55 PM · Cycles
Sergey Sharybin (sergey) closed T50181: Cycles-Regression: invisible shaders are optimized and compiled although they shouldn't as "Archived".

Did some more deeper research. The commit mentioned above has nothing to do with this issue. In fact, i don't see issue here at all. At least there is no change in behavior since Blender version 2.75. All older versions did not have any logging around materials. All the versions starting from 2.75 are reporting 7 shaders synchronized to the shader manager.

Wed, Mar 22, 6:00 PM · Cycles, BF Blender
Sergey Sharybin (sergey) claimed T51007: Material viewport mode crash on node with more than 64 outputs..

The issue is coming from hardcoded MAX_SOCKET set to 64. I've tried to remove such a static limit, but it's not so trivial within the current nodes design, especially for the texture nodes. I think it is safe to bump this constant to 512. This will only be ~16K extra stack memory usage per thread during evaluation which is really small for the modern systems.

Wed, Mar 22, 5:25 PM · Nodes, BF Blender
LazyDodo (LazyDodo) updated the summary of D2573: workaround for T50176.
Wed, Mar 22, 5:02 PM · Cycles
LazyDodo (LazyDodo) created D2573: workaround for T50176.
Wed, Mar 22, 5:02 PM · Cycles
Sergey Sharybin (sergey) closed T50808: Volume rendering with GPU bug as "Archived".

Had a look here. So far managed to reproduce on Windows, didn't see this error on Linux. Most likely it's because of different timeout policies on different platforms (those timeouts are dictated by driver and OS and out of our control). The issue is very similar to the one described in out manual [1]. It is not solvable in general case for as long as the card is not dedicated for compute (aka, has monitor attached to it).

Wed, Mar 22, 2:29 PM · Cycles, BF Blender
Sergey Sharybin (sergey) closed T50533: Transparency shader doesn't cast shadows with curve segments as "Resolved".

Committed a work around for now. We are planning to abandon MSVC2013, so not really motivated spending days nailing down the issue.

Wed, Mar 22, 11:41 AM · Cycles, BF Blender
Sergey Sharybin (sergey) added a reviewer for D2572: Fix T51023 by adding a separate (internal) clamp node: Mai Lavelle (maiself).

Did you do any performance check, especially with OpenCL split kernel? This will be an extra loop iteration for CUDA/CPU and will be extra registers and if-else chains for the split kernel.

Wed, Mar 22, 10:08 AM · Cycles
Lex (Lex4art) edited the description of T49921: Material with normal map/bump mapping produces damaged penumbra on mesh (Cycles)..
Wed, Mar 22, 7:40 AM · BF Blender, Cycles
Lex (Lex4art) added a comment to T51008: Normal map with bold relief causes black artifacts with Glossy BSDF shader.

I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas

Wed, Mar 22, 7:36 AM · Rendering, Cycles, BF Blender
Lex (Lex4art) closed T50674: Pointiness artifacts in Blender v2.78b as "Resolved".
Wed, Mar 22, 7:22 AM · Rendering, BF Blender, Cycles
Lex (Lex4art) added a comment to T50674: Pointiness artifacts in Blender v2.78b.

I can reproduce the issue with 2.78b, but not with 2.78c and master.
Please try updating to 2.78c and checking if it also fixes the issue for you.

Wed, Mar 22, 7:21 AM · Rendering, BF Blender, Cycles
Lukas Stockner (lukasstockner97) lowered the priority of T50674: Pointiness artifacts in Blender v2.78b from "Normal" to "Incomplete".

I can reproduce the issue with 2.78b, but not with 2.78c and master.
Please try updating to 2.78c and checking if it also fixes the issue for you.

Wed, Mar 22, 4:03 AM · Rendering, BF Blender, Cycles
Miki (MeshLogic) added a comment to T51008: Normal map with bold relief causes black artifacts with Glossy BSDF shader.

I also have struggled with this kind of artifacts and found a simple trick how to avoid them. Basically you can calculate a dot product between normal and incoming vector and attenuate the normal map where it could cause problems viz https://blenderartists.org/forum/showthread.php?382497-Black-material-artifacts-on-flat-angle-surface-areas

Wed, Mar 22, 3:59 AM · Rendering, Cycles, BF Blender
Lukas Stockner (lukasstockner97) closed T51008: Normal map with bold relief causes black artifacts with Glossy BSDF shader as "Archived".

This is the same problem as in T49921 - the normal mapping changes the surface normal, so the reflected ray would go inside the actual geometry, which isn't really possible.

Wed, Mar 22, 3:06 AM · Rendering, Cycles, BF Blender
Lukas Stockner (lukasstockner97) created D2572: Fix T51023 by adding a separate (internal) clamp node.
Wed, Mar 22, 2:37 AM · Cycles
Lukas Stockner (lukasstockner97) triaged T51023: MixRGB node still keeps in memory both input textures no matter what "Fac" value is. as "Confirmed" priority.
Wed, Mar 22, 12:40 AM · Rendering, Cycles, BF Blender
Lukas Stockner (lukasstockner97) added a comment to T51023: MixRGB node still keeps in memory both input textures no matter what "Fac" value is..

The problem here is that you have Clamp enabled, which means that the Node is actually doing something (or rather, would do something if your textures were HDR).
However, there's no real reason to keep the full MixRGB node in the SVM code if only a clamp is needed, so I'll add a separate clamp-only SVM code.

Wed, Mar 22, 12:39 AM · Rendering, Cycles, BF Blender
Lukas Stockner (lukasstockner97) claimed T51023: MixRGB node still keeps in memory both input textures no matter what "Fac" value is..
Wed, Mar 22, 12:18 AM · Rendering, Cycles, BF Blender

Tue, Mar 21

Lex (Lex4art) edited the description of T51023: MixRGB node still keeps in memory both input textures no matter what "Fac" value is..
Tue, Mar 21, 9:12 PM · Rendering, Cycles, BF Blender
Lex (Lex4art) created T51023: MixRGB node still keeps in memory both input textures no matter what "Fac" value is..
Tue, Mar 21, 9:11 PM · Rendering, Cycles, BF Blender

Mon, Mar 20

Wo!262 (wo262) added a comment to T50533: Transparency shader doesn't cast shadows with curve segments.

the bug is indeed gone in msvc2015 build

Mon, Mar 20, 4:49 PM · Cycles, BF Blender
Sergey Sharybin (sergey) claimed T50533: Transparency shader doesn't cast shadows with curve segments.

Managed to reproduce the issue on WIndows. Annoyingly,m only happens in release build. Could be a fault of optimizer.

Mon, Mar 20, 4:45 PM · Cycles, BF Blender
Wo!262 (wo262) added a comment to T50533: Transparency shader doesn't cast shadows with curve segments.

It still happens on latest buildbot, on my system at least. Everything was rendered on CPU

Mon, Mar 20, 4:00 PM · Cycles, BF Blender
Lex (Lex4art) created T51008: Normal map with bold relief causes black artifacts with Glossy BSDF shader.
Mon, Mar 20, 3:50 PM · Rendering, Cycles, BF Blender
Sergey Sharybin (sergey) closed T50268: Cycles allows to select un supported GPUs for OpenCL as "Resolved" by committing rB3c4df13924a8: Fix T50268: Cycles allows to select un supported GPUs for OpenCL.
Mon, Mar 20, 3:37 PM · Cycles, BF Blender
Lex (Lex4art) edited the description of T51007: Material viewport mode crash on node with more than 64 outputs..
Mon, Mar 20, 3:30 PM · Nodes, BF Blender
Sergey Sharybin (sergey) lowered the priority of T50533: Transparency shader doesn't cast shadows with curve segments from "Confirmed" to "Incomplete".

I don't see any difference of rendered result when comparing 2.77a, 2.78a, 2.78c and latest master.

Mon, Mar 20, 3:24 PM · Cycles, BF Blender
Lex (Lex4art) created T51007: Material viewport mode crash on node with more than 64 outputs..
Mon, Mar 20, 3:20 PM · Nodes, BF Blender