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

Shadow rendering method, game file packaging method and corresponding devices

A shadow and camera technology, applied in the game field, can solve problems such as unacceptable data volume and increased baking data

Pending Publication Date: 2022-03-01
BEIJING ZITIAO NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this kind of big world game often has a TOD (Alternation of Time) system, and the direction of light will change as time goes by, so it is necessary to bake data of different time periods, and in order to reduce the lagging feeling of time period switching, the granularity of time periods must be very small , which will lead to a hundredfold increase in baking data, coupled with the size of the big world itself, the amount of data is almost unacceptable

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
  • Shadow rendering method, game file packaging method and corresponding devices
  • Shadow rendering method, game file packaging method and corresponding devices
  • Shadow rendering method, game file packaging method and corresponding devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0041] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 relates to a shadow rendering method, a game file packaging method and a corresponding device, and the shadow rendering method comprises the steps: determining a target time period corresponding to the time in a game, and obtaining video data corresponding to each target terrain block in a first visual field range of a camera in a game scene from a game file; extracting a video frame corresponding to the target time period from the video data to obtain a shadow height map of the target terrain block in the target time period; and sampling a sampling value corresponding to each to-be-rendered terrain point from the shadow height map of the target time period, and rendering the shadow of the to-be-rendered terrain point according to the sampling value. The characteristic that the shadow changes along with time is utilized, video compression coding is carried out on the shadow height map through the video compression coding technology, a high compression ratio can be obtained, and the data volume is greatly reduced.

Description

technical field [0001] The present disclosure relates to the technical field of games, and in particular, to a shadow rendering method, a game file packaging method, and a corresponding device. Background technique [0002] Shadow is a very important visual element in the game screen, and the three-dimensional effect observed by human eyes largely depends on shadow. At present, the mainstream shadow algorithm is the shadow map (Shadow Map) algorithm. Its main process is to first render a depth map from the direction of the light source, and then compare the depth value of the screen pixel in the light source coordinate system with the The corresponding values ​​in the depth map get the occlusion relationship, thus rendering the shadow. In the process of porting the big world game to the mobile terminal, this will bring a lot of overhead. This results in a solution for pre-baking depth data for real-time rendering when the game is running. [0003] However, this kind of bi...

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/60A63F13/52H04N19/176
CPCG06T15/60A63F13/52H04N19/176
Inventor 王煜东
Owner BEIJING ZITIAO NETWORK TECH 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