Author Topic: Coronasky clouds moving when they shouldn't  (Read 1035 times)

2023-04-26, 01:21:59

BobJackson

  • Users
  • *
  • Posts: 3
    • View Profile
Hi !

I have an issue driving me crazy on our current project at work.
When I try to use the coronasky, with clouds enabled, and cast cloud shadows enabled as well, if the camera is animated, the shadow of the clouds is going to strangely move around and follow the camera movement, whereas it should be perfectly still.
(the clouds aren't animated, only the camera)
Thinking I was doing something wrong, I tried everything I could think of ( switching between coronacam and the standard one, between a simple corona sun and a daylight system, checking and unchecking all the option in the clouds, etc ), but nothing seems to do the trick.

Could it be a limitation in corona 9 or is it me doing something wrong ?

Weirdly enough I haven't found anyone else having the same issue so I'm inclined to think I must be missing something ...

(it's my first time posting here, if it should be in the bug report, feel free to move my post )

thanks in advance ! :)

-ps : this is not an issue relative to the scene as I've been able to reproduce it on completely new scene, on a different computer, with a different max version.

2023-04-26, 11:37:41
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi,

The clouds and their shadows seems to work fine here. Could it be that you have animated something by accident and simply didn't notice that? If you can upload the problematic scene and someone will take a look at it.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-04-26, 12:10:15
Reply #2

BobJackson

  • Users
  • *
  • Posts: 3
    • View Profile
Given that the clouds are not animated, nor is the sun, shouldn't the shadow on the ground have a fixed placed ? it shouldn't move with the camera, which is what is happening in both mine and your render.

If I'm not mistaken, your camera is a translation to the right, so the shadow of the could on the right should, at the end of the sequence, be on the left, but it's moving with the camera ..

- I don't have access to the scene right now, but I see the exact same issue in your sequence so it seems quite easy to reproduce.

I'd like to add that it's working fine in the interactive rendering while scrubbing the timeline, the shadow stays put.

2023-04-26, 12:26:02
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hmm, actually i think you're right - shadows on the ground should stay put, i.e. move at the same rate as red blocks moving. And you're also correct about different shadows behaviour in IR vs regular render. I will move the topic to the bug reporting board. Thanks for reporting the issue.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-04-26, 13:31:28
Reply #4

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5462
    • View Profile
That's because the sky is always generated around the camera as a midpoint. You can't move the camera, no matter how it is animated, and have it "drift" from the midpoint of the clouds/sky. So, not a bug here, at best a feature request :)

PS meantime the fix is to ADD animation to the clouds that is the inverse of the camera's animation, as a workaround.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-04-26, 14:24:20
Reply #5

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3864
  • Bengamin
    • View Profile
    • Cormats
I tried this in C4D and in IR it seems okay but not when rendered :/
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-26, 14:32:58
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Cloud shadows behave differently in IR vs regular rendering, that alone should qualify as a bug, even if clouds position being tied to the camera view is intended.

PS meantime the fix is to ADD animation to the clouds that is the inverse of the camera's animation, as a workaround.

It would be nice if Corona could do this automatically instead of asking user to do this on his/her own, which sometimes might be even impossible given the fact that in most scenarios camera movement is rarely just a linear motion in a single axis. Current behaviour of clouds and especially their shadows when a camera is animated is unrealistic and i think it's fair to consider that as a bug.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-04-26, 14:35:00
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I tried this in C4D and in IR it seems okay but not when rendered :/

The same is in Corona for 3ds Max - cloud shadows behaves realistically when in IR, but not so much when rendered out in final render.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-04-26, 14:47:17
Reply #8

BobJackson

  • Users
  • *
  • Posts: 3
    • View Profile
Well, at least I'm glad to know I wasn't crazy or doing anything wrong.
For the time being I'll do without it, hopefully it'll be fixed in an hotfix or corona 10.

thanks guys !

2023-04-26, 20:43:10
Reply #9

aaouviz

  • Active Users
  • **
  • Posts: 892
    • View Profile
    • Another Angle 3D
Hi,

The clouds and their shadows seems to work fine here. Could it be that you have animated something by accident and simply didn't notice that? If you can upload the problematic scene and someone will take a look at it.

Seeing your "working fine" gif which was clearly not working fine had me very confused!...Ha.

Hopefully this bug can be addressed, please :)
Nicolas Pratt
Another Angle 3D
https://www.instagram.com/anotherangle3d/

2023-04-27, 09:41:10
Reply #10

v.p.vlasenko

  • Active Users
  • **
  • Posts: 71
    • View Profile
Same thing here for a long time.

Haven't tried animation, but I noticed that different cameras for the same scene produce different shadows.

2023-04-27, 12:51:54
Reply #11

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 557
    • View Profile
This is reported now, thanks.

(Internal ID=1103301692)
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us