1. A method comprising: defining a mesostructure distance function as a function of a given reference point and a given viewing direction; measuring a first distance from a first reference point on a front face of a base geometry to a first mesostructure surface point along a first viewing direction using the mesostructure distance function; measuring a second distance from a second reference point on a back face of the base geometry to a second mesostructure surface point along a second viewing direction using the mesostructure distance function; adding the first distance to the second distance to obtain a third distance; determining a thickness of the base geometry by measuring a fourth distance between the first reference point and the second reference point; and determining whether the mesostructure is visible based on whether the fourth distance is greater than the third distance.