Motion blur with deformers

Forums: Motion blur with deformers
Foundry Modo (Developed by stenson, Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Motion blur with deformers

Postby Deepwell » Wed Dec 20, 2023 5:43 pm

Deepwell Wed Dec 20, 2023 5:43 pm
Hi,

I tried to follow
viewtopic.php?f=34&t=73940
to make motion blur work with my deformer driven objects.

I have "Live Geometry Update" and "Reload Mesh Each Frame" activated on the item.

I have Camera Motion Blur and Object Motion Blur enabled in the Octane kernel's animation settings.

I have Use Modo shutter speed turned OFF and entered "50.0" into the shutter speed field.

I have "Use Modo Render Cache" enabled in the Octane kernel's settings.

I see motion blur on object that are animated using the transforms.

But non on the one animated using a deformer (General Influence)

I've attached an example scene.

Any ideas what I am doing wrong?

Modo: 16.1v8
Octane: 2023.1.1 (13000100)
OS: Windows 10.0.19045 Build 19045
Attachments
OctaneMotionBlurTest.zip
Motion Blur Test Scene
(13.2 KiB) Downloaded 32 times
Deepwell
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Fri Jan 15, 2021 4:07 pm

Re: Motion blur with deformers

Postby face_off » Thu Dec 21, 2023 11:29 am

face_off Thu Dec 21, 2023 11:29 am
Motion blur is not working in Standalone on an exported ORBX from this scene either, so something is amiss. I am away for the Christmas break, so will need to look at this next week.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15483
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Motion blur with deformers

Postby Deepwell » Thu Dec 21, 2023 12:48 pm

Deepwell Thu Dec 21, 2023 12:48 pm
Hey Paul,

thank you for looking into this!

Happy holidays!
J.
Deepwell
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Fri Jan 15, 2021 4:07 pm

Re: Motion blur with deformers

Postby funk » Thu Dec 21, 2023 7:15 pm

funk Thu Dec 21, 2023 7:15 pm
face_off wrote:Motion blur is not working in Standalone on an exported ORBX from this scene either, so something is amiss. I am away for the Christmas break, so will need to look at this next week.

Paul


Standalone 2023.1.1 is showing motion blur here. Here's a screenshot and the ORBX.
NOTE: I'm using modo 16.1v8 + the 2023.1.1.196 test build you posted on slack.

screenshot.png
Attachments
OctaneMotionBlurTest_export.orbx
(216.82 KiB) Downloaded 28 times
Last edited by funk on Thu Dec 21, 2023 7:33 pm, edited 1 time in total.
Win10 Pro/ Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: Motion blur with deformers

Postby funk » Thu Dec 21, 2023 7:30 pm

funk Thu Dec 21, 2023 7:30 pm
UPDATE: There is more to this. I restarted modo, loaded the scene and went straight to an export. This second ORBX is NOT showing motionblur (on the middle mesh) in standalone.

If I DISABLE "use modo render cache", then export, it works though. So I may have changed settings, or there is some random issue during export?
Win10 Pro/ Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: Motion blur with deformers

Postby funk » Thu Dec 21, 2023 7:51 pm

funk Thu Dec 21, 2023 7:51 pm
I also found a way to make it work in modo, although I'm not sure if it's correct

Add a modo motion vector render output (add layer > render outputs > basic > motion vector) and restart the render.
This seems to help the render cache produce correct motion vectors (?)
It also exports the ORBX correctly (motion blur works), even though the render cache is enabled.

screenshot2.png


EDIT: It also works without adding the modo motion vector, if you enable modo camera > camera effect > motion blur "enable"
So modo's render cache either needs a modo motion vector render output, OR motion blur enabled on the modo camera, so it can produce the required motion vectors

So it's best to enable kernel > animation > use modo shutter speed, then control motion blur on the modo camera.
Win10 Pro/ Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Re: Motion blur with deformers

Postby Deepwell » Fri Dec 22, 2023 9:24 am

Deepwell Fri Dec 22, 2023 9:24 am
Hey funk,
awesome - that works!!

Simply adding the Motion Vector Output in Modo's shader tree does the trick.
I would never have guessed that - especially because adding a motion vector output to Octane totally kills motion blur! Although it also makes sense somehow - it's the only way Octane can obtain the necessary velocity information...

"Use Modo Render Cache" of course must be on for that.

"Object Motion Blur" does not have to be on in the Octane kernel's animation settings - I guess that's because the velocity vectors already come calculated from Modo's render cache.

If I turn off "Use Modo Shutter Speed" and set the shutter speed in the Octane's settings I do not need to have Motion Blur enabled in the Modo camera.


I am really glad there is a solution for doing this inside Modo! The standalone version would not be an option for me - I just spent quite some time writing a script to have some batch rendering going in Modo with Octane and having to export every scene, import it into the standalone and render there....no.

Many thx!!!
J.
Deepwell
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Fri Jan 15, 2021 4:07 pm

Re: Motion blur with deformers

Postby Deepwell » Fri Dec 22, 2023 10:15 am

Deepwell Fri Dec 22, 2023 10:15 am
...
Now I'm off to my next challenge - motion blur with replicators... :mrgreen:
viewtopic.php?f=34&t=82829
Deepwell
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Fri Jan 15, 2021 4:07 pm

Return to Foundry Modo


Who is online

Users browsing this forum: No registered users and 37 guests

Sat Apr 27, 2024 8:27 am [ UTC ]