Convert Simple Voxel SVX
files to OpenVDB
One nice benefit of converting files in this way is that it allows voxel clouds to be viewed using the vdb_view
utility or Houdini
tools. Currently there aren't any tools to view SVX files directly, as far as I'm aware.
The source code is available from GitHub
. It can be built easily using autotools.
svx2vdb is a simple command-line tool that takes two parameters.
svx2vdb infile.svx outfile.vdb
The first parameter infile.svx
should be an existing SVX
format file to read in. This will be converted to the OpenVDB
format file written to outfile.vdb
If you have the OpenVDB tools
installed, you can then view the resulting output file as follows.
An example SVX file is provided in the source repository. Shapeways also provide a sphere
example, or you can generate your own files using Functy
svx2vdb is released under the MIT License.
The following is a shape rendered using Functy
on the left, exported as SVX then converted to OpenVDB and shown using vdb_view on the right.
Two example shapes converted from SVX to OpenVDB. The left is the Shapeways sphere
example, the right is a fractal Quaternion Julia set created by shawn_halayka