Install steps
- Download and copy the content of the
Assets/Common, Assets/Editor and Assets/OpenVDB folder directly into your Unity project
- You'll probably hit some compilation error in LibraryDownloader.cs, you can delete this file as well as its references in PackageMenu.cs
- Now that everything compiles, download the conan_package.tgz file from the wayback machine: https://web.archive.org/web/20210501105509/https://dl.bintray.com/kazuki/conan/kazuki/OpenVDBNativePlugin/0.0.1/stable/0/package/
- To know which hash to download, see this file:
|
new LibraryPackageInfo { target = BuildTarget.StandaloneWindows, arch = "x86", packageId = "07a258b63529b1a6b9517b05bd8057994689b8eb" }, |
- For example this is the download link for windows
- Extract the archive and copy the lib and bin directories in this directory: Assets/OpenVDB/Scripts/Plugins
- Then reimport the OpenVDB folder
- Drag and drop vdb files directly in Unity :)
Bonus: extract 3D texture from VDB:
- On windows, add this line after the Path.GetDirectoryName:
|
var projectPath = Path.GetDirectoryName(Application.dataPath) + "/"; |
projectPath = projectPath.Replace('\\', '/');
Click on your VDB file and then Material and finally "Extract Textures"

Install steps
Assets/Common,Assets/EditorandAssets/OpenVDBfolder directly into your Unity projectOpenVDBForUnity/OpenVDBForUnity/Assets/Editor/PackageBuild/LibraryDownloader.cs
Line 32 in d490602
Bonus: extract 3D texture from VDB:
OpenVDBForUnity/OpenVDBForUnity/Assets/OpenVDB/Editor/Importer/OpenVDBImporterEditor.cs
Line 44 in d490602
Click on your VDB file and then Material and finally "Extract Textures"
