Unlock instant, AI-driven research and patent intelligence for your innovation.

Grass model processing method and device, electronic equipment and readable medium

A technology of models and implementation methods, applied in the field of 3D models

Pending Publication Date: 2022-05-06
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a grass model processing method, device, electronic equipment and computer-readable storage medium to solve the problem of how to display the grass model naturally drooping under the influence of gravity

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
  • Grass model processing method and device, electronic equipment and readable medium
  • Grass model processing method and device, electronic equipment and readable medium
  • Grass model processing method and device, electronic equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0073] In the embodiment of the present invention, the grass model can be as follows figure 2 Exemplarily shown, it is formed by several irregular bodies similar to the shape of grass. For this kind of grass model, its extension direction is approximately perpendicular to the ground, and it does not show the effect of natural drooping under the influence of gravity.

[0074] In order to make this kind of grass model conveniently display the effect of natural sagging affected by gravity, the embodiment of the present invention adjusts the normal vector of the vertex of the grass model so that the normal vector of the vertex of the grass model can be further used to record the simulation gravity information. Afterward...

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

Embodiments of the invention provide a grass model processing method and apparatus, an electronic device and a readable medium. The method comprises the steps of determining a normal vector of each vertex in a to-be-rendered grass model; controlling the normal vector to deviate towards a first direction, wherein the first direction is a direction opposite to the gravity direction; based on the deviated normal vector, an acting force vector is determined, and the acting force vector is used for simulating gravity; according to the acting force vector and the current position of each vertex of the grass model, determining a to-be-shifted target position of each vertex of the grass model; and controlling each vertex of the grassland model to move to the corresponding target position to obtain the grassland under the gravity influence. And rapid adjustment of the grass model is realized, so that the grass model can naturally show a droop effect. In addition, the grass model is easy to adjust subsequently, and the mixing effect of the gravity effect and other effects is easy to show.

Description

technical field [0001] The present invention relates to the technical field of three-dimensional models, in particular to a processing method of a grass model, a processing device of a grass model, an electronic device and a computer-readable medium. Background technique [0002] In the game, in order to display the 3D scene with rich details, you can add a grass model to the 3D scene. At the same time, in order to make the 3D scene more natural, it is usually necessary to show the effect of the grass model drooping naturally under the influence of gravity. [0003] Generally speaking, to show the effect of the grass model drooping naturally under the influence of gravity, you can set a number of intersecting insert models, and then set the textures of the naturally drooping grass on the insert models, so as to realize the natural drooping effect of the grass Effect. However, if the grass model set by this method needs to add other display effects to the grass model later,...

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): G06T13/60A63F13/52
CPCG06T13/60A63F13/52A63F2300/663
Inventor 赵俊宇
Owner NETEASE (HANGZHOU) NETWORK CO LTD