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
hey
have a strange problem.
when i render the vdb cloud with the region tool or do a ../Render/Preview, I get the result I need.
But when I render the current pass or current frame, I get a totaly different result like shown on the images.
any idea, what that could be?
its rendered with arnold and the region tool is set to "use current pass options".
thx alot,
sant0s
have a strange problem.
when i render the vdb cloud with the region tool or do a ../Render/Preview, I get the result I need.
But when I render the current pass or current frame, I get a totaly different result like shown on the images.
any idea, what that could be?
its rendered with arnold and the region tool is set to "use current pass options".
thx alot,
sant0s
Re: OpenVDB to Softimage
hmm, got it ^^
in pass options under output format i had RGB instead of RGBA. kleines dummerchen
in pass options under output format i had RGB instead of RGBA. kleines dummerchen
Re: OpenVDB to Softimage
I just installed your OpenVDB stuff but have run in to a snag - I get this error when doing a renderregion on your cloud demo scene:
' WARNING : [arnold] node "VDBVolumeShaderSimple_ai" is not installed
' ERROR : [sitoa]: Unable to load VDBVolumeShaderSimple_ai from the Arnold plugins (first occurrence: Sources.Materials.DefaultLib.Scene_Material.VDBVolumeShaderSimple_ai)
Upon Inspecting the Plugin Manager I can see that VDB_shaderDefs_ai.pys has a red triangle and checking its properties it says 262$This script plug-in contains erors and could not be loaded: <path: "path to workgroup installation"
I do have vcredist_x64 installed. Could this be caused by the annoying tbb.dll conflict with Arnold?
Cheers
Morten
' WARNING : [arnold] node "VDBVolumeShaderSimple_ai" is not installed
' ERROR : [sitoa]: Unable to load VDBVolumeShaderSimple_ai from the Arnold plugins (first occurrence: Sources.Materials.DefaultLib.Scene_Material.VDBVolumeShaderSimple_ai)
Upon Inspecting the Plugin Manager I can see that VDB_shaderDefs_ai.pys has a red triangle and checking its properties it says 262$This script plug-in contains erors and could not be loaded: <path: "path to workgroup installation"
I do have vcredist_x64 installed. Could this be caused by the annoying tbb.dll conflict with Arnold?
Cheers
Morten
Re: OpenVDB to Softimage
hey morten,
correct sitoa version? I think, it may be caused if version is over sitoa 3.0.0.
correct sitoa version? I think, it may be caused if version is over sitoa 3.0.0.
- xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 11:02
- Location: Montreal Canada
- Contact:
Re: OpenVDB to Softimage
I answered this on the SItoA mailing list...just search the list for OriginPath.
That third-party plugin is a bit old now and so it is doing a few things wrong:
- There is no SItoA plugin called "Arnold Shaders"
- SItoA doesn't ship tbb42.dll
In Application\Plugins\bin\nt-x86-64\VDB_shaderDefs_ai.pys, add this line:
import sipyutils
and then replace this line
dllPath_release = Application.Plugins("Arnold Shaders").OriginPath + "bin\\nt-x86-64\\tbb42.dll";
with
dllPath_release = __sipath__ + "//tbb42.dll";
Re: OpenVDB to Softimage
I am on SiToA 2.8.0 Softimage 2013 SP1 - I have part of the problem solved by changing the _ai.pys file as per Stephens advice, but still get this error when trying to renderregion the cloud example scene:
# WARNING : [arnold] node "VDBVolumeShaderSimple_ai" is not installed # ERROR : [sitoa]: Unable to load VDBVolumeShaderSimple_ai from the Arnold plugins (first occurrence: Sources.Materials.DefaultLib.Scene_Material.VDBVolumeShaderSimple_ai)
Stephen kindly investigated this one further and found that the OpenVDB shader was compiled against a later version of Arnold than what I have :/
Bummer...
# WARNING : [arnold] node "VDBVolumeShaderSimple_ai" is not installed # ERROR : [sitoa]: Unable to load VDBVolumeShaderSimple_ai from the Arnold plugins (first occurrence: Sources.Materials.DefaultLib.Scene_Material.VDBVolumeShaderSimple_ai)
Stephen kindly investigated this one further and found that the OpenVDB shader was compiled against a later version of Arnold than what I have :/
Bummer...
Re: OpenVDB to Softimage
apologies for bumping this Oleg, at work is linux not windows. is there anything needed extra to compile this for linux or can we just compile the latest vdb source from here and use your ICE vdb compounds still? or even some of Mr Carons github files from here but these are quite old.
There are some clever coding guys who can compile for me at work but they are Maya but they sometimes throw this salty old softimage dog some compiled bones once in a while
There are some clever coding guys who can compile for me at work but they are Maya but they sometimes throw this salty old softimage dog some compiled bones once in a while
Gossip is what no one claims to like, but everybody enjoys.
Re: OpenVDB to Softimage
I just use your bump to ask, if there is a version that works on SI 2014 SP2 and above?
Re: OpenVDB to Softimage
@Tekano
i have shared sources of my integrator along with compounds, compile it against vdb 2.1.0
https://bitbucket.org/OlegBliznuk/openvdb_to_softimage/src
however the code is pretty old and has a tons of bad programming style things, forgive me that - i didnt have time to finish it .
I have removed shaders because solid angle now have a proper openvdb one for mtoa and htoa with levelset render, motion blur support etc - if I am not mistaken we can use any arnold plugins now thanks to autogeneration of shaderdef files
@sant0s
does the current version works in 2014 ? Should not be any troubles because the icenodes api is not changed in 2014
i have shared sources of my integrator along with compounds, compile it against vdb 2.1.0
https://bitbucket.org/OlegBliznuk/openvdb_to_softimage/src
however the code is pretty old and has a tons of bad programming style things, forgive me that - i didnt have time to finish it .
I have removed shaders because solid angle now have a proper openvdb one for mtoa and htoa with levelset render, motion blur support etc - if I am not mistaken we can use any arnold plugins now thanks to autogeneration of shaderdef files
@sant0s
does the current version works in 2014 ? Should not be any troubles because the icenodes api is not changed in 2014
Re: OpenVDB to Softimage
Oleg... a true gentleman!
many thanks
many thanks
Gossip is what no one claims to like, but everybody enjoys.
Re: OpenVDB to Softimage
Thank you so much for this amazing addition! I don't know where I would be today without the insane generosity of the XSI community. I am constantly overwhelmed!
I spent the holiday weekend getting my FumeFX simulation from Maya into XSI. I finally got everything to work correctly. But, I am getting an error when pulling the shaders into the Render Tree. Everything seems to work fine. But I wanted to see what might be causing the error and make sure it is not something to be worried about.
SI 2015 x64
SITOA 3.2.0
// ERROR : Traceback (most recent call last):
// File "<Script Block 2>", line 546, in VDB_shaderDefs_ai_VDBBlackbody_ai_1_0_Define
// rendererDef.CodePath = Application.Plugins("Arnold Shaders").OriginPath + "bin\nt-x86-64" + "\VDB_Blackbody_Shaders_ai.{EXT}";
// AttributeError: 'NoneType' object has no attribute 'OriginPath'
// - [line 545 in E:\workgroup\v11\win64\VDB2SI_WG\Application\Plugins\bin\nt-x86-64\VDB_shaderDefs_ai.pys]
I spent the holiday weekend getting my FumeFX simulation from Maya into XSI. I finally got everything to work correctly. But, I am getting an error when pulling the shaders into the Render Tree. Everything seems to work fine. But I wanted to see what might be causing the error and make sure it is not something to be worried about.
SI 2015 x64
SITOA 3.2.0
// ERROR : Traceback (most recent call last):
// File "<Script Block 2>", line 546, in VDB_shaderDefs_ai_VDBBlackbody_ai_1_0_Define
// rendererDef.CodePath = Application.Plugins("Arnold Shaders").OriginPath + "bin\nt-x86-64" + "\VDB_Blackbody_Shaders_ai.{EXT}";
// AttributeError: 'NoneType' object has no attribute 'OriginPath'
// - [line 545 in E:\workgroup\v11\win64\VDB2SI_WG\Application\Plugins\bin\nt-x86-64\VDB_shaderDefs_ai.pys]
-
- Posts: 1
- Joined: 20 Jan 2015, 21:31
Re: OpenVDB to Softimage
Hello,
I'm new to this forum although I have been using SI in the past
I was wondering if openVDB is still a life project?
thanks
I'm new to this forum although I have been using SI in the past
I was wondering if openVDB is still a life project?
thanks
Re: OpenVDB to Softimage
Hi,
you can use now up-to-date official vdb shaders:
https://support.solidangle.com/display/ ... so+shaders
there is no need to mess with my old implementation, however the vdb ICEnodes pack is still valid(at least should be unless there is some compatibility problems with upcoming vdb3.0)
you can use now up-to-date official vdb shaders:
https://support.solidangle.com/display/ ... so+shaders
there is no need to mess with my old implementation, however the vdb ICEnodes pack is still valid(at least should be unless there is some compatibility problems with upcoming vdb3.0)
Re: OpenVDB to Softimage
Hi Mr. Core,
Should your shaders work with latest sitoa 3.6?
I am reading the grid, but cant get it rendered...
I've also tried rendering it with volume_collector no luck...
Should your shaders work with latest sitoa 3.6?
I am reading the grid, but cant get it rendered...
I've also tried rendering it with volume_collector no luck...
Re: OpenVDB to Softimage
Ah, the vdb version seems unsupported:
unsupported VDB file format (expected version 222 or earlier, got version 223)
Anyone knows what would be the best solution to this one?
unsupported VDB file format (expected version 222 or earlier, got version 223)
Anyone knows what would be the best solution to this one?
Re: OpenVDB to Softimage
https://support.solidangle.com/display/SItoAUG/Volume
should answer all questions
should answer all questions
Who is online
Users browsing this forum: No registered users and 23 guests