首页> 外国专利> TESSELLATION OF TWO-DIMENSIONAL CURVES USING A GRAPHICS PIPELINE

TESSELLATION OF TWO-DIMENSIONAL CURVES USING A GRAPHICS PIPELINE

机译:使用图形管线对二维曲线进行细分

摘要

Methods, systems, and computer-storage media for efficiently tessellating two dimensional (2-D) curves using a graphics pipeline running on a graphics processing unit (GPU) are provided. A central processing unit (CPU) converts a geometry having one or more 2-D curves into an intermediate tessellation having at least one Bezier fan with a fan origin and four control points. The intermediate tessellation is sent on to the graphics pipeline. A hull shader in the graphics pipeline is configured to approximate the Bezier fan curve by subdividing the curve into a defined number of triangles based on a maximum value of a width or a height of a bounding box containing the four control points of the Bezier fan. A domain shader in the graphics pipeline is configured to determine a vertex position for each of the defined triangles along the curve of the Bezier fan.
机译:提供了用于使用在图形处理单元(GPU)上运行的图形管线有效地细分二维(2-D)曲线的方法,系统和计算机存储介质。中央处理单元(CPU)将具有一个或多个2-D曲线的几何图形转换为具有至少一个带有风扇原点和四个控制点的Bezier风扇的中间细分。中间细分被发送到图形管线。图形流水线中的外壳着色器配置为通过基于包含Bezier风扇的四个控制点的边框的宽度或高度的最大值将曲线细分为定义的三角形数来近似Bezier风扇曲线。图形管道中的域着色器配置为确定沿Bezier扇形曲线的每个定义的三角形的顶点位置。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号