Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for rendering contour edges of models

A contour and model technology, applied in the field of computer graphics rendering, can solve the problems of single rendering effect of processing model, increase CPU load, single rendering method, etc., to achieve the effect of increasing scalability, reducing load, and improving rendering efficiency

Active Publication Date: 2012-10-03
BEIJING PIXEL SOFTWARE TECH
View PDF3 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The outline edge rendering effect of this scheme is natural, but this scheme also has the following disadvantages: a) Large data requirements: the data bitmap usually only records vertex information and normal information, and other information needs to add additional channels, and the amount of data will be larger; b ) takes a lot of time to calculate: for post-effect processing, it needs to operate on the full screen, it takes more time to record and read the data bitmap, and at the same time, the calculation overhead will be more; c) the rendering method is single: in order to ensure the cost performance, The color information of the stroke is usually not written, the stroke method and color are more simple, and the information prompt effect is not intuitive enough
This technical solution makes it possible to obtain a better improvement effect than the existing subdivision technology on the basis of not using additional dedicated hardware. When the model is occluded, the mapping from user space to plane space needs to be divided into multiple individual lines or filling paths, and then rendered separately one by one, which increases the CPU load and poor scalability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for rendering contour edges of models
  • Method for rendering contour edges of models
  • Method for rendering contour edges of models

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to describe the technical content, achieved objectives and effects of the present invention in detail, the following will be described in detail in conjunction with the implementation methods and accompanying drawings.

[0034]Specifically, the rendering of the contour edge of an animal model in a three-dimensional scene is taken as an example for illustration. For example, there are two animal models in the scene, and there is an occlusion relationship between the two models. The technical solution of the invention is used to render the outline edge of the model.

[0035] image 3 It is a flowchart of a method for rendering model contour edges according to an embodiment of the present invention. Specifically include the following steps:

[0036] S1: Switch the original rendering target of the background buffer to the preset rendering target, draw the model to be stroked on the preset rendering target with the stroke color, and set the template of the backgr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for rendering contour edges of models. The method includes drawing a model to be contoured to a preset rendering target; converting coordinates of a model bounding box, copying the preset rendering target and corresponding projection coverage range to a contouring bitmap; determining texture coordinates of the projection coverage range to generate a planar rectangle vertex data stream according to attributes of a background buffer area and the projection coverage range; determining contour edges of the model on the surface of an original rendering target according to a preset template of the background buffer area, and rendering the contour edges according to the preset scheme. By the method for rendering the contour edges of the models, the background buffer area is processed locally by the aid of the bounding box, the color, the depth and the template in the pixel space, load to a central processing unit and a diagram processor is reduced, varieties of rendering of the contour edges are developed to the greatest extent, extendability of rendering effect is improved and rendering efficiency is improved.

Description

technical field [0001] The invention relates to computer graphics rendering technology, in particular to a method for rendering model contour edges. Background technique [0002] Due to the large number of characters in online games, in order to highlight the target, it is necessary to render the outline and edge of the characters to increase the contrast between things and the border. It can not only provide simple and effective information prompts to players, but also add luster to the overall picture. [0003] figure 1 It is a schematic diagram of the contour edge in geometric space. Such as figure 1 As shown, assuming that the viewing direction is the vector V, the surface normals of the polygonal planes V0 and V1 are Face 0 and Face 1 respectively, it can be seen from the figure that the edge AB is a silhouette edge, then (V·Face 0)(V·Face 1)<0, that is, among the two polygon planes V0 and V1 sharing the silhouette edge AB, one can be seen from the viewpoint posit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T15/00G06T1/20
Inventor 杨波
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products