Method and device for constructing terrain in virtual scene

The invention relates to the technical field of terrain construction and particularly relates to a method and device for constructing a terrain in a virtual scene. The method comprises steps of S1, obtaining a weight value of a trampling target when a trampling instruction is received, and the weigh...

Full description

Saved in:
Bibliographic Details
Main Author LIN PEILI
Format Patent
LanguageChinese
English
Published 05.11.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to the technical field of terrain construction and particularly relates to a method and device for constructing a terrain in a virtual scene. The method comprises steps of S1, obtaining a weight value of a trampling target when a trampling instruction is received, and the weight value comprising an initial weight value and a load value of the trampling target; S2, determining a treading area according to the treading instruction; S3, determining an influence area around the treading area and the sinking depth of the treading area according to the weight of the treading target and the treading area; S4, clearing a first specified number of cube terrain models in the to-be-processed area according to the sinking depth; S5, clearing a second specified number of cube terrain models around the to-be-processed area according to the sinking depth and the influence area; and S6, performing curved surface fitting on the influence area after the second specified number of cube terrain models are r
Bibliography:Application Number: CN202110888106