Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Mysterious volumetric 3D texture project

Discussion in 'General Graphics' started by wlad_s, Oct 27, 2018.

  1. wlad_s

    wlad_s

    Joined:
    Feb 18, 2011
    Posts:
    148
    Hi,

    I was looking for a way to convert OpenVDB format into a Unity 3D texture asset. I've stumbled upon this:

    https://github.com/karasusan/OpenVDBForUnity

    But I was unable to open that project, I'm not sure what steps I should make. Does it work for anyone else?
     
    Last edited: Oct 29, 2018
  2. comomomo

    comomomo

    Joined:
    Feb 16, 2014
    Posts:
    12
    Hi! Did you end up figuring this out? Unity supports importing Texture3D in a streamlined way now so I think all you would need is an exporter that transforms an OpenVDB file into a texture atlas: https://docs.unity3d.com/Manual/class-Texture3D.html

    Ideally you'd be able to export things like color and density to textures in this format. Has anyone already written something like this for OpenVDB files for other tools that could be reused for Unity?
     
  3. wlad_s

    wlad_s

    Joined:
    Feb 18, 2011
    Posts:
    148
    Hi, sorry for a late reply. Yes, I've managed to open that project and make it convert vdb into a unity 3DTexture. It was a long time ago though.