Author Topic: Corona Refract strange behavior  (Read 6056 times)

2015-01-20, 07:37:04

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
I found a strange behavior of refraction in simple scene that I can't understand. Just a simple cylinder and plane with simple materials, but some refraction error ins presented. Dark line contour around cylinder. Can anyone resolve it?

Picture:


Corona v7.2
Scene in attachment.

2015-01-20, 09:09:58
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13665
  • Marcin
    • View Profile
You forgot to mention that the cylinder has absorption. :)
After removing absorption, there is still a bright outline but I'm not sure if this is a bug.

Any chance this scene is extremely small? This effect disappears if you scale the objects up.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-01-20, 09:40:44
Reply #2

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
Thanks for testing it, Maru. I have huge scene (350 Km of seashore) so I can't scale it up. And absorbtion of course is needed for sea water. At my sight in is not right to see this "feature" with absorbtion. I see it as a bug...

2015-01-20, 14:55:49
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13665
  • Marcin
    • View Profile
(350 Km of seashore)
This might be another cause.

Let's wait for Keymaster's opinion.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-01-20, 15:32:59
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
how big is the object and how far away from origin it is?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-01-20, 17:47:49
Reply #5

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
The main object is huge. Huge enought to fill max zoom in 3ds max. It is mountains with sea shore and hotel at this shore. My water object generates this bug when it intersects with sand at beach.
Scene in first post not so big, but this behavior is present to show it.

2015-01-21, 05:36:16
Reply #6

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
I moved test cylinder in origin and this effect still there. Is smth wrong with me or may it be a bug?
Scene attached.


2015-01-21, 06:27:06
Reply #7

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
I've tried to avoid it by attacching seabed to simple plane (in test scene this helped) but in general scene it has no effect. At intersection with plane there are no line visible. But line at intersection with seabed remained. Plane was 2996008.0 cm * 3794411.0 cm. So It scale had no effect to this behavior I think.

Illustration:

2015-01-21, 06:35:31
Reply #8

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Maybe thats a work for "BSDf Only" Sample mode under lights "Development/experimental stuff".
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...

2015-01-21, 06:42:16
Reply #9

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
I think not. Have tried all 3 modes of this sampling methods.

Here is the main scene fragment with this effect (attachment):

2015-01-21, 07:02:36
Reply #10

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Maybe a material related issue?. Is like the geometry itself is creating some shadow. I found now that if you activate caustics(slow) under water material the black lines goes away.
« Last Edit: 2015-01-21, 13:52:54 by borisquezadaa »
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...

2015-01-21, 07:07:59
Reply #11

fobus

  • Active Users
  • **
  • Posts: 390
    • View Profile
No. You can create all new mat for water with just white refraction and some absorbtion (with no caustics) and get the same black line...