×

Smooth draping layer for rendering vector data on complex three dimensional objects

  • US 10,181,214 B2
  • Filed: 03/14/2013
  • Issued: 01/15/2019
  • Est. Priority Date: 03/14/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for rendering vector data in conjunction with a three-dimensional model, comprising:

  • presenting, by one or more computing devices, a viewport in a user interface on a display device;

    rendering, by the one or more computing devices, the three-dimensional model in the viewport, the three-dimensional model comprising terrain geometry providing a representation of terrain of a geographic area;

    rendering, by the one or more computing devices, a transparent draping layer overlaying the three-dimensional model with a depth offset relative to the terrain geometry;

    texture mapping, by the one or more computing devices, the vector data to the transparent draping layer such that the vector data appears to be located along a surface of the three-dimensional model in the viewport;

    wherein the three-dimensional model comprising building geometry providing a representation of one or more buildings in the geographic area;

    wherein rendering the transparent draping layer comprising rendering, by the one or more computing devices, the transparent draping layer with a depth offset relative to the terrain geometry but not relative to the building geometry;

    wherein the vector data is occluded by the building geometry when the vector data is texture mapped to the transparent draping layer;

    wherein rendering the three-dimensional model in the view port comprising;

    rendering, by one or more computing devices, the building geometry in the viewport with a first stencil value in a stencil buffer for pixels associated with the building geometry;

    rendering, by the one or more computing devices, the terrain geometry in the viewport with a second stencil value in a stencil buffer for pixels associated with the building geometry;

    clearing, by the one or more computing devices, a depth buffer at pixels associated with the second stencil value in the stencil buffer; and

    wherein clearing the depth buffer at pixels associated with the second stencil value comprising writing, by the one or more computing devices, a maximum depth value to the depth buffer at all pixels associated with the second stencil value with depth write and depth test off.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×