Author Topic: Smoothing issue with Normal Tag and Phong Tag  (Read 18471 times)

2018-11-27, 20:24:06
Reply #15

mpta

  • Active Users
  • **
  • Posts: 8
    • View Profile
Let me try those.
Thank you!

2018-11-28, 18:05:14
Reply #16

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3865
  • Bengamin
    • View Profile
    • Cormats
No problem at all!
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2019-01-31, 10:24:07
Reply #17

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
Hey,

Hope it's allright to continue in this thread, the issue is the same.

I've made an example file demonstrating the issue, it looks good in the viewport and render perfectly in Cinema 4d and Vray but have artifacts in Corona, Changing "Shadow shift" in terminator handling/debug mode (Solution from other thread) makes it better but when adding an edge shader to take care of the straight edges the artifacts will be back.

Would be nice if someone can confirm this is not working.

STP & C4D in zip.

https://www.dropbox.com/s/swxj96720691oog/Blubbs.zip?dl=0

2019-01-31, 13:15:11
Reply #18

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3865
  • Bengamin
    • View Profile
    • Cormats
Hi there,

Did you try the setting I shared on the first page? Seems to be working here. PS, your scene file loads upside down ;)

Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2019-01-31, 13:38:26
Reply #19

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
Hi there,

Did you try the setting I shared on the first page? Seems to be working here. PS, your scene file loads upside down ;)



The settings on the first page is for FBX, I don't have the same settings for Stp, the thing is that the default settings makes the mesh perfect in the viewport and for rendering in C4d/Vray, in Corona I get artifacts. Same thing for Cad or Modo Mesh-fusion models.


Looking at your import it looks like it has very low polycount, I can't see any artifacts though. Could you share it?


Oops, Yeah it does, had the grid and axis tool turned of for no logical reason ;)



2019-01-31, 14:18:03
Reply #20

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3865
  • Bengamin
    • View Profile
    • Cormats
Yes, sure. Here's the file.
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2019-01-31, 14:48:29
Reply #21

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
Yes, sure. Here's the file.

Thanks,


I'm afraid using the settings you have on the first page on the FBX file makes an even worse result then importing the Stp-file directly into R20 with default settings. I actually don't understand why you made an FBX of it?

On the image you posted there is no artifacts but on the other side of the model there is plenty of it. if you put a strong light on it instead of sun/sky it's more visible and if you put the edge shader on it will look even more broken.















2019-02-04, 13:08:41
Reply #22

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
Another test showing the issue, works fine anywhere except with Corona.

Edit: Added image showing result in viewport when the normal tag i removed.

it can only be that Corona is ignoring the normal tag right?
« Last Edit: 2019-02-04, 13:33:35 by meidenberg »

2019-02-04, 14:00:17
Reply #23

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
We'been through this on the max side some time ago.

With normals from CAD data, there's a problem with the shadow terminator fix. In max, there's a way do disable it and AFAIR it's possible in Cinema, too. Try to disable it and see if that helps.

2019-02-04, 14:19:48
Reply #24

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
We'been through this on the max side some time ago.

With normals from CAD data, there's a problem with the shadow terminator fix. In max, there's a way do disable it and AFAIR it's possible in Cinema, too. Try to disable it and see if that helps.

Hi,

Yeah I've read somewhere that it could be changed to "1" and in this scene it actually completely fix the problem untill I turn the edge-shader on. In the previous test-scene it did'nt fix all the artifacts.

Wil see if I can find the Max thread, maybe something there could help.


Thanks


2019-02-04, 16:44:33
Reply #25

pokoy

  • Active Users
  • **
  • Posts: 1861
    • View Profile
What's the edge shader?

The problem could be two-fold.
One thing is that explicit normals from CAD don't go together nicely with the shadow terminator fix.
The other things is that CAD tesselation may not look good or produce similar artifacts if you reset them and recalculate based on face angles. This never works well with CAD data.

2019-03-04, 10:06:05
Reply #26

meidenberg

  • Active Users
  • **
  • Posts: 20
    • View Profile
    • Playground
What's the edge shader?

The problem could be two-fold.
One thing is that explicit normals from CAD don't go together nicely with the shadow terminator fix.
The other things is that CAD tesselation may not look good or produce similar artifacts if you reset them and recalculate based on face angles. This never works well with CAD data.


I ment RoundEdges :P

I'm not sure how this works technically, the only thing I'm sure of is that this works with c4d and it works with Vray, it probably works with other render engines aswell but not with Corona.

Even if the "Terminator fix" is making some of the artifacts dissapear it will stop working when applying RoundEdges.

I would love to use Corona as the main render engine but without a single word about this issue from the developers it just wont happen.