Method for fast entering a specified roaming scenario
By creating horizontal cross-sections and locating roaming points in the 3D model, the problems of low efficiency and easy disorientation in existing technologies are solved, enabling rapid entry into the specified roaming scene and accurate spatial recognition, thus improving the efficiency and convenience of roaming engineering 3D models.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NORTHWEST ENGINEERING CORPORATION LIMITED
- Filing Date
- 2026-04-27
- Publication Date
- 2026-06-16
AI Technical Summary
Existing technologies are inefficient and prone to disorientation when entering a 3D model roaming scene, making it difficult to quickly reach the designated location. This is especially true in unfinished interior spaces where roaming can easily lead to getting lost.
By creating a horizontal section plane in the 3D model, adjusting it to a specified elevation, selecting a target location in the section plane to create a roaming auxiliary point, defining the nearest intersection point as the roaming point, and configuring the roaming character and camera, the model can enter a roaming state at the specified location.
It significantly improves the efficiency of entering designated roaming scenes, solves the problem of getting lost, realizes high efficiency in roaming engineering 3D models and accurate spatial orientation recognition, and improves the ease of operation and the efficiency of engineering work.
Smart Images

Figure CN122223282A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of 3D model roaming technology, specifically involving a method for quickly entering a specified roaming scene. Background Technology
[0002] In the civil engineering industry, when conducting 3D model design and presentation, in order to more clearly and intuitively verify the degree of fit between the internal spatial structure of the 3D design results and the real scene, it is necessary to use roaming technology to enter the interior of the model structure and observe the model structure in real time by moving the character. The traditional way to enter the roaming scene is to control the roaming character to enter from the entrance (door) of the model space and then walk through each floor to observe the model. This method generally enters the roaming scene from the external entrance of the building, and has the following shortcomings: (1) It is not possible to quickly reach the specified location in the interior space of the model, and the efficiency of entering the roaming state is low; (2) After the roaming character enters from the model entrance, it must walk through each specified floor and then walk to the specified location before it can roam at the target location. When the interior space of the model has not yet been decorated and a doorplate has been added, due to the strong similarity of the interior space structure, it is easy to lose one's way while roaming. Summary of the Invention
[0003] The purpose of this invention is to provide a method for quickly entering a specified roaming scene, which solves the problems of low efficiency and easy disorientation when entering a model roaming scene using existing methods.
[0004] The technical solution adopted in this invention is a method for quickly entering a designated roaming scene, comprising the following steps: Step 1: Open the 3D model of the target project; Step 2: Create a horizontal cutting plane based on the 3D model, adjust the horizontal cutting plane to the specified elevation, and cut the 3D model at the specified elevation; Step 3: Select the target location in the horizontal section plane, create a roaming auxiliary point, and obtain its coordinate values; Step 4: Using the roaming auxiliary point as the vertex, draw a ray in the negative Z-axis direction to intersect the 3D model to obtain several intersection points; Step 5: Define the nearest intersection point to the roaming auxiliary point as the roaming point and obtain its coordinates and the current view angle; Step 6: Place the roaming character at the roaming point as the base point, and configure the roaming camera at the roaming point and the view angle as the base point, so that the 3D model enters the roaming state at the specified position.
[0005] The invention is further characterized in that, Step 2 is as follows: Click any point on the top surface of the 3D model with the mouse as a cutting auxiliary point, obtain the coordinate value (X1Y1Z1) of the cutting auxiliary point, create a horizontal cutting plane with the Z coordinate of the cutting auxiliary point as the reference elevation to put the 3D model into the cutting state; then adjust the Z coordinate value of the horizontal cutting plane by dragging the cutting handle to make it located at the specified elevation; then cut the 3D model at the specified elevation position through the horizontal cutting plane and display the 3D model view after cutting.
[0006] Step 3 specifically involves: selecting the target location by clicking with the mouse within the visible range of the horizontal section plane, defining the target location as a roaming auxiliary point, and obtaining the coordinate values (X2Y2Z2) of the roaming auxiliary point.
[0007] Step 5 specifically involves defining the point closest to the roaming auxiliary point among several intersection points as the roaming point, obtaining the coordinates (X0, Y0, Z0) of the roaming point, and simultaneously reading the horizontal rotation angle of the current view, which is the angle α between the horizontal direction of the current view and the positive direction of the X-axis of the world coordinate system. After completion, the 3D model is exited from the sectioning state.
[0008] Step 6 specifically includes the following steps: Step 6.1: Load the preset roaming character model and bind the roaming character model coordinates with the roaming point as the base point, and then calibrate the posture according to the ground slope; Step 6.2: Set the initial position of the roaming camera, and lock the center point of the roaming camera to the head of the roaming character model. Configure the interaction rules for controlling rotation by dragging the mouse and adjusting distance by scrolling the wheel.
[0009] If the roaming point coordinates are defined as (X0, Y0, Z0) in step 6.1, then the roaming character model coordinates are bound as (X0, Y0+h, Z0), where h is the reference height for matching the human body.
[0010] In step 6.2, the initial position of the roaming camera is set to (X0+d×cos(α+θ),Y0+h+Δh,Z0+d×sin(α+θ)), where d is the horizontal distance between the roaming camera and the roaming character model, α is the angle between the current view's horizontal direction and the positive X-axis of the world coordinate system, θ is the horizontal orientation offset angle of the roaming camera relative to the roaming character, and Δh is the height offset.
[0011] Step 6 also includes step 6.3, enabling the roaming interaction interface to enter the roaming state from the specified roaming point.
[0012] The beneficial effects of this invention are as follows: This invention facilitates the rapid entry into a designated roaming scene by employing a model sectioning and exposure method combined with fixed-point deployment of the roaming character. Specifically, by performing a sectioning operation on the 3D model and adjusting the sectioning parameters to accurately expose the designated target space, the roaming character is then directly deployed within that space. This eliminates the redundant step of moving from the initial position to the target space in traditional roaming methods, significantly improving the efficiency of entering a designated roaming scene. Simultaneously, the visible range of the model is expanded under sectioning conditions. Using the resulting building cross-section diagram, the current spatial orientation of the roaming character can be clearly identified, effectively solving the technical problem of easily losing direction during traditional 3D model roaming. Ultimately, this achieves high efficiency in engineering 3D model roaming and accurate spatial orientation recognition, significantly improving the convenience of roaming operations and the efficiency of engineering-related work. Attached Figure Description
[0013] Figure 1 This is a flowchart illustrating the method of the present invention for quickly entering a specified roaming scene; Figure 2 This is a schematic diagram of the model's state before sectioning and the location of sectioning auxiliary points in this invention; Figure 3 This is a diagram showing the spatial relationship between the roaming auxiliary point and the roaming point under the horizontal cutting state in this invention; Figure 4 This is a schematic diagram of the roaming points created and the roaming characters placed in this invention; Figure 5 This is a schematic diagram of the roaming effect when entering a designated location in this invention; Figure 6 This is a comparison diagram of the anti-lost effect of 3D model roaming with the assistance of sectional views in this invention. Detailed Implementation
[0014] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0015] Example 1 This invention provides a method for quickly entering a specified roaming scene, including opening a target engineering 3D model; creating a horizontal section plane based on the 3D model, adjusting the horizontal section plane to a specified elevation, and sectioning the 3D model at the specified elevation; selecting a target location in the horizontal section plane, creating roaming auxiliary points and obtaining their coordinate values; drawing rays from the roaming auxiliary points to the negative Z-axis and intersecting the 3D model to obtain several intersection points; defining the nearest intersection point to the roaming auxiliary points as the roaming point and obtaining its coordinate values and the current view angle; placing a roaming character based on the roaming point, and configuring a roaming camera based on the roaming point and the view angle, so that the 3D model enters a roaming state at the specified location. This invention's method for quickly entering a specified roaming scene solves the problems of low efficiency and easy disorientation in existing methods when entering a model roaming scene, achieving high efficiency in engineering 3D model roaming and accurate spatial orientation recognition, significantly improving the convenience of roaming operations and the efficiency of engineering-related work. Figure 1 As shown, please follow these steps: Step 1: Open the 3D model of the target project.
[0016] Step 2: Create a horizontal section plane based on the target project 3D model to put the 3D model into sectioning state. Adjust the horizontal section plane to the specified elevation using the sectioning handle so that the target project 3D model is sectioned by the horizontal section plane at that elevation.
[0017] Step 3: Within the visible range of the horizontal section plane, select the target location by clicking with the mouse, define it as a roaming auxiliary point, and record the coordinate information (X2Y2Z2) of the point.
[0018] Step 4: Using the roaming auxiliary point as a reference, draw a ray in the negative Z-axis direction to intersect the target engineering 3D model to obtain intersection point 1, intersection point 2, intersection point 3... intersection point N.
[0019] Step 5: Define the point closest to the roaming auxiliary point as the roaming point, obtain the coordinates (X0, Y0, Z0) of the roaming point, and read the horizontal rotation angle of the current 3D view as the view angle (α), then exit the sectioning state.
[0020] Step 6: Place the roaming character at the roaming point (X0,Y0,Z0) as the base point, and deploy the roaming camera based on the coordinates of the roaming point and the view angle (α) to make the 3D model enter an immersive roaming state at the specified position.
[0021] Through the above method, this invention adopts a "model sectioning and exposure + roaming character fixed-point deployment" approach. This involves performing a sectioning operation on the 3D model, adjusting the sectioning parameters to accurately expose the target space, and then directly deploying the roaming character within that space. This eliminates the redundant step of moving from the initial position to the target space in traditional roaming methods, significantly improving the efficiency of entering the designated roaming scene. Simultaneously, the model's visible range is expanded under sectioning conditions. Using the resulting building cross-section diagram, the current spatial orientation of the roaming character can be clearly identified, effectively solving the technical problem of easily getting lost during traditional 3D model roaming. Ultimately, this achieves high efficiency in engineering 3D model roaming and accurate spatial orientation recognition, significantly improving the convenience of roaming operations and the efficiency of engineering-related work.
[0022] Example 2 This invention provides a method for quickly entering a specified roaming scene. Based on Embodiment 1, a horizontal cutting plane is created using the target engineering 3D model as a reference, putting the 3D model into a cutting state. The horizontal cutting plane is adjusted to a specified elevation using the cutting handle, so that the target engineering 3D model is cut by the horizontal cutting plane at that elevation. Specifically, the preferred method is to click any point on the top surface of the target engineering 3D model as a cutting auxiliary point and obtain the coordinate value (X1Y1Z1) of that point; a horizontal cutting plane is created using the Z coordinate of that point as the reference elevation, putting the model into a cutting state. The Z coordinate value of the horizontal cutting plane is adjusted by dragging the cutting handle to be at the specified elevation. The target engineering 3D model will be cut by the horizontal cutting plane at this elevation, and the cut model view will be displayed.
[0023] Example 3 This invention provides a method for quickly entering a designated roaming scene. Based on Embodiment 1, a ray is drawn from a roaming auxiliary point along the negative Z-axis, intersecting with the target engineering 3D model to obtain intersection points 1, 2, 3...N. Specifically, the preferred method is to draw a ray from the roaming auxiliary point as the vertex along the negative Z-axis, resulting in one or more intersection points with the surface of the target engineering 3D model. Based on the spatial position of the roaming auxiliary point, the distance between each intersection point and the auxiliary point is calculated, and these points are named intersection point 1, intersection point 2, intersection point 3... in ascending order of distance.
[0024] Example 4 This invention provides a method for quickly entering a specified roaming scene. Based on Embodiment 1, the point closest to the roaming auxiliary point is defined as the roaming point, the coordinates (X0, Y0, Z0) of the roaming point are obtained, and the horizontal rotation angle of the current 3D view is read as the view angle (α). Then, the system exits the sectioning state. Specifically, the preferred method is to define the point closest to the roaming auxiliary point among the intersection points as the roaming point (i.e., intersection point 1), and obtain the coordinates (X0, Y0, Z0) of the roaming point. At the same time, the system reads the horizontal rotation angle (α) of the current view, which is the angle between the horizontal direction of the view and the positive direction of the X-axis of the world coordinate system, with a value range of 0° to 360°. After the parameter acquisition is completed, the system exits the sectioning state, and the model is restored to the full display mode.
[0025] Example 5 This invention provides a method for quickly entering a designated roaming scene. Based on Example 1, a roaming character is placed with a roaming point (X0, Y0, Z0) as the base point, and a roaming camera is deployed based on the coordinates of this roaming point and the view angle (α), so that the 3D model enters an immersive roaming state at the designated location. The preferred steps are as follows: S601. Place the roaming character, load the preset third-person character model, bind its coordinates to (X0,Y0+h,Z0) (h is the reference height to match the human body, such as 1.8m), and automatically calibrate the posture according to the slope of the ground to prevent floating.
[0026] S602. Configure the roaming camera, setting the initial position of the camera to (X0+d×cos(α+θ),Y0+h+Δh,Z0+d×sin(α+θ)) (d is the horizontal distance between the camera and the character, with a default value of 2m; θ is the horizontal orientation offset angle of the roaming camera relative to the roaming character, ranging from -180° to 180°, used for fine-tuning the camera orientation, with a default value of 0°; Δh is the height offset, with a default value of 0.5m). Simultaneously, lock the center point of the camera to the character's head, and configure the interaction rules for controlling rotation by dragging the mouse and adjusting the distance by scrolling the wheel. After completing the deployment of the character and camera, the system enables the roaming interaction interface, enabling precise entry into the immersive roaming state from the specified roaming point.
[0027] Example 6 This invention provides a method for quickly entering a specified roaming scene, including opening a target engineering 3D model; creating a horizontal section plane based on the 3D model, adjusting the horizontal section plane to a specified elevation, and sectioning the 3D model at the specified elevation; selecting a target location in the horizontal section plane, creating roaming auxiliary points and obtaining their coordinate values; drawing rays from the roaming auxiliary points to the negative Z-axis and intersecting the 3D model to obtain several intersection points; defining the nearest intersection point to the roaming auxiliary points as the roaming point and obtaining its coordinate values and current view angle; placing a roaming character based on the roaming point, and configuring a roaming camera based on the roaming point and view angle, so that the 3D model enters a roaming state at the specified location. This invention's method for quickly entering a specified roaming scene solves the problems of low efficiency and easy disorientation when entering a model roaming scene using existing methods, achieving high efficiency in engineering 3D model roaming and accurate spatial orientation recognition, significantly improving the convenience of roaming operations and the efficiency of engineering-related work. Specifically, it is implemented according to the following steps: S1: Model Preparation. Open the target project's 3D model of the main powerhouse of the hydropower station (including the generator floor, turbine floor, installation bay, etc.).
[0028] S2: Creating and adjusting horizontal section planes. For example... Figure 2 As shown: S201: The engineer clicks on a point on the outer surface of the main plant structure in the model as a sectioning auxiliary point, and the system obtains the coordinates of the point as (X1=42.3, Y1=19.7, Z1=38.5).
[0029] S202: The system creates a horizontal section surface based on the Z coordinate (38.5m) of this point as the reference elevation, and the model enters the sectioning state.
[0030] S203: The engineer drags the cutting handle to adjust the Z coordinate of the horizontal cutting plane to 35.2m (the specified elevation above the generator layer). The model is cut at this elevation, revealing the spatial layout of the generator layer.
[0031] S3: Roaming Auxiliary Point Creation. On the horizontal cross-section after cutting, the engineer clicks on the area above the midpoint between generator sets #2 and #3 as a roaming auxiliary point. The system automatically obtains the coordinates of this roaming auxiliary point as (X2=48.1, Y2=25.3, Z2=35.2). Figure 3 As shown.
[0032] S4: Ray intersection and intersection point sorting. For example... Figure 4 As shown: S401: The system emits a ray in the negative (downward) direction of the Z-axis, starting from the roaming auxiliary point (48.1,25.3,35.2).
[0033] S402: The ray intersects with the floor slab of the generator floor and the floor slabs of the busbar floor and turbine floor below, resulting in 3 intersection points: Intersection point 1: (48.1, 25.3, 34.0) (1.2m away from the roaming auxiliary point, located on the generator floor slab); Intersection point 2: (48.1, 25.3, 28.7) (6.5m away from the roaming auxiliary point, located on the busbar floor slab); Intersection point 3: (48.1, 25.3, 22.4) (12.8m away from the roaming auxiliary point, located on the top of the turbine).
[0034] S403: The system sorts the points from nearest to farthest by distance and names the closest (48.1, 25.3, 34.0) as intersection point 1.
[0035] S5: Roaming point definition and parameter acquisition. For example... Figure 4 As shown: S501: The system defines intersection point 1 as a roaming point and obtains its coordinates as (X0=48.1, Y0=25.3, Z0=34.0).
[0036] S502: At the same time, the system reads the horizontal rotation angle of the current view as α=120° (this angle represents the angle between the horizontal direction of the current view and the positive direction of the X-axis of the world coordinate system).
[0037] S503: After completing parameter acquisition, the system exits the sectioning state and the model is restored to the full display mode.
[0038] S6: Roaming characters and camera placement. For example... Figure 5 As shown: S601: Place the roaming character. The system loads a preset third-person character model, binds its coordinates to (X0=48.1, Y0+h=25.3+1.8=27.1, Z0=34.0), and automatically calibrates the character's posture to match the platform slope by detecting the triangular facet normal vectors of the floor slabs around the roaming point, thus preventing floating.
[0039] S602: Configure the roaming camera. The initial camera position is set as follows: X=X0+d×cos(α+θ)=48.1+2×cos(120°+0°)=47.1; Y=Y0+h+Δh=25.3+1.8+0.5=27.6; Z=Z0+d×sin(α+θ)=34.0+2×sin(120°+0°)≈35.73; The camera center point is locked to the character's head, and the interaction rules for controlling rotation by dragging the mouse and adjusting distance by scrolling the wheel are configured.
[0040] S603: After deployment, the system enables the roaming interaction interface. Engineers can directly enter the immersive roaming state from the middle area between generator set #2 and generator set #3. The initial view is completely consistent with the view during the section preview, without any additional adjustments.
[0041] Using the above method, the time for engineers to go from opening the model to entering the designated roaming scene on the generator layer is reduced from approximately 3 minutes in the traditional method to approximately 18 seconds, improving efficiency by about 10 times; at the same time, as Figure 6 As shown, orientation recognition in the cross-section effectively avoids the problem of getting lost in complex factory structures, significantly improving the efficiency of equipment installation inspection and collaborative communication.
Claims
1. A method for quickly entering a designated roaming scene, characterized in that, Includes the following steps: Step 1: Open the 3D model of the target project; Step 2: Create a horizontal cutting plane based on the 3D model, adjust the horizontal cutting plane to the specified elevation, and cut the 3D model at the specified elevation; Step 3: Select the target location in the horizontal section plane, create a roaming auxiliary point, and obtain its coordinate values; Step 4: Using the roaming auxiliary point as the vertex, draw a ray in the negative Z-axis direction to intersect the 3D model to obtain several intersection points; Step 5: Define the nearest intersection point to the roaming auxiliary point as the roaming point and obtain its coordinates and the current view angle; Step 6: Place the roaming character at the roaming point as the base point, and configure the roaming camera at the roaming point and the view angle as the base point, so that the 3D model enters the roaming state at the specified position.
2. The method for quickly entering a designated roaming scene as described in claim 1, characterized in that, Step 2 specifically involves: clicking any point on the top surface of the 3D model as a cutting auxiliary point, obtaining the coordinate values (X1Y1Z1) of the cutting auxiliary point, creating a horizontal cutting plane based on the Z coordinate of the cutting auxiliary point as the reference elevation to put the 3D model into the cutting state; then adjusting the Z coordinate value of the horizontal cutting plane by dragging the cutting handle to make it located at the specified elevation; then cutting the 3D model at the specified elevation position using the horizontal cutting plane, and displaying the 3D model view after cutting.
3. The method for quickly entering a designated roaming scene as described in claim 1, characterized in that, Step 3 specifically involves: selecting the target location by clicking with the mouse within the visible range of the horizontal section plane, defining the target location as a roaming auxiliary point, and obtaining the coordinate values (X2Y2Z2) of the roaming auxiliary point.
4. The method for quickly entering a designated roaming scene as described in claim 1, characterized in that, Step 5 specifically involves defining the point closest to the roaming auxiliary point among several intersection points as the roaming point, obtaining the coordinates (X0, Y0, Z0) of the roaming point, and simultaneously reading the horizontal rotation angle of the current view, i.e., the angle α between the horizontal direction of the current view and the positive direction of the X-axis of the world coordinate system. After completion, the 3D model exits the sectioning state.
5. The method for quickly entering a designated roaming scene as described in claim 1, characterized in that, Step 6 specifically includes the following steps: Step 6.1: Load the preset roaming character model and bind the roaming character model coordinates with the roaming point as the base point, and then calibrate the posture according to the ground slope; Step 6.2: Set the initial position of the roaming camera, and lock the center point of the roaming camera to the head of the roaming character model. Configure the interaction rules for controlling rotation by dragging the mouse and adjusting distance by scrolling the wheel.
6. The method for quickly entering a designated roaming scene as described in claim 5, characterized in that, If the roaming point coordinates are defined as (X0, Y0, Z0) in step 6.1, then the roaming character model coordinates are bound as (X0, Y0+h, Z0), where h is the reference height for matching the human body.
7. The method for quickly entering a designated roaming scene as described in claim 6, characterized in that, In step 6.2, the initial position of the roaming camera is set to (X0+d×cos(α+θ),Y0+h+Δh,Z0+d×sin(α+θ)), where d is the horizontal distance between the roaming camera and the roaming character model, α is the angle between the current view's horizontal direction and the positive X-axis of the world coordinate system, θ is the horizontal orientation offset angle of the roaming camera relative to the roaming character, and Δh is the height offset.
8. The method for quickly entering a designated roaming scene as described in claim 5, characterized in that, Step 6 also includes step 6.3: enabling the roaming interaction interface to enter the roaming state from the specified roaming point.