jake-low / vdb2exr

OpenVDB to OpenEXR converter for slicing the volume into images combined in an EXR texture ready to be imported in Unreal Engine

Repository from Github https://github.comjake-low/vdb2exrRepository from Github https://github.comjake-low/vdb2exr

Volume Texture Converter. Converts OpenVDB to OpenEXR as sliced texture tiles ready to be imported in Unreal Engine.

Preview

Images of rendered clouds in Unreal Engine 4.26 at different grade of detail.

The tool reads a vdb file and maps voxel data to image slice:

Preview

Each slice is a image where density is mapped to grayscale values:

Preview

=== TESTCASE ===

Convert vdb from disney to exr and import it as exr texture into Unreal Engine. Testdata: Walt Disney Animation Studios Samples from Cloud Data Set Source: https://www.disneyanimation.com/data-sets/?drawer=/resources/clouds/ UE4 Import and Setup Example: https://www.youtube.com/watch?v=eOrTudg7P1E

=== BUILDING / Content ===

Primary Dependencies:

Secondary Dependencies:

=== IMPLEMENTATION ===

Tutorials this implementation is based on:

LICENSING:

The contents of this package are Copyright 2021 Oliver Rode and are licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. A copy of this license is available at http://creativecommons.org/licenses/by-sa/3.0/.

Binary Content in Testdata and 3RDPARTY folder are redistributed under it's own conditions as described in license and readme files contained in these folders.

tinyexr is under 3-clause BSD. tinyexr uses miniz, which is developed by Rich Geldreich richgel99@gmail.com, and licensed under public domain. tinyexr tools uses stb, which is licensed under public domain: https://github.com/nothings/stb tinyexr uses some code from OpenEXR, which is licensed under 3-clause BSD license.

About

OpenVDB to OpenEXR converter for slicing the volume into images combined in an EXR texture ready to be imported in Unreal Engine


Languages

Language:C++ 99.9%Language:Batchfile 0.1%Language:C 0.0%