OpenVDB to Softimage
Plugins linking to this thread: (hide)
OpenVDB ICE
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
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
Re: OpenVDB to Softimage
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.
Edit 2: For comparison the bin files are 570 mb, the VDB file is 100 mb
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.
Edit 2: For comparison the bin files are 570 mb, the VDB file is 100 mb
Re: OpenVDB to Softimage
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!
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!
Re: OpenVDB to Softimage
What render you are on? Arnold? i have yet to get the trial.
Re: OpenVDB to Softimage
yes, Arnold.
Re: OpenVDB to Softimage
Did you tried the dll shaders?
Re: OpenVDB to Softimage
actually it works with all other .vdb files.
just the one I exported from the .bin.
Ill try again. DLL? need to check that
just the one I exported from the .bin.
Ill try again. DLL? need to check that
Re: OpenVDB to Softimage
So doesn't work with bin converted to VDB but work okay with all others? Maybe because it has to pass trough the OpenVDB Softimage voxelize?
https://support.solidangle.com/display/ ... so+shaders
https://support.solidangle.com/display/ ... so+shaders
Re: OpenVDB to Softimage
will try that, thx.
but would make me wonder since SitoA has a volume shader/property for some time now:
https://support.solidangle.com/display/SItoAUG/Volume
but ill try!
but would make me wonder since SitoA has a volume shader/property for some time now:
https://support.solidangle.com/display/SItoAUG/Volume
but ill try!
Re: OpenVDB to Softimage
Did anyone try to build Oleg's openvdb_to_SI on linux yet?
I'm making good progress, but my c++ knowledge is very limited at best and I have to modify some stuff that seems to work when compiling on windows, but my gcc is throwing errors.
Here is the error I am getting now: http://pastebin.com/ptfYEV2D
I had a similar error with GetFileContentInfo.cpp and changing LLONG to long int seemed to fix it, but with the current problem I'm pretty lost...
Any ideas?
Newcomer (<20 posts) alert: please use the URL tags - HB
I'm making good progress, but my c++ knowledge is very limited at best and I have to modify some stuff that seems to work when compiling on windows, but my gcc is throwing errors.
Here is the error I am getting now: http://pastebin.com/ptfYEV2D
I had a similar error with GetFileContentInfo.cpp and changing LLONG to long int seemed to fix it, but with the current problem I'm pretty lost...
Any ideas?
Newcomer (<20 posts) alert: please use the URL tags - HB
Re: OpenVDB to Softimage
i have ported the plugin to linux(rh6/centos6), you can grab it here https://bitbucket.org/OlegBliznuk/openv ... /downloads
note that win version is updated too , compiled with visual studio 2015 to fix possible errors with win10 (if any, although i did no extensive testing on those builds )
the source is updated too, you can now simply install qtcreator and compile the plug in one click (since i copy pasted all required externals into the project)
note that win version is updated too , compiled with visual studio 2015 to fix possible errors with win10 (if any, although i did no extensive testing on those builds )
the source is updated too, you can now simply install qtcreator and compile the plug in one click (since i copy pasted all required externals into the project)
Re: OpenVDB to Softimage
AWESOME! Thanks a ton Oleg!!
The workgroup works perfectly on my system.
The workgroup works perfectly on my system.
Re: OpenVDB to Softimage
hey
is there a way, to get color and density grids in one vdb file? its for that project here: http://www.si-community.com/community/viewtopic.php?f=10&t=6202
I have a simple pointcloud with color information and tried that way: https://xsisupport.files.wordpress.com/ ... envdb1.jpg
But there I get two files of course. That would not be a problem, but there is no way to read a second file with sitoa like in the example. The node does not work with actual SitoA.
Also the way how to write velocity into the grid would be nice.
thx alot!
is there a way, to get color and density grids in one vdb file? its for that project here: http://www.si-community.com/community/viewtopic.php?f=10&t=6202
I have a simple pointcloud with color information and tried that way: https://xsisupport.files.wordpress.com/ ... envdb1.jpg
But there I get two files of course. That would not be a problem, but there is no way to read a second file with sitoa like in the example. The node does not work with actual SitoA.
Also the way how to write velocity into the grid would be nice.
thx alot!
Re: OpenVDB to Softimage
unfortunately there is no way to store multiple grids in one file, in this connector
Re: OpenVDB to Softimage
hey oleg
thx!
anyway - I gonna test your ExplosiaFX again, I think its even more easy to receive a stunning effect with that plugin and have the possibility to store more channels.
so, last test with the ICE only and the VDB Plugin, next will be with ExplosiaFX
thx!
anyway - I gonna test your ExplosiaFX again, I think its even more easy to receive a stunning effect with that plugin and have the possibility to store more channels.
so, last test with the ICE only and the VDB Plugin, next will be with ExplosiaFX
Re: OpenVDB to Softimage
Thanks for update on Win version Oleg.
Who is online
Users browsing this forum: No registered users and 80 guests