Patent ID: 10169909

Abstract:
Particular embodiments comprise providing a surface mesh for an object, generating a voxel grid comprising volumetric masks for the mesh, and generating a lit mesh, wherein the lit mesh comprises a shaded version of the mesh as positioned in a scene. The voxel grid may be positioned over the lit mesh in the scene, and a first ray may be traced to a position of the voxel grid. If the traced ray passed through the voxel grid and hit a location on the lit mesh, then one or more second rays may be traced to the hit location on the lit mesh. If the traced ray hit a location in the voxel grid but did not hit a location on the lit mesh, then one or more second rays may be traced from the hit location in the voxel grid to the closest locations on the lit mesh. Finally, color sampled at one or more locations proximate to the position of the voxel grid may be blurred outward through the voxel grid to create a volumetric projection.