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

Post Reply
izze
Posts: 176
Joined: 24 Sep 2009, 20:02

Re: OpenVDB to Softimage

Post by izze » 01 Dec 2014, 16:17

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]

michelgirault
Posts: 1
Joined: 20 Jan 2015, 21:31

Re: OpenVDB to Softimage

Post by michelgirault » 24 Jan 2015, 16:26

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

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: OpenVDB to Softimage

Post by Mr.Core » 24 Jan 2015, 18:07

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)

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

Re: OpenVDB to Softimage

Post by klebedaja » 06 Jun 2015, 21:08

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...

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

Re: OpenVDB to Softimage

Post by klebedaja » 06 Jun 2015, 23:21

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?

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

Re: OpenVDB to Softimage

Post by sant0s » 06 Jun 2015, 23:29

https://support.solidangle.com/display/SItoAUG/Volume

should answer all questions :)

User avatar
Mr.Core
Posts: 148
Joined: 10 Aug 2011, 12:35
Skype: giga-core
Location: Kharkov, Ukraine

Re: OpenVDB to Softimage

Post by Mr.Core » 06 Jun 2015, 23:31

Hi klebedaja,
those shaders are outdated and provide less functionality than arnold native implementation nowadays

edit:
see what actually santos has posted before i have replied :)

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

Re: OpenVDB to Softimage

Post by klebedaja » 07 Jun 2015, 01:13

Yes I know about those but I actually have problems getting it render with sitoa volume for some reason.
I'll try forcing vdb version with houdini env variable to earlier version and see if that help. I'll post results.

Besides that, I have one vdb with multiple containers. Is it possible to load it with your tool? I don't know how...

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, 02:19

which SitoA version?

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

Re: OpenVDB to Softimage

Post by klebedaja » 07 Jun 2015, 09:06

Sitoa 3.6

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 214 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 :)

Post Reply

Who is online

Users browsing this forum: SiteExplorer [Bot] and 37 guests