Hi Everyone.
We’ve got an animated Alembic mesh with changing topology and velocity applied (made in Houdini) for rendering with motion blur in Max+Vray.
Unfortunately when we load the object in a vrayproxy the mesh seems to distort, with the distortion being stronger or weaker depending on the velocity attribute value.
If i load the same alembic file from file-import in max, or if i export the mesh again from Houdini without velocity, there is no distortion, so i guess it’s the vrayproxy doing that?
I wonder if there is anything wrong i’m doing or if it’s a known issue.
p.s. Normal particles seem to work perfectly fine with no “distortion” on their position.
will do. I suppose it’s not a well known issue then.
I believe it’s a problem of how the mesh is exported from Houdini as if i tweak some alembic settings it actually works differently.
thanks
It could indeed be some sort of flavour-related issue (think for an analogy of the TIFF format and all its sub-formats, called flavours) in the way the ABC is saved out and read back in.
Houdini being Houdini, it could write anything anywhere making it appear as nigh anything else, so hey, i’m guessing that’s what may happen (say, velocity X somehow going into position Y for the mesh verts. Or some such.).
But yes, it doesn’t often happen.
At least in my experience, which is by no means exhaustive on the subject matter.
Would it happen the same if you saved V-Ray proxies out of houdini, instead of ABC files? (you may need to install VfH to do that. Maybe with a demo license,but i’m not sure.)
Does the ABC with velocities load fine back in Houdini, btw?
And does the same ABC imported in max work fine with motion blur too? Or does max discards the velocities entirely on import?
Thanks a lot for your help. We’ve done a few tests.
We have successfully exported a V-Ray proxy from Vray for Houdini which worked well with no distortions.
The Alembic with velocity works fine when loaded back in Houdini and renders as expected.
Max’s native Alembic import doesn’t support velocity for motion blur even though it’s visible in the import settings.
I guess we’ll stick to the vrayproxy solution then, but i’d still love to find one for the Alembic format.
Thank you for the time spent!
We’ll need tests of our own then, to see why that mesh was bonkered.
Would you be able to send one frame of it to me, or support (if to support, please mention this thread.)?
Also, excuse me for taking up your time like so, but how was the performance of the ABC versus the Proxy, both for export time, size on disk, and memory occupation?
I have done my tests, but i dread my own bias, hence me asking.
These are all tests that would help us too. I’ve forgot to mention, we are using 3dsMax 2020.1 and V-Ray Next 2.1 for now.
I didn’t have the chance to try on big files, so the size, time and memory used seem to be very similar with a slightly smaller size when using the proxy (50Mb Proxy instead of 55Mb ABC).
Another issue I’ve observed, which is no big deal as it’s only related to the interactive render, is that in 3dsMax you need to move the keyframe in order to see the vfb updating with the changes to your camera settings (in this case, the shutter speed value).
I will send the file soon, happy to send it directly to you. How do we do this?
In the meantime, have a happy new year!
You can upload the file where you please, and share a link with me, or i can provide you with a gdrive folder, an FTP address, whatever suits you best.
I have uploaded the alembic and the vrayproxy in there (tried to respond to your message with my email, but something didn’t work).
You can load them both in a vray proxy object in max and can see how one is ok while the other one gets distorted.
Eheh, you didn’t think they’d misbehave with me too, did you?
However, i think i may have you try something: scale.
They came in *very* small, and slightly off-origin.
Maybe that contributed to the problem?
p.s.: the left one is the ABC, and renders with moblur correctly, moving along the X axis.
Unfortunately Houdini works in generic units (everything is set to work based on that), and meters are the standard export measure. I have tried importing them in a Max meters scene, and also i tried exporting them 1000 times bigger and importing them in a mm scene, but the distortion is staying, so i don’t think that this is a size related issue.
What do you mean with “it’s rendering motion blur correctly on the x axis”? could you please show when the little cube is splashing on the ground? they should look like this (left is alembic, right is proxy)
edit: actually, by scaling up the mesh in Houdini and exporting with the same velocity attributes, i get less distortions, as the velocity effect is not relative to the object size and doesn’t scale up with it. But it doesn’t go away. It keeps distorting it even if less then before.
Duh, i was utterly convinced you exported me a single frame.
Ok, i see the distortion, but the two animations play at different speeds, and splash differently: they don’t look the same to me.
Anyhow, i see it’s Ogawa, will investigate further, and pass it on to the devs with some more details.
Edit: it’s not the flavour, HDF5 does the exact same, with minor differences. And ofc, Houdini opens it without apparent issue. I’ve contacted the relevant Dev.
Thanks so much for the help, Mirko!
yep i have exported the alembic with a motion blur option ticked by accident, but it doesn’t make a difference for the distortion.
Sounds good! Grazie Lele
Hi! it’s me again - different account.
How did this progress? I’m very curious as I’m working with v-ray 5.3 and i see this happening again.
Was this solved in a more recent v-ray version?