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

Outdoor-sunlight-based method for realizing real-time dynamic shadow

A real-time dynamic and sunlight technology, applied in 3D image processing, image data processing, instruments, etc., can solve problems such as low drawing speed and efficiency, low precision, rough depth map around, etc., to achieve guaranteed speed, accelerated drawing, The effect of improving drawing efficiency

Active Publication Date: 2015-01-21
WUXI FANTIAN INFORMATION TECH
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current methods for implementing shadows in games are relatively low in speed and efficiency. When drawing in the game, all object models in the scene are traversed first, and each object model has a bounding box, which is within the visible range of the camera. The model in the model is traversed, the scene is drawn based on the parallel light source as the viewpoint, the depth information of the model relative to the light source is drawn into a shadow map (that is, the depth map), and then the calculated shadow map is used to draw the scene. The shadow map drawn is always perpendicular to the direction of the light source
The program generates this shadow map in each frame, connects the pixels before a certain frame and the pixels projected into the shadow of this frame, and obtains a tetrahedron, and the surrounding bounding box formed by this tetrahedron is the largest, resulting in sampling around Depth map is rough, low precision

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
  • Outdoor-sunlight-based method for realizing real-time dynamic shadow
  • Outdoor-sunlight-based method for realizing real-time dynamic shadow
  • Outdoor-sunlight-based method for realizing real-time dynamic shadow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0027] Please refer to figure 1 as shown, figure 1 It is a flowchart of a method for realizing real-time dynamic shadows based on outdoor sunlight in the present invention.

[0028] In this embodiment, the method for realizing real-time dynamic shadows based on outdoor sunlight specifically includes the following steps:

[0029] Step S101, traversing all objects in the scene.

[0030] Step S102, detecting whether the object of the camera is visible. Whether the object is visible can be divided into three situations: 1. It is fully visible; 2. It is ...

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

Disclosed in the invention is an outdoor-sunlight-based method for realizing real-time dynamic shadow. According to the method, a world coordinate of a pixel is converted into coordinate conversion of a sunlight space and a new position of a pix of a shadow graph in the sunlight space is obtained. When an object in a scene is drawn at second time, the depth of a relative light source and the depth of the shadow graph are compared pixel by pixel; when the depth is larger than the depth of the shadow graph, the pixel is determined to be in the shadow and corresponding shadow mixing is carried out; otherwise, the pixel is determined to be visual under light. Therefore, the shadow algorithm is mapped to a graph processing unit for execution, thereby accelerating drawing of the real-time shadow in a complex three-dimensional scene and improving the drawing efficiency. The vivid visual effect is realized and the scene reality is enhanced; and the drawing speed is also guaranteed.

Description

technical field [0001] The invention relates to the technical field of real-time dynamic shadows, in particular to a method for realizing real-time dynamic shadows based on outdoor sunlight. Background technique [0002] The development of modern graphics processing unit (Graphic Processing Unit, GPU) technology has greatly promoted the application of computer real-time rendering technology, and being able to produce shadows closer to reality has always been a very challenging task in the field of video games. Shadows are areas of darkness created by opaque objects blocking light. Those surfaces that cannot be seen by the light source will be in shadow, and those that can be seen by the light source will be outside the shadow. The boundary of the shadow can help people understand the appearance of the object As well as the relative position of objects, shadows play a vital role in 3D games, increasing the three-dimensionality and layering of images, and improving the degree ...

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/60
CPCG06T15/60
Inventor 张翼
Owner WUXI FANTIAN INFORMATION TECH
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More