The application relates to the technical field of three-
dimensional modeling, and discloses a three-dimensional scene establishment method and
system based on virtual and real scripts. The method comprises the following steps: performing deep semantic analysis according to a semantic description text, extracting emotional
atmosphere and narrative logic features, obtaining a
semantic feature vector, and matching and screening visual elements in a pre-stored visual element resource
library to obtain a visual element
list; generating spatial position and
layout relationship of the visual elements according to the visual element
list and a user interaction log, obtaining a
layout parameter set, establishing a topological connection relationship, and generating a scene skeleton structure; performing mapping and synthesis of surface textures according to the scene skeleton structure to obtain a
texture model; performing iterative adjustment of light and shadow parameters according to the
texture model to obtain rendering configuration parameters; and performing three-dimensional scene drawing and pixel correction according to the rendering configuration parameters to obtain three-dimensional scene data. The method can generate a three-dimensional scene with high consistency of emotion and narrative logic according to semantic description.