White terrain after conversion to .vsb

Terrain in Vega PrimeUsing Terra Vista I generated a large terrain surface covered with a large Virtual Texture.  It looked fine when I loaded the OpenFlight version of it into Vega Prime.  But when I converted it to .vsb format, the terrain came up white.

Dan Oller from Presagis explained why.  The vsb converter (to_vsb.exe)  is creating an optimized file for fast runtime loading, so it doesn’t want to include anything that does not exist.  So if it does not find a texture map, it will not include it.  The terrain that is to be covered with the Virtual Texture has a placeholder texture on it called vt_sub.rgb.  A copy of that texture needs to be somewhere where the vsb converter can find it when it converts your OpenFlight files.  You can specify a search path for the vsb converter.  In the GUI, under Options -> VSB Options…, add folders to the Search Path Options list.  On the command line, use the -p option followed by one or more pathnames to search, separated by semicolons.  On the command line, remember to use quotes if your pathnames contain spaces.

Tags: , , , , ,

Leave a Reply