Author Topic: AO bug/error  (Read 6910 times)

2018-01-26, 15:51:39

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
Hi,

does anybody now how to get rid off those artifacts?

And include/exclude lists seem to be reversed.

Cheers ...

2018-01-26, 16:05:59
Reply #1

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
A bit hard to see.
My first impulse would be to crank up the samples.

2018-01-26, 16:41:29
Reply #2

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
I pushed up the samples to over 100 and the effect didn't change.

2018-01-26, 17:04:33
Reply #3

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
Could you tell/show us what exactly it is, maybe show the geometry and material settings? There must be a way to fix it.

2018-01-26, 17:09:13
Reply #4

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
Nothing fancy...

2018-01-26, 17:45:14
Reply #5

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3870
  • Bengamin
    • View Profile
    • Cormats
Phong tag?
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2018-01-27, 05:56:21
Reply #6

iacdxb

  • Active Users
  • **
  • Posts: 757
  • 3D Deisgner
    • View Profile
    • www.behance.net/iacdxb
I tried a old file and AO is working fine.

Can you drop your and what you want to achieve....?

Thanks.

Windows, Cinema 4D 2023.

2018-01-27, 09:32:52
Reply #7

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
Phong tag has no limitation, this effect happens with low or high poly count and seems „show“ every single polygon. 
I wanna achieve a smooth transition in the shown area for heated metal reflection.

2018-01-27, 12:40:52
Reply #8

iacdxb

  • Active Users
  • **
  • Posts: 757
  • 3D Deisgner
    • View Profile
    • www.behance.net/iacdxb
You mean like this tempered metal... attached....?

Many ways, I think best is make UV and make texture and apply.
OR... try with some multi color gradient and some scratches texture.

...
Windows, Cinema 4D 2023.

2018-01-27, 17:05:39
Reply #9

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
Thx for that hint, I know different ways to achieve it, but I am curious how to avoid those artifacts.
That is why the topic is AO and not temperate metal on weldings.
Maybe someone from the developement team can lift the curtain.

Cheers...

2018-01-27, 19:12:31
Reply #10

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
I was able to replicate the effect. I tried the object with the basic UVs and cleaned up UVs. It's pretty much the same.
My conclusion is that it's highly scale dependent and sampling doesn't do much, even at max values.
The sampling areas are not properly "connected"/smoothed into each other. I, as a non-programmer, see this as an interpolation problem.
Color spreading can make it a lot better but it can go off rails into unwanted areas and at some more distant AO'd areas, the artifacts still appear.
Spreading is not the same as smoothing, so there might be an option that is missing. Sampling is afaik just affecting the accuracy.

There sure are a lot of workarounds for that, though baking AO gave me the best results, even with the standard c4d baker.(btw you can convert the AO bake into a vertex map and it might be more flexible than a bitmap.)

A curvature shader should be best for that task.(hope we get one)


2018-01-29, 11:08:04
Reply #11

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
Hey guys! Just wanted to chime in before we find some time for this report!

It seems to me that this problem might be connected to geometry, so anything from incorrect normals and badly created geometry to Corona not interpreting valid geometry in a correct way. If I were you, I'd try to play with the phong tag settings or remove it altogether.

2018-01-29, 12:26:42
Reply #12

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
I tried different settings in phong tag, but that doesn't have any effect.
Furhter more I checked vertex normals and everything looked fine. Every other render effect (fresnel, mapping, bump) looks alright, so I don't think it is because of bad geometry.
It looks like every poly is handled seperately.

But thx for your reply anyway!

Cheers

2018-01-29, 14:45:14
Reply #13

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
Hey guys! Just wanted to chime in before we find some time for this report!

It seems to me that this problem might be connected to geometry, so anything from incorrect normals and badly created geometry to Corona not interpreting valid geometry in a correct way. If I were you, I'd try to play with the phong tag settings or remove it altogether.

I had the same effect with clean subD modeled geometry. Phong tag didn't change anything.

2018-01-30, 09:46:57
Reply #14

houska

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 1512
  • Cestmir Houska
    • View Profile
Can we see a scene, guys? I tried it and everything looks fine to me (don't mind the weird geometry on the caps...)