Author Topic: CoronaBitmap bug  (Read 5319 times)

2020-10-23, 11:11:21

nagboy

  • Active Users
  • **
  • Posts: 9
    • View Profile
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.

2020-10-23, 13:54:00
Reply #1

Frood

  • Active Users
  • **
  • Posts: 1919
    • View Profile
    • Rakete GmbH
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



« Last Edit: 2020-11-09, 11:44:17 by Frood »
Never underestimate the power of a well placed level one spell.

2020-11-06, 17:31:49
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12740
  • Marcin
    • View Profile
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?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-11-09, 11:22:52
Reply #3

Frood

  • Active Users
  • **
  • Posts: 1919
    • View Profile
    • Rakete GmbH
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




Never underestimate the power of a well placed level one spell.

2020-11-09, 14:24:40
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8828
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2020-11-09, 15:22:32
Reply #5

Frood

  • Active Users
  • **
  • Posts: 1919
    • View Profile
    • Rakete GmbH
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


Never underestimate the power of a well placed level one spell.

2020-11-09, 15:33:46
Reply #6

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8828
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2020-11-09, 16:23:12
Reply #7

Frood

  • Active Users
  • **
  • Posts: 1919
    • View Profile
    • Rakete GmbH
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


« Last Edit: 2020-11-20, 14:58:44 by Frood »
Never underestimate the power of a well placed level one spell.

2020-11-09, 17:24:00
Reply #8

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8828
  • Let's move this topic, shall we?
    • View Profile
    • My Models
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.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2020-11-09, 18:38:56
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12740
  • Marcin
    • View Profile
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?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2020-11-09, 18:48:05
Reply #10

Frood

  • Active Users
  • **
  • Posts: 1919
    • View Profile
    • Rakete GmbH
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



« Last Edit: 2020-11-09, 20:35:58 by Frood »
Never underestimate the power of a well placed level one spell.

2021-04-12, 12:17:06
Reply #11

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 505
    • View Profile
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
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2021-04-23, 09:42:05
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12740
  • Marcin
    • View Profile
(Report ID=CRMAX-478)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us