Model rendering method and device, equipment and storage medium

A model and object model technology, applied in the field of data processing, can solve the problems of multi-memory and rendering time, lack of beauty, and consumption, and achieve the effect of relieving rendering pressure, displaying beautiful images, and reducing memory usage.

Active Publication Date: 2020-08-25
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to make the trees closer to the real display effect of trees in nature, artists usually use as many cross inserts as possible. This method consumes too many model triangles, and will also cause obvious insert line effects in the model, which is not beautiful enough
In addition, when making low-level detail models, in order to ensure natural switching, it is necessary to use more triangles to reflect, which consumes too much memory and rendering time

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
  • Model rendering method and device, equipment and storage medium
  • Model rendering method and device, equipment and storage medium
  • Model rendering method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a flowchart of a model rendering method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation where an application software engine needs to render and display a game model. The method can be executed by a model rendering device, which can use software and and / or hardware, the apparatus can be configured in a computer device. like figure 1 As shown, the method may specifically include the following steps:

[0036] S110. Obtain a target object model, where the target object model includes an overview model of a cross insert and a detailed billboard model.

[0037] Preferably, the target object model may be an object model in the game world, and the object model may be a tree model, a house model, or a character model or the like. The target object model in this embodiment includes a cross insert overview model constructed by the cross insert method and a billboard detail model constructed by the billboard meth...

Embodiment 2

[0057] figure 2 It is a flowchart of a model rendering method provided by Embodiment 2 of the present invention. This embodiment can be combined with each optional solution in one or more of the above embodiments. In this embodiment, the determination of the billboard patch position data of the billboard detail model includes:

[0058] Obtain the target vertex color data of the billboard patch in the billboard detail model, and each target vertex color data corresponds to the patch center point position data of the corresponding billboard patch;

[0059] Based on the target vertex color data, determine the billboard patch position data.

[0060] And, before acquiring the target vertex color data of the billboard patch in the billboard detail model, it also includes:

[0061] Determine the position data of the center point of the billboard patch relative to the preset origin;

[0062] According to the preset vertex color data attribute, compress the center point position da...

Embodiment 3

[0092] Figure 3a This is a flow chart of storing the position data of the center point of the billboard patch provided by the third embodiment of the present invention. This embodiment provides a preferred embodiment on the basis of the above-mentioned embodiments, such as Figure 3a As shown, the 3D scene art uses the traditional cross insert production method to make the initial object model, and then divides the initial object model into the outer cross insert overview model M high_outside and inner cross insert detail model M high0_inside . Mapping the M through model design software high0_inside Replace the inner cross patch with the Billboard patch, align the center point of the Billboard patch with the center point of the corresponding replaced cross patch, and set the Billboard patch orientation mode to always face the camera to get the inner Billboard detail model M low_inside .

[0093] Get M through the editing software Maya low_inside The center point coordin...

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 embodiment of the invention discloses a model rendering method and device, equipment and a storage medium, and the method comprises the steps: obtaining a target object model which comprises a cross-shaped insertion piece profile model and a billboard model; determining the position data of the billboard surface patch of the billboard detail model; and rendering and displaying the target object model based on the position data of the billboard surface patch. According to the technical scheme provided by the embodiment of the invention, the target object model is designed by using two methods of the cross insert and the billboard, and rendering display are performed; defects of long rendering time, large memory occupation, obvious insert line effect of the model, poor beauty and the like caused by excessive use of the triangular surface of the model are overcome, the rendering pressure of the game engine is alleviated, the memory occupation is reduced, and the display frame is morebeautiful.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of data processing, and in particular, to a model rendering method, apparatus, device, and storage medium. Background technique [0002] In the world in the game scene, it is often necessary to lay a large number of objects to increase the details, supplement the picture, and reflect the regional characteristics, such as the use of a large number of trees of various styles to reflect the different styles in nature. When laying trees, the method of cross inserts is usually used to make tree leaf parts and detail switching models at all levels, so as to reflect the plump effect of trees and the natural detail switching effect. [0003] In order to make the trees closer to the real display effect of natural trees, artists usually use as many cross inserts as possible. This method consumes too many model triangles, and also leads to obvious insert line effects in the model, which is not bea...

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/00
CPCG06T15/00
Inventor 李慧妍杨星
Owner SHANGHAI MIHOYO TIANMING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products