Whitespace in VDB grid names
Open, NormalPublic

Description

From the smoke export Wiki page:
"If high resolution is enabled, the corresponding low resolution fields are suffixed with " low"."

Can this please be changed so the whitespace gets replaced with an underscore "_low".
Having a whitespace in the vdb grids causes some confusion when inspecting the vdbs in other software (in this case Arnold).
The list of available grids reads like this:
color color low density density low heat heat old obstacles shadow texture coordinates velocity

Thanks!

Details

Type
Bug
Philipp Oeser (lichtwerk) triaged this task as Normal priority.

I can see this getting annoying [although I could find anything in the spec stating that those names are not allowed...]

@Kévin Dietrich (kevindietrich): what do you think?

@Philipp Oeser (lichtwerk), I think it's reasonable to use an underscore, it does seem to be the convention for VDB files.

If we change this then the code to read VDB files should still try both "_low" and " low" though, for backwards compatibility.

If you like to fix this go ahead I think, otherwise close as not a bug.

having trouble building with openvdb right now [/usr/bin/ld: vdb_print: hidden symbol `__cpu_model' in /usr/lib/gcc/x86_64-redhat-linux/7/libgcc.a(cpuinfo.o) is referenced by DSO]
as soon as this is out of the way, I'll have a look

@Philipp Oeser (lichtwerk) if you have trouble building OpenVDB, I can quickly make a patch for it.