Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point Light shows falloff banding (size values between 0.0001 ~ 0.1) #477

Closed
kintuX opened this issue Jun 4, 2020 · 3 comments
Closed
Assignees

Comments

@kintuX
Copy link

kintuX commented Jun 4, 2020

.blend file (w/ LuxCore exports):
PointLightBanding-BUG.zip

Steps to reproduce:

  1. Open attached file.
  2. Set/Check render engine.
  3. See rendered viewport or render still (f12)

Screenshots or rendered images:
Cycles:
LuxCore_PointLight_Banding-CYC
BlendLuxCore:
LuxCore_PointLight_Banding-BLC

Error message from Blender console: none

Error message from LuxCoreUI console: RenderConfig loading error: bad lexical cast: source type value could not be interpreted as target

OS: Windows10
Blender version: 2.83
LuxCore version: 2.4beta (latest from 2020-06-04)

@Dade916 Dade916 self-assigned this Jun 4, 2020
@Dade916
Copy link
Member

Dade916 commented Jun 4, 2020

Error message from LuxCoreUI console: RenderConfig loading error: bad lexical cast: source type value could not be interpreted as target

This error comes from this:

scene.materials.Material1942792493976.id = 13,398,304
...
scene.objects.19434461667760.id = 3,772,660,237

You C library printing integer numbers with ",".

I'm looking in bands problem.

Dade916 added a commit to LuxCoreRender/LuxCore that referenced this issue Jun 4, 2020
@Dade916
Copy link
Member

Dade916 commented Jun 4, 2020

I should have fixed the banding problem. As expected, it was a numerical precision problem due to very small light radius.

@kintuX
Copy link
Author

kintuX commented Jun 4, 2020

I should have fixed the banding problem. As expected, it was a numerical precision problem due to very small light radius.

I confirm, the banding isssue with small Point Light radius is gone.

BTW (&Note to self), the LuxCoreUI error sprouts from BlendLuxCore when Object and/or Material IDs have negative values. In this case both were set to -1.
Am I right to assume it's BlendLuxCore bug & report the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants