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

Today

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

Yesterday

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
Sergey Sharybin (sergey) added a comment to T50850: Blender crash with cycles rendered viewport shading when changing settings of material with external jpg texture.

Just a quick update. The issue was fixed in b91db51 of upstream OIIO.

Mon, Mar 20, 3:07 PM · Cycles, BF Blender
Sergey Sharybin (sergey) closed T50956: Wrong view rendering mode, on orthographic view , black rendering of some glossy surface. as "Resolved".

Fixed this in rB18bf900. Thanks for the report!

Mon, Mar 20, 3:03 PM · Cycles, BF Blender
Sergey Sharybin (sergey) closed T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps as "Resolved" by committing rBa201b99c5aaa: Fix T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps.
Mon, Mar 20, 2:49 PM · Cycles, BF Blender
Sergey Sharybin (sergey) added a comment to T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps.

@Brecht Van Lommel (brecht), this is just weird to forbid negative color but allow negative light.. Would be better if both are allowed or both are disallowed. But i'm fine keeping things as-is and just use fabs() for now.

Mon, Mar 20, 2:48 PM · Cycles, BF Blender
Brecht Van Lommel (brecht) added a comment to T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps.

So far we've supported negative light strengths, though in practice I would suggest to never use it. So if we want remove it at some point that's fine with me, but maybe better for 2.8.

Mon, Mar 20, 1:52 PM · Cycles, BF Blender
Lukas Stockner (lukasstockner97) added a comment to T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps.

I don't think that we should explicitly disable negative lights - after all, they don't really cause any problems for regular use and there's no real chance of using them by accident, so I don't see the harm in keeping them as an "undocumented feature" as long as we don't officially support them.

Mon, Mar 20, 1:30 PM · Cycles, BF Blender
Sergey Sharybin (sergey) claimed T50975: Cycles: Light sampling threshold inadvertently clamps negative lamps.

Don't really think it's a bug. Negative colors and strength is going to be always problematic. What is the reason you use negative strength on lamps?

Mon, Mar 20, 12:12 PM · Cycles, BF Blender

Sun, Mar 19

Ian Bruce (ian_bruce) added a comment to T46409: Kernel compile errors on Mesa OpenCL in 2.76 rc3.

For a more up-to-date discussion of this issue, see here:

Sun, Mar 19, 9:24 AM · BF Blender, Cycles
Ian Bruce (ian_bruce) added a comment to T50522: OpenCL kernel build fails on Linux with Mesa drivers (RX 480).

Yes, that's exactly what I said --

Sun, Mar 19, 8:54 AM · Platform: Linux, Cycles, OpenGL / Gfx, BF Blender

Sat, Mar 18

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

Can also confirm. I encountered the same bug today. After double checking, the OGL size and/or position is wrong, the cycles size and/or position is right.

Sat, Mar 18, 8:16 PM · Cycles, BF Blender
Brecht Van Lommel (brecht) closed T50987: UV editor, UV unwrap operation misbehaving between different Render Modes as "Archived".

Yes, this is not a bug though the behavior is somewhat confusing. The Correct Aspect option works based on the image texture assigned to the mesh and visible in the 3D viewport, which is done through the material. For Cycles, the image shown in the image editor is decoupled from that.

Sat, Mar 18, 3:52 PM · Cycles, BF Blender
Sergey Sharybin (sergey) added a comment to T50522: OpenCL kernel build fails on Linux with Mesa drivers (RX 480).

@Ian Bruce (ian_bruce), i'm not sure what we can do with that knowledge. We are not drivers developers and are not involved into any distro development process. Guess this info better be directed to distro maintainers to ensure they ship proper drivers for OpenCL support (Blender is not the only program on planet which will benefit from that ;)

Sat, Mar 18, 1:32 PM · Platform: Linux, Cycles, OpenGL / Gfx, BF Blender
Ian Bruce (ian_bruce) added a comment to T50522: OpenCL kernel build fails on Linux with Mesa drivers (RX 480).

It turns out that these compiler warnings --

Sat, Mar 18, 12:56 PM · Platform: Linux, Cycles, OpenGL / Gfx, BF Blender
Fabian Hernandez (cocoknight) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

I've followed your instruction except the mesa part, here's the --debug-cycles output:

Sat, Mar 18, 11:11 AM · Cycles, BF Blender
Pavel (Metallikus) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

No, only mesa-opencl-icd

Sat, Mar 18, 11:07 AM · Cycles, BF Blender
Fabian Hernandez (cocoknight) added a comment to T49465: Cycles OpenCL throws CL_INVALID_BUILD_OPTIONS on AMD R9 280x on Linux.

mesa-opencl is not installed, only mesa-common-dev. Do you want me to uninstall that?

Sat, Mar 18, 10:47 AM · Cycles, BF Blender
Duarte Farrajota Ramos (duarteframos) added a comment to T50987: UV editor, UV unwrap operation misbehaving between different Render Modes.

For context this comes as a from followup for a Blender Stack Exchange question.

Sat, Mar 18, 1:49 AM · Cycles, BF Blender

Fri, Mar 17

hawkenfox (hawkenfox) edited the description of T50987: UV editor, UV unwrap operation misbehaving between different Render Modes.
Fri, Mar 17, 8:21 PM · Cycles, BF Blender