Page 1 of 2

VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:04 pm
by Yambo
Hi Ahmet,

I have a VDB smoke simulation generated in Houdini and I'm trying to load it inside Cinema4D and render it with Octane
I got a VDB sequence + alembic files for the geometry interaction. All the Alembic files and camera are loaded properly inside Cinema4D, but i have some issues with the VDB Volume world space:
When loading the VDB sequence to Octane VDB volume, it does not seem to be in the right world space, it got some weird offset from the original position (inside the bowl). If I'm trying to load everything inside Houdini it all fits and in the right place.

All the files are available so you can test it yourself:
• The VDB sequences (there are 3 sequences there, just use one of them): https://www.dropbox.com/sh/nhykvz05ton5 ... yR7Ga?dl=0
• All the Alembic files you'll need (Camera & building3_sliced): https://www.dropbox.com/sh/5stayyiq7ujm ... lkiHa?dl=0
• C4D file so you can test it yourself (you can also just load the alembics and the VDB sequence yourself): https://www.dropbox.com/s/95phe5ho062xv ... 1.c4d?dl=0

* I recorded a video to show you the difference in the VDB world space in both programs (compare_01.mp4) . there is definitely something wrong with the way the VDB volume loading the sequence in C4D.
* The smoke_video.mp4 attached is just to show you how it supposed to be rendered, This one rendered with Houdini for Octane
* "Smoke_01 & 02.png" are here to show you that the VDB is at 0,0,0 and still got some offset in the renderer.

Hopefully, you'll be able to help me here,
Thanks!
Yam

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:20 pm
by aoktar
Hi Yambo,
i don't apply any extra transform here. See picture. Voxels appears in green box. It's where that's detected by octane. I can't see anything to be fixed in plugin side. You might be doing something wrong on export.

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:41 pm
by Yambo
In the End of the day Octane for Houdini render this simulation properly (loaded from the same VDB sequence)
And the VDB volume node from the C4D plugin just doesn't load it to the right world space, so i guess it must be something with plugin side.

Can you think of anything else that causing it? There isn't many export option for VDB, i also tried all of them.

Juan? maybe you have something to add here?

Thanks for the help.

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:45 pm
by Yambo
Take a look at the bounding box in Houdini comparing to C4D at frame 0.

It's not identical.

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:48 pm
by juanjgon
Are you adding some kind of transformation to the volume object at SOP level in Houdini? The volume transformations at SOP level are included as VDB local transformations (the volume data is not physically transformed), and this is a feature not supported by all the renderers or plugins.

-Juanjo

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:50 pm
by aoktar
I showed all data to you from plugin side. That's what i do. Calculating a bounding box is not up to plugins. Also your voxels in Houdini are not seems at origin point.
Do you want to send a houdini scene? It's best way to check deeper.

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:53 pm
by Yambo
YES!

It was flipped on the Z-Axis.

SOLVED.

Thanks!!!

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:56 pm
by aoktar
Perfect!

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:56 pm
by aoktar
juanjgon wrote:Are you adding some kind of transformation to the volume object at SOP level in Houdini? The volume transformations at SOP level are included as VDB local transformations (the volume data is not physically transformed), and this is a feature not supported by all the renderers or plugins.

-Juanjo
Thanks Juanjo!

Re: VDB Volume world space is not identical to Houdini

Posted: Tue Oct 04, 2016 2:58 pm
by juanjgon
Great! Yes, in Houdini the volume transformations at SOP level are a nightmare. Some nested transformation cases are not even supported by the Houdini plugin, so it is better avoid them, and use only transformations at OBJ level, if needed.

-Juanjo