发明名称 Technique for real-time rendering of temporally interpolated two-dimensional contour lines on a graphics processing unit
摘要 A method for rendering animated contour lines in real-time on a graphics processing unit employs a two-stage rendering technique using two separate pixel shaders and three texture stages. A dynamically generated one-dimensional color key lookup texture is generated and passed to the first pixel shader along with two texture datasets which are blended according to a temporal interpolation fraction for the creation of visual stripes over the dataset which alternate color at predetermined contour values. The result of this first pass is rendered into a screen-defined texture and sent to a secondary pixel shader which performs a simplistic edge-detection algorithm to extract width-normalized contour lines from the edges formed by the striping shader in the first render pass. The edge-detection shader receives user-controllable variables to alter contour thickness, color, border color, and smoothness (anti-aliasing) before presenting the finished image to the graphics display device.
申请公布号 US2014327689(A1) 申请公布日期 2014.11.06
申请号 US201414332399 申请日期 2014.07.16
申请人 Maravelias Paul 发明人 Maravelias Paul
分类号 G06T11/00 主分类号 G06T11/00
代理机构 代理人
主权项 1. A method for rasterizing width-normalized contour lines of a given two-dimensional dataset necessarily using a DirectX 9 pixel shader program by means of the following steps: creating a two-dimensional grayscale texture on the graphics device analogous in width and height to the dataset whose every texel represents the according dataset value relative to the extrema of the dataset and rescaled to 0 to 1 normalized texel values; rendering said texture to another texture using a pixel shader which colorizes each fragment as either black or white according to the fragment value's being mapped to a pre-computed, one-dimensional, black-white-alternating lookup texture whose alternations between black and white define the relative contour intervals to be produced; and rendering this new texture in a second pass with an edge-detection pixel shader which extracts contour lines from the edges formed by the black and white areas produced in the last step, and which receives adjustable variables controlling the width and color of said lines.
地址 Windham NH US