Page 6 of 9

Re: OpenVDB to Softimage

Posted: 07 Jun 2015, 10:31
by sant0s
hmm, should actually work.
maybe you pick the wrong channel?

Re: OpenVDB to Softimage

Posted: 07 Jun 2015, 11:02
by klebedaja
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.

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 02:02
by Bullit
Is it possible to use OpenVDB for Softimage to convert Realflow bin files to OpenVDB? also other particle files that Softimage can read?

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 10:00
by sant0s
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.

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 15:44
by Bullit
Thanks. You mean the new version is the OpenVDB 3.0?

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 15:51
by sant0s
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 :)

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 16:21
by Bullit
Ok, i will.

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 16:51
by sant0s
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

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 17:09
by Bullit
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

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 18:16
by sant0s
try adding the self.size attribute below the Set Particle Position node.

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 18:38
by Bullit
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

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 21:13
by sant0s
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!

Re: OpenVDB to Softimage

Posted: 22 Jun 2015, 23:14
by Bullit
What render you are on? Arnold? i have yet to get the trial.

Re: OpenVDB to Softimage

Posted: 23 Jun 2015, 01:43
by sant0s
yes, Arnold.

Re: OpenVDB to Softimage

Posted: 23 Jun 2015, 21:30
by Bullit
Did you tried the dll shaders?

Re: OpenVDB to Softimage

Posted: 23 Jun 2015, 21:35
by sant0s
actually it works with all other .vdb files.
just the one I exported from the .bin.
Ill try again. DLL? need to check that :)