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

Method and apparatus for implementing wash painting style

A style and ink technology, applied in the computer field, can solve the problem of high performance requirements of hardware equipment

Active Publication Date: 2007-09-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The present invention provides a method for realizing ink-ink style rendering to solve the problems in the prior art that when implementing ink-ink rendering of object models, there are high requirements on the performance of hardware equipment and only simple models can be rendered in ink-ink rendering

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 and apparatus for implementing wash painting style
  • Method and apparatus for implementing wash painting style
  • Method and apparatus for implementing wash painting style

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Referring to Fig. 1, the main process of performing ink style 3D rendering on the object model in this embodiment is as follows:

[0050] Step 100, render the model of the object onto a 64-bit (not limited to 64-bit) floating-point texture image (A16B16G16R16F, indicating that the texture has a total of 64 bits, A, B, G, R 4 channels, each channel 16 bits , stored as floating point).

[0051] In this step, the depth value of the object is output to the A, G, and B channels of the floating point texture, and the brightness value of the object is output to the R channel of the floating point texture.

[0052] Step 110, sampling the pixels in the floating-point texture image obtained in step 100 pixel by pixel, determining the pixels of the object outline among the sampled pixels, and using different brightness values ​​for the pixels of the object outline and the non-outline pixels Output to a texture image to form a texture image that highlights the outline of the objec...

Embodiment 2

[0091] In this embodiment, during the implementation of the described ink rendering process, the processing of rough stroke effect is added.

[0092] Referring to Fig. 4, the main process of performing ink style 3D rendering on the object model in this embodiment is as follows:

[0093] Step 400, render the model of the object onto a 64-bit (not limited to 64-bit) floating-point texture image (A16B16G16R16F).

[0094] In this step, the depth value of the object is output to the AGB channel of the floating point texture, and the brightness value of the object is output to the R channel of the floating point texture.

[0095] Step 410: Perform pixel-by-pixel sampling on the pixels in the floating-point texture image obtained in step 400, determine the pixels of the object outline among the sampled pixels, and use different brightness values ​​for the pixels of the object outline and non-outline pixels Output to a texture image to form a texture image that highlights the outline...

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 realizing an ink-wash style rendering method which processes via a 2D texture space, the method comprises rendering a model of an object to a first floating-point texture image; sampling respective pixels on the first floating-point texture image and determining the pixels as pixels of an outline of the objcet so as to form a second texture image projecting from the outline of the objcet; sampling respective pixels on the second texture image, sampling the pixels from positions corresponding to a background texture image according to positions of the respective pixels, and mixing the pixels with the corresponding pixels sampled from the second texture image, outputting the mixed pixels to the background texture image to present the model of the object with an ink-wash style. The invention also discloses a device for realizing ink-wash style rendering.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for realizing ink style rendering. Background technique [0002] Object model rendering by computer can be divided into photorealistic rendering (PR, Photorealistic Rendering) and non-photorealistic rendering (NPR, Non-Photorealistic Rendering). PR refers to the study of real physical light and shadow, and makes the rendering effect of the real world; NPR refers to the study of the abstract artistic conception drawn by painters through brushes. At present, most of the developed and mature ones are related to Western painting art, such as: sketch , pen, carbon pen drawing, watercolor painting, cartoon drawing, etc. In fact, there are: ATI's DEMO (watercolor rendering), games on PS2: such as Dragon Quest 8, Teenage Mutant Ninja Turtles series, Dragon Ball, etc. (cartoon rendering). [0003] At present, it is mainly based on the physical space, and th...

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
IPC IPC(8): G06T15/00G06T15/04
Inventor 刘皓
Owner TENCENT TECH (SHENZHEN) CO LTD
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