Dynamic 3D model rendering and displaying method and system
Through model preprocessing, layered detail rendering, real-time lighting and shadow effects, Web Workers and GPU acceleration technology, it solves the performance, compatibility and complexity problems in existing 3D model rendering and display technology, improving low-end devices and Rendering performance and user experience on older browsers, ensuring cross-browser compatibility and efficient data processing.
Patent Information
- Application Number
- CN202410897889.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing 3D model rendering and display technology has many challenges in terms of performance, compatibility, implementation complexity, and data processing, resulting in poor user experience, especially in application scenarios with high performance requirements.
Simplify polygon count, compress textures and materials through the model preprocessing module, adopt layered detail rendering technology, real-time lighting and shadow effect module, Web Workers and GPU acceleration technology, combined with WebGL and JavaScript libraries, to provide rich user interaction functions and dynamic updates mechanism to monitor system performance in real time and dynamically adjust rendering parameters.
Significantly improves the rendering performance of low-end devices and old browsers, ensures cross-browser compatibility, simplifies the development process, improves system performance and user experience, and provides more realistic visual effects and efficient data processing.
Smart Images

Figure CN118747783A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer graphics technology, and in particular to a dynamic 3D model rendering and display method and system. Background Art
[0002] With the development of computer graphics and network technology, 3D model rendering and display technology has been widely used in various application scenarios, such as game development, virtual reality, architectural design, medical imaging and other fields. Existing 3D model rendering and display technology mainly relies on WebGL and other 3D rendering engines, which provide the advantages of real-time rendering, cross-platform compatibility and high interactivity. However, existing technologies still face many challenges and problems in terms of performance, compatibility, implementation complexity and data processing.
[0003] First, performance limitations are a major problem with existing 3D model rendering and display technologies. WebGL and 3D rendering technologies rely heavily on hardware acceleration, which can cause performance issues on low-end devices or older browsers. When dealing with models with high polygon counts or complex textures, system resources can become strained, leading to delays and freezes during the rendering process, which can seriously affect the user experience.
[0004] Secondly, cross-browser compatibility issues still exist. Although most modern browsers support WebGL, there may still be compatibility issues between different browsers and versions. It is a major challenge for developers to ensure consistent performance and visual effects in all supported browsers. Such compatibility issues will lead to inconsistent user experience on different devices and browsers, reducing system usability and user satisfaction.
[0005] In addition, the complexity of implementation is also an issue that needs to be addressed. Developing and maintaining a powerful 3D visualization system requires expertise in web development and computer graphics. Integrating advanced features such as real-time lighting, shadows, and physical simulations increases the complexity of the development process and requires a professional technical team. This not only increases development costs, but also prolongs the development cycle.
[0006] Finally, data processing and optimization is also a key problem in existing technologies. Effectively managing and visualizing large data sets in real time poses a major challenge, especially for applications that process large amounts of or dynamic data. Existing technologies often have difficulty balancing performance and effects when implementing optimization techniques such as detail-level rendering, occlusion culling, and data compression, resulting in inefficiency in the system when processing complex scenes.
[0007] The existence of these problems has a negative impact on the existing 3D model rendering and display technology, limiting its use in application scenarios with high performance requirements and reducing user experience and satisfaction. Therefore, a new dynamic 3D model rendering and display method and system is urgently needed to effectively solve the above problems. Summary of the invention
[0008] In order to overcome the shortcomings of the prior art, the present invention proposes a dynamic 3D model rendering and display method and system, which simplifies the number of polygons, compresses and optimizes textures and materials through a model preprocessing module, reduces the consumption of system resources during the rendering process, significantly improves the rendering performance of low-end devices and old browsers, reduces freezes and delays, and enhances the user experience.
[0009] To achieve the above object, the present invention provides a dynamic 3D model rendering and display method, comprising:
[0010] Step S1: obtaining the original data of the 3D model from a database or user input, the original data including geometric shape, texture and material information, and preprocessing the 3D model data;
[0011] Step S2: Using the Level of Detail (LOD) technology, the rendering accuracy of the model is dynamically adjusted according to the user's perspective and the model distance, and compatibility processing is performed for compatibility issues of different browsers;
[0012] Step S3: Realize real-time lighting and shadow effects, and efficiently process and optimize dynamically changing data;
[0013] Step S4: Provide rich user interaction functions and dynamic update mechanisms, monitor system performance in real time, and dynamically adjust rendering parameters.
[0014] Further, step S1 includes:
[0015] Step S11: simplifying the number of polygons of the model to reduce the amount of calculation;
[0016] Step S12: compressing and optimizing textures and materials to reduce bandwidth requirements for storage and transmission;
[0017] Step S13: enhancing the visual effect of the model through normal calculation and vertex color processing;.
[0018] Further, step S2 includes:
[0019] Step S21: Rendering using a high-precision model at a close-up viewing angle;
[0020] Step S22: Rendering using a low-precision model at a long-distance viewing angle;
[0021] Step S23: dynamically switch the model detail level to ensure a balance between rendering performance and visual effects;
[0022] Step S24: using WebGL and JavaScript libraries (such as Three.js) to ensure compatibility in mainstream browsers;
[0023] Step S25: Detect the user's browser environment in real time, load the corresponding optimization solution and compatible code, and adjust and optimize the rendering performance of different browsers to ensure a consistent user experience.
[0024] Further, step S3 includes:
[0025] Step S31: using a physically based rendering (PBR) model to simulate real lighting effects;
[0026] Step S32: dynamically calculating shadows and reflections to enhance the three-dimensionality and realism of the model;
[0027] Step S33: integrating ambient occlusion technology to enhance the depth and detail performance of the scene;
[0028] Step S34: using Web Workers technology to assign data processing tasks to background threads to avoid blocking the main thread;
[0029] Step S35: Improve data processing and rendering performance through GPU acceleration technology, implement detail-level rendering and occlusion culling technology, and optimize rendering efficiency of large-scale data sets.
[0030] Further, step S4 includes:
[0031] Step S41: Supporting users to rotate, scale and move the model through mouse and touch operations;
[0032] Step S42: respond to user input in real time and dynamically update the model and scene;
[0033] Step S43: Allow the user to add annotation and measurement functions, such as measuring model size, angle and distance;
[0034] Step S44: monitor the frame rate and resource usage in real time to detect performance bottlenecks;
[0035] Step S45: Dynamically adjust rendering quality and detail level to ensure smooth operation of the system, and provide performance reports and debugging tools to facilitate developers to optimize and adjust.
[0036] A system using a dynamic 3D model rendering and display method is applicable to the dynamic 3D model rendering and display method, comprising: a model data acquisition module, a model preprocessing module, a layered detail rendering module, a cross-browser compatibility processing module, a dynamic lighting and shadow effect module, a real-time data processing and optimization module, a user interaction and dynamic update module, and a system performance monitoring and adjustment module;
[0037] The output end of the model data acquisition module is signal-connected to the input end of the model preprocessing module, the output end of the model preprocessing module is signal-connected to the input end of the layered detail rendering module, the output end of the layered detail rendering module is signal-connected to the input end of the cross-browser compatibility processing module, the output end of the cross-browser compatibility processing module is signal-connected to the input end of the dynamic lighting and shadow effect module, the output end of the dynamic lighting and shadow effect module is signal-connected to the input end of the real-time data processing and optimization module, the output end of the real-time data processing and optimization module is signal-connected to the input end of the user interaction and dynamic update module, and the output end of the user interaction and dynamic update module is signal-connected to the input end of the system performance monitoring and adjustment module;
[0038] A model data acquisition module, used to acquire the original data of the 3D model from a database or user input, the original data including geometric shape, texture and material information;
[0039] A model preprocessing module is used to preprocess the 3D model data, including simplifying the number of polygons of the model, compressing and optimizing the texture and material, and enhancing the visual effect of the model through normal calculation and vertex color processing;
[0040] The layered detail rendering module is used to dynamically adjust the rendering accuracy of the model according to the user's viewing angle and the model distance by using the layered detail rendering (Level of Detail, LOD) technology, using a high-precision model at a close viewing angle and a low-precision model at a long viewing angle;
[0041] The cross-browser compatibility processing module is used to address compatibility issues of different browsers. It uses WebGL and JavaScript libraries to ensure compatibility in mainstream browsers, detect the user's browser environment in real time, load the corresponding optimization solutions and compatible codes, and adjust rendering performance.
[0042] Dynamic lighting and shadow effects module, used to achieve real-time lighting and shadow effects, including using a physically based rendering model to simulate real lighting effects, dynamically calculating shadows and reflections, and integrating ambient occlusion technology;
[0043] Real-time data processing and optimization module, used to efficiently process and optimize dynamically changing data, using WebWorkers technology to assign data processing tasks to background threads, improving data processing and rendering performance through GPU acceleration technology, and using detail-level rendering and occlusion culling technology;
[0044] The user interaction and dynamic update module is used to provide rich user interaction functions and dynamic update mechanisms, support users to rotate, scale and move models through mouse and touch operations, respond to user input in real time, and allow users to add annotation and measurement functions;
[0045] The system performance monitoring and adjustment module is used to monitor system performance in real time, dynamically adjust rendering parameters, monitor frame rate and resource usage in real time, detect performance bottlenecks, adjust rendering quality and detail level, and provide performance reports and debugging tools.
[0046] Furthermore, the model data acquisition module includes a database interface and a user input interface, which is used to acquire the original data of the 3D model from the database and the user input;
[0047] The model preprocessing module includes a polygon simplification unit, a texture compression unit and a material optimization unit, which are used to preprocess the model data;
[0048] The layered detail rendering module includes a close-range rendering unit and a long-range rendering unit, which are used to dynamically adjust the rendering accuracy according to the user's viewing angle and the model distance.
[0049] Further, the cross-browser compatibility processing module includes a browser detection unit and a compatible code loading unit, which are used to ensure compatibility and performance optimization in different browsers;
[0050] The dynamic lighting and shadow effect module includes a lighting calculation unit and a shadow generation unit, which are used to achieve real-time lighting and shadow effects;
[0051] The real-time data processing and optimization module includes a Web Workers scheduling unit and a GPU acceleration unit, which are used to efficiently process dynamic data and improve rendering performance.
[0052] Furthermore, the user interaction and dynamic update module includes a user input processing unit and a dynamic update unit, which are used to implement rich user interaction functions and real-time update mechanisms;
[0053] The system performance monitoring and adjustment module includes a performance monitoring unit and a rendering parameter adjustment unit, which are used to monitor system performance in real time and dynamically adjust rendering parameters.
[0054] Compared with the prior art, the present invention has the following beneficial effects:
[0055] 1. The present invention provides a dynamic 3D model rendering and display method and system, which simplifies the number of polygons, compresses and optimizes textures and materials through a model preprocessing module, reduces the consumption of system resources in the rendering process, significantly improves the rendering performance of low-end devices and old browsers, reduces freezes and delays, and enhances user experience. The cross-browser compatibility processing module uses WebGL and JavaScript libraries (such as Three.js) to ensure the compatibility of the system in various mainstream browsers, and loads corresponding optimization solutions and compatible codes by real-time detection of the user's browser environment, so that users can obtain consistent performance and visual effects on different devices and browsers, solving the compatibility problem in the prior art.
[0056] 2. The present invention provides a dynamic 3D model rendering and display method and system, which integrates an advanced real-time lighting and shadow effect module, a real-time data processing and optimization module, and a user interaction and dynamic update module, providing a complete solution, reducing the developer's professional knowledge requirements in Web development and computer graphics, thereby simplifying the development process and reducing development costs and time. The real-time data processing and optimization module uses Web Workers technology and GPU acceleration technology to assign data processing tasks to background threads, and optimizes the rendering efficiency of large-scale data sets through detail-level rendering and occlusion culling technology, effectively manages and visualizes large data sets in real time, and improves the overall performance of the system.
[0057] 3. The present invention provides a dynamic 3D model rendering and display method and system. The dynamic lighting and shadow effect module uses a physically based rendering model, dynamically calculates shadows and reflections, and integrates ambient light occlusion technology to simulate real lighting effects, enhance the three-dimensional sense and realism of the model, and provide users with more realistic visual effects.
[0058] 4. The present invention provides a dynamic 3D model rendering and display method and system. The system performance monitoring and adjustment module monitors the frame rate and resource usage in real time, detects performance bottlenecks, dynamically adjusts rendering parameters, provides performance reports and debugging tools, ensures smooth operation of the system and optimizes performance, so that developers can discover and solve performance problems in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 This is a hardware structure block diagram of a computer terminal of a dynamic 3D model rendering and display system according to an embodiment of the present invention.
[0061] Figure 2 It is a flow chart of the steps of the present invention DETAILED DESCRIPTION
[0062] The technical solution of the present invention will be more clearly and completely explained below through description of preferred embodiments of the present invention in combination with the accompanying drawings.
[0063] The dynamic 3D model rendering and display method provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal of a dynamic 3D model rendering and display system according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0064] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the dynamic 3D model rendering and display system in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks and combinations thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0065] In this embodiment, a dynamic 3D model rendering and display system running on a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0066] A flow chart of a dynamic 3D model rendering and display method according to an embodiment of the present application. Figure 2 As shown, the method specifically includes the following:
[0067] The original data corresponding to the multiple 3D models are obtained, and the original data includes geometric shape, texture and material information. Specifically, the original data of a batch of 3D models, such as geometric shape data, texture data and material data of a 3D model, are obtained through a database interface or user input.
[0068] Preprocess the 3D model data, including simplifying the number of polygons of the model, compressing and optimizing the textures and materials, and enhancing the visual effect of the model through normal calculation and vertex color processing.
[0069] For all 3D model data, polygon simplification algorithms can be used to reduce the number of polygons to reduce the amount of calculation; texture data can be compressed and optimized to reduce bandwidth requirements for storage and transmission; and the visual effect of the model can be enhanced by calculating normals and processing vertex colors.
[0070] The layered detail rendering (Level of Detail, LOD) technology is used to dynamically adjust the rendering accuracy of the model according to the user's perspective and model distance. Specifically, at a close perspective, a high-precision model is used for rendering; at a long-distance perspective, a low-precision model is used for rendering; the model detail level is dynamically switched to ensure a balance between rendering performance and visual effects.
[0071] In response to compatibility issues with different browsers, WebGL and JavaScript libraries (such as Three.js) are used to ensure compatibility in mainstream browsers, detect the user's browser environment in real time, load the corresponding optimization solutions and compatible codes, and adjust rendering performance.
[0072] Specifically, it detects the user's browser environment in real time, loads appropriate WebGL and JavaScript libraries, ensures compatibility in various browsers, and dynamically adjusts rendering performance.
[0073] Realize real-time lighting and shadow effects, including using physically based rendering (PBR) models to simulate real lighting effects, dynamically calculate shadows and reflections, and integrate ambient occlusion technology.
[0074] Specifically, the PBR model is used to simulate lighting effects, dynamically calculate the model's shadow and reflection effects, and use ambient occlusion technology to enhance the depth and detail of the scene.
[0075] Efficiently process and optimize dynamically changing data, use Web Workers technology to assign data processing tasks to background threads, improve data processing and rendering performance through GPU acceleration technology, and use detail-level rendering and occlusion culling technology. Specifically, assign data processing tasks to background threads, use GPU for accelerated processing, use detail-level rendering and occlusion culling technology to optimize the rendering efficiency of large-scale data sets.
[0076] It provides rich user interaction functions and dynamic update mechanisms, supports users to rotate, scale and move models through mouse and touch operations, responds to user input in real time, and allows users to add annotation and measurement functions.
[0077] It supports users to rotate, scale and move the model through mouse and touch operations, and responds to user input in real time, allowing users to add annotation and measurement functions, such as measuring model size, angle and distance.
[0078] Monitor system performance in real time, dynamically adjust rendering parameters, monitor frame rate and resource usage in real time, detect performance bottlenecks, adjust rendering quality and level of detail, and provide performance reports and debugging tools. Specifically, monitor the system's frame rate and resource usage in real time, detect performance bottlenecks, dynamically adjust rendering quality and level of detail, and provide performance reports and debugging tools to facilitate developers to optimize and adjust.
[0079] This embodiment provides a dynamic 3D model rendering and display system, which includes: a model data acquisition module, a model preprocessing module, a layered detail rendering module, a cross-browser compatibility processing module, a dynamic lighting and shadow effects module, a real-time data processing and optimization module, a user interaction and dynamic update module, and a system performance monitoring and adjustment module.
[0080] The model data acquisition module is used to obtain the original data of the 3D model from the database or user input. The original data includes geometric shape, texture and material information. The model preprocessing module is used to preprocess the 3D model data. The steps include simplifying the number of polygons of the model, compressing and optimizing the texture and material, and enhancing the visual effect of the model through normal calculation and vertex color processing. The layered detail rendering module is used to dynamically adjust the rendering accuracy of the model according to the user's perspective and model distance using the layered detail rendering (Level of Detail, LOD) technology, using a high-precision model at a close perspective and a low-precision model at a long distance. The cross-browser compatibility processing module is used to address the compatibility issues of different browsers, using WebGL and JavaScript libraries (such as Three.js) to ensure compatibility in mainstream browsers, real-time detection of the user's browser environment, loading the corresponding optimization solution and compatible code, and adjusting the rendering performance. The dynamic lighting and shadow effect module is used to achieve real-time lighting and shadow effects, including using a physically based rendering (PBR) model to simulate real lighting effects, dynamically calculating shadows and reflections, and integrating ambient occlusion technology. The real-time data processing and optimization module is used to efficiently process and optimize dynamically changing data. It uses Web Workers technology to assign data processing tasks to background threads, improves data processing and rendering performance through GPU acceleration technology, and adopts detail-level rendering and occlusion culling technology. The user interaction and dynamic update module is used to provide rich user interaction functions and dynamic update mechanisms, support users to rotate, scale and move models through mouse and touch operations, respond to user input in real time, and allow users to add annotation and measurement functions. The system performance monitoring and adjustment module is used to monitor system performance in real time, dynamically adjust rendering parameters, monitor frame rate and resource usage in real time, detect performance bottlenecks, adjust rendering quality and detail level, and provide performance reports and debugging tools.
[0081] The model data acquisition module includes a database interface and a user input interface, which are used to obtain the original data of the 3D model from the database and user input. The model preprocessing module includes a polygon simplification unit, a texture compression unit and a material optimization unit, which are used to preprocess the model data. The layered detail rendering module includes a close-range rendering unit and a long-range rendering unit, which are used to dynamically adjust the rendering accuracy according to the user's perspective and the model distance. The cross-browser compatibility processing module includes a browser detection unit and a compatible code loading unit, which are used to ensure compatibility and performance optimization in different browsers. The dynamic lighting and shadow effect module includes a lighting calculation unit and a shadow generation unit, which are used to achieve real-time lighting and shadow effects. The real-time data processing and optimization module includes a Web Workers scheduling unit and a GPU acceleration unit, which are used to efficiently process dynamic data and improve rendering performance. The user interaction and dynamic update module includes a user input processing unit and a dynamic update unit, which are used to achieve rich user interaction functions and real-time update mechanisms. The system performance monitoring and adjustment module includes a performance monitoring unit and a rendering parameter adjustment unit, which are used to monitor system performance in real time and dynamically adjust rendering parameters.
[0082] The above specific implementations are only descriptions of the preferred implementations of the present invention, and do not limit the protection scope of the present invention. Without departing from the design concept and spirit of the present invention, various modifications, substitutions and improvements made by ordinary technicians in this field to the technical solution of the present invention based on the text description and drawings provided by the present invention should all fall within the protection scope of the present invention. The protection scope of the present invention is determined by the claims.
Claims
1. A dynamic 3D model rendering and display method, characterized in that: include: Step S1: obtaining original data of a 3D model from a database or user input, wherein the original data includes geometric shape, texture, and material information, and preprocessing the 3D model data; Step S2: Using layered detail rendering technology, dynamically adjust the rendering accuracy of the model according to the user's perspective and model distance, and perform compatibility processing for compatibility issues of different browsers; Step S3: Realize real-time lighting and shadow effects, and process and optimize dynamically changing data; Step S4: Provide user interaction function and dynamic update mechanism, monitor system performance in real time, and dynamically adjust rendering parameters.
2. A dynamic 3D model rendering and display method according to claim 1, characterized in that: Step S1 includes: Step S11: simplifying the number of polygons of the model to reduce the amount of calculation; Step S12: compressing and optimizing textures and materials to reduce bandwidth requirements for storage and transmission; Step S13: Enhance the visual effect of the model through normal calculation and vertex color processing.
3. A dynamic 3D model rendering and display method according to claim 1, characterized in that: Step S2 includes: Step S21: Rendering using a high-precision model at a close-up perspective; Step S22: Rendering using a low-precision model at a long-distance viewing angle; Step S23: Dynamically switch the model detail level to ensure a balance between rendering performance and visual effects; Step S24: using WebGL and JavaScript libraries to ensure compatibility with mainstream browsers; Step S25: Detect the user's browser environment in real time, load the corresponding optimization solution and compatible code, and adjust and optimize the rendering performance of different browsers to ensure a consistent user experience.
4. A dynamic 3D model rendering and display method according to claim 1, characterized in that: Step S3 includes: Step S31: using a physically based rendering model to simulate real lighting effects; Step S32: Dynamically calculate shadows and reflections to enhance the three-dimensionality and realism of the model; Step S33: integrating ambient occlusion technology to enhance the depth and detail of the scene; Step S34: Using Web Workers technology, data processing tasks are assigned to background threads to avoid blocking the main thread, and GPU acceleration technology is used to improve data processing and rendering performance.
5. A dynamic 3D model rendering and display method according to claim 1, characterized in that: Step S4 includes: Step S41: Supporting users to rotate, scale and move the model through mouse and touch operations; Step S42: responding to user input in real time and dynamically updating the model and scene; Step S43: Allow the user to add annotation and measurement functions; Step S44: monitoring the frame rate and resource usage in real time to detect performance bottlenecks; Step S45: Dynamically adjust rendering quality and level of detail to ensure smooth system operation, and provide performance reports and debugging tools to facilitate developers to optimize and adjust.
6. A system using a dynamic 3D model rendering and display method, applicable to a dynamic 3D model rendering and display method according to any one of claims 1 to 5, characterized in that: include: Model data acquisition module, model preprocessing module, layered detail rendering module, cross-browser compatibility processing module, dynamic lighting and shadow effects module, real-time data processing and optimization module, user interaction and dynamic update module, system performance monitoring and adjustment module; The output end of the model data acquisition module is signal-connected to the input end of the model preprocessing module, the output end of the model preprocessing module is signal-connected to the input end of the layered detail rendering module, the output end of the layered detail rendering module is signal-connected to the input end of the cross-browser compatibility processing module, the output end of the cross-browser compatibility processing module is signal-connected to the input end of the dynamic lighting and shadow effects module, the output end of the dynamic lighting and shadow effects module is signal-connected to the input end of the real-time data processing and optimization module, the output end of the real-time data processing and optimization module is signal-connected to the input end of the user interaction and dynamic update module, and the output end of the user interaction and dynamic update module is signal-connected to the input end of the system performance monitoring and adjustment module; A model data acquisition module is used to obtain the original data of the 3D model from a database or user input, the original data including geometric shape, texture and material information; A model preprocessing module is used to preprocess the 3D model data, including simplifying the number of polygons of the model, compressing and optimizing the textures and materials, and enhancing the visual effect of the model through normal calculation and vertex color processing; The layered detail rendering module is used to dynamically adjust the rendering accuracy of the model according to the user's perspective and the model distance using the Level of Detail (LOD) rendering technology, using a high-precision model at close viewing angles and a low-precision model at long viewing angles; The cross-browser compatibility processing module is used to address compatibility issues between different browsers. It uses WebGL and JavaScript libraries to ensure compatibility in mainstream browsers, detect the user's browser environment in real time, load corresponding optimization solutions and compatible codes, and adjust rendering performance. Dynamic lighting and shadow effects module, used to achieve real-time lighting and shadow effects, including using a physically based rendering model to simulate real lighting effects, dynamically calculating shadows and reflections, and integrating ambient occlusion technology; Real-time data processing and optimization module, used to efficiently process and optimize dynamically changing data, uses WebWorkers technology to distribute data processing tasks to background threads, improves data processing and rendering performance through GPU acceleration technology, and adopts detail-level rendering and occlusion culling technology; The user interaction and dynamic update module provides rich user interaction functions and dynamic update mechanisms. It supports users to rotate, scale, and move models through mouse and touch operations, responds to user input in real time, and allows users to add annotation and measurement functions. The system performance monitoring and adjustment module is used to monitor system performance in real time, dynamically adjust rendering parameters, monitor frame rate and resource usage in real time, detect performance bottlenecks, adjust rendering quality and level of detail, and provide performance reports and debugging tools.
7. The system using a dynamic 3D model rendering and display method according to claim 6, characterized in that: The model data acquisition module includes a database interface and a user input interface, and is used to obtain the original data of the 3D model from the database and user input; The model preprocessing module includes a polygon simplification unit, a texture compression unit, and a material optimization unit, which are used to preprocess the model data; The layered detail rendering module includes a near-range rendering unit and a far-range rendering unit, which are used to dynamically adjust the rendering accuracy according to the user's viewing angle and model distance.
8. The system using a dynamic 3D model rendering and display method according to claim 6, characterized in that: The cross-browser compatibility processing module includes a browser detection unit and a compatible code loading unit, which are used to ensure compatibility and performance optimization in different browsers; The dynamic lighting and shadow effect module includes a lighting calculation unit and a shadow generation unit, which are used to achieve real-time lighting and shadow effects; The real-time data processing and optimization module includes a Web Workers scheduling unit and a GPU acceleration unit, which are used to efficiently process dynamic data and improve rendering performance.
9. The system using a dynamic 3D model rendering and display method according to claim 6, characterized in that: The user interaction and dynamic update module includes a user input processing unit and a dynamic update unit, which are used to implement rich user interaction functions and real-time update mechanisms; The system performance monitoring and adjustment module includes a performance monitoring unit and a rendering parameter adjustment unit, which are used to monitor system performance in real time and dynamically adjust rendering parameters.
Citation Information
Patent Citations
3D model presentation method and system, storage medium and electronic equipment
CN117635791A
Three-dimensional model rendering optimization method and system, electronic equipment and storage medium
CN117934687A
Cited By
Finite element post-processing data real-time rendering method, system and terminal
CN119475930A
