CN113626902B - Material modeling system based on PBR material - Google Patents
Material modeling system based on PBR material Download PDFInfo
- Publication number
- CN113626902B CN113626902B CN202110948988.4A CN202110948988A CN113626902B CN 113626902 B CN113626902 B CN 113626902B CN 202110948988 A CN202110948988 A CN 202110948988A CN 113626902 B CN113626902 B CN 113626902B
- Authority
- CN
- China
- Prior art keywords
- rendering
- pbr
- offline
- effect
- module
- 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.)
- Active
Links
- 239000000463 material Substances 0.000 title claims abstract description 309
- 238000009877 rendering Methods 0.000 claims abstract description 211
- 230000000694 effects Effects 0.000 claims abstract description 104
- 238000004519 manufacturing process Methods 0.000 claims abstract description 28
- 238000006243 chemical reaction Methods 0.000 claims abstract description 22
- 230000000007 visual effect Effects 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 20
- 238000005516 engineering process Methods 0.000 claims description 14
- 238000005286 illumination Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 4
- 238000013507 mapping Methods 0.000 description 14
- 238000013461 design Methods 0.000 description 9
- 230000002452 interceptive effect Effects 0.000 description 6
- 241000208202 Linaceae Species 0.000 description 4
- 235000004431 Linum usitatissimum Nutrition 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 239000010985 leather Substances 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 244000025272 Persea americana Species 0.000 description 1
- 235000008673 Persea americana Nutrition 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000007795 chemical reaction product Substances 0.000 description 1
- 239000011365 complex material Substances 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/04—Texture mapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/50—Lighting effects
- G06T15/506—Illumination models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/16—Customisation or personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/20—Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/12—Cloth
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/16—Cloth
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Computational Mathematics (AREA)
- Human Computer Interaction (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Architecture (AREA)
Abstract
The invention discloses a material modeling system based on PBR materials, which comprises: the material manufacturing module is used for performing visual PBR material parameter adjustment on the material template so as to manufacture a new PBR material; the real-time rendering and previewing module is used for performing online real-time rendering by applying the new PBR materials and previewing online rendering effects in real time; the data conversion module is used for converting PBR material parameters corresponding to new PBR materials adopted by the online real-time rendering engine to offline rendering parameters adopted by the offline rendering engine and aligning a light field adopted by the online real-time rendering engine and a light field required to be adopted by the offline rendering engine; the offline rendering and previewing module performs offline rendering by adopting offline rendering parameters and a light field to be adopted so as to obtain and preview an offline rendering effect; the confirming module confirms the designed new PBR material by comparing the online rendering effect with the offline rendering effect when the online rendering effect is the same; the material modeling system can improve material modeling efficiency and ensure material modeling quality.
Description
Technical Field
The invention belongs to the field of graphics, and particularly relates to a material modeling system based on PBR materials.
Background
With the popularization of VR concepts, rendering effect graphs has become a widely accepted visual display medium for terminals, and with the improvement of computer performance, the production cost of rendering graphs has been reduced, and rendering technologies have been widely used in various industries. The material is used as an important material part in rendering, and the reality determines the upper limit of the rendering effect.
The modeler typically makes the material by setting a number of material parameters and continuously renders to verify the material effect. The material parameters are very abundant and complex, and sometimes the special material can be achieved only by mixing a plurality of materials, so in the material manufacturing process, a modeler is required to have abundant experience, the technical threshold is higher, and the effect that the rendering material is as close to the physical world as possible can be ensured by repeatedly and continuously debugging. In general, modelers collect material materials through different channels and modify the material materials to improve the efficiency of manufacturing the material.
At present, software for modeling materials generally comprises local material modeling software and cloud material modeling software, and different material systems such as Vrsence, PBR and the like can be created. When the rendering scheme is used for representing materials, a local rendering mode and a cloud rendering mode exist, and different material systems are usually supported. In terms of the whole process of creating materials and rendering to represent the materials, designers currently mainly use modeling tools such as 3dsMax and Substance Designer to model the materials based on different material systems, and when the modeled materials are used in the design scheme, VRay rendering plug-in rendering design scheme is adopted. The main stream material modeling flow needs to be operated by talents with higher technical basis and modeling experience, and needs to be repeatedly rendered by a computer with higher configuration to check whether the effect reaches the expectation or not, so that the process causes a great deal of rendering resource waste and manpower resource consumption, and meanwhile, the material effect cannot be ensured to meet the expectation.
Using local texture modeling software, extremely personalized and specialized textures can be created, but generally suffer from the following problems: (1) In the conventional material manufacturing process of local material software such as 3dmax or substance designer, a large number of rich and complex parameters are difficult to understand, and the problems that a plurality of material nodes are possibly mixed in manufacturing complex materials, and the like, the manufactured materials have a high technical threshold, and a modeler needs to collect materials everywhere and then modify the parameters to achieve the purpose of improving efficiency, so that the conventional material modeling mode has different standards, low process efficiency and high threshold; (2) Through local material software modeling, higher computer configuration is also required for repeated rendering to correct the rendering effect to conform to the effect of the physical world, the hardware cost is higher, and the time is also very long; (3) The PBR material is manufactured by using local software such as Substance designer and the like, and the verification effect is achieved through real-time rendering, but when the material is applied in a design scheme, the VRay offline rendering engine is often matched to express the material effect, the material effect is split in a user experience flow, the called real-time material effect is difficult to be guaranteed to be consistent with the final offline rendering, and the effect is found to be inconsistent during application.
The modeling of the material is performed through the local material software, because the technology and experience threshold are too high, the hardware cost is high, the material adjusting process is low in efficiency and time-consuming, the effects of real-time rendering and off-line rendering are difficult to unify, and the commercial use of the rendering technology is limited.
Aiming at the online cloud material modeling software, the modeling flow is not flexible, and is very low-efficiency and consumes rendering resources. If the user wants to adjust the material parameters to achieve the effect wanted by the user, the effect cannot be previewed in real time, so that the parameter adjusting process becomes abnormal pain, each time of previewing needs offline rendering, a large amount of waiting time is increased, and a large amount of rendering server resources are wasted.
Disclosure of Invention
In view of the above, the present invention aims to provide a material modeling system based on PBR material, which improves material modeling efficiency by combining online material rendering, material conversion and offline scene rendering of application material, and simultaneously makes material modeling effects visible in real time, and ensures that offline rendering effects are consistent with online rendering effects.
An embodiment provides a material modeling system based on PBR material, including:
the material manufacturing module is used for performing visual PBR material parameter adjustment on the material template so as to manufacture a new PBR material;
the real-time rendering and previewing module is used for performing online real-time rendering by applying the new PBR materials and previewing online rendering effects in real time;
the data conversion module is used for converting PBR material parameters corresponding to new PBR materials adopted by the online real-time rendering engine to offline rendering parameters adopted by the offline rendering engine, and aligning a light field adopted by the online real-time rendering engine and a light field required to be adopted by the offline rendering engine;
the offline rendering and previewing module is used for performing offline rendering by adopting offline rendering parameters and a light field to be adopted so as to obtain and preview an offline rendering effect;
the confirming module is used for confirming the designed new PBR material when the online rendering effect is the same as the offline rendering effect;
and the storage module is used for storing the confirmed new PBR material.
In one embodiment, the texture modeling system further comprises a texture template library for storing texture templates; the confirmed new PBR material is stored in a material template library to be used as a material template;
the material templates edited by the material making module are from a material template library, blank material templates or uploaded material maps.
In one embodiment, in the material making module, for different material templates, the adjustable PBR material parameters corresponding to the material templates are opened according to preset, where the PBR material parameters include a material size, a reflection map, a diffuse reflection map, a refraction map, a normal map, a concave-convex map, a transparency map, a glossiness map, a self-luminous map, a layered channel map, and adjustment parameters corresponding to each map.
In one embodiment, in a real-time rendering and previewing module, a WebGL technology is adopted to render new PBR materials to a corresponding carrier model in real time on line; selecting different carrier models according to different types of new PBR materials;
in one embodiment, in the real-time rendering and previewing module, when the new PBR material is applied to online real-time rendering, an environment map file is used to display the rendering shadow effect of the new PBR material.
In one embodiment, in the real-time rendering and previewing module, the illumination adjustment function is opened to view the rendering shadow effect of the new PBR material adjusting the illumination;
when previewing the online rendering effect, the method has an editing function for the online rendering effect.
In one embodiment, in the data conversion module, a data conversion mode corresponding to the offline rendering engine is preset according to the offline rendering engine, and then the PBR material parameters adopted by the online real-time rendering engine in a rendering mode are converted into offline rendering parameters adopted by the offline rendering engine according to the data conversion mode.
In one embodiment, in the offline rendering and previewing module, an offline rendering engine arranged at the cloud end performs offline rendering of a plurality of scenes according to the received offline rendering parameters and the light field information, outputs an offline rendering map and transmits the offline rendering map to a webpage end for previewing; has the editing function for the offline rendering graph.
In one embodiment, in the confirmation module, by comparing the online rendering effect with the offline rendering effect, it is confirmed whether the rendering effect of the new PBR material in the carrier model and the multi-scene is the same, and when the rendering effect is the same, the new PBR material is confirmed and stored.
The material modeling system provided by the above embodiment has the beneficial effects that:
through the design module and the real-time rendering and previewing module, the design of the PBR material realized by simply and controllably adjusting the PBR material parameters at the webpage end is realized, the online real-time rendering and previewing effect of the new PBR material designed by the WebGL technology application at the webpage end is realized, the material manufacturing technology, experience threshold and equipment hardware requirements are reduced, the material manufacturing general population can express own material commodity, the commercialization capability is greatly expanded, and the material manufacturing efficiency is greatly improved;
through the data conversion module and the offline rendering and previewing module, the real-time rendering material effect and the rendering graph effect of the appointed offline rendering are guaranteed to have no obvious difference, the real-time effect of the PBR material designed by the user can be completely used as a rendering effect reference, thereby helping a designer to conduct real-time online material modeling at the cloud end, rendering test is not needed by using a highly-configured computer, and the parameter adjustment effect can be completely fed back in real time, so that the aim of improving the material modeling efficiency is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a material modeling system based on PBR materials according to an embodiment;
FIG. 2 is a flowchart illustrating an application of a PBR texture-based texture modeling system according to an embodiment;
FIG. 3 is a flow chart of data conversion provided by an embodiment;
fig. 4 (a) and fig. 4 (b) are graphs of the rendering effect of the new PBR materials provided in one embodiment in the carrier model and the scene, respectively.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the detailed description is presented by way of example only and is not intended to limit the scope of the invention.
In order to simplify the process of manufacturing materials, facilitate people of any level to manufacture materials, and also improve the efficiency and quality of manufacturing materials, the embodiment provides a material modeling system based on PBR materials. The material modeling system is used as an online tool product for manufacturing materials, a user can start from a material template or a blank material template provided by the system through a visual interactive interface, preview the real-time rendering effect of the PBR materials while adjusting parameters, and can very simply, efficiently and flexibly create own PBR materials, so that the difficulty of material modeling can be effectively reduced, the material modeling can be mastered by common people, the universality is higher, and the commercial space and the value of the material modeling system are greatly improved; by combining the real-time rendering technology with the offline rendering technology, the material modeling method effectively shortens the time cost of material modeling, and ensures that the material effect obtained in the parameter adjustment process meets expectations without depending on blind guessing and experience in the material modeling process. By the material modeling system method, the cost for manufacturing a material can be instantaneously shortened from a few hours to a few minutes.
FIG. 1 is a schematic diagram of a material modeling system based on PBR materials according to an embodiment. As shown in fig. 1, the PBR-based texture modeling system 100 provided in the embodiment includes a texture creation module 110, a real-time rendering and previewing module 120, a data conversion module 130, an offline rendering and previewing module 140, a confirmation module 150, a storage module 160, and a texture template library 170.
The material making module 110 is loaded on the interactive interface of the web page end, and performs visual PBR material parameter adjustment on the selected material template through the presented material making tool, so as to make a new PBR material. The user performs interactive operation through the material making tool provided by the material making module 110, adjusts corresponding attribute parameters and map types of the material, and the like, and realizes the material making process.
In the material making module 110, the parameter adjusting function is customized according to the service requirement, and according to the preset adjustable PBR material parameters corresponding to the material templates, the user can achieve the required effect by adjusting a small amount of parameters according to different material templates, and the user does not need to go to the complicated material parameters. The PBR material parameters include material size, reflection map, diffuse reflection map, refraction map, normal map, concave-convex map, transparency map, glossiness map, self-luminous map, layered channel map, and adjustment parameters corresponding to each map, and some of the more complex PBR material parameters need special technical treatment. And aiming at the color correction parameters corresponding to the diffuse reflection map, performing pixel-level editing operations, such as color superposition of a positive film overlay, hue, saturation, brightness editing and the like, on an original material template. For the concave-convex mapping, adjustment of concave-convex ratio parameters is required.
In an embodiment, the edited texture templates are from a texture template library, blank texture templates, or uploaded texture maps. For blank material templates, full-scale parameter adjustment is provided for a user to model the material from 0.
For example, for fine linen materials, embodiments provide a dark green fine linen material template in which the linen texture, dark green texture map, and relief texture of the material have been preset. The parameters which are simultaneously opened to the user and adjustable comprise: the diffuse reflection has two modes of mapping and color selection, and the mapping opens hue, saturation, high-level gamma contrast and high-level brightness and is used for adjusting the color of the diffuse reflection mapping; the reflection has two modes of mapping and color, and the mapping can adjust brightness; the reflective glossiness has two modes of mapping and numerical value, and the mapping can adjust brightness; the concave-convex ratio can be changed by concave-convex; the material effect can be adjusted by changing the mapping and adjusting the parameters, so that the thin flax material of the avocado green meeting the requirements can be obtained.
For more complex mixed materials, embodiments provide not only a single material as a preset material template, but also some mixed materials for user adjustment. Each sub-material node provided by the template can be separately adjusted and mixed again. By way of example, embodiments provide a velvet material that is blended together from two layers of different materials based on a preset layered channel map. The velvet material is provided with a diffuse reflection map, a reflection glossiness map, a concave-convex map and a layering channel map, wherein the maps are replaceable, and a Fresnel effect is preset. The material nodes of velvet and fine flax are basically the same, except that velvet is a mixed material, and the mixing effect of the two materials can be supported through a layering channel. Both materials have the same nodes, and the layering channels can be replaced or node parameters can be changed to modify the material effect. Different mixed velvet material effects can be realized by respectively adjusting the effects of the two layers of materials and then based on a default or custom layered channel diagram.
The real-time rendering and previewing module 120 is configured to apply the new PBR material to perform online real-time rendering and preview online rendering effects. Specifically, based on the new PBR material, the material effect is rendered in real time by adopting the WebGL technology. In the manufacturing process, after the user selects the material template, the real-time rendering and previewing module 120 loads the carrier model to display the material effect, and in the material parameter adjusting process, the WebGL technology is adopted to render the new PBR material on the corresponding carrier model in real time on line so as to display the material effect in real time, so that the user can judge whether the effect requirement is met.
In an embodiment, different carrier models are selected for different types of new PBR materials, so that accurate display of different types of PBR materials is realized, a cloth model can be selected for materials such as yarns, cloths and skins, a ball model can be selected for metal materials, and a plate-shaped or cube model can be selected for stone materials, wood board materials and the like.
In the real-time rendering and previewing module 120, when the new PBR material is applied to online real-time rendering, an environment map file is used to display the rendering effect of the new PBR material. For different materials and corresponding carrier models, different light fields are adopted for rendering to reasonably display the material effects, namely, different environment map files are adopted to display different rendering light and shadow effects. And displaying the obtained online rendering effect on the webpage end in real time.
In the real-time rendering and previewing module 120, the illumination adjustment function is also opened to view the rendering shadow effect of the new PBR material for adjusting illumination. When previewing the online rendering effect, there are editing functions for the online rendering effect, wherein the editing functions include, but are not limited to, undoing, restoring, scaling, and view angle resetting to achieve multi-angle and multi-scale viewing of the online rendering effect.
The data conversion module 130 is configured to convert PBR material parameters corresponding to new PBR materials used for rendering by the online real-time rendering engine into offline rendering parameters used by the offline rendering engine, so as to verify whether the offline rendering effect matches with the online rendering effect.
In an embodiment, according to different offline rendering engines, a data conversion mode corresponding to the offline rendering engine is preset, and then, according to the data conversion mode corresponding to the offline rendering engine, the PBR material parameters adopted by the online real-time rendering engine are converted into offline rendering parameters adopted by the offline rendering engine.
Taking the VRay rendering engine as an example, the parameter conversion function implemented by the data conversion module 130 is described. The basic parameters of PBR materials in industry can be divided into two major categories, namely metal-roughness-workflow and speculum-gloss-workflow, and the basic parameters of the two are as follows: the former is BaseColor, metallic, specular, diffuse, reflection, and the rest of physical parameters are intercommunicated, and from the light implemented code, the Metallic-roughess-work flow material can be mapped into the Specular-glossness-work flow without damage.
The industry generally uses more metal-roughness-workflow because it can truly restore the real world material effect, and the system in principle follows energy conservation to avoid the occurrence of materials that are not present in reality. The VRay rendering engine is a black box, which is similar to the PBR parameter system of special-workflow, so in practical application, as shown in fig. 3, the PBR materials of the two workflows are compatible with each other:
the formula used for the parameter conversion is:
Diffuse=BaseColor×(1.0-Metallic)
Reflect=BaseColor×Metallic+a×Specular×(1.0-Metallic)
wherein a is an adjustment weight, preferably 0.07-0.09, and further, a is 0.08.
And an energy conservation algorithm is applied in the parameter mapping conversion process, and effect comparison verification is performed on the final result, so that the rendering result and the off-line rendering result can be guaranteed to be in one-to-one correspondence.
In the data conversion module 130, in order to ensure that the online real-time rendering effect of the material is the same as the offline rendering effect, the mapping of the light field is performed while the parameters are converted, that is, the light field adopted by the online real-time rendering engine and the light field required by the offline rendering engine need to be aligned.
After material modeling is completed, the user may select an offline rendering preview to verify whether the real-time material modeling effect matches the offline rendering effect. Based on this, the offline rendering and previewing module 140 is configured to perform offline rendering by using the offline rendering parameters and the converted light field, so as to obtain and preview the offline rendering effect. In an embodiment, when a user is satisfied with an online real-time rendering effect of the prepared PBR material, an offline rendering button is triggered, and an offline rendering engine arranged at a cloud end performs offline rendering and storage of a plurality of preset scenes according to received offline rendering parameters and light field information, and simultaneously outputs an offline rendering map and transmits the offline rendering map to a webpage end for previewing so as to inform the user of the representation form of a final effect of material modeling in the offline rendering.
The offline rendering and previewing module 140 also has an editing function for offline rendering graphs. Among other things, editing functions include, but are not limited to, undo, restore, zoom, view angle reset to enable multi-angle and multi-scale viewing of offline rendering effects.
The confirmation module 150 is carried on the interactive interface of the web page end, and confirms the satisfied new PBR material when the online rendering effect is the same as the offline rendering effect, and can select to store the satisfied material for the subsequent material manufacturing.
The storage module 160 is configured to store the validated new PBR material. Specifically, the stored and adjusted materials enter a user material library and can be used in a design scheme; the edited material is saved to be a material template, the material template is used as a personalized customized material template, a material template private library of a user is entered, and then the user can create a new material based on the material template.
The texture template library 170 is used to store texture templates. The material template library presets various types of PBR material templates, and visual graphics are used, so that a user can directly select the material templates close to the required effects to start manufacturing, the material template library 170 can continuously supplement the material templates, the material templates are gradually enriched, and the starting point of manufacturing materials is simpler. Meanwhile, the ways of label screening, searching, recommending similar material templates and the like are provided, so that a user can find the required material templates more easily. In summary, the material template library 170 allows the user to start with the material templates in the library, so that the process of collecting materials everywhere is omitted, and a small amount of parameters can be modified by directly applying the templates, so that the method is simple and efficient.
FIG. 2 is a flowchart illustrating an application of a PBR texture modeling system according to an embodiment. As shown in fig. 2, when a user uses the texture modeling system, the user enters an interactive interface through a web page end to use a texture manufacturing tool, starts using a texture template or blank template provided by the system, edits PBR texture parameters of an effect to be expressed through the texture manufacturing module, adjusts the preview effect while satisfying the real-time rendering and previewing module based on WebGL, and then, renders the texture effect through the offline rendering and previewing module to confirm, and in the process, the background calls a data conversion module to convert the PBR parameters into offline rendering parameters. After the user confirms, the manufactured material can be directly stored for use in the later webpage design scheme, or can be directly stored as a material template, and then new material can be further manufactured based on the template.
When the material modeling system provided by the embodiment is applied, a user logs in a webpage end product, and the material is manufactured on the interactive interface by using functions provided by modules provided by the system. In terms of product morphology, the functions of a material template library, a preview interface of real-time rendering, a material making module and offline rendering are combined and provided for a user. All modules are carried on the webpage end, and meanwhile, offline rendering is completed through the cloud rendering server cluster, so that a user does not need a very high-performance computer to use the method. In modeling systems, basic material templates are preset in the system for common and uncomplicated materials such as plates, tiles, cloths, cortex, and the like. The user can edit the parameters simply based on the template to directly manufacture the required materials. Taking leather as an example, a basic flax curtain material template is provided, and a user only needs to call the flax curtain template. According to the customization of the service requirement, the system opens the parameters such as diffuse reflection mapping, color correction of the diffuse reflection mapping, parameters, concave-convex mapping, concave-convex proportion and the like for the adjustment of users. The user uploads the diffuse reflection map, the concave-convex texture and the reflection map of the leather of the user, and adjusts the parameters appropriately, in the real-time rendering and previewing module, the real-time rendering effect of the adjustment parameters can be checked as shown in fig. 4 (a), after satisfaction, the offline rendering and previewing module performs the offline scene rendering, as shown in fig. 4 (b), the obtained offline scene rendering map is compared with fig. 4 (a) and fig. 4 (b) through the confirming module, the final BPR material is confirmed and adjusted, the manufactured material is stored or saved as a new leather material template, and then new material is continuously manufactured.
According to the material modeling system provided by the embodiment, through the design module and the real-time rendering and previewing module, the design of the PBR material realized by simply and controllably adjusting the PBR material parameters at the webpage end is realized, the online real-time rendering and previewing effect is carried out on the new PBR material designed by using the WebGL technology at the webpage end, the material making process is realized, the material effect of the final offline rendering is ensured to meet the expected requirement, the material making technology, the experience threshold and the equipment hardware requirement are reduced, the material making general public is enabled, the general people can express own material commodity, the commercialization capability is greatly expanded, and the material making efficiency is greatly improved;
through the data conversion module and the offline rendering and previewing module, a user directly checks the offline rendering effect, a whole user flow link is opened, the real-time rendering material effect is guaranteed to have no obvious difference with the rendering graph effect of the appointed offline rendering, the real-time effect of the PBR material designed by the user can be completely used as a rendering effect reference, thereby helping a designer to carry out real-time online material modeling at the cloud end, rendering test is not needed by using a highly-configured computer, and the parameter adjustment effect can be completely fed back in real time, so that the aim of improving the material modeling efficiency is fulfilled.
The whole material modeling system combines the real-time rendering and the offline rendering of the PBR, so that the online full flow from the production to the use to the rendering of the material is opened, and the user flow is simpler and more direct.
The foregoing detailed description of the preferred embodiments and advantages of the invention will be appreciated that the foregoing description is merely illustrative of the presently preferred embodiments of the invention, and that no changes, additions, substitutions and equivalents of those embodiments are intended to be included within the scope of the invention.
Claims (8)
1. A material modeling system based on PBR materials, comprising:
the material manufacturing module is used for performing visual PBR material parameter adjustment on the material template at the webpage end so as to manufacture a new PBR material;
the real-time rendering and previewing module is used for performing online real-time rendering by using the webGL technology of the webpage end and previewing online rendering effects;
the data conversion module is used for presetting a data conversion mode corresponding to the offline rendering engine according to the offline rendering engine, then converting PBR material parameters adopted by the online real-time rendering engine in a rendering mode into offline rendering parameters adopted by the offline rendering engine according to the data conversion mode, and aligning a light field adopted by the online real-time rendering engine and a light field required to be adopted by the offline rendering engine;
the offline rendering and previewing module is used for performing offline rendering by adopting offline rendering parameters and a light field to be adopted so as to obtain and preview an offline rendering effect;
the confirming module is used for confirming the designed new PBR material when the online rendering effect is the same as the offline rendering effect;
and the storage module is used for storing the confirmed new PBR material.
2. The PBR material-based material modeling system of claim 1, further comprising a material template library for storing material templates; the confirmed new PBR material is stored in a material template library to be used as a material template;
the material templates edited by the material making module are from a material template library, blank material templates or uploaded material maps.
3. The PBR material-based material modeling system of claim 1, wherein in the material fabrication module, the adjustable PBR material parameters corresponding to the material templates are opened according to the preset for different material templates, wherein the PBR material parameters include a material size, a reflection map, a diffuse reflection map, a refraction map, a normal map, a concave-convex map, a transparency map, a glossiness map, a self-luminous map, a layered channel map, and adjustment parameters corresponding to each map.
4. The PBR material-based material modeling system of claim 1, wherein in the real-time rendering and previewing module, webGL technology is adopted to render new PBR materials to the corresponding carrier model in real-time on line; different carrier models are selected for different types of new PBR materials.
5. The system of claim 1, wherein in the real-time rendering and previewing module, when the new PBR material is applied to online real-time rendering, an environment map file is used to display the effect of the new PBR material on the rendering light and shadow.
6. The PBR material-based material modeling system of claim 1, wherein in the real-time rendering and previewing module, the illumination adjustment function is opened to view the effect of the illumination-adjusted rendering of the new PBR material;
when previewing the online rendering effect, the method has an editing function for the online rendering effect.
7. The PBR material-based material modeling system according to claim 1, wherein in the offline rendering and previewing module, an offline rendering engine arranged at the cloud performs offline rendering of a plurality of scenes according to the received offline rendering parameters and the light field information, outputs an offline rendering map, and transmits the offline rendering map to a web page end for previewing; has the editing function for the offline rendering graph.
8. The PBR material-based texture modeling system of claim 1, wherein in the confirmation module, the on-line rendering effect is compared with the off-line rendering effect to confirm whether the rendering effect of the new PBR material in the carrier model and the multi-scene is the same, and when the rendering effect of the new PBR material in the carrier model and the multi-scene is the same, the new PBR material is confirmed and stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110948988.4A CN113626902B (en) | 2021-08-18 | 2021-08-18 | Material modeling system based on PBR material |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110948988.4A CN113626902B (en) | 2021-08-18 | 2021-08-18 | Material modeling system based on PBR material |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113626902A CN113626902A (en) | 2021-11-09 |
CN113626902B true CN113626902B (en) | 2024-02-20 |
Family
ID=78386448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110948988.4A Active CN113626902B (en) | 2021-08-18 | 2021-08-18 | Material modeling system based on PBR material |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113626902B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114627227B (en) * | 2022-05-18 | 2022-09-27 | 深圳元象信息科技有限公司 | Object reconstruction method and device based on PBR material and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107274470A (en) * | 2017-06-15 | 2017-10-20 | 深圳市彬讯科技有限公司 | It is a kind of based on rendering parallel multipriority queue dispatching method offline in real time |
CN107665506A (en) * | 2016-07-29 | 2018-02-06 | 成都理想境界科技有限公司 | Realize the method and system of augmented reality |
EP3504685A1 (en) * | 2016-12-14 | 2019-07-03 | Samsung Electronics Co., Ltd. | Method and apparatus for rendering object using mipmap including plurality of textures |
CN110689603A (en) * | 2019-08-27 | 2020-01-14 | 杭州群核信息技术有限公司 | Conversion method, device and system of PBR real-time rendering material and rendering method |
CN110717963A (en) * | 2019-08-30 | 2020-01-21 | 杭州群核信息技术有限公司 | WebGL-based replaceable model hybrid rendering display method, system and storage medium |
CN111275802A (en) * | 2020-01-19 | 2020-06-12 | 杭州群核信息技术有限公司 | VRAY-based PBR material rendering method and system |
CN111563968A (en) * | 2020-07-15 | 2020-08-21 | 杭州群核信息技术有限公司 | Online material replacing method |
CN112733461A (en) * | 2021-01-21 | 2021-04-30 | 广东工业大学 | Digital twin driven real-time rendering method, system and computer readable medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11455769B2 (en) * | 2020-01-22 | 2022-09-27 | Vntana, Inc. | Container for physically based rendering |
-
2021
- 2021-08-18 CN CN202110948988.4A patent/CN113626902B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107665506A (en) * | 2016-07-29 | 2018-02-06 | 成都理想境界科技有限公司 | Realize the method and system of augmented reality |
EP3504685A1 (en) * | 2016-12-14 | 2019-07-03 | Samsung Electronics Co., Ltd. | Method and apparatus for rendering object using mipmap including plurality of textures |
CN107274470A (en) * | 2017-06-15 | 2017-10-20 | 深圳市彬讯科技有限公司 | It is a kind of based on rendering parallel multipriority queue dispatching method offline in real time |
CN110689603A (en) * | 2019-08-27 | 2020-01-14 | 杭州群核信息技术有限公司 | Conversion method, device and system of PBR real-time rendering material and rendering method |
CN110717963A (en) * | 2019-08-30 | 2020-01-21 | 杭州群核信息技术有限公司 | WebGL-based replaceable model hybrid rendering display method, system and storage medium |
CN111275802A (en) * | 2020-01-19 | 2020-06-12 | 杭州群核信息技术有限公司 | VRAY-based PBR material rendering method and system |
CN111563968A (en) * | 2020-07-15 | 2020-08-21 | 杭州群核信息技术有限公司 | Online material replacing method |
CN112733461A (en) * | 2021-01-21 | 2021-04-30 | 广东工业大学 | Digital twin driven real-time rendering method, system and computer readable medium |
Non-Patent Citations (1)
Title |
---|
实时渲染技术对动画制作流程的革新;赵一桥;刘幼春;;当代动画(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113626902A (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110266971B (en) | Short video making method and system | |
CN111696188B (en) | Rendering graph rapid illumination editing method and device and rendering method | |
US7953275B1 (en) | Image shader for digital image modification | |
US8019182B1 (en) | Digital image modification using pyramid vignettes | |
CN107392974A (en) | Picture generation method and device and terminal equipment | |
CN108984832B (en) | Method and system for loading BIM model by utilizing Unity3D in intelligent building operation and maintenance | |
CN116843816B (en) | Three-dimensional graphic rendering display method and device for product display | |
CN112419511B (en) | Three-dimensional model file processing method and device, storage medium and server | |
CN114241159A (en) | Three-dimensional reconstruction and PBR mapping manufacturing method based on close-range photogrammetry method | |
CN113626902B (en) | Material modeling system based on PBR material | |
US8139893B2 (en) | Online image processing systems and methods utilizing image processing parameters | |
CN114997105A (en) | Design template, material generation method, computing device and storage medium | |
CN114202630A (en) | Illumination matching virtual fitting method, device and storage medium | |
Liu | An overview of color transfer and style transfer for images and videos | |
CN112258621B (en) | Method for observing three-dimensional rendering two-dimensional animation in real time | |
CN111696187B (en) | Illumination design system based on effect graph | |
CN117008795A (en) | Building scene rendering method and device and storage medium | |
CN116776411A (en) | LIM technology-based landscape garden plant sunlight radiation analysis and configuration method | |
CN112132923A (en) | Two-stage digital image style transformation method and system based on style thumbnail high-definition | |
CN111340923A (en) | Rapid Arnold layered rendering setting method | |
CN110473276A (en) | A kind of high efficiency three-dimensional cartoon production method | |
Li et al. | Application Research of Interior Design Style Migration from the Perspective of Artificial Intelligence | |
CN115138067A (en) | Game engine visualization method and device based on BIM scene | |
Gao et al. | PencilArt: a chromatic penciling style generation framework | |
CN108805679B (en) | Production method for adding autonomous design through mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |