Alembic ROP: Center samples around current frame

   4431   6   1
User Avatar
Member
64 posts
Joined: July 2005
Offline
Hello,
I'm exporting some FLIP meshes to Maya (render with 3Delight) but I'm wondering if is there a way to force the motion blur samples around current frame instead of zero in the Alembic ROP node. 3Delight uses the current frame as offset (e.g. frame 122, 2 samples and shutter 180 will be 121.5 122.5).

I can render frame 1, since it matches shutter times but the next one will fail :roll:

any hints?

thanks!
User Avatar
Member
8517 posts
Joined: July 2007
Online
there are Motion Blur settings at the bottom of Alembic ROP or ROP Alembic Output SOP
where you can specify number of samples as well as sampling range

however for fluid sim you'd probably need to use velocity motion blur as your FLIP mesh will most probably have different topology each frame so the renderer will not be able to interpolate the mb samples anyway
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
64 posts
Joined: July 2005
Offline
Thanks Tomas.. I got the samples and sampling range in order. I'm trying to center those samples around the current frame (as offset) when exporting the alembic file.

This is houdini's viewport. I export this one as abc:
houdini viewport [i.imgur.com]

And this is the alembic file in maya, rendering the first frame (where samples are the same since no offset applies):
rendered frame in Maya [i.imgur.com]

As soon as I move to the next frame in Maya, I get the “primitives inside motion block are incompatible” because samples are -0.5 0.5 in the abc file instead of 1.5 2.5 (frame + shutter times, which in my case are -0.5 0.5 from Houdini's alembic rop).

I hope it makes sense..

edit: changed the img tags to url..
User Avatar
Member
8517 posts
Joined: July 2007
Online
are you sure that “primitives inside motion block are incompatible” doesn't mean that the samples have different topology due to nature of meshed FLIP as mentioned above?
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
64 posts
Joined: July 2005
Offline
Yes, I'm sure
(I'm using Timeblend qL for that.. as seen here [forums.odforce.net]).
User Avatar
Member
8517 posts
Joined: July 2007
Online
I would not be so sure about that

since you have meshed FLIP, you can't simply timeblend them
you can do that with particles before meshing, but that would still most probably create different topology for each sample, which may be causing your error

I would really look into a posibility to use velocity attribute in your render engine for mb
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
64 posts
Joined: July 2005
Offline
Got it!
https://vimeo.com/125095401 [vimeo.com]

I had my set up right, just had to specify a smaller increment (0.5) in both the alembic rop and an intermediate file output (I forgot this one so I had no samples in there).
  • Quick Links