nat.harrold Posted November 1, 2013 Share Posted November 1, 2013 Hi, We have trouble recreating object motion blur. We need: 1. motion_blur 1 2. a physics body assigned to mesh. 3. material on the surface/s to have velocity state set as default. and... anything else? no result The way we have tried to use this is on a mesh (object we want blurred) as child of bone transform as child of smesh. Thanks for any suggestions or help.. Link to comment
frustum Posted November 4, 2013 Share Posted November 4, 2013 have you checked the motion_blur_01 sample? Link to comment
nat.harrold Posted November 4, 2013 Author Share Posted November 4, 2013 Thanks for your reply, Yes, I see it working in your build by other means. I bring my mesh (eg, a box with body rigid assigned), smesh(animated bone) and set the mesh as child of animated bone in smesh using bone tranform into this example and it does not work. I set the velocity state on the material to default. I am wondering what I am missing. Link to comment
ulf.schroeter Posted November 5, 2013 Share Posted November 5, 2013 Just to be sure: is auxiliary buffer rendering activated ? I think it has to Link to comment
unclebob Posted November 7, 2013 Share Posted November 7, 2013 Hi Nat! Could you make test scene so we can reproduce that? Link to comment
unclebob Posted November 7, 2013 Share Posted November 7, 2013 Ok, no scene required. Motion blur for skinned object is dx11 feature. Link to comment
nat.harrold Posted November 9, 2013 Author Share Posted November 9, 2013 Hi unclebob! You're back! We are using only dx11. It is not the .smesh we want blurred this time, though this would also be useful. It is the static mesh we want blurred(eg. A train that inherenit's motion from linking the .mesh to a bone in an .smesh. I will prepare a scene as soon as I can. Talk soon. N. 1 Link to comment
nat.harrold Posted November 11, 2013 Author Share Posted November 11, 2013 Hi, Here is a sample / test scene. Thoughts? Thanks, N. object_motion_blur.zip Link to comment
unclebob Posted November 12, 2013 Share Posted November 12, 2013 Ok, so the problem is that you have object moving but it's rigid body is not moving at all. All you need to do is to tell that body proper velocities (probably, by using BodyRigid.setVelocityTransform function). I'm working on test sample now. Link to comment
steve.brodie Posted January 9, 2014 Share Posted January 9, 2014 It would be good if object motion blur could work on non physics body ojects that are animated on splines and childs of bones. Link to comment
unclebob Posted May 10, 2014 Share Posted May 10, 2014 Hi there! It seems I've answered directly to you, Steve. So the idea remained the same — you just need to pass proper velocities to the rigidbody and that's it. Link to comment
Recommended Posts