OpenVDB: Houdini to Blender export

   10048   4   1
User Avatar
Member
13 posts
Joined: Aug. 2014
Offline
Hello,

Blender 2.77 has OpenVDB caching for smoke and fire. Reading Blenders VDB works straightforwardly in houdini and displays nicely in Viewport. Other way around though will result in Blender crashing.

By comparing Spreadsheets and node information, the difference in data storing becomes evident. I figure a good place to start is to try to replicate variables that Blender uses.

First problem that I face is velocity being split into 3 components (vel.x , vel.y, vel.z ) and stored as floats while in Blender you have a velocity “group” stored as vec3. Is it possible to convert these 3 groups(vel.*) into 1(velocity, vec3)? e.g in ConvertVDB node would be nice to have Group: @name=density @name=heat @name=`velocity=vector(vel.x,vel.y,vel.z)` if that makes any sense.

All in all this forum is filled with bright minds. If anyone is up to the challenge, they can grab 2.77 Blender build and see if they can figure it out.

Any information, help is highly appreciated.

Attachments:
blh.jpg (204.4 KB)
blh3.jpg (174.1 KB)

User Avatar
Member
1743 posts
Joined: May 2006
Offline
Try a vdb vector merge, that'll collapse any split x/y/z scalar field into a vector.
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
637 posts
Joined: June 2006
Offline
how does realflow export the velocity values?

it would make sense that software that can create vdb's use the same naming and file type for reducing interportability conflicts!

the openvdb team should defines some base naming(example vel, density, heat, fuel…… ) and filetype(float,int, vec) to each name definition.
User Avatar
Member
62 posts
Joined: March 2014
Offline
Any news on this?
I've gotten in touch with a few guys allot smarter than me, and we are all working on a solution for getting stuff from houdini into blender.
Its based on this :
https://www.youtube.com/watch?v=XogV-b9LATc [youtube.com]
We are focusing on geometry at the moment, and we do have a working python exporter. It's just a bit slow at the moment.
One of the guys is rebuilding it in vex, so we are hoping it will be fast enough to be usable.
We would like to move on to vdb if we have success with the vex code.
If you guys know how to define vdb in houdini, so that blender understand it, maybe we can all have a happy exporter soon
G
User Avatar
Member
7 posts
Joined: Feb. 2016
Offline
I know this is very old post,but if actual:
U just must delete Blender's custom field for viewport preview “Shadow”.
Edited by Ivan Malishev - July 31, 2019 11:47:10

Attachments:
fsnOkNiCBWc.jpg (256.7 KB)

  • Quick Links