The document proposes a method for efficiently representing layered depth images (LDIs) to enable real-time volumetric tests on 3D meshes. The method involves creating an LDI of the mesh using depth peeling, calculating its bounding box, cropping the LDI, and compressing it in a lossless two-phase process. A volumetric parity test is developed that can determine if a point is inside or outside the volume by ray marching through the compressed LDI texture. Performance results show the compression achieves ratios of 1:2-3 with little overhead and enables real-time volumetric queries.