Hiya!
I'm struggling to get per object motion blur to work in Karma. I've made a sample hip attached.
I've got two static spheres in a scene, the camera orbiting quickly around them, one of them I want blurred, the other I do not.
I've got two Render Geometry Settings nodes with the following settings:
- Enable Motion Blur enabled, Samples from Stage disabled, Tranform samples = 2 (enough to get blur)
- Enable Motion Blur disabled, Samples from Stage disabled, Tranform samples = 1 (i.e., do not blur)
In Karma I have Per Object motion on by default, and motion samples from stage enabled (thinking it will pick up the settings from my nodes above.
Alas both objects are blurred instead of just one!
Help greatly appreciated!
Cheers,
Jayson
Per Object Motion Blur using Render Geometry Settings
584 3 2-
- fizzypopvfx
- Member
- 7 posts
- Joined: April 2022
- Offline
-
- robp_sidefx
- Staff
- 491 posts
- Joined: June 2020
- Offline
I don't think there's an easy way to accomplish what you're describing, short of rendering two passes: one with motion blur, one without motion blur.
The Render Geometry Settings controls how the renderer will handle possible motion data specified on the *geometry*, but in your case the geometry (i.e., the spheres) are static, so there's no effect of enabling/disabling things here.
Effectively what you're asking for is to have the camera moving (between shutter open&close) when generating rays that intersect with one object, but not moving when generating rays that intersect with another object. But there's a bit of a chicken-and-egg situation here which needs you to know for which pixels you should be generating which rays, and to know that you'd need to render both ways, which brings me back to the starting solution of "render this in two passes".
The Render Geometry Settings controls how the renderer will handle possible motion data specified on the *geometry*, but in your case the geometry (i.e., the spheres) are static, so there's no effect of enabling/disabling things here.
Effectively what you're asking for is to have the camera moving (between shutter open&close) when generating rays that intersect with one object, but not moving when generating rays that intersect with another object. But there's a bit of a chicken-and-egg situation here which needs you to know for which pixels you should be generating which rays, and to know that you'd need to render both ways, which brings me back to the starting solution of "render this in two passes".
-
- fizzypopvfx
- Member
- 7 posts
- Joined: April 2022
- Offline
Gotcha! Thanks Rob, that makes a lot of sense.
It's been suggested on the academy discord that I extract the camera velocity and subtract it from my object's velocity to counteract the motion. I've seen Steven Knipping do something similar with parenting in obj context so I'll give those ideas a go and report back to help anyone else finding this thread![](/static/djangobb_forum/img/smilies/smile.png)
Back soon, cheers!
It's been suggested on the academy discord that I extract the camera velocity and subtract it from my object's velocity to counteract the motion. I've seen Steven Knipping do something similar with parenting in obj context so I'll give those ideas a go and report back to help anyone else finding this thread
![](/static/djangobb_forum/img/smilies/smile.png)
Back soon, cheers!
Edited by fizzypopvfx - July 27, 2024 04:41:19
-
- robp_sidefx
- Staff
- 491 posts
- Joined: June 2020
- Offline
-
- Quick Links