Author Topic: support Motion blur for change topology objects like fluid  (Read 15898 times)

2016-06-21, 09:51:58

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
as i found corona is not supporting motion blur for objects that change topology like fluid objects , its really needed , hope corona team add this in next release.

tnx

2016-06-21, 11:15:11
Reply #1

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
long time ago I remember that this is an already planned feature.
but I still vote for this :D +1!

2016-06-21, 16:06:44
Reply #2

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
i think it will be solve if corona read 'v' attribute for velocity and use it for motion blur .

2016-06-23, 09:35:28
Reply #3

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
I think this is already in, a few weeks ago I was rendering fluid meshes generated using PhoenixFD in Corona and MB worked great.

edit:  See this horribly failed simulation setup, notice the small droplets having correct MB:  https://www.dropbox.com/s/fvkzr4na4ub6xsd/topo_mb_example.mp4?dl=1

2016-06-23, 14:34:53
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Just to clear this as there seems to be some confusion over this topic:
1. Motion blur WILL WORK fine on deforming objects (e.g. you take a sphere an add an animated noise modifier to it - the number of vertices/faces remains the same through all the frames)
2. Motion blur WILL NOT WORK on objects where topology is changing (e.g. you take a sphere and animate it so that the number of vertices/faces changes during the animation; like metaballs)

JCdeBlok - that video, how is it made? Is it rendered with Corona? This probably shouldn't work. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-06-23, 14:42:20
Reply #5

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
Just to clear this as there seems to be some confusion over this topic:
1. Motion blur WILL WORK fine on deforming objects (e.g. you take a sphere an add an animated noise modifier to it - the number of vertices/faces remains the same through all the frames)
2. Motion blur WILL NOT WORK on objects where topology is changing (e.g. you take a sphere and animate it so that the number of vertices/faces changes during the animation; like metaballs)

JCdeBlok - that video, how is it made? Is it rendered with Corona? This probably shouldn't work. :)

I remember rendering Water splashes with changing topology in Brazil which also wasn't supported but for some reason it worked, although results were inconsistent and would change slightly when re-rendering. Maybe there's enough information from animation subframes for the motion blur to work with short shutter speeds but fails for anything exceeding a certain value.

2016-06-24, 11:54:11
Reply #6

Christa Noel

  • Active Users
  • **
  • Posts: 911
  • God bless us everyone
    • View Profile
    • dionch.studio
2. Motion blur WILL NOT WORK on objects where topology is changing (e.g. you take a sphere and animate it so that the number of vertices/faces changes during the animation; like metaballs)
I remember rendering Water splashes with changing topology in Brazil which also wasn't supported but for some reason it worked, although results were inconsistent and would change slightly when re-rendering.

this thread getting more interesting, where here I still cannot use MB with water simulation but never try another changedtopology objects.
look at those small droplets , how did you do that JCdeBlok?

2016-06-29, 11:04:37
Reply #7

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
Just to clear this as there seems to be some confusion over this topic:
1. Motion blur WILL WORK fine on deforming objects (e.g. you take a sphere an add an animated noise modifier to it - the number of vertices/faces remains the same through all the frames)
2. Motion blur WILL NOT WORK on objects where topology is changing (e.g. you take a sphere and animate it so that the number of vertices/faces changes during the animation; like metaballs)

JCdeBlok - that video, how is it made? Is it rendered with Corona? This probably shouldn't work. :)

Well.. :) I used PhoenixFD to generate the fluid sim and set it to 'mesh' output.. which I guess stores the velocity in a data channel. Then simply rendered in Corona with MB enabled.. it just worked!

2016-06-29, 16:14:50
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
That's interesting. I wonder what Ondra would say about it. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-06-29, 19:41:05
Reply #9

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
yes i think its possible, for me it works in a scene with crowd , which have lot of changes in topology by born/kill agents during the time , and then i cached all of them into xMesh file , and got a nice motion blur and never got a error like this in corona until now its not working with my mesh which is exported from houdini via alembic.

2016-06-29, 19:42:52
Reply #10

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
Ondra , could you tell us what is velocity attribute in corona ? is this v ?

2016-06-30, 10:43:47
Reply #11

Ondra

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

2016-06-30, 15:29:31
Reply #12

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
I don't understand the new question either.
The original one was: why does motion blur sometimes work with changing topology, for example with fluid simulations?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-07-01, 09:13:47
Reply #13

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
because the topology does not actually change in the shutter open time span ;) There are only countably many discrete topology changes in each simulation, it is possible to miss them - then everything will work
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-07-01, 10:39:44
Reply #14

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
I dont understand the question...
for example in Arnold render there is an option to use custom velocity call "Motion Vector Source" :


i think for this type of objects its better to use their own velocity which is stored in simulations instead of calculating that with render engines , i try to create v velocity for my mesh and it works with other render engines like vray . so want to know is there any way to doing something similar like this with corona ?

2016-07-01, 10:43:40
Reply #15

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
better question is, is it possible in 3dsmax? Does any other renderer support it? because AFAIK 3dsmax does not allow storing arbitrary data in meshes... :/
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2016-07-01, 16:46:00
Reply #16

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
i thought its possible with alembic files

2016-07-03, 08:30:25
Reply #17

JCdeBlok

  • Active Users
  • **
  • Posts: 85
  • Jonathan de Blok
    • View Profile
better question is, is it possible in 3dsmax? Does any other renderer support it? because AFAIK 3dsmax does not allow storing arbitrary data in meshes... :/

Have a look at this, it allows for per-vertex extra data: http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=files/GUID-102D2769-720E-4F73-9973-13AE18A65E90.htm,topicNumber=d30e361174

2016-07-03, 17:18:27
Reply #18

Rotem

  • Active Users
  • **
  • Posts: 64
    • View Profile
Supported in VRay as far as I can remember, if the mesh contains velocity data. I'm not sure where it's looking for that data since 3dsmax doesn't define any data storage convention for vertex velocity information, but I remember it working with stuff like Realflow meshes, PRT files meshed with Frost, Alembic, etc.

2016-07-05, 12:44:05
Reply #19

Siahpoosh

  • Active Users
  • **
  • Posts: 141
    • View Profile
    • Siahpoosh.Net
in vRay there is a solution to render alembic with correct velocity for fluid objects with vRayProxy , it can import Alembic directly inside that and then it will load velocity for rendering motionblur.
maybe we can have something similar like that in corona ?

2017-03-21, 14:10:55
Reply #20

Ondra

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

2022-07-18, 10:13:09
Reply #21

aneta

  • Users
  • *
  • Posts: 4
    • View Profile
Hello,

I was wondering if this has ever been resolved?
Is there any way to create motion blur from flip simulations without converting to vray?
I tried assigning velocity attributes to vertices before exporting to abc but without any luck..

2022-08-22, 22:59:17
Reply #22

tradstown

  • Active Users
  • **
  • Posts: 117
    • View Profile
I'm interesting in this too. Corona team, can we get some feedback about this please?