dark juice

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: dark juice

Post by lacilaci »

provisory wrote: Wed Aug 14, 2019 6:47 pm My version:
juice.jpg

Only lit by Sun + Sky.
ok, so it almost looks correct once you put sun low cause there's lot of diffuse lighting and weak directional, but you start moving sun around and it clearly doesn't enter the volume directly.

here's your scene with sun blasting right from above, this looks all kinds of wrong
juice_sunupprovisory.png
this is in my scene near a proper looking volume (architectural glass)
juice_provisory.jpg
So yeah, I'm thinking that luxcore doesn't do transparent shadows for glass, it's always black for direct lighitng so you can never shoot direct lighting through glass.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: dark juice

Post by lacilaci »

wasd wrote: Wed Aug 14, 2019 9:31 pm juice_sunsky.blend (with volume priorities and ior fixed)
Path+Sobol jupa.png~
Bidir+Metropolisjubi.png~
I like bidir version better. It is three times faster and ten billion times better.
Do you really find this proper looking?
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: dark juice

Post by provisory »

wasd wrote: Wed Aug 14, 2019 9:07 pm Your volume priorities are also both 0.
You're right. (I should have mentioned, that mine was based on Sharlybg's.)
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: dark juice

Post by provisory »

lacilaci wrote: Thu Aug 15, 2019 4:55 am here's your scene with sun blasting right from above, this looks all kinds of wrong
juice_sunupprovisory.png
Some more changes and corrected volume priorities.
Oh, and I had to increase path depths!

Sun is directly from above:
juice3.jpg

Sun from behind (like on pleasing shots):
juice4.jpg
Attachments
juice3.blend
(728.31 KiB) Downloaded 133 times
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: dark juice

Post by lacilaci »

provisory wrote: Thu Aug 15, 2019 5:58 am
lacilaci wrote: Thu Aug 15, 2019 4:55 am here's your scene with sun blasting right from above, this looks all kinds of wrong
juice_sunupprovisory.png
Some more changes and corrected volume priorities.
Oh, and I had to increase path depths!

Sun is directly from above:
juice3.jpg


Sun from behind (like on pleasing shots):
juice4.jpg
Ok, so first of all using semi transparent glass is the worst fake possible, it's a game engine level of fake and while I love biased renderer fakes this is often gonna be super wrong looking in some cases.

In your case it somewhat works as we cannot observe any shapes behind glass to be able to tell it's actually 10% transparent but even I "lover of fakes :D" would not accept this solution (I did this in past with luxcore and it's just horrible looking glass in many cases)

Second, the increased bounces give a little more bounce light to the volume but won't ever compensate enough for the lack of directional light especially when you blast full power sun through the glass.

here in my renders you can see left to right - your solution, actual 100% solid glass, and juice body without glass using architectural option so that no shadow is cast on volume
juices.png
on the rightmost juice you clearly see the gradient from directional light, on middle one there is none and on yours there is a small hint of it cause the glass itself is transparent but the juice isn't archglass so the top of it looks super dark just as in the middle...
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: dark juice

Post by provisory »

lacilaci wrote: Thu Aug 15, 2019 6:39 am Ok, so first of all using semi transparent glass is the worst fake possible...
Semi transparent glass was just a test, I left it like that by accident.

I suspect, that SDS paths have a big impact here, so here is a render with corrected glass opacity but with BiDir Metro:
(eye and light paths both set to 20)
juice5.jpg
Please take into consideration, that these are transparent, translucent and reflective materials, so environment is very important here. For example the gradient of the middle glass in your image was effected from the two other next to it.

Edit: ...and the color/brightness highly dependent from the background!
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: dark juice

Post by wasd »

lacilaci wrote: Thu Aug 15, 2019 5:02 am Do you really find this proper looking?
I never said I find it proper looking.
CPU Bidir + Metropolis | Core i5-4570
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: dark juice

Post by lacilaci »


I suspect, that SDS paths have a big impact here, so here is a render with corrected glass opacity but with BiDir Metro:
(eye and light paths both set to 20)
BiDir can't do sds, even with metropolis it fails, and if we add volumes it get's even worse..
I generally don't like bidir at all, it's just terrible and slow... There are better and faster solutions and I think Dade is on a good way to getting them to luxcore
bidirmetro.png

Please take into consideration, that these are transparent, translucent and reflective materials, so environment is very important here. For example the gradient of the middle glass in your image was effected from the two other next to it.
No, not really. All three glasses are directly exposed to sun so all volumes should be lit as well
volumes.png

Edit: ...and the color/brightness highly dependent from the background!
it only adds bounce light in your case, so things seem brighter but that's all

The only thing that really can do it currently is caustic cache (and I'm not even sure that it is doing it right either)
causticcache.png
But no one will ever use this in production, it's pain to setup and it's slow and only God or Dade knows if it can even converge to an acceptable result in thousand years.

EDIT: I left it rendering.. and it actually looks like caustic cache is just putting caustic to the volume but still no sunlight gets through glass it seems.

I think we gonna need lighttracing+VM+transparent shadows and everything will be correct and fast.
provisory
Posts: 235
Joined: Wed Aug 01, 2018 4:26 pm

Re: dark juice

Post by provisory »

My latest juice volume:
juice9-volume.png
juice9-volume.png (3.58 KiB) Viewed 3729 times

And some renders with hdri lighting (BiDir + Metro):

HDRI 1. front
juice9-hdri1-front.jpg
HDRI 1. back
juice9-hdri1-back.jpg
HDRI 2. front
juice9-hdri2-front.jpg
HDRI 2. back
juice9-hdri2-back.jpg
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: dark juice

Post by lacilaci »

provisory wrote: Thu Aug 15, 2019 11:15 am My latest juice volume:
juice9-volume.png


And some renders with hdri lighting (BiDir + Metro):

HDRI 1. front
juice9-hdri1-front.jpg

HDRI 1. back
juice9-hdri1-back.jpg

HDRI 2. front
juice9-hdri2-front.jpg

HDRI 2. back
juice9-hdri2-back.jpg
But now you changed condition and you're rendering with hdri, this isn't solving anything
Post Reply