Author Topic: Improved light sampling  (Read 30463 times)

2014-02-12, 19:51:17

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
This should address most of the problems with persistent direct light noise:



It will be available in Alpha v6, which will be out shortly.

There will still be scenes where the result won't be as good, I will continue improving the sampler in the future to bring the same improvement to them.

edit: Less synthetic example:


Still not entirely a real problematic scene. I am hoping somebody will try it in daily builds once I do new build
« Last Edit: 2014-02-12, 20:16:56 by Keymaster »
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-12, 19:54:51
Reply #1

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
It should mostly help with these kind of scenarios: http://forum.corona-renderer.com/index.php/topic,316.msg18617.html#msg18617

In general, scenarios where CoronaLights are combined with CoronaLightMTL geometry emitters.

2014-02-12, 19:57:50
Reply #2

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Holy... That looks awesome. So which kind of lightsources will be working better? Only "mesh" lights or all kind of light sources (including portals)?
[Edit] Ok, question is already answered

Any sufficiently advanced bug is indistinguishable from a feature.

2014-02-12, 20:04:27
Reply #3

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Portals in Corona aren't really a light sources, they just tell renderer which direction should be sampled more.

Simplified explanation:
It will help in situation where mesh light steal sampling from object lights. In older build, if you made CoronaLight sphere and Sphere primitive with 64 polygons and LightMTL on it, then Sphere was considered to be 64 lights. So then, when lighting was sampled, there was considered to be 65 lights in scene, and CoronaLight sphere had equal importance as the remaining 64 of those polygons.

After this fix, polygons are not separate lights anymore, but grouped by the source objects. So one teapot is just one light, three teapots are three lights, and if you attach these three teapots together, they will be considered one light.

2014-02-12, 20:27:57
Reply #4

bilamofo

  • Active Users
  • **
  • Posts: 6
    • View Profile
If we are gonna express ourselves this way, then this was me against my lcd monitor:



kudos!

2014-02-12, 20:28:33
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12758
  • Marcin
    • View Profile
OH LORD
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2014-02-12, 20:29:12
Reply #6

Juraj

  • Active Users
  • **
  • Posts: 4761
    • View Profile
    • studio website


Actually, very nice update !
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2014-02-12, 20:36:03
Reply #7

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Its ... so .. beatiful... I i ... wow.
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2014-02-12, 21:22:22
Reply #8

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
really very good news. Thank a lot!
« Last Edit: 2014-02-12, 21:26:51 by Polymax »
Corona - the best rendering solution!


2014-02-12, 21:35:16
Reply #10

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8848
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It will be available in Alpha v6, which will be out shortly.

I've registered at forum two months ago, and that statment was one of the first things i've read. Waiting is almost unbearable now :]

Jokes aside, improvements looks impressive, but i'm curious to see how it'll prove itself in really complex scenario.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-02-12, 21:46:17
Reply #11

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
I've registered at forum two months ago, and that statment was one of the first things i've read. Waiting is almost unbearable now :]

Sorry, I was sick, and I needed to help friends with another project.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-12, 21:49:27
Reply #12

michaltimko

  • Active Users
  • **
  • Posts: 305
  • Coronaut (c)
    • View Profile
I've registered at forum two months ago, and that statment was one of the first things i've read. Waiting is almost unbearable now :]

Sorry, I was sick, and I needed to help friends with another project.

Project : unlocking guns in bf4 :D
Coronaut!(c)2011

Supporting Corona in commercial projects since pre-alpha

2014-02-12, 21:52:08
Reply #13

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Project : unlocking guns in bf4 :D

Writing a siggraph paper.

I decided not to play BF4 on weekdays until A6 RC1 is out
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-02-12, 22:07:27
Reply #14

Chakib

  • Active Users
  • **
  • Posts: 787
  • Corona Omnomnomer !
    • View Profile