Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: nagboy on 2020-10-23, 11:11:21

Title: CoronaBitmap bug
Post by: nagboy on 2020-10-23, 11:11:21
Hi,

Where: CoronaBitmap

When: If you try to animate Offset (U or V) and/or Rotate degrees (They are apparently kind of connected / wired)

What:
No matter what type of controller or what in/out type you assign to the animation keys the result will be a bezier curve that eases between the keys.
In the trackview / graph things will look eg. linear between keys, but its not linear, its always bezier interpolated keys.

Copying the same keys to a regular 3dsmax Bitmap produce the expected result.

3DSMax 2021, Corona Renderer 6.
Title: Re: CoronaBitmap bug
Post by: Frood on 2020-10-23, 13:54:00
That's not all "fun" you get with CoronaBitmap and a simple animation of u-offset:

- it shows a v-key when creating a u-key as well (nowhere to find in the trackview and very disturbing)

Edit: just realized that CoronaBitmap uses Point3 for all offsets at once, so the key brackets are correct. Needs getting used to.

- it sometimes displays a u-shift several frames later than animated
- it still shows the offset animation even when you delete the keys

I'm so glad that we decided to never rely on CoronaBitmap once again. Sooo CoronaBitmap into drawer again until next official release - like every year. Still have not heard a word about my teapot scene eating 20GB of ram just because I dared to use a CoronaBitmap based material library on a central network share.

I bet this issue gets lowest priority because "it's not commonly reported by users".


Good Luck



Title: Re: CoronaBitmap bug
Post by: maru on 2020-11-06, 17:31:49
I am unable to reproduce the issue from the 1st post. 3ds Max 2021, Corona 6 HF1.
I've set the "in/out tangent" (the icon at the bottom of the screen) to linear.
Then enabled the Auto Key button.
Animated the Corona Bitmap U Offset (from frame 0 to frame 10, from value 0 to 3).
The resulting curve in the curve editor is linear.

Could you please provide some simple step-by-step info how to reproduce this?
Title: Re: CoronaBitmap bug
Post by: Frood on 2020-11-09, 11:22:52
I think you already have reproduced it. The curve may look linear, but the actual animation/offsets in the viewport acts always like nagboy described: bezier points with horizontal tangents, like it has been at creation time presumably. It seems not to update.  However it renders differently (=correctly).

Related: plug some bezier point3 controller into uvwOffset and change some values -> CoronaBitmap does not update the viewport while standard bitmap does. At the other hand, changing a uvwOffset value directly in CoronaBitmap updates the viewport.


Good Luck




Title: Re: CoronaBitmap bug
Post by: romullus on 2020-11-09, 14:24:40
The curve may look linear, but the actual animation/offsets in the viewport acts always like nagboy described: bezier points with horizontal tangents, like it has been at creation time presumably. It seems not to update.

Sorry for off-topic, but how are you able to evaluate Corona bitmap's behaviour in a viewport? Doesn't it lags for you like crazy?
Title: Re: CoronaBitmap bug
Post by: Frood on 2020-11-09, 15:22:32
Hmm... no lag at all, I can even run the offset animation in realtime while cruising around. But it's just a bunch of cubes with CoronaBitmap animated, nothing else in the scene. Maybe it lags for you but shows the correct result? :)


Good Luck


Title: Re: CoronaBitmap bug
Post by: romullus on 2020-11-09, 15:33:46
Unfortunately i can't tell if it shows correct result, because with Coron bitmap, viewport update rate is like 1 FPS (single plane in the scene and low-rez texture). Native bitmap has no problems here.
Title: Re: CoronaBitmap bug
Post by: Frood on 2020-11-09, 16:23:12
Strange, hope you reported it?

This is my result if you are interested:

<edit: expired link deleted>

But animation for U from 0 to 10 means that at frame 1 an amount of 1/10 shift should happen if it is linear. You can use a checker or UV-test map to see if it's right/wrong, no realtime needed.


Good Luck


Title: Re: CoronaBitmap bug
Post by: romullus on 2020-11-09, 17:24:00
Indeed, by doing the test with checkerboard, i was able to see the bug, but the performance is horrible - i thought that it's known issue, hence i didn't report it.
Title: Re: CoronaBitmap bug
Post by: maru on 2020-11-09, 18:38:56
I think you already have reproduced it. The curve may look linear, but the actual animation/offsets in the viewport acts always like nagboy described: bezier points with horizontal tangents, like it has been at creation time presumably. It seems not to update.  However it renders differently (=correctly).

Sorry for a noob question, but I hardly even used the curve editor. How can I tell whether a keyframe is linear or bezier with horizontal tangents? I mean, is there some way to select a key and find out whether it has a "linear" or "bezier" flag?
Title: Re: CoronaBitmap bug
Post by: Frood on 2020-11-09, 18:48:05
If you do a right mouse click on a selected key, you get its properties and in/out settings. But in your screenshot they are already linear. But the viewport animation is most probably not, that's the bug.


Good Luck



Title: Re: CoronaBitmap bug
Post by: Avi on 2021-04-12, 12:17:06
Hi,

Where: CoronaBitmap

When: If you try to animate Offset (U or V) and/or Rotate degrees (They are apparently kind of connected / wired)

What:
No matter what type of controller or what in/out type you assign to the animation keys the result will be a bezier curve that eases between the keys.
In the trackview / graph things will look eg. linear between keys, but its not linear, its always bezier interpolated keys.

Copying the same keys to a regular 3dsmax Bitmap produce the expected result.

3DSMax 2021, Corona Renderer 6.


Hi,

I tried to reproduce this. But I found the animation to be linear. Even though it looks kind of wrong in viewport but it will render correctly.

Here is a recorded inspection for your review : https://www.dropbox.com/s/8hh60gsvpl6ji05/Corona%20Bitmap%20Bug.mp4?dl=0

I hope this helps.

Software used : 3dsmax 2020 & corona 6 hotfix 1

Regards,
Avi
Title: Re: CoronaBitmap bug
Post by: maru on 2021-04-23, 09:42:05
(Report ID=CRMAX-478)