Author Topic: Corona doesn't render point cached motion blur, again!  (Read 5951 times)

2015-06-23, 20:51:51

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
Once again, the ever returning bug of ignoring motion from point cached geometry.

This is a standard point cached geom (xml/mc), animation of paper crumpling, that is completely being ignored by Corona.

The white ball there (the smear) is an animated sphere just to make sure motion blur actually works in Corona.

Please, fix this!!! I need MBlur asap!

Corona version: 1.01.00, Maxsdk version: 2014

Build timestamp: Jun 16 2015 16:48:31
Defines: Wide RGB

2015-06-23, 20:56:23
Reply #1

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
There might be something more to this concrete scene, because it seems that Corona does not ignore point cached geometry at all under certain conditions.

Can anyone confirm this, please? I'll investigate further...

2015-06-23, 20:58:40
Reply #2

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
Ah, no, my bad, the motion blur IS NOT THERE, it was being created by transformation (atop the point cached geom, I'm animating the object's transform as well), so that is being calculated, but the PT is being IGNORED alltogether. :(

2015-06-23, 21:09:01
Reply #3

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
Aaaaaaand, Corona hangs when using XMESH.

Great...

2015-06-24, 10:58:28
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Seems to work fine here, though I am not sure if I am doing this the same way as you did. Picture and scene in attachment.
Can you try using mesher on the point cached object and see if it gets proper MB?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-24, 11:05:25
Reply #5

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
I was told it was because the changing topology of my mesh. Not sure about that, I'd have to double check that as I'm subdividing heavily the mesh based on smoothing groups, dynamically, so that might be the real problem here. Which would be a huge problem for me as I need this "paper like" look.

2015-06-24, 11:18:52
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Yeah, if there is changing topology like adding new edges etc, then this could be a problem, I'll try to check it.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-24, 11:26:54
Reply #7

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
specifically there is changing number of normals
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-06-24, 11:29:01
Reply #8

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
specifically there is changing number of normals

Well, this is a huge problem as I specifically need this feature in order to achieve the effect I'm after. :(

2015-06-24, 11:30:49
Reply #9

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Hmm how did you do this? When I am trying to save point cache file for object with animation where number of faces changes it says "point count changed while recording" or "cache file is not a valid file".

Tried enabling MB for the geometry with modifiers, got a freeze right now, will try to submit minidump.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-24, 11:34:08
Reply #10

loocas

  • Active Users
  • **
  • Posts: 93
    • View Profile
Hmm how did you do this? When I am trying to save point cache file for object with animation where number of faces changes it says "point count changed while recording" or "cache file is not a valid file".

Tried enabling MB for the geometry with modifiers, got a freeze right now, will try to submit minidump.

I'm changing the smoothing using the Smooth modifier after the point cache, then I subdivide the mesh based on the resulting smoothing.

I don't know why this is such a problem for corona as the number of verts shouldn't be changing at all.

2015-06-24, 11:46:10
Reply #11

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Hmm how did you do this? When I am trying to save point cache file for object with animation where number of faces changes it says "point count changed while recording" or "cache file is not a valid file".

Tried enabling MB for the geometry with modifiers, got a freeze right now, will try to submit minidump.

I'm changing the smoothing using the Smooth modifier after the point cache, then I subdivide the mesh based on the resulting smoothing.

I don't know why this is such a problem for corona as the number of verts shouldn't be changing at all.
Confirmed. Motion blur will not work when using "smooth" modifier if the smoothing will change dynamically. It will work fine if set to 0 or 180 (a value where nothing changes during the animation). Attaching the file if someone wants to take a look. Not sure if fixable.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-06-24, 11:46:31
Reply #12

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
The problem is that the normals could still come out garbled. I will try to look to see if there is a way to fix this one, but general fix (for any change) is still far away.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)