Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: fobus on 2015-01-20, 07:37:04
-
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:
(https://leto39d.storage.yandex.net/rdisk/420bff09cecfdbed644a2636b8e17bcd/mpfs/PzAKf_P6moY27P1cZgJ6jnb_eYA0HfWUW_dWpHKNGaH4AeZjocsaHQnJ5h4Bhmz195y73jG9zoC1bn2QC80JoA==?uid=0&filename=2015-01-20%2009-28-19%20CoronaBug_Refract_01.max%20-%20Autodesk%203ds%20Max%20%202014%20x64%20%20.png&disposition=inline&hash=&limit=0&content_type=image%2Fpng&rtoken=d486926dfdbe7466c26299e0c9891231&rtimestamp=54bdf634&force_default=no)
Corona v7.2
Scene in attachment.
-
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.
-
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...
-
(350 Km of seashore)
This might be another cause.
Let's wait for Keymaster's opinion.
-
how big is the object and how far away from origin it is?
-
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.
-
I moved test cylinder in origin and this effect still there. Is smth wrong with me or may it be a bug?
Scene attached.
(https://leto11h.storage.yandex.net/rdisk/f28d12d92a358965e553e79fd9018c09/mpfs/Wz1r9bqxWdnvHkLbwkZ7n3B6noTmOptYNrVLAXMMlw7ty5X0U7mcV-V65_nbOFAxg2nOxK1di_RhS_BzuwRi5A==?uid=0&filename=2015-01-21%2007-29-27%20CoronaBug_Refract_01.max%20-%20Autodesk%203ds%20Max%20%202014%20x64%20%20.png&disposition=inline&hash=&limit=0&content_type=image%2Fpng&rtoken=b7b6845a560e1c84c87f3e268e353a7d&rtimestamp=54bf2c58&force_default=no)
-
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:
(https://leto3d.storage.yandex.net/rdisk/ec45cdf530b9f51cd6d7fd7e5187d808/mpfs/x1Dvi_LmGZ5gHPQMrmqOpaZMGm4xAb31xX8gULXlwhdOUtdUJzivP3ubSoHNeaSXcjvVDSBl7MlnwSdRKS_6zw==?uid=0&filename=2015-01-21%2008-13-06%20Corona%20Frame%20Buffer%20%281%201%29.png&disposition=inline&hash=&limit=0&content_type=image%2Fpng&rtoken=89b90b64177278624c2dd1988c658770&rtimestamp=54bf389b&force_default=no)
-
Maybe thats a work for "BSDf Only" Sample mode under lights "Development/experimental stuff".
-
I think not. Have tried all 3 modes of this sampling methods.
Here is the main scene fragment with this effect (attachment):
-
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.
-
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...
(https://leto45g.storage.yandex.net/rdisk/0646a3372fc7881211f78735b605077a/mpfs/YAjeNpeeqMEOTlrnsIWHN_Q19sgjCu-oTc9Qhs94o9Dlwk7uc8oa-UO9ZwAaXeH86smnd-HiaFhs31sgV0GbZw==?uid=0&filename=2015-01-21%2009-04-46%20Corona%20Frame%20Buffer%20%281%201%29.png&disposition=inline&hash=&limit=0&content_type=image%2Fpng&rtoken=ea34fe631d98716d6b20a6b11bc0dfd9&rtimestamp=54bf422e&force_default=no)