Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides information on the Phoenix FD Cache Converter tool.

Overview

...

The cache_converter command-line utility can convert already existing .aur, Field3D or Field3D PRT cache sequences to OpenVDB sequences without simulating.

...

Using the Cache Converter, you can also strip away unused grid channels from .aur, OpenVDB or Field3D files, while converting them to .aur or OpenVDB.

 

medium
UI Text Box
size
typetip

Default Path: C:\Program Files\Chaos Group\Phoenix FD\3ds Max 20xx for x64\bin\cache_converter

...

-srcfile – Specifies the input .aur, .vdb or .f3d file(s) name or pattern. You can use "####" as a frame number and the files will be treated as a sequence.

UI Text Box
typeinfo

The drag-and-drop functionality can be used to convert .aur or .vdb files without opening the command line. You can drop the files on the cache_converter.exe and they will be converted and saved in the input directory.

 

Options

...

-dstfile – Specifies the output dstfile – Specifies the output .vdbor .aur file or .aur file(s) name or pattern. You can use "####" as a frame number and the files will be treated as a sequence.

medium
UI Text Box
size
typeinfo

If -dstfile argument is not added, the source file folder will be used as a default output destination.

UI Text Box
typeinfo

If you want to check the content of a cache file with -cacheinfo, without converting it, you won't need the -dstfile argument at the end of the command.

 

...

-help – Shows the available commands and the version of the tool.

-credits credits – Shows the copyright notices for the cache converter and used libraries

-cacheinfo – Displays the stored information about the selected cache files

-start – Specifies the starting frame of the sequence. If it's not provided, the tool will automatically scan the directory and find the minimal index.

...

  • VelocityXYZ_phx
  • ColorRGB_phx
  • AdvectionOriginXYZ_phx
  • WaveletUVW_phx
  • TexUVW_phx

-removegridch – Allows you to remove grid channels from the source cache when writing the output. If no channels are listed, all channels are removed.

-removeprt – Allows you to remove channels from a particle system when writing the output. If no channels are provided, the entire system is removed. If no system name is given, all particles are removed. This command can be repeated for different particle systems.

-gridresscale – Decrease or increase the grid resolution of the cache files. Values below 1.0 decrease the resolution, while values above 1.0 increase it. Please use a dot as the decimal symbol (e.g. 0.5 / 1.1 / 2.4 etc.). The provided number scales the number of voxels per each axis, so of you use "-gridresscale 2.0", this will increase twice the voxels along the X axis, the Y axis and the Z axis, resulting in 8 times more voxels.

-silent – Don't show messages with the conversion progress.-cacheinfo – Displays the stored information about the selected cache files. 

 


Examples

...

  • cache_converter.exe -srcfile ND2_PhoenixFDFire001_####.aur -dstfile outFile_####.vdb – Converts all of the cache files matching the given name. 

  • cache_converter.exe -srcfile ND2_PhoenixFDFire001_####.aur -dstfile outFile_####.vdb -start 0 -end 10 -verbose 10  Converts the specified range of cache files matching the given name.

  • cache_converter.exe -srcfile ND2_PhoenixFDFire001_####.aur -dstfile outFile_####.vdb -start 0 -end 10 -storagequality 14 -exportchannels Smoke_phx VelocityXYZ_phx -silent – Converts the specified range of cache files matching the given name, and saves only the Smoke and Velocity channels. All other available channels will not be written to the OpenVDB cache.

  • cache_converter.exe -srcfile ND2_PhoenixFDFire002_####.aur -dstfile outFile_####.vdb -removegridch Viscosity_phx VelocityXYZ_phx -removeprt Mist Age_phx -removeprt WetMap  Converts all cache files matching the given name, and removes the Viscosity and Velocity grid channels, and the Age channel for the Mist particle system, and the WetMap particle system. All other available channels will be written to the OpenVDB cache.

  • cache_converter.exe -srcfile ND2_PhoenixFDFire001_####.aur -cacheinfo  Displays the content of the selected cache files.