Search

CN-121999104-A - Garden landscape simulation method and system based on virtual reality technology

CN121999104ACN 121999104 ACN121999104 ACN 121999104ACN-121999104-A

Abstract

The invention relates to the technical field of image analysis, in particular to a garden landscape simulation method and system based on a virtual reality technology. The method solves the technical problem that scene switching is hard due to rendering performance bottleneck in the conventional landscape simulation. The method comprises the steps of obtaining historical session data and building module position information, determining attention degrees and attention positions of a plurality of historical users to the building modules based on the historical session data and the building module position information, determining rendering priority degrees of the building modules based on target session data, attention degrees and attention positions, and performing hierarchical rendering scheduling on the virtual scene based on the rendering priority degrees of each building module in the virtual scene. The method is used for optimizing the scene of the virtual garden three-dimensional image.

Inventors

  • ZHANG CHENGCHENG

Assignees

  • 浙江原野建设有限公司

Dates

Publication Date
20260508
Application Date
20260410

Claims (9)

  1. 1. The garden landscape simulation method based on the virtual reality technology is characterized by comprising the following steps of: The method comprises the steps of acquiring historical session data and building module position information, wherein the historical session data comprises footprint points and gazing vectors of a plurality of historical users at a plurality of moments in a virtual scene, wherein the footprint points are used for representing coordinates of the historical users in the virtual scene, the gazing vectors are used for representing directions and angles of the historical users gazing at building modules, the virtual scene comprises a plurality of building modules, and the building module position information is used for representing coordinates of the building modules in the virtual scene; determining a plurality of first reference user sets of target historical users at a plurality of moments, wherein the target historical users are any one of the plurality of historical users; Determining the same-line degree of the target historical user at a plurality of moments based on the plurality of first reference user sets, wherein the same-line degree is used for representing the similarity of the motion paths of the target historical user and the reference user; Determining the peer convergence degree of the target historical user based on the change trend of the peer degree at a plurality of moments, wherein the peer convergence degree is used for representing the probability that a plurality of users are attracted by the same space region together; determining a degree of interest and a location of interest of the building module based on the degree of peer convergence; Determining the rendering priority degree of the building module based on target session data, the attention degree and the attention position, wherein the target session data is session data of a current user; And carrying out hierarchical rendering scheduling on the virtual scene based on the rendering priority degree of each building module in the virtual scene.
  2. 2. The virtual reality technology-based landscape architecture simulation method of claim 1, wherein the determining the degree of interest and the location of interest of the building module based on the degree of peer convergence comprises: based on the convergence degree of the same row, clustering the fixation vectors of the first reference user set at each of the plurality of moments to determine at least one peripheral attention vector, wherein the peripheral attention vector is used for representing the direction of a space region attracting the target historical user; Determining initial attention degree of the building module for each peripheral attention vector based on cluster scale corresponding to the peripheral attention vector and the direction deviation degree of the building module relative to the peripheral attention vector, wherein the initial attention degree is used for quantifying attention potential of the building module in a specific attention direction; Determining the initial attention degree of the building module to each peripheral closing vector, wherein the maximum value of the initial attention degree is the overall attention degree of the building module to the target historical user, and the overall attention degree is used for representing the highest attention degree of the building module in all possible attention directions; And determining the moment that the overall attention is greater than a first preset threshold, wherein the corresponding footprint point position of the target historical user is the attention position of the target historical user.
  3. 3. The virtual reality technology-based landscape architecture simulation method of claim 2, wherein the clustering the gaze vectors of the first set of reference users at each of the plurality of moments based on the degree of peer convergence, determining at least one surrounding gaze vector, comprises: And clustering the gazing vectors at each moment in the plurality of moments by using a preset clustering algorithm, wherein the clustering distance in the clustering algorithm is measured in such a way that the gazing vectors correspond to the same-row convergence degree and the direction included angle between the gazing vectors.
  4. 4. The virtual reality technology-based landscape architecture simulation method of claim 1, wherein the determining the rendering priority of the building module based on the target session data, the attention degree, the attention location comprises: Determining a second reference user set of the current user at the current moment, wherein the second reference user in the second reference user set is a historical user with the absolute value of the difference value of the degree of the same line with the current user being smaller than a second preset threshold value; Determining a rendering preference index of the building module for the second reference user based on a distance between a most recent focus position of the second reference user and a position of the current user, and a degree of focus corresponding to the most recent focus position; And taking the same-line degree of the current user and each second reference user as a weight, carrying out weighted summation on the rendering priority indexes, and determining the rendering priority degree of the building module.
  5. 5. The virtual reality technology-based landscape architecture simulation method according to claim 4, wherein the rendering preference index is positively correlated with a degree of attention corresponding to the most recent attention location, and wherein the rendering preference index is negatively correlated with a distance between the most recent attention location of the second reference user and the current user's location.
  6. 6. The virtual reality technology-based landscape architecture simulation method of claim 1, wherein the performing hierarchical rendering scheduling on the virtual scene based on the rendering priority of each building module in the virtual scene comprises: determining the rendering priority degree of each building module in the virtual scene; determining a level of detail for each building module based on the rendering priority of the each building module; During rendering, the level of detail of the building module is dynamically adjusted based on real-time system load.
  7. 7. The virtual reality technology-based landscape architecture simulation method of claim 6, wherein the detail levels include high priority, medium priority, low priority, wherein dynamically adjusting the detail levels of the building modules based on real-time system loads during rendering comprises: Monitoring the frame rate and the graphics processor load of the virtual reality device; And when the frame rate is lower than a preset frame rate threshold or the load of the graphic processor is higher than a preset load threshold, reducing the rendering details of the middle-priority building module and the low-priority building module.
  8. 8. The virtual reality technology-based landscape architecture simulation method of claim 1, further comprising: recording footprint points and gaze vectors of each historical user based on a preset period; and cleaning the footprint points and the gazing vectors of each historical user, and eliminating noise data.
  9. 9. Landscape architecture analog system based on virtual reality technique, characterized by comprising: the system comprises a data acquisition unit, a building module position information, a data processing unit and a data processing unit, wherein the data acquisition unit is used for acquiring historical session data and the building module position information, the historical session data comprises footprint points and gazing vectors of a plurality of historical users at a plurality of moments in a virtual scene, the footprint points are used for representing coordinates of the historical users in the virtual scene, the gazing vectors are used for representing directions and angles of the historical users gazing at the building module, and the building module position information is used for representing coordinates of the building module in the virtual scene; the analysis unit is used for determining the attention degree and the attention position of the plurality of historical users to the building module based on the historical session data and the building module position information, wherein the attention position is the footprint point position when the historical users pay attention to the building module; The priority calculating unit is used for determining the rendering priority degree of the building module based on target session data, the attention degree and the attention position, wherein the target session data is session data of a current user; And the rendering scheduling unit is used for performing hierarchical rendering scheduling on the virtual scene based on the rendering priority degree of each building module in the virtual scene.

Description

Garden landscape simulation method and system based on virtual reality technology Technical Field The invention relates to the technical field of image analysis, in particular to a garden landscape simulation method and system based on a virtual reality technology. Background The virtual reality technology is widely applied in the field of landscape simulation, and space structure and material details can be displayed through immersive experience, so that design optimization and scheme communication are aided. Traditional garden display modes such as two-dimensional drawings or static effect drawings are difficult to truly restore dynamic light and shadow and space layers, and virtual reality technology provides visual space perception for designers, owners and constructors through three-dimensional interaction. Existing virtual reality systems typically employ rendering strategies based on a user's real-time field of view, dynamically loading scene content within the field of view to control the computational load. However, elements such as vegetation, water and the like in a garden scene are complex and huge in data volume, and the problems of frame rate reduction and delay easily occur in the existing rendering method when the existing rendering method is used for real-time processing, so that scene switching is hard and hard, and the immersion of a user is influenced. Disclosure of Invention In order to solve the technical problems that the frame rate is easy to drop and delay are easy to occur when the existing method is used for processing in real time, so that scene switching is hard and the immersion feeling of a user is influenced, the invention aims to provide a landscape simulation method and a landscape simulation system based on a virtual reality technology, and the adopted technical scheme is as follows: The invention provides a garden landscape simulation method based on a virtual reality technology, which comprises the steps of obtaining historical session data and building module position information, wherein the historical session data comprise footprint points and gazing vectors of a plurality of historical users at a plurality of moments in a virtual scene, the footprint points are used for representing coordinates of the historical users in the virtual scene, the gazing vectors are used for representing directions and angles of the historical users gazing at building modules, the virtual scene comprises a plurality of building modules, the building module position information is used for representing coordinates of the building modules in the virtual scene, attention degree and attention position of the historical users to the building modules are determined based on the historical session data and the building module position information, the attention position is the footprint point position of the historical users when the historical users pay attention to the building modules, the target session data are based on the target session data, the attention degree and the attention position, the rendering priority degree of the building modules is determined, the target session data is the current user session data, and the virtual scene is subjected to hierarchical rendering scheduling based on the rendering priority degree of each building module in the virtual scene. With reference to the first aspect, in one possible implementation manner, the method specifically includes determining a plurality of first reference user sets of target historical users at a plurality of moments, wherein the target historical users are any one of the plurality of historical users, the first reference users in the first reference user sets are other historical users within a preset range of the target historical users at corresponding moments, determining the same-line degree of the target historical users at the plurality of moments based on the plurality of first reference user sets, wherein the same-line degree is used for representing similarity of motion paths of the target historical users and the reference users, determining the same-line convergence degree of the target historical users based on variation trends of the same-line degrees at the plurality of moments, wherein the same-line convergence degree is used for representing probability that the plurality of users are attracted by the same spatial area together, and determining the attention degree and the attention position of the building module based on the same-line convergence degree. With reference to the first aspect, in one possible implementation manner, the method specifically includes clustering fixation vectors of a first reference user set at each of a plurality of moments based on a peer convergence degree, determining at least one peripheral fixation vector, wherein the peripheral fixation vector is used for representing a spatial region direction attracting a target historical user, determining an initial fixation degree of a