Cycles Development Updates

I saw that the light leak through bump/displacement problem was fixed in 3.4.1 https://developer.blender.org/rB3d29bbcc387feea063b48ce747668d1143f312f7
and in my old scenes that were experiencing the issue, they are now fixed.

However, just now I threw some random textures on a simple room and got the same problem with one of them.

image
image
image
image
image

Is this the same bug or am I doing something wrong?

Attached file with packed bump map:
displacement light leak problem 2022-12-23.blend (518.0 KB)

Indeed, it looks like the fix focused on use of lamps and is neglecting case of Sun Disc from Sky texture.
If you replace Sun from Sky Texture by a Sun lamp, problem should disappear.
Mesh lights seems to be problematic, too.

Tizian Zeltner is happy to help implement his 2022 SIGGRAPH Paper “Practical Multiple-Scattering Sheen Using Linearly Transformed Cosines” into the new principle BSDF V2! :heart::gift:

21 Likes

Did you make a bug report for this?

1 Like

nope. too lazy.

Attendees

  • Brecht Van Lommel (Blender)
  • Weizhen Huang (Blender)
  • Thomas Dinges (Blender)
  • Lukas Stockner (Blender)
  • Jeffrey Liu
  • Nikita Sirgienko (Intel)
  • Sebastian Herholz (Intel)
  • Michael Jones (Apple)
  • Patrick Mours (NVIDIA)
  • Christophe Hery (Meta)
  • Brian Savery (AMD)

Blender 3.5

  • Light tree
    • Jeffrey works on fixing bug with sun light sampling. Some discussion on best solution and practical implementation issues.
    • Brecht would still like to do multi-threading and instancing optimizations.
  • AMD HIP:
    • Linux RDNA2 crash bug was confirmed by AMD team and is being investigated.
    • HIP-RT support is still being worked on. Code should be submitted for review even if driver is not out yet.
  • Apple Metal:
    • Tuning will be submitted still for the latest kernel changes.
    • Support for NanoVDB is also expected to land still.
  • OptiX OSL
    • Patrick still plans improvements to better match noise functions with CPU.
    • Brecht also suggested to look at supporting texture file path loading through SVM, even if that would not support all the same filtering options as OIIO.

Other

  • Sebastian found discrepancies between lights that use ray visibility to make them not affect diffuse or glossy surfaces. A patch to address this was submitted, Brecht will review. Some discussion on best approach for this and performance impact.
  • Weizhen has been working on integrating a new Hair BSDF. The biggest challenge right now is for elliptical shaped hair fibers, which raises questions about how best to raytrace curves with such shapes (if at all), how to compute the normal direction for the ellipse, and how to deal with Catmull-Rom not being C2 continuous.
  • Patrick made progress on resumable rendering and denoising, with ability to store and load EXR caches for an animation sequence. Next step is loading cache for previous frame, which requires some work as this denoising code path does not support it yet.
  • Lukas continues work on completing the Principled BSDF v2. The plan is to start merging individual parts, like new multiscatter GGX, new sheen closures in the Velvet BSDF, and then at the end put it all together in the Principled BSDF.
    • Christophe Hery mentioned the Subsurface IOR patch that should also become part of this. This is a separate IOR than specular since skin can have multiple layers and so this IOR can be considered to be for another layer.

Practical Info

This is a weekly video chat meeting for planning and discussion of Blender rendering development. Any contributor (developer, UI/UX designer, writer, …) working on rendering in Blender is welcome to join and add proposed items to the agenda.

For users and other interested parties, we ask to read the meeting notes instead so that the meeting can remain focused.

  • Google Meet
  • Google Calendar Event
  • Next Meeting: January 24 2023, 5 to 6 PM Amsterdam Time (Your local time: [date=2023-01-24 time=17:00:00 timezone=“Europe/Berlin”]→ 2023-01-24T17:00:00Z)
12 Likes

This two improvement will be much more important than other for ArchViz and Animation artists I guess. Keep going on, guys! ))

8 Likes

These are not the same thing than the Octane texture though. Also Karma still doesn’t allow adaptive subdivisions yet

Just a quick note - a new Path Guiding branch build has dropped (cheers Sebastian) which now includes techniques that have glossy guiding as well as diffuse.

Some tests are being posted here - but early results look promising.

edit - the algorithm has been updated to include a user editable glossy threshold, which should improve guiding for glossy materials with lower levels of roughness.

With glossy guiding

Without glossy guiding

(note these are intentionally noisy test renders to help highlight differences, rather than show off the full potential).

14 Likes

Promissing indeed. Just hope GPU implementation will not take too long

1 Like

For some scenes, CPU with path guiding converges much faster than brute forcing it with GPU - so even without GPU support currently, path guiding is still of benefit.

But I agree - path guiding on GPU will be a welcome addition, although it may take a while because I think the intent is to get various ray types guiding in a stable manner before trying to port it to GPU.

1 Like

The main problem is, and I guess everyone can easily test that, that even without path guiding GPU is a lot faster. Thanks to modern denoising.
So if Octane and Redshift can do it, its just a matter of time end effort.
On the other side, Cycles development has tons of work to do, but seems to lack man power. I don’t know why the BSDF 2 branch isn’t progressing since a half year.

3 Likes

Yup…that’s the one that I’m looking forward to the most. When I heard the presentation at the Blender conference I thought that this was on a fast track to be implemented…but unfortunately it doesn’t seem to be, nor is it really mentioned in the 2023 roadmap.

IMHO, getting Cycles to produce more realistic renders should be paramount to anything else. The “look” of cycles is a massive problem with Blender IMHO.

/hides under desk

4 Likes

Please…stop. You’re giving me nightmares. Mental Ray in 3dsMax was the first proper raytracer I ever learned/used. There was such a crazy amount of fiddling and hacking with renderers back then. :joy:

2 Likes

I do not know why people keep bringing up the ‘Cycles look’ (that is unless they are only using the stock filmic settings with the Principled Node).

What I use instead is my own node groups made using the building blocks along with the new AgX, not using Principled already makes a difference, but my work now has another layer of realism with the new Tonemapping. Also do not forget the BF’s rich tradition of having bad default values (ie. min bounces being 0 when it should be 2 or higher, distance value in the bump node being 1 when it should be 0.1 or lower, default albedo values of 0.8 which is actually considered bright ect…).

1 Like

That’s simply not true in a lot of cases.

Here is an equal time render (1 minute) - GPU vs CPU with path guiding.

Also - the denoising works on CPU too - so whatever advantage denoising gives you is also applicable to path guided CPU renders.

7 Likes

I always use sRGB linear output. I do that since 20 years and see no point yet to switch. ACES is an improvement focusing on red tones, for better skin color grading. Its not really important for 3d and unless you render 8 bit color outputs, there is no need to do that before compositing.
Its partly used in Advertisement so, especially if you need to follow very precise coloring guidelines. And also because the Redshift integration is so smooth and deep, that a lot people simple did that step.

1 Like

https://wiki.blender.org/wiki/User:Lukasstockner97/Weekly_Reports#Week_4_and_5_(2023-01-23_to_2023-02-05)

1 Like

Even the AI-based denoising benefits greatly if it has a more converged image to work with. I am sure that you could potentially get something passable with an insanely undersampled image with the right data in the passes (mainly with Optix as it often guesses higher brightness levels than OIDN), but you will never get the more subtle and/or smaller details that would bring it well above the imagery that made use of photons with final gathering.

Slowly but surely it has gained momentum and is now standardised in programs like Maya/Houdini/Mari/Substance tools. I suppose ACEScg is just the next stage on from sRGB.
I would prefer to see what the render output looks like directly in the buffer. Same applies for authoring textures.
As for ‘switching to ACES’, the way I see it is that there isn’t much to switch. The workflow is pretty much the same.