add viewing distance field