Sharp corners looking smooth

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.
Post Reply
AndreKR
Posts: 3
Joined: Sun Nov 03, 2019 11:03 am

Sharp corners looking smooth

Post by AndreKR »

I attached a scene I made.

There are some sharp corners that look smooth in Lux:
2019-11-03-12-18-38-blender.png
The same area in Cycles:
2019-11-03-12-19-32-blender.png
This area also looks weird (there's also a shadow terminator issue here, but that's not what I mean):
2019-11-03-12-21-59-blender.png
Cycles:
2019-11-03-12-23-04-blender.png
What is going on?
Attachments
lampe2.blend
(1.87 MiB) Downloaded 106 times
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Sharp corners looking smooth

Post by Racleborg »

Maybe Lux isn't seeing the MARK SHARPs :?:
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Sharp corners looking smooth

Post by B.Y.O.B. »

BlendLuxCore supports Blender's auto smooth, but it does not support custom normals. I have not looked at the file yet, but maybe you are using custom normals?
Maybe Lux isn't seeing the MARK SHARPs
Mark sharp works if used with autosmooth or the edge split modifier.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Sharp corners looking smooth

Post by B.Y.O.B. »

At the moment, you have to clear the custom split normal data to have a working mesh in Lux.
In a quick test it seems to fix the problem, however I don't know what this data was needed for exactly, so you will have to consider if this model works without the custom normals.
It is planned to implement this feature eventually.
Attachments
a.PNG
b.PNG
AndreKR
Posts: 3
Joined: Sun Nov 03, 2019 11:03 am

Re: Sharp corners looking smooth

Post by AndreKR »

Wow, thanks, I would have never found that myself.

I imported the mesh from an .obj that I made in MoI, so this "custom split normals data" is apparently something that comes from the .obj importer. Removing it seems to have no effect on the mesh.
AndreKR
Posts: 3
Joined: Sun Nov 03, 2019 11:03 am

Re: Sharp corners looking smooth

Post by AndreKR »

Could LuxCoreRender maybe just ignore this data? Because it seems it has to be cleared manually for every object. :|
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Sharp corners looking smooth

Post by B.Y.O.B. »

We are currently ignoring it, and this is the result we get.
So I fear the answer is no, Blender skrews with the mesh data in some way and ignoring doesn't help.
Post Reply