Motion vector AOV in Karma

   7855   14   5
User Avatar
Member
7 posts
Joined: Feb. 2016
Offline
Is it possible to do in karma. Does anyone still use it?
User Avatar
Member
88 posts
Joined: Feb. 2021
Offline


This seems to do the thing.
Edited by TangheStudent - March 25, 2022 19:38:41

Attachments:
houdini_Rh5eGENm98.png (10.5 KB)

User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
TangheStudent
Image Not Found


This seems to do the thing.

Hi,
I tested ,but it has not effect because there is no velocities primvar if animating by transform lop.
User Avatar
Member
88 posts
Joined: Feb. 2021
Offline
what you need to do then is add the v atribute with a trail sop and rename it to velocities.
It could be that you need to promote the attribute to a primitive aswel wich might paint ver primitive instead of point.
But i haven`t tested out if it works with points.
User Avatar
Member
122 posts
Joined: Sept. 2018
Offline
Just to note this. As far as I can see, the velocities described in this thread are only taking into account the velocity on the geometry not the geometry relative to the camera.
But I also can’t give any explanation on how to create a proper motion vector AOV like in mantra.
Edited by No_ha - May 29, 2022 02:42:35
User Avatar
Member
76 posts
Joined: Aug. 2019
Offline
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
arx_anima
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity

Hi,
I tried ray:motionvector and ray:velocity, but can't get the result.
Could you give any tip?

Thanks!

Attachments:
mvector.png (169.4 KB)

User Avatar
Staff
2590 posts
Joined: July 2005
Offline
I think you'll find that this will have a much improved workflow in the next major version of Houdini.
User Avatar
Member
2 posts
Joined: Jan. 2019
Offline
What's the difference between motion vector and velocity. Is it with respect to camera? I'm getting data rendered in motionvector but not in velocity
arx_anima
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity
User Avatar
Member
7741 posts
Joined: Sept. 2011
Offline
agastyafx
What's the difference between motion vector and velocity. Is it with respect to camera? I'm getting data rendered in motionvector but not in velocity
arx_anima
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity

motionvector is a screenspace vector, useful for post processing applications of motion blur. I'm not sure what ray:velocity is, but it's probably in world space.
User Avatar
Member
75 posts
Joined: Dec. 2017
Offline
jerry7
arx_anima
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity

Hi,
I tried ray:motionvector and ray:velocity, but can't get the result.
Could you give any tip?

Thanks!





It's seems to be a Houdini19.5 things.

Attachments:
motion_V.jpg (32.7 KB)

User Avatar
Member
1 posts
Joined: Feb. 2023
Offline
it doesnt work in xpu
User Avatar
Member
44 posts
Joined: March 2023
Offline
you can do a pass with cpu where you don't render anything except the aov.
User Avatar
Member
14 posts
Joined: May 2021
Offline
arx_anima
the karma node or the karma standart rendervars node has motion vectors and velocity aov as default to check.
We used them already in production and they work fine, they do not use primvars but a ray level check
ray:motionvector
ray:velocity

Hey there,
I tried checking both the motionvector and velocity in the karma render node, however I still get a blank output. Am I missing something?

Thanks!

Attachments:
rendervars.png (34.6 KB)
noop.png (49.6 KB)

Pranesh Arry
3D Generalist at North Studio
User Avatar
Member
3 posts
Joined: July 2021
Offline
For motion vector to appear in renders do not forget to setup "Motion Blur" in Karma Render Properties [www.sidefx.com] and cache [www.sidefx.com] your animation.
Edited by 0x384c0 - June 21, 2023 08:46:15
  • Quick Links