Camera positioning method in three-dimensional real-time rendering window
By creating a third-person camera in the 3D design view and synchronizing it to the 3D rendering view in real time, the problems of cumbersome camera positioning operations and insufficient synchronization in BIM software are solved, realizing instant and seamless linkage between the 3D design and rendering views and efficient camera parameter adjustment.
Patent Information
- Application Number
- CN202511090979.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-05
- Publication Date
- 2025-10-31
AI Technical Summary
In existing BIM software, camera positioning needs to be set in the 2D view and verified in the 3D view. This operation is cumbersome, and the 3D design view and the rendered view cannot be effectively synchronized, making it impossible to directly edit the camera object model effect.
Create a third-person camera in the 3D design view, set initial parameters, and synchronize it in real time to the 3D rendering view through ueBIM software. This enables bidirectional synchronization and seamless switching of camera parameters, supports direct adjustment of camera parameters in the 3D design view, and real-time preview of the effect in the 3D rendering view.
It enables real-time and seamless linkage between the 3D design view and the rendering view, improves the accuracy of camera positioning and the smoothness of operation, reduces secondary calibration steps, and improves human-computer interaction efficiency by 50%.
Smart Images

Figure CN120876593A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of BIM (Building Information Modeling) 3D real-time rendering technology, and in particular to a camera positioning method in a 3D real-time rendering window. Background Technology
[0002] When rendering BIM models in 3D, accurate camera positioning, including the camera's fixed position, orientation angle, and field of view, is crucial for achieving good rendering results, including image output and walkthrough effects. The camera positioning function in BIM software is a real-time linkage process from 3D space to 3D rendering, and current mainstream BIM tools still have significant limitations in this function.
[0003] Currently, in Revit software, the camera positioning function only allows setting the camera's base point, parameters, and viewing direction in the 2D view. A secondary confirmation is then needed in the 3D view to check the rationality of the design angles. In interior design, the camera positioning function in software like Kujiale requires setting the camera base point and viewing direction in the 2D view before checking the rationality of the camera positioning scheme in the 3D view. This often necessitates repeatedly adjusting the 2D parameters to match the 3D effect.
[0004] The existing camera positioning methods have the following technical problems:
[0005] 1. Camera positioning requires setting camera parameters in the 2D view, viewing them in the 3D design view, and then verifying them in the 3D view. If adjustments are still needed after viewing the 3D effect, it is necessary to return to the 2D view to adjust the parameters, which is cumbersome and inconvenient.
[0006] 2. The camera object positioning function between the 3D design view and the 3D rendering view failed to achieve effective synchronization.
[0007] 3. The camera object model effect in the 3D design window can only be displayed and cannot be directly selected or its attribute parameters edited.
[0008] Therefore, there is a need to provide a camera positioning method in a 3D real-time rendering window that can solve the above-mentioned technical problems. Summary of the Invention
[0009] The purpose of this invention is to provide a camera positioning method in a 3D real-time rendering window, which can solve the above-mentioned technical problems.
[0010] This invention is implemented as follows:
[0011] A method for camera positioning in a 3D real-time rendering window includes the following steps:
[0012] S1: Provides a 3D design window, allowing you to create a third-person view camera within the 3D design view;
[0013] S2: Enter the preparation parameters in the 3D design view;
[0014] S3: Provides a 3D rendering window that synchronizes the camera position of the 3D design view to the 3D rendering view, so that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view.
[0015] S4: Export the image from the 3D rendering window;
[0016] S5: Export the walkthrough video from the 3D rendering window;
[0017] S6: Information Reverse Update.
[0018] In S1, one or more cameras with different perspectives are placed simultaneously in the three-dimensional design view, and multiple cameras can be placed consecutively.
[0019] In S2, the preparation parameters include setting the initial position and orientation of each camera. The camera has default configuration parameters, including: height, near-field distance, far-field distance, height field of view, and camera pitch angle.
[0020] In S3, after adjusting the required camera angle in the 3D design view, the camera angle parameter settings in the 3D design view are precisely copied to the 3D rendering view. The corresponding camera angle parameters will be synchronously applied to the output in the 3D rendering view, thereby ensuring that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view, without the need for secondary manual angle calibration.
[0021] In S4, the 3D rendering window and the 3D design window share the same camera parameter database, enabling camera parameter adjustment commands to trigger real-time collaborative updates of the dual-window rendering engines. It also supports writing the camera viewpoint from the 3D rendering window back into the camera positioning data in the 3D design window, achieving bidirectional synchronization of camera positioning.
[0022] The S4 process includes the following steps:
[0023] S4.1: Associate the camera data in the 3D design view with the 3D rendering view, so that the camera switches from the third-person perspective of the 3D design view to the first-person perspective of the 3D rendering view, achieving seamless switching between the first-person and third-person perspectives, and maintaining the consistency of the camera's pitch angle and field of view parameters during the switching process.
[0024] S4.2: Tiling the 3D design window and the 3D rendering window allows you to simultaneously observe the real-time dynamic update of camera parameter adjustments in both the 3D design view and the 3D rendering view.
[0025] S4.3: Output high-definition 4K and 8K images in the 3D rendering window.
[0026] The S5 step includes the following sub-steps:
[0027] S5.1: Click the camera roaming function in the rendering module of the 3D rendering window, associate the synchronized camera option, and set the positions of all cameras as keyframes of the roaming path;
[0028] S5.2: Record the complete state of the camera at a specific point in time in the 3D rendering window, including data nodes for position, orientation, and parameters;
[0029] S5.3: Through automatic interpolation calculation between keyframes, an animation curve of camera motion is generated in the 3D rendering view to form a roaming path;
[0030] S5.4: Export the roaming video in the 3D rendering window based on the roaming path.
[0031] In S6, by clicking on the camera in keyframes in real time, the effect can be viewed and the camera's perspective can be modified. The modified camera perspective is then back-synchronized to the corresponding camera information in the 3D design view, forming a closed-loop operation.
[0032] Compared with the prior art, the present invention has the following advantages:
[0033] This invention utilizes the camera positioning function within the ueBIM software, allowing direct operation within the 3D design view. Users can set camera parameters such as height, elevation angle, and field of view, which are then synchronized in real-time to the 3D rendering window. This enables users to adjust camera parameters in the 3D design view while simultaneously observing a near-final rendering preview in the 3D rendering window, without needing to return to the 2D view to reset parameters. Furthermore, every third-person viewpoint camera parameter adjustment made in the 3D design view is automatically and synchronously mapped to the first-person viewpoint in the associated 3D rendering window. It also supports recording the currently most satisfactory viewpoint composition in the 3D rendering window and synchronously updating the camera positioning status in the 3D view, achieving bidirectional, real-time, and seamless linkage. This significantly improves the accuracy, efficiency, and smoothness of camera positioning. Attached Figure Description
[0034] Figure 1 This is a flowchart of the camera positioning method in a 3D real-time rendering window according to the present invention;
[0035] Figure 2 This is a schematic diagram of the camera positioning method in a 3D real-time rendering window according to the present invention.
[0036] Figure 3 This is a schematic diagram of the placement of a single camera in S1 of the camera positioning method in the three-dimensional real-time rendering window of the present invention;
[0037] Figure 4 This is a schematic diagram of the placement of multiple cameras in S1 of the camera positioning method in the three-dimensional real-time rendering window of the present invention;
[0038] Figure 5 This is a schematic diagram of the perspective projection principle of the perspective camera in the camera positioning method in the three-dimensional real-time rendering window of the present invention.
[0039] Figure 6 This is a perspective diagram of the camera in the camera positioning method in a 3D real-time rendering window according to the present invention.
[0040] Figure 7 This is a schematic diagram illustrating the effect of S4 in the camera positioning method within a 3D real-time rendering window of the present invention.
[0041] Figure 8 This is a schematic diagram of the roaming path in S5 of the camera positioning method in the 3D real-time rendering window of the present invention. Detailed Implementation
[0042] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0043] Explanation of terms used in this invention:
[0044] BIM (Building Information Modeling) software system: A software system that uses building information model as the data core and supports 3D display.
[0045] Rendering: refers to the process of converting 3D BIM model data into 2D images, involving operations such as geometric transformation, lighting calculation, material processing, and texture mapping, to generate realistic visual effects.
[0046] Camera positioning: refers to the operational mechanism that controls the position, orientation, and viewpoint parameters (such as field of view or focal length) of a virtual observer in three-dimensional space.
[0047] 3D design view: This refers to the view window for spatial positioning, attribute setting, and spatial modeling of the BIM model. In the 3D design view, the camera, as a BIM component, is used to design its position and other attribute information, and is viewed from a third-person perspective.
[0048] 3D rendering view: This refers to the view window that realistically renders the BIM model. The camera, as the camera object for rendering 3D space, is viewed from a first-person perspective.
[0049] Please see the appendix Figure 1 and attached Figure 2 A camera positioning method in a 3D real-time rendering window is disclosed. The camera positioning method of the present invention is implemented using ueBIM software. Compared with traditional Revit software and Kujiale software, the camera positioning function in ueBIM software can be operated directly in the 3D design view, setting parameters such as camera height, elevation angle, and field of view, and synchronizing them to the 3D rendering window in real time.
[0050] The camera positioning method of the present invention includes the following steps:
[0051] S1: Provides a 3D design window, allowing you to create a third-person camera view within the 3D design view.
[0052] In step S1, one or more cameras with different perspectives can be placed simultaneously in the 3D design view. Multiple cameras can be placed consecutively. A schematic diagram of the placement of a single camera is shown in the attached figure. Figure 3 As shown in the attached diagram, multiple cameras are positioned in a specific configuration. Figure 4 As shown.
[0053] Preferably, a perspective camera can be used. The core of a perspective camera is a "perspective projection matrix," which transforms points in 3D space into a standardized clipping space (NDC space). A perspective camera is a camera model in 3D computer graphics that simulates human vision, producing images with a sense of depth (i.e., objects appear larger when closer and smaller when farther away), consistent with how the human eye observes objects in the real world. Objects farther away from the perspective camera appear smaller on the imaging plane, while those closer appear larger.
[0054] S2: Enter the preparation parameters in the 3D design view.
[0055] In S2, the preparation parameters include setting the initial position and orientation of each camera. The camera has default configuration parameters, such as height, near-field distance, far-field distance, height field of view, and camera pitch angle.
[0056] The near-field section is the plane closest to the camera; objects closer to this plane are invisible. The far-field section is the plane farthest from the camera; objects farther from this plane are invisible. (See attached diagram.) Figure 5 and attached Figure 6 As shown.
[0057] S3: Provides a 3D rendering window that synchronizes the camera position of the 3D design view to the 3D rendering view, ensuring that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view.
[0058] Specifically, after adjusting the required camera angle in the 3D design view, the camera angle parameter settings in the 3D design view are precisely copied to the 3D rendering view. The corresponding camera angle parameters will be synchronously applied to the output in the 3D rendering view, thereby ensuring that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view, without the need for secondary manual angle calibration.
[0059] Please see the appendix Figure 7 S4: Export the image in the 3D rendering window.
[0060] The 3D rendering window and the 3D design window share the same camera parameter database, enabling camera parameter adjustment commands to trigger real-time collaborative updates of the rendering engines in both windows (i.e., the 3D rendering window and the 3D design window). It also supports writing the camera view from the 3D rendering window back into the camera positioning data in the 3D design window, achieving bidirectional synchronization of camera positioning. This solves the problem in traditional BIM software where the camera positioning parameters of the 3D view and the rendering window are independent, and adjustments require repeatedly switching views and manually triggering rendering, which is cumbersome and inconvenient.
[0061] The dual-window collaborative operation mode allows for the initial setting of camera parameters in the 3D design view, and real-time preview and fine-tuning in the 3D rendering view, meeting the needs of different design stages.
[0062] The S4 process includes the following steps:
[0063] S4.1: Associate the camera data in the 3D design view with the 3D rendering view, so that the camera switches from the third-person perspective of the 3D design view to the first-person perspective of the 3D rendering view, achieving seamless switching between the first-person and third-person perspectives, and maintaining the consistency of camera parameters such as pitch angle and field of view during the switching process.
[0064] S4.2: Tiling the 3D design window and the 3D rendering window allows you to simultaneously observe the real-time dynamic updates of camera parameter adjustments in both the 3D design view and the 3D rendering view.
[0065] The 3D design window and the 3D rendering window are tiled on the computer screen. By displaying them side by side, parameter adjustments and effect feedback are presented on the same screen. An event listener mechanism is used between the two windows / multiple windows to realize mutual recognition of operation commands. It supports dragging and dropping to adjust parameters across windows, such as camera selection and parameter fine-tuning. The human-computer interaction logic is optimized, which can improve the interaction efficiency by more than 50%.
[0066] When adjusting camera parameters in the 3D design view, these parameters can be synchronously linked to the 3D rendering view, allowing you to view the changes in real time and achieve real-time rendering preview of the 3D view.
[0067] Preferably, a lightweight rendering engine can be used. When adjusting parameters such as camera height, pitch angle, and field of view in the 3D design view, the preview screen that is close to the final effect is automatically updated in real time through the 3D rendering window. The view can be seamlessly switched from the global observation mode of the 3D design view to the human eye perspective mode of the 3D rendering window, eliminating the waiting time that requires manual switching and re-rendering in the prior art.
[0068] S4.3: Output high-definition 4K and 8K images in the 3D rendering window.
[0069] S5: Export the walkthrough video in the 3D rendering window.
[0070] The S5 step includes the following sub-steps:
[0071] S5.1: Click the camera roaming function in the rendering module of the 3D rendering window, associate the synchronized camera option, and set the positions of all cameras as keyframes of the roaming path.
[0072] Camera roaming is a standard feature of existing rendering modules. It can synchronize camera options and automatically resolve multiple camera positions into keyframes for the roaming path. It supports directly adjusting keyframes in the 3D rendering window to dynamically modify the roaming path and camera view. Its specific functions and operations will not be elaborated here.
[0073] S5.2: Records the complete state of the camera at a specific point in time in the 3D rendering window, including data nodes for position, orientation, and parameters.
[0074] S5.3: Through automatic interpolation calculations between keyframes, an animation curve of camera motion is generated in the 3D rendered view, forming a roaming path, as shown in the attached figure. Figure 8 As shown.
[0075] Automatic interpolation calculation is a common method for calculating roaming paths in this field, and its specific calculation process will not be elaborated here.
[0076] S5.4: Export the roaming video in the 3D rendering window based on the roaming path.
[0077] Generating and exporting roaming videos based on roaming paths is a standard practice in this field, and its specific process will not be described in detail here.
[0078] S6: Information Reverse Update.
[0079] Specifically, by clicking on the camera in keyframes in real time, the effect can be viewed and the camera's perspective can be modified. The modified camera perspective can then be back-synchronized to the corresponding camera information in the 3D design view, forming a closed-loop operation and solving the problem of secondary calibration required in existing technologies.
[0080] The above are merely preferred embodiments of the present invention and are not intended to limit the scope of protection of the invention. Therefore, any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A camera positioning method in a 3D real-time rendering window, characterized by: Includes the following steps: S1: Provides a 3D design window, allowing you to create a third-person view camera within the 3D design view; S2: Enter the preparation parameters in the 3D design view; S3: Provides a 3D rendering window that synchronizes the camera position of the 3D design view to the 3D rendering view, so that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view. S4: Export the image from the 3D rendering window; S5: Export the walkthrough video from the 3D rendering window; S6: Information Reverse Update.
2. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: In S1, one or more cameras with different perspectives are placed simultaneously in the three-dimensional design view, and multiple cameras can be placed consecutively.
3. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: In S2, the preparation parameters include setting the initial position and orientation of each camera. The camera has default configuration parameters, including: height, near-field distance, far-field distance, height field of view, and camera pitch angle.
4. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: In S3, after adjusting the required camera angle in the 3D design view, the camera angle parameter settings in the 3D design view are precisely copied to the 3D rendering view. The corresponding camera angle parameters will be synchronously applied to the output in the 3D rendering view, thereby ensuring that the preview effect in the 3D design view is completely consistent with the rendering result in the 3D rendering view, without the need for secondary manual angle calibration.
5. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: In S4, the 3D rendering window and the 3D design window share the same camera parameter database, enabling camera parameter adjustment commands to trigger real-time collaborative updates of the dual-window rendering engines. It also supports writing the camera viewpoint from the 3D rendering window back into the camera positioning data in the 3D design window, achieving bidirectional synchronization of camera positioning.
6. The camera positioning method in a three-dimensional real-time rendering window according to claim 1 or 5, characterized in that: The S4 process includes the following steps: S4.1: Associate the camera data in the 3D design view with the 3D rendering view, so that the camera switches from the third-person perspective of the 3D design view to the first-person perspective of the 3D rendering view, achieving seamless switching between the first-person and third-person perspectives, and maintaining the consistency of the camera's pitch angle and field of view parameters during the switching process. S4.2: Tiling the 3D design window and the 3D rendering window allows you to simultaneously observe the real-time dynamic update of camera parameter adjustments in both the 3D design view and the 3D rendering view. S4.3: Output high-definition 4K and 8K images in the 3D rendering window.
7. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: The S5 step includes the following sub-steps: S5.1: Click the camera roaming function in the rendering module of the 3D rendering window, associate the synchronized camera option, and set the positions of all cameras as keyframes of the roaming path; S5.2: Record the complete state of the camera at a specific point in time in the 3D rendering window, including data nodes for position, orientation, and parameters; S5.3: Through automatic interpolation calculation between keyframes, an animation curve of camera motion is generated in the 3D rendering view to form a roaming path; S5.4: Export the roaming video in the 3D rendering window based on the roaming path.
8. The camera positioning method in a 3D real-time rendering window according to claim 1, characterized in that: In S6, by clicking on the camera in keyframes in real time, the effect can be viewed and the camera's perspective can be modified. The modified camera perspective is then back-synchronized to the corresponding camera information in the 3D design view, forming a closed-loop operation.
Citation Information
Patent Citations
Virtual reality panoramic video production method based on Rhino and Enscape
CN114390268A
Path planning method, system and device for scene roaming, and storage medium
CN116452718A
Three-dimensional scene rendering method, device and equipment
CN117437342A