OpenVDB to Softimage

Plugins linking to this thread: (hide)

OpenVDB ICEAuthor: Oleg Bliznuk
This is a Softimage ICE integration of the OpenVDB suite, Dreamworks Animation's volumetrics toolset which has been built around a new data structure for efficient storage and manipulation of big volumes. See openvdb_dreamworks.pdf for slides of a OpenVDB feature presentation.

Oleg Bliznuk, author of Exocortex's Implosia FX and Explosia FX has created this ICE adapter. His fluid simulator »Explosia FX« (free as a noncommercial version) can be used to create VDB files. OpenVDB ICE covers the essential features of the OpenVDB suite:

Mental Ray/Arnold shaders included: VDBGridReaderScalar VDBGridReaderVec3 VDBGridReaderInt VDBVolumeShaderSimple VDBBlackbody

Compounds included: Voxelize Geometry Voxelize Particles Get VDB Grid Set VDB Grid File Grid IO Add Noise Fogvolume Filter LevelSet Boolean Operations LevelSet Morphology VolumeFog Boolean Operations Advection Get Value at Coordinate Set Value at Coordinate Grid To Mesh Mesh To Grid Get Grid Data Particles To Grid Grid IO Fill Box Grid Change Grid Class Noise Advect Level Set Morphological Filters Rebuild LevelSet Resample Grid Transform Platonic Create Grid CSG Deep Copy Grid Morpher Polygonize Grid Solidify Level Set Create Velocity Field Display Grid Info Platonic Sphere Resize Container to Active Volume Visualize Grid Slice Visualize Scalar Grid Visualize Scalar Grid Slice Visualize Vector Grid Visualize Vector Grid Slice

For feedback and questions, visit the si-community thread. There's also some info there on how to interoperate with emFluid. Here is a demo video by the author and another video from the thread, created by Rob Chapman using only OpenVDB ICE nodes and rendered using the included openVDB arnold shaders. Requirements: Microsoft Visual C++ 2012 Redistributable Package (x64)

local backup: OpenVDB_to_Softimage_v0.8.rar

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 07 Jun 2015, 10:31

hmm, should actually work.
maybe you pick the wrong channel?

klebedaja
Posts: 5
Joined: 25 Feb 2012, 12:36
Skype: klebedaja

Re: OpenVDB to Softimage

Post by klebedaja » 07 Jun 2015, 11:02

I don't think so.
If somebody can give it a shot here is sample vdb. It's far, far away from centre, just so you know...
This vdb contains only one container.
I can post vdb with multiple containers later.
Attachments
stinger_00.0025.rar
(20.62 KiB) Downloaded 213 times

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 02:02

Is it possible to use OpenVDB for Softimage to convert Realflow bin files to OpenVDB? also other particle files that Softimage can read?

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 22 Jun 2015, 10:00

you could read the points from the .bin with emFluid5 and save it out as .vdb.
or you try olegs .vdb plugin for saving out pointcloud as .vdb. that works for sure - but dont know, if that file will work with a new openVDB version.

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 15:44

Thanks. You mean the new version is the OpenVDB 3.0?

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 22 Jun 2015, 15:51

yes.
But I have some old vdb files here that work with new version of SitoA, guess it should run fine.
oleg has an example how to create an .vdb from pointcloud in the openvdb thread here.
if you get it to run, let me now :)

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 16:21

Ok, i will.

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 22 Jun 2015, 16:51

just tried it, works so far with sitoa!
thats the setup I mentioned.
http://www.si-community.com/community/download/file.php?id=3364&mode=view

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 17:09

Yes. But doesn't work with realflow point clouds, if i connect a basic emission from a null i get all nodes okay. I connect an RF point cloud i get all red.

This is the RF point cloud, maybe it misses some information

:
RFpointcloud.jpg

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 22 Jun 2015, 18:16

try adding the self.size attribute below the Set Particle Position node.

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 18:38

Yes, nothing red now. Will check if i can save as vdb's.


Edit:
It works, the VDB_BaseVolumeContainer partciles match those in Realflow ICE tree. To save as sequence i had to put in IO node frame the current time. To read i let it there too. Below the ICE tree.
Clipboard-2.jpg

Edit 2: For comparison the bin files are 570 mb, the VDB file is 100 mb

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 22 Jun 2015, 21:13

nice, thx for the update!

did you manage to render it?

i did try to render the .vdb file I got from the .bin and get a solid volume thats cubic. though its the particle size or somethin.
also it the rendertime in comparsion to other .vdb files is very slow. but that happens only with the converted .bin files, everythin else is rendering fast!

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 22 Jun 2015, 23:14

What render you are on? Arnold? i have yet to get the trial.

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 23 Jun 2015, 01:43

yes, Arnold.

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 09:44

Re: OpenVDB to Softimage

Post by Bullit » 23 Jun 2015, 21:30

Did you tried the dll shaders?

User avatar
sant0s
Posts: 353
Joined: 05 Sep 2011, 22:57
Location: São Pedro de Moel

Re: OpenVDB to Softimage

Post by sant0s » 23 Jun 2015, 21:35

actually it works with all other .vdb files.
just the one I exported from the .bin.
Ill try again. DLL? need to check that :)

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests