Model normal processing method and device, storage medium and electronic equipment

The embodiment of the invention discloses a model normal processing method and device, a storage medium and electronic equipment, and the method comprises the steps: determining at least two normal lines corresponding to the same vertex in a model; calculating an included angle between every two nor...

Full description

Saved in:
Bibliographic Details
Main Authors CHEN DEYIN, HU ZHITONG, HE ZHIYUAN
Format Patent
LanguageChinese
English
Published 20.05.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The embodiment of the invention discloses a model normal processing method and device, a storage medium and electronic equipment, and the method comprises the steps: determining at least two normal lines corresponding to the same vertex in a model; calculating an included angle between every two normal lines in the at least two normal lines; and when a target included angle smaller than an included angle threshold exists in the included angles, calculating an average normal based on a normal corresponding to the target included angle, and taking the average normal as a normal of the vertex. By adopting the embodiment of the invention, whether the average normal is used as the normal of the vertex or not can be judged by setting the included angle threshold, so that the surface of the model can present a smooth effect and an edge angle effect, and the illumination effect of the model is not distorted. 本申请实施例公开了一种模型法线处理方法、装置、存储介质及电子设备,其中,方法包括:确定模型中同一顶点对应的至少两条法线;计算所述至少两条法线中每两条法线之间的夹角;当所述夹角中存在小于夹角阈值的目标夹角时,基于所述目标夹
Bibliography:Application Number: CN202011305688