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

Different Output between CPU and OpenCL #198

Closed
Theverat opened this issue May 5, 2019 · 2 comments
Closed

Different Output between CPU and OpenCL #198

Theverat opened this issue May 5, 2019 · 2 comments
Assignees
Labels

Comments

@Theverat
Copy link
Member

Theverat commented May 5, 2019

This new example scene shows very different output between PathCPU and PathOCL on my notebook's OpenCL CPU device: https://github.com/LuxCoreRender/LuxCoreTestScenes/tree/master/scenes/ProceduralLeaves

Here's the rendered output, note that the CPU render has some more samples than the OCL render, but I hope the problem is already visible:

PathCPU:
pathcpu

PathOCL:
pathocl

The leaf meshes have no thickness, the material is glossytranslucent.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Theverat
Copy link
Member Author

Theverat commented May 5, 2019

The problem might be in the OpenCL bump code.

I replaced the glossytranslucent material with matte and fed only the bump into it.
ProceduralLeaves_onlybump.blend.zip

This is what is fed into the bump socket:

Bump input CPU:
bump_input_cpu

Bump input OCL:
bump_input_ocl

And this is the result of the bump:

Bump result CPU:
bump_cpu

Bump result OCL:
bump_ocl

The bump input is identical, but the result is different.

@Dade916
Copy link
Member

Dade916 commented Jan 23, 2020

I should have fixed this problem.

@Dade916 Dade916 closed this as completed Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants