• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing VDB is offset.
#1
Hello....
I'm writing out VDB files from Fume but when I import the VDB back into Maya the VDB is moved to the origin. I have to move the vdb by hand back to its original position it was simmed at. So what I was doing was copying the translate from the original Fume sim onto the VDB. However it still doesnt seem to be in the right place. There is still an offset. Presumably because the bounding boxes are being calculated differently.

How can I work out what the correct offset is?

Thanks.
  Reply
#2
here is a screenshot of what I mean....

[Image: fume_vdb.jpg]picture upload
  Reply
#3
In fact I saw someone had a similar issue with the max version, which was fixed in version 4.0.3, But the Maya version is still version 4.0.1?
  Reply
#4
Hello,

Yes, the FumeFX' VDB grid should be placed manually where you want it to be.
If you want it to be at the same place, just copy the Transform Attributes.

Regards,
Kresimir Tkalcec
  Reply
#5
Yes, that was what I was doing... Big Grin

The problem I'm having is that the bounding of the vdb is different to the fumefx grid, applying the transform to the vdb gives me the approximate location, but is still offset, because of the different bounding box sizes. I need to work out what that extra offset would be.
Here's what I mean. Is there any formula for working this out? Also the bounding box is going to change size over time.

Both are translated 663.558 units in Z
[Image: fume_vdb2.jpg]
  Reply
#6
I think I found the solution to this...
The VDB import puts the pivot at the corner of the bounding box. FumeFX puts it's pivot in the middle at the base. I needed to offset the position of the VDB by half of the FumeFX size, added to any global offset. So if my origioal fume sim is offset in space by say 100 units in XYZ, I offset the VDB by the same and Subtract half the size of the original Fume grid in X and Z ONLY. So in my case my grid is 50x50x50 in size, so I do the global offset to the VDB then subtract 25 in X and Z. The Y aspect is correct so you don't need to compensate.
Hope that helps somebody!
  Reply
#7
Hello,

Thank you for the update.
I'm sure it will be helpful !

Regards,
Kresimir Tkalcec
  Reply
#8
I'm sorry for such a basic question, but google wasn't much help and there is nothing in Fume documentation:

How do you write out Fumefx simulation as .VDB?
  Reply
#9
Hello,

You can select the file type from the FumeFX' file save dialog - similar to other file dialogs in Maya.

Regards,
Kresimir Tkalcec
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)