CPC G06T 15/04 (2013.01) [G06T 15/06 (2013.01); G06T 17/20 (2013.01)] | 17 Claims |
1. A method comprising:
accessing, by a rendering system, a native base surface defined by a mesh of polygons and a map of displacement values useable to render a textured surface corresponding to the native base surface; and
for a polygon of the native base surface:
precomputing a conservative bounding volume for the polygon, the conservative bounding volume including a portion of a displaced surface as determined by the polygon and the map of displacement values;
identifying, by a displacement acceleration module of the rendering system and by using (i) the polygon of the native base surface, (ii) at least one real-time displacement parameter value, and (iii) the conservative bounding volume, a plurality of increasingly granular bounding volumes corresponding to the polygon;
determining, by the displacement acceleration module, an intersection of a query ray with at least one of the plurality of increasingly granular bounding volumes to provide at least one of a 3D position or a texture coordinate usable for rendering the textured surface; and
storing, by the displacement acceleration module, the at least one of the 3D position or the texture coordinate configured for rendering the textured surface using the native base surface.
|