-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Install steps
- Download and copy the content of the
Assets/Common,Assets/EditorandAssets/OpenVDBfolder 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:
OpenVDBForUnity/OpenVDBForUnity/Assets/OpenVDB/Editor/Importer/OpenVDBImporterEditor.cs
Line 44 in d490602
var projectPath = Path.GetDirectoryName(Application.dataPath) + "/";
projectPath = projectPath.Replace('\\', '/');Click on your VDB file and then Material and finally "Extract Textures"

lordDominus, keli95566, ZhouJR, Emilko309, loopervfx and 1 morecdiggins and loopervfxcpt-cabbage, cdiggins and loopervfxatcarter714, Emilko309 and loopervfx
Metadata
Metadata
Assignees
Labels
No labels