CN109389666A - Distributed Real-time Rendering device and method - Google Patents

Distributed Real-time Rendering device and method Download PDF

Info

Publication number
CN109389666A
CN109389666A CN201811145457.6A CN201811145457A CN109389666A CN 109389666 A CN109389666 A CN 109389666A CN 201811145457 A CN201811145457 A CN 201811145457A CN 109389666 A CN109389666 A CN 109389666A
Authority
CN
China
Prior art keywords
rendering
task
control centre
subelement
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811145457.6A
Other languages
Chinese (zh)
Inventor
行长印
罗江林
高飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin Animation Institute
Original Assignee
Jilin Animation Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin Animation Institute filed Critical Jilin Animation Institute
Priority to CN201811145457.6A priority Critical patent/CN109389666A/en
Publication of CN109389666A publication Critical patent/CN109389666A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/06Ray-tracing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to a kind of Distributed Real-time Rendering device and methods, belong to three-dimensional animation rendering field.Device includes operating terminal, control centre, rendering execution unit, is connected between device by network communication.Operating terminal includes the computer equipment for checking and receiving rendering task and user's operation information;Control centre includes rendering task distributor, feeds back to operating terminal for the scheduling and management to rendering task, and by the information of rendering task;Rendering execution unit is made of at least two rendering subelements, for rendering to the rendering subtask distributed, and relevant information is stored, to feed back to user.Advantage is: by optimizing to scene, reducing the complexity of scene, and utilize real-time biggest advantage of light track algorithm, rendering duration is effectively reduced, accelerate picture display rate, to reach better real-time rendering effect.

Description

Distributed Real-time Rendering device and method
Technical field
The present invention relates to three-dimensional animations to render field, in particular to a kind of Distributed Real-time Rendering device and method.
Background technique
With the development of science and technology, applying real-time rendering skill more and more in the fields such as virtual reality, 3d gaming Art.Since single rendering system does not calculate the huge data volume in render process, if it is desired to realize the real-time rendering to 3D scene, Preferably with Distributed Rendering Environment system.Due in general Distributed Rendering Environment system, without the concern for the optimization to scene, because This Same Scene can render the same effect in different systems.And Distributed Real-time Rendering system is then different, Real-time rendering effect to reach carries out scene optimization, to reduce calculation amount, promotes rendering it is necessary to take certain technology Efficiency and quality.
Summary of the invention
The purpose of the present invention is to provide a kind of Distributed Real-time Rendering device and methods, solve of the existing technology The above problem.
Above-mentioned purpose of the invention is achieved through the following technical solutions:
Distributed Real-time Rendering device, including operating terminal, control centre, rendering execution unit, in the operating terminal, control It is connected between the heart, rendering execution unit by network communication, the operating terminal includes for receiving rendering task and user behaviour Make the computer equipment of information, the computer equipment is sent out the rendering task received and user instruction by network communication It is sent to control centre;
The control centre receives the rendering task and user instruction that operating terminal is sent, and control centre includes rendering task point With device, operating terminal is fed back to for the scheduling and management to rendering task, and by the information of rendering task;
The rendering execution unit is by least two rendering subelements, i.e. scene optimization subelement and real-time ray tracing subelement It constitutes, for rendering to the rendering subtask distributed, and stores information;The rendering execution unit executes rendering and appoints When business, scene is optimized by scene optimization subelement, reduces the complexity of scene, and calculate by real-time ray tracing Method reduces rendering duration, accelerates picture display rate, to reach better real-time rendering effect.
Rendering task is divided into 2 to multiple wash with watercolours according to the rendering demand of user by the rendering task distributor Contaminate subtask.
The rendering task distributor distributes to rendering execution unit for subtask is rendered.
The rendering task distributor chooses available rendering subelement, and the rendering subelement reception distributes Rendering subtask, the graphics processor GPU for being sent to rendering subelement carries out Rendering operations, and stores spatial cue and rendering As a result.
The spatial cue of each rendering subelement storage is fed back to control centre, control centre by the rendering execution unit Obtained spatial cue is fed back into operating terminal.
Another object of the present invention is to provide a kind of Distributed Real-time Rendering methods, include the following steps:
Operating terminal receives rendering task and user instruction, and is sent to control centre by network communication;
Control centre receives rendering task and user instruction, and rendering task is divided into 2 to multiple renderings according to user demand Subtask, and it is assigned to available rendering subelement;
It renders the available rendering subelement in execution unit and receives rendering subtask, be sent at the figure of corresponding rendering subelement It manages device GPU and carries out Rendering operations, choose LOD level of detail model and scene is optimized, reduce the complexity of scene, utilize Parallel ray tracing scheme reduces rendering duration, and stores spatial cue and rendering result.
It renders execution unit and spatial cue is fed back to by control centre, the wash with watercolours that control centre will receive by network communication Dye information feeds back to operating terminal.
The beneficial effects of the present invention are: by optimizing to scene, the complexity of scene is reduced, and using in real time Rendering duration is effectively reduced in biggest advantage of light track algorithm, accelerates picture display rate, to reach better real-time rendering effect.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative example and its explanation is used to explain the present invention, and is not constituted improper limitations of the present invention.
Fig. 1 is the overall structure block diagram of Distributed Real-time Rendering device of the invention;
Fig. 2 is the flow chart of Distributed Real-time Rendering method of the invention;
Fig. 3 is LOD level of detail model algorithm structure of the invention;
Fig. 4 is parallel GPU Ray Tracing Algorithm structure of the invention.
Specific embodiment
Detailed content and its specific embodiment of the invention are further illustrated with reference to the accompanying drawing.
Referring to FIG. 1 to FIG. 4, Distributed Real-time Rendering device of the invention, including operating terminal, control centre, wash with watercolours Execution unit is contaminated, the operating terminal, control centre render by network communication connection between execution unit, and the operation is eventually End includes the computer equipment for checking and receiving rendering task and user's operation information, and the computer equipment passes through network The rendering task received and user instruction are sent control centre by communication;
The control centre receives the rendering task and user instruction that operating terminal is sent, and control centre includes rendering task point With device, operating terminal is fed back to for the scheduling and management to rendering task, and by the information of rendering task;
The rendering execution unit is by least two rendering subelements, i.e. scene optimization subelement and real-time ray tracing subelement It constitutes, for rendering to the rendering subtask distributed, and relevant information is stored, to feed back to user.The wash with watercolours When contaminating execution unit execution rendering task, scene is optimized by scene optimization subelement, reduces the complexity of scene, And by real-time biggest advantage of light track algorithm, rendering duration is effectively reduced, accelerates picture display rate, to reach better real-time wash with watercolours Contaminate effect.
Rendering task is divided into 2 to multiple wash with watercolours according to the rendering demand of user by the rendering task distributor Contaminate subtask.
The rendering task distributor distributes to rendering execution unit for subtask is rendered.
The rendering task distributor chooses available rendering subelement, and the rendering subelement reception distributes Rendering subtask, be sent to rendering subelement graphics processor GPU carry out Rendering operations, and store rendering relevant information and Rendering result.
The spatial cue of each rendering subelement storage is fed back to control centre, control centre by the rendering execution unit Obtained spatial cue is fed back into operating terminal, so that user checks.
The rendering method of Distributed Real-time Rendering device of the invention, includes the following steps:
Operating terminal receives rendering task and user instruction, and is sent to control centre by network communication;
Control centre receives rendering task and user instruction, and rendering task is divided into 2 to multiple renderings according to user demand Subtask, and it is assigned to available rendering subelement;
It renders the available rendering subelement in execution unit and receives rendering subtask, be sent at the figure of corresponding rendering subelement It manages device GPU and carries out Rendering operations, choose LOD level of detail model and scene is optimized, reduce the complexity of scene, utilize Parallel ray tracing scheme reduces rendering duration, and stores rendering relevant information and rendering result.
It renders execution unit and spatial cue is fed back to by control centre, the wash with watercolours that control centre will receive by network communication Dye information feeds back to operating terminal.
Embodiment:
Distributed Real-time Rendering device shown in Figure 1, of the invention, by operating terminal, control centre, rendering execution unit set At, between each device pass through network communication connect.Operating terminal includes for receiving rendering task and user's operation information Computer equipment;Control centre includes rendering task distributor, for the scheduling and management to rendering task, and will rendering The information of task feeds back to operating terminal;Rendering execution unit is made of at least two rendering subelements, for distributing Rendering subtask rendered, in render process choose LOD level of detail model scene is optimized, reduce scene Complexity reduces rendering duration using parallel ray tracing scheme, and stores relevant information.
Shown in Figure 2, the workflow of Distributed Real-time Rendering device and method of the invention is as follows:
User submits rendering task, the relevant parameters such as setting subtask size by operating terminal.
Control centre obtains inter-related task information by network communication.According to subtask size by the rendering task of submission into Row segmentation.Such as the rendering task of submission includes 24 frame animations in total, the subtask size of user setting is 2 frames, then rendering Task will be divided into 12 rendering subtasks, and each subtask includes 2 frame animations.
Control centre chooses available rendering subelement in rendering execution unit, and these rendering subtasks are distributed It goes.
Rendering subelement carries out Rendering operations to the subtask distributed.
LOD level of detail model is chosen in render process to optimize scene, reduces the complexity of scene.It utilizes Parallel ray tracing scheme reduces rendering duration, and saves the various data informations in rendering process.These information are fed back Go back to control centre.All rendering task information are fed back to operating terminal by control centre.User can be in operating terminal to correlation Information is managed and inquires.
It is shown in Figure 3, the algorithm structure of LOD level of detail model is described.
LOD algorithm is mainly the clarity difference according to the object in three-dimensional scenic, is generated multiple thin with different levels The version of section, to realize the purpose to clarity multi-zone supervision.
It is different according to pilot in the process of real-time rendering, suitable LOD model is chosen, details can not damaged Under the premise of, scene complexity is reduced, improves rendering speed, and accelerate the display rate of scene.
Three-dimensional scenic is analyzed and managed first with Octree algorithm.
Then for different objects and different demands, suitable LOD model is selected.Such as observer in scene The pel that all can't see anyway, using scalping method, to accelerate rendering speed.Another method is according to the observation and scene The distance of middle object is selected, and can use relatively rough level of detail apart from remote.It can also be according to the movement of object Speed selects the model of adaptation, moves faster object, and the details shown on the screen is relatively fuzzyyer, can be used rougher Level of detail shows.
It is shown in Figure 4, parallel GPU Ray Tracing Algorithm structure is described.
The process of ray trace is exactly the pixel from screen, calculates the direction of light at the point, then herein Scene is traversed on direction, finally carries out coloring calculating.
Parallel GPU Ray Tracing Algorithm selects simple illumination model, i.e. Phong illumination model.The illumination model can be with According to the material of object, mirror-reflection (specular) value and diffusing reflection are calculated in the point of intersection that scene and object cross (diffuse) value, so that it is determined that colouring value.
For leading to the problem of for light, relatively independent basic parameter is generated to each light, includes direction of observation, view The initial parameters such as angle and light source, viewpoint generate original light using these parameters.
For light and scene Collision Detection, because being closed between pixel without relying on during light coloring System, so can concurrently coloured to each light.
It, can be in a manner of first using even partition, until triangle number reaches stated number when creating KD-Tree The partitioning scheme that optimal face is recycled after mesh can effectively improve the efficiency of creation KD-Tree by this scheme.
Finally colored pixels are gathered, obtain rendering result.
The foregoing is merely preferred embodiments of the invention, are not intended to restrict the invention, for the technology of this field For personnel, the invention may be variously modified and varied.All any modification, equivalent substitution, improvement and etc. made for the present invention, It should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of Distributed Real-time Rendering device, it is characterised in that: including operating terminal, control centre, rendering execution unit, institute It states operating terminal, control centre, render by network communication connection between execution unit, the operating terminal includes for receiving The computer equipment of rendering task and user's operation information, the computer equipment are appointed the rendering received by network communication Business and user instruction are sent to control centre;
The control centre receives the rendering task and user instruction that operating terminal is sent, and control centre includes rendering task point With device, operating terminal is fed back to for the scheduling and management to rendering task, and by the information of rendering task;
The rendering execution unit is by least two rendering subelements, i.e. scene optimization subelement and real-time ray tracing subelement It constitutes, for rendering to the rendering subtask distributed, and stores information;The rendering execution unit executes rendering and appoints When business, scene is optimized by scene optimization subelement, reduces the complexity of scene, and calculate by real-time ray tracing Method reduces rendering duration, accelerates picture display rate, to reach better real-time rendering effect.
2. Distributed Real-time Rendering device according to claim 1, it is characterised in that: the rendering task distributor According to the rendering demand of user, rendering task is divided into 2 to multiple rendering subtasks.
3. Distributed Real-time Rendering device according to claim 2, it is characterised in that: the rendering task distributor Rendering execution unit is distributed into rendering subtask.
4. Distributed Real-time Rendering device according to claim 3, it is characterised in that: the rendering task distributor Available rendering subelement is chosen, the rendering subelement receives the rendering subtask distributed, is sent to rendering subelement Graphics processor GPU carry out Rendering operations, and store spatial cue and rendering result.
5. Distributed Real-time Rendering device according to claim 3, it is characterised in that: the rendering execution unit will be each The spatial cue of rendering subelement storage feeds back to control centre, and obtained spatial cue is fed back to operation eventually by control centre End.
6. according to claim 1 to the rendering method of Distributed Real-time Rendering device described in 5 any one, it is characterised in that: Include the following steps:
Operating terminal receives rendering task and user instruction, and is sent to control centre by network communication;
Control centre receives rendering task and user instruction, and rendering task is divided into 2 to multiple renderings according to user demand Subtask, and it is assigned to available rendering subelement;
It renders the available rendering subelement in execution unit and receives rendering subtask, be sent at the figure of corresponding rendering subelement It manages device GPU and carries out Rendering operations, choose LOD level of detail model and scene is optimized, reduce the complexity of scene, utilize Parallel ray tracing scheme reduces rendering duration, and stores spatial cue and rendering result.
7. Distributed Real-time Rendering method according to claim 7, it is characterised in that: rendering execution unit is logical by network Spatial cue is fed back to control centre by news, and the spatial cue received is fed back to operating terminal by control centre.
CN201811145457.6A 2018-09-29 2018-09-29 Distributed Real-time Rendering device and method Pending CN109389666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811145457.6A CN109389666A (en) 2018-09-29 2018-09-29 Distributed Real-time Rendering device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811145457.6A CN109389666A (en) 2018-09-29 2018-09-29 Distributed Real-time Rendering device and method

Publications (1)

Publication Number Publication Date
CN109389666A true CN109389666A (en) 2019-02-26

Family

ID=65418253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811145457.6A Pending CN109389666A (en) 2018-09-29 2018-09-29 Distributed Real-time Rendering device and method

Country Status (1)

Country Link
CN (1) CN109389666A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581910A (en) * 2020-03-27 2020-08-25 完美世界(北京)软件科技发展有限公司 Data caching method and device in rendering engine
CN113344766A (en) * 2021-06-07 2021-09-03 中天恒星(上海)科技有限公司 Ray tracing processor, processor chip, equipment terminal and ray tracing method
CN114581573A (en) * 2021-12-13 2022-06-03 北京市建筑设计研究院有限公司 Local rendering method and device of three-dimensional scene, electronic equipment and storage medium
CN114942564A (en) * 2022-06-07 2022-08-26 北京领为军融科技有限公司 Large-view-field rear projection system and rear projection spherical screen for air combat confrontation simulation training
CN114973849A (en) * 2022-05-19 2022-08-30 北京领为军融科技有限公司 Simple positive casting system for air combat confrontation simulation training system
WO2023044877A1 (en) * 2021-09-26 2023-03-30 厦门雅基软件有限公司 Render pass processing method and apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088472A (en) * 2010-11-12 2011-06-08 中国传媒大学 Wide area network-oriented decomposition support method for animation rendering task and implementation method
CN103049927A (en) * 2013-01-17 2013-04-17 浙江大学 Real-time ray tracing and rendering method based on GPU (Graphics Processing Unit) aggregate
CN103106679A (en) * 2013-01-05 2013-05-15 广东威创视讯科技股份有限公司 Method, system and platform for distributed type three-dimensional (3D) multichannel rendering
CN105263050A (en) * 2015-11-04 2016-01-20 山东大学 Mobile terminal real-time rendering system and method based on cloud platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088472A (en) * 2010-11-12 2011-06-08 中国传媒大学 Wide area network-oriented decomposition support method for animation rendering task and implementation method
CN103106679A (en) * 2013-01-05 2013-05-15 广东威创视讯科技股份有限公司 Method, system and platform for distributed type three-dimensional (3D) multichannel rendering
CN103049927A (en) * 2013-01-17 2013-04-17 浙江大学 Real-time ray tracing and rendering method based on GPU (Graphics Processing Unit) aggregate
CN105263050A (en) * 2015-11-04 2016-01-20 山东大学 Mobile terminal real-time rendering system and method based on cloud platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘晓等: "基于实时LOD简化绘制的渲染优化方法", 《湖南科技大学学报(自然科学版)》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581910A (en) * 2020-03-27 2020-08-25 完美世界(北京)软件科技发展有限公司 Data caching method and device in rendering engine
CN111581910B (en) * 2020-03-27 2023-06-13 完美世界(北京)软件科技发展有限公司 Data caching method and device in rendering engine
CN113344766A (en) * 2021-06-07 2021-09-03 中天恒星(上海)科技有限公司 Ray tracing processor, processor chip, equipment terminal and ray tracing method
WO2023044877A1 (en) * 2021-09-26 2023-03-30 厦门雅基软件有限公司 Render pass processing method and apparatus, electronic device, and storage medium
CN114581573A (en) * 2021-12-13 2022-06-03 北京市建筑设计研究院有限公司 Local rendering method and device of three-dimensional scene, electronic equipment and storage medium
CN114973849A (en) * 2022-05-19 2022-08-30 北京领为军融科技有限公司 Simple positive casting system for air combat confrontation simulation training system
CN114942564A (en) * 2022-06-07 2022-08-26 北京领为军融科技有限公司 Large-view-field rear projection system and rear projection spherical screen for air combat confrontation simulation training
CN114942564B (en) * 2022-06-07 2024-05-28 北京领为军融科技有限公司 Large-view-field rear projection system for air combat countermeasure simulation training and rear projection ball curtain

Similar Documents

Publication Publication Date Title
CN109389666A (en) Distributed Real-time Rendering device and method
CN112270756B (en) Data rendering method applied to BIM model file
CN101506847B (en) Methods and systems for partitioning a spatial index
US8089481B2 (en) Updating frame divisions based on ray tracing image processing system performance
US7796128B2 (en) Dynamically load balancing game physics using real-time object scaling
US8587588B2 (en) Ray-aggregation for ray-tracing during rendering of imagery
US7940266B2 (en) Dynamic reallocation of processing cores for balanced ray tracing graphics workload
JP2669599B2 (en) Shadow drawing method and three-dimensional graphic computer system
US7884819B2 (en) Pixel color accumulation in a ray tracing image processing system
US7940265B2 (en) Multiple spacial indexes for dynamic scene management in graphics rendering
US7864174B2 (en) Methods and systems for reducing the number of rays passed between processing elements in a distributed ray tracing system
US10699365B2 (en) Method, apparatus, and storage medium for processing particle system
US20080180440A1 (en) Computer Graphics Shadow Volumes Using Hierarchical Occlusion Culling
US20070035545A1 (en) Method for hybrid rasterization and raytracing with consistent programmable shading
US20080079714A1 (en) Workload Distribution Through Frame Division in a Ray Tracing Image Processing System
CN112001993A (en) Multi-GPU (graphics processing Unit) city simulation system for large scene
KR20120092926A (en) Ray tracing core and processing mehtod for ray tracing
CN103426199A (en) Low-noise real-time global illumination drawing method for three-dimensional geometric scene
CN117132699A (en) Cloud rendering system and method based on computer
US20080079715A1 (en) Updating Spatial Index Partitions Based on Ray Tracing Image Processing System Performance
US20230316626A1 (en) Image rendering method and apparatus, computer device, and computer-readable storage medium
CN116883576A (en) TBR+PT-based collaborative rendering method and device
Romeiro et al. Hardware-assisted rendering of csg models
CN114140566A (en) Real-time rendering method for design effect of building drawing
Debattista Selective rendering for high-fidelity graphics

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190226

WD01 Invention patent application deemed withdrawn after publication