CN116843816B - Three-dimensional graphic rendering display method and device for product display - Google Patents

Three-dimensional graphic rendering display method and device for product display Download PDF

Info

Publication number
CN116843816B
CN116843816B CN202310894655.7A CN202310894655A CN116843816B CN 116843816 B CN116843816 B CN 116843816B CN 202310894655 A CN202310894655 A CN 202310894655A CN 116843816 B CN116843816 B CN 116843816B
Authority
CN
China
Prior art keywords
product
dimensional
graph
rendered
original
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
Application number
CN202310894655.7A
Other languages
Chinese (zh)
Other versions
CN116843816A (en
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.)
Beijing Zhongguancun Software Park Development
Original Assignee
Beijing Zhongguancun Software Park Development
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 Beijing Zhongguancun Software Park Development filed Critical Beijing Zhongguancun Software Park Development
Priority to CN202310894655.7A priority Critical patent/CN116843816B/en
Publication of CN116843816A publication Critical patent/CN116843816A/en
Application granted granted Critical
Publication of CN116843816B publication Critical patent/CN116843816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • G06T17/205Re-meshing
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a three-dimensional graph rendering display method and a device for product display, wherein the method comprises the following steps: acquiring an original three-dimensional graph of a product to be rendered through rendering software; coloring the original three-dimensional graph according to the color of the product, and converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph; establishing a corresponding relation between product materials and a texture map for rendering by using an on-line three-dimensional graphic material texture database; acquiring a current product material corresponding to each region in the gridding pattern, determining a current texture mapping used by each region according to the current product material, carrying out plane mapping on the gridding pattern, and generating a gridding plane texture mapping by using the current texture mapping; rendering the gridding graphics by using the plane texture map to generate rendered product finished graphics; uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.

Description

Three-dimensional graphic rendering display method and device for product display
Technical Field
The invention relates to the technical field of three-dimensional models, in particular to a three-dimensional graph rendering display method and device for product display.
Background
Along with the rapid development of information technology, the current commodity business state is rapidly changed, various commercial products are displayed from simple pictures to videos, splicing of multi-angle images or videos of the products is shot by special equipment, the three-dimensional display of the images or videos of the products at specific angles is displayed through viewpoint information requested by a user, three-dimensional modeling is performed on the products, three-dimensional graphics similar to the products are generated for display, the requirements of the current commercial environment on the product display are higher and higher, and correspondingly, higher requirements are also put on a device and a method for product display. The current three-dimensional display of the product mainly uses the display of a pseudo three-dimensional effect formed by splicing multi-angle image information, for example, the display method, the device and the electronic equipment provided by the publication No. CN111710048A are mainly used for displaying indoor panoramic three-dimensional images, and three-dimensional graphics are also constructed for three-dimensional display of the product, but the cost is high, a technician is required to manually select a texture map on software and draw the texture map during rendering, and the problems of interaction and the like that a FLASH and other traditional interaction software are required to be imported for manufacturing a rotating picture during display are also required.
Disclosure of Invention
Aiming at the problems displayed, the invention provides a three-dimensional graphic rendering display method and device for product display, which are used for solving the problem that technicians are required to manually select and draw three-dimensional graphic rendering texture mapping materials and three-dimensional graphic display of products cannot be directly performed on a product display platform.
A three-dimensional graphics rendering display method for product display, comprising the steps of:
acquiring an original three-dimensional graph of a product to be rendered through rendering software;
coloring the original three-dimensional graph according to the color of the product, and converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph;
establishing a corresponding relation between product materials and a texture map for rendering by using an on-line three-dimensional graphic material texture database;
acquiring a current product material corresponding to each region in the gridding pattern, determining a current texture mapping used by each region according to the current product material, carrying out plane mapping on the gridding pattern, and generating a gridding plane texture mapping by using the current texture mapping;
rendering the gridding graphics by using the plane texture map to generate rendered product finished graphics;
Uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.
Preferably, the method for obtaining the original three-dimensional graph of the product to be rendered by the rendering software comprises the following steps:
obtaining multi-angle product pictures of a product to be rendered and various size parameters of the product;
constructing an original three-dimensional graph of the product to be rendered according to the multi-angle product picture of the product to be rendered and various dimension parameters of the product by using modeling software;
the original three-dimensional graphics of the product to be rendered are imported into rendering software.
Preferably, the coloring process is performed on the original three-dimensional graph according to the product color, and the format of the original three-dimensional graph is converted, so as to generate a grid graph of the original three-dimensional graph, which comprises the following steps:
dividing the area of the product to be rendered according to the color of the product;
extracting specific colors of each divided area on a product to be rendered, and acquiring RGB color parameters corresponding to each divided area according to the specific colors;
coloring the corresponding region on the original three-dimensional graph through RGB color parameters of each divided region;
and performing gridding segmentation on the colored surface of the original three-dimensional graph, reserving segmentation lines, and generating a gridding graph of the original three-dimensional graph.
Preferably, the method for establishing the correspondence between the product material and the rendering texture map by using the on-line three-dimensional graphic material texture database comprises the following steps:
searching a texture library of various three-dimensional graphics on line, and obtaining three-dimensional mapping materials in the texture library;
judging the product material represented by each three-dimensional mapping material, and establishing the corresponding relation between the product material and the three-dimensional mapping material;
and confirming the number of the three-dimensional map materials corresponding to each product material, if only one three-dimensional map material exists in the product material, determining that the three-dimensional map material is the rendering texture map of the corresponding product material, and if more than one three-dimensional map material exists in the product material, selecting the target three-dimensional map material which accords with the actual product material as the rendering texture map of the corresponding product material.
Preferably, obtaining a current product material corresponding to each region in the gridding graphic, determining a current texture map used for each region according to the current product material, performing plane mapping on the gridding graphic, and generating a gridded plane texture map by using the current texture map, including:
obtaining product materials of a product to be rendered and multi-angle product pictures, and confirming the current product materials corresponding to each grid in the grid pattern according to the product materials of the product to be rendered in each grid;
According to the texture mapping for rendering, which is matched with the current product material in each grid, the texture mapping for rendering is confirmed to be the current texture mapping corresponding to the grid;
converting the three-dimensional coordinates of the gridding pattern into plane coordinates, and generating a gridding plane map of the gridding pattern;
and filling the gridding plane map of the gridding graph by using the current texture map corresponding to each grid to generate the plane texture map.
Preferably, the planar texture map is used for rendering the grid pattern to generate a rendered product finished pattern, comprising:
importing the plane texture map into a PBR rendering engine to render the grid pattern;
setting texture mapping parameters of each current product material when the product material is rendered in a corresponding area according to physical parameters of each current product material, and carrying out surface parameter adjustment on the rendered product graph;
and determining the illumination condition of the product in use according to the illumination parameter of the current product working environment, and performing light setting according to the illumination condition of the product in use to generate a rendered product finished product graph.
Preferably, uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement, including:
Acquiring a rendered product finished graph, packaging and packaging a data file of the product finished graph, and generating product finished graph packaging data;
uploading the product finished product graph packaging data to a display platform, and loading the rendered product finished product graph on a display page;
acquiring user demands, and matching a determined display mode corresponding to the user demands in display modes preset by a display platform according to the user demands;
and loading the determined display mode on a display platform, and displaying the product finished product graph by using the display mode.
Preferably, the method further comprises: according to the control requirement of a user on the finished product graph of the product, loading a corresponding control component to automatically control the finished product graph of the product being displayed, wherein the method comprises the following steps:
confirming all control components pre-stored locally on equipment where a current display platform is located, and generating a current loadable control component list according to names of all control components;
associating each control component name in the current loadable control component list with a corresponding control component loading operation;
generating interaction options loaded by the control components on the product display page by using the name of each control component and the skip option of the online search skip page;
If the current user selects the interaction option as the option in the current loadable control component list, loading a corresponding first control component according to the user selection of the control component loading interaction option, and if the user selects the control component loading interaction option as an online retrieval option, jumping a product display page to an online control component library for further confirmation;
when the user selects an option of loading the interaction option to the control component as an online search option, corresponding control component search is carried out on an online control component library according to the control requirement of the user, a search result is obtained, and a corresponding second control component is downloaded to the equipment where the current display platform is located and loaded according to the selection of the control component in the search result by the user;
using the loaded first control component or second control component to correspondingly control the product finished product graph being displayed according to the current operation of a user;
storing an operation record of a user, and acquiring a product type of a product finished product graph in the operation record and a corresponding control component selected by the user;
adjusting the position of the corresponding control component selected by the user in the operation record in the option to enable the corresponding control component with the operation record to be arranged in priority;
If the determined product category of the product finished product graph and the corresponding determined control component selected by the user appear for three times or more, establishing an association relation between the determined product category and the corresponding determined control component, and loading the corresponding determined control component by default when the user needs to control the product finished product graph to be displayed, which belongs to the determined product category.
Preferably, before importing the original three-dimensional graphics of the product to be rendered into the rendering software, the method further comprises: the method comprises the following steps of carrying out face reduction and compression processing on an original three-dimensional graph to reduce the workload required by rendering, wherein the steps of:
acquiring an original three-dimensional graph file of a product to be rendered, which is required to be processed, detecting the number of triangular patches of the original three-dimensional graph subjected to model splicing, and determining the number of target patches after surface subtraction according to the current number of patches;
confirming coordinate data of a three-dimensional graph in an original three-dimensional graph file of a product to be rendered, wherein the coordinate data are vertex coordinates of a plurality of triangular patches in the original three-dimensional graph;
judging whether the vertex coordinates of the plurality of triangular patches are in the same horizontal plane, if so, judging that the triangular patches can be combined, and if not, judging that the triangular patches cannot be combined;
Confirming whether each side of a plurality of triangle patches which can be combined is positioned in the horizontal plane of the triangle patches, and combining the edges of the triangle patches positioned in the horizontal plane;
obtaining the number of the combined patches, directly outputting the three-dimensional graph of the product after surface reduction to generate a simplified three-dimensional graph of the first product to be rendered if the number of the combined patches is smaller than or equal to the target number of the patches, and transferring to manual operation to perform manual surface reduction treatment if the number of the combined patches is larger than the target number of the patches to obtain a simplified three-dimensional graph of the second product to be rendered;
packaging all data files of the simplified three-dimensional graph of the first product to be rendered or the simplified three-dimensional graph of the second product to be rendered to generate a simplified three-dimensional graph file of the product to be rendered;
acquiring the size of a simplified three-dimensional graphic file of a product to be rendered, judging whether the size of the graphic file is larger than a preset threshold value, if so, determining that the graphic file needs to be compressed, otherwise, determining that the graphic file does not need to be compressed;
and compressing the three-dimensional graphic file to be compressed by using a half-precision floating point quantization means to obtain a compressed three-dimensional graphic file.
A three-dimensional graphics rendering display apparatus for product display, the apparatus comprising:
the acquisition module is used for acquiring an original three-dimensional graph of a product to be rendered through rendering software;
the processing module is used for coloring the original three-dimensional graph according to the product color, converting the format of the original three-dimensional graph and generating a grid graph of the original three-dimensional graph;
the construction module is used for establishing a corresponding relation between product materials and a texture map for rendering by using the three-dimensional graphic material texture database on line;
the determining module is used for obtaining the current product material corresponding to each region in the gridding pattern, determining the current texture mapping used by each region according to the current material, and carrying out plane mapping on the gridded three-dimensional pattern by using the current texture mapping to generate a gridded plane texture mapping;
the generating module is used for rendering the three-dimensional gridded graph by using the plane texture map to generate a rendered product graph;
and the display module is used for uploading the product finished product graph to the display platform and displaying the product finished product graph according to the user requirement.
Through the technical means, the invention has the following beneficial effects:
1) The original three-dimensional graph of the product to be rendered is obtained through rendering software, coloring treatment is carried out on the original three-dimensional graph according to the color of the product, format conversion is carried out on the original three-dimensional graph, a grid graph is generated, modeling staff does not need to manually carry out color extraction and comparison, modeling efficiency is improved, a corresponding relation between the material of the product and the texture map for rendering is established by using a three-dimensional graph material texture database on line, the texture map closest to the material of the product can be directly matched, operation is facilitated, and rendering effects are more realistic.
2) The product finished graph is directly uploaded to the display platform, and a personalized display mode is selected according to the user requirements, so that the individuation and the intellectualization of display services are facilitated, and the problem that the three-dimensional graph display of the product cannot be directly performed on the product display platform is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
FIG. 1 is a workflow diagram of a three-dimensional graphics rendering display method for product display provided by the present invention;
FIG. 2 is another workflow diagram of a three-dimensional graphics rendering display method for product display provided by the present invention;
fig. 3 is a schematic structural diagram of a three-dimensional graphics rendering display device for product display according to the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
A three-dimensional graphics rendering display method for product display, as shown in fig. 1, comprising the steps of:
Step S101: acquiring an original three-dimensional graph of a product to be rendered through rendering software;
step S102: coloring the original three-dimensional graph according to the color of the product, and converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph;
step S103: establishing a corresponding relation between product materials and a texture map for rendering by using an on-line three-dimensional graphic material texture database;
step S104: acquiring a current product material corresponding to each region in the gridding pattern, determining a current texture mapping used by each region according to the current product material, carrying out plane mapping on the gridding pattern, and generating a gridding plane texture mapping by using the current texture mapping;
step S105: rendering the gridding graphics by using the plane texture map to generate rendered product finished graphics;
step S106: uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.
In the present embodiment, the rendering software is represented as rendering software for three-dimensional graphics rendering, for example: marmoset Toolbag, 3D Max, etc.;
in this embodiment, the original three-dimensional graphic of the product to be rendered is represented as an original gray graphic of the product to be rendered which is not subjected to coloring, rendering, and the like;
In this embodiment, the coloring process is represented as coloring an original three-dimensional graphic of a product to be rendered;
in the embodiment, format conversion is represented by gridding and dividing an original three-dimensional graph of a product to be rendered to generate a gridded graph;
in this embodiment, the three-dimensional graphics texture database on the line is represented as a database storing texture maps for rendering, for example: poliigon, CGTextures, etc.;
in this embodiment, the correspondence is represented as a correspondence between each product material and a rendering texture map that can embody the texture of the product material;
in this embodiment, the rendering is represented by a texture map as one or more two-dimensional graphics representing the surface of the object used in rendering, which can make the object look more realistic when the texture is mapped onto the surface of the object in a specific manner;
in this embodiment, the current product material is represented as the product material of the product corresponding to the grid pattern in the corresponding grid;
in this embodiment, the current texture map is represented as a texture map corresponding to the product material of the grid pattern in the corresponding grid;
in this embodiment, performing plane mapping on the gridding pattern is represented by performing three-dimensional to two-dimensional coordinate conversion on the gridded three-dimensional pattern, and converting the gridding pattern into a two-dimensional pattern;
In this embodiment, the plane texture map is represented as a plane texture map corresponding to the gridding model one-to-one generated according to the gridding graphics plane mapping result;
in this embodiment, rendering is represented as a process of processing a three-dimensional graphics surface by using texture mapping and other settings such as a light source and reflectivity, so that the three-dimensional graphics surface of a product is more similar to a real effect;
in this embodiment, the product graphics are represented as three-dimensional graphics of the product that can be used for display through rendering software processing;
in this embodiment, the user requirement is represented as a display requirement of a product provider, for example, a rotation display is required or a 360 ° panoramic display is required;
in this embodiment, the display platform is represented as an interactive platform for product display.
The working principle of the technical scheme is as follows: firstly, obtaining an original three-dimensional graph of a product to be rendered through rendering software, coloring the original three-dimensional graph according to the color of the product, and converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph; secondly, establishing a corresponding relation between product materials and rendering texture mapping by using a three-dimensional graphic material texture database on a line, determining a current texture mapping used for each region according to the current product materials, and generating a meshed plane texture mapping; rendering the gridding graph by using the plane texture map again to generate a rendered product graph; and finally uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.
The beneficial effects of the technical scheme are as follows: the method comprises the steps of firstly obtaining an original three-dimensional graph of a product to be rendered through rendering software, coloring the original three-dimensional graph according to product colors, converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph, manually extracting and comparing colors by a modeler, improving modeling efficiency, further, establishing a corresponding relation between product materials and texture maps for rendering by using a three-dimensional graph texture database on line, determining the current texture map used in each area according to the current product materials, generating a grid plane texture map, directly matching the texture map closest to the product materials, facilitating operation, enabling rendering effects to be more realistic, further uploading the product finished graph to a display platform, displaying the product finished graph according to user requirements, selecting a personalized display mode according to user requirements, facilitating individuation and intellectualization of display services, and solving the problem that a technician is required to manually select and draw the three-dimensional graph rendering texture map materials, and three-dimensional graphics of the product cannot be displayed directly on the product display platform.
In one embodiment, as shown in fig. 2, obtaining, by rendering software, an original three-dimensional graphic of a product to be rendered, includes:
step S201: obtaining multi-angle product pictures of a product to be rendered and various size parameters of the product;
step S202: constructing an original three-dimensional graph of the product to be rendered according to the multi-angle product picture of the product to be rendered and various dimension parameters of the product by using modeling software;
step S203: and importing the original three-dimensional graph of the product to be rendered into rendering software.
In this embodiment, the multi-angle product picture is expressed as a multi-view angle product picture, for example: product front view, left view, etc.;
in the present embodiment, each item of dimensional parameters of the product is expressed as a dimensional parameter of each component of the product appearance portion;
in the present embodiment, modeling software is represented as various types of software for 3D graphics modeling, such as: 3D max, maya, etc.;
in the embodiment, an original three-dimensional graph of a product to be rendered is constructed to be represented as an original graph consistent with the appearance of the product in a modeling website according to the product picture and the size information of the product to be rendered;
in this embodiment, importing three-dimensional rendering software is represented as importing original three-dimensional graphics into three-dimensional rendering software for rendering flow steps such as coloring, mapping, parameter setting, and the like.
The beneficial effects of the technical scheme are as follows: the method can construct the original three-dimensional graph of the product to be rendered according to the multi-angle product picture of the product to be rendered and various dimension parameters of the product, and introduce rendering software, so that the modeling of the product is real and accurate, and the subsequent processing is convenient.
In one embodiment, as shown in fig. 3, the coloring process is performed on the original three-dimensional graph according to the product color, and format conversion is performed on the original three-dimensional graph to generate a grid graph of the original three-dimensional graph, which includes:
dividing the area of the product to be rendered according to the color of the product;
extracting specific colors of each divided area on a product to be rendered, and acquiring RGB color parameters corresponding to each divided area according to the specific colors;
coloring the corresponding region on the original three-dimensional graph through RGB color parameters of each divided region;
and performing gridding segmentation on the colored surface of the original three-dimensional graph, reserving segmentation lines, and generating a gridding graph of the original three-dimensional graph.
In this embodiment, the area division according to the product color is represented as the area division according to the area where the different colors on the product to be rendered are located;
in this embodiment, the RGB color parameters are expressed as RGB format color parameters corresponding to the product colors;
In the embodiment, the gridding segmentation is represented by gridding segmentation of an original three-dimensional graph according to the specific graph surface number of the three-dimensional graph;
in this embodiment, the remaining dividing line is represented as a dividing line that remains the gridding division on the original three-dimensional graphics surface of the gridding division.
The beneficial effects of the technical scheme are as follows: the method comprises the steps of carrying out region division on a product to be rendered according to the color of the product, extracting the specific color of each divided region on the product to be rendered, carrying out coloring treatment on the corresponding region on the original three-dimensional graph through the RGB color parameters of each divided region, ensuring the authenticity of the color of the three-dimensional graph of the product, further carrying out gridding division on the surface of the colored original three-dimensional graph, reserving dividing lines, generating the gridding graph of the original three-dimensional graph, improving the processing efficiency, and facilitating the subsequent rendering processing of the graph.
In one embodiment, using an on-line three-dimensional graphics texture database to establish correspondence between product textures and rendering texture maps includes:
searching a texture library of various three-dimensional graphics on line, and obtaining three-dimensional mapping materials in the texture library;
judging the product material represented by each three-dimensional mapping material, and establishing the corresponding relation between the product material and the three-dimensional mapping material;
And confirming the number of the three-dimensional map materials corresponding to each product material, if only one three-dimensional map material exists in the product material, determining that the three-dimensional map material is the rendering texture map of the corresponding product material, and if more than one three-dimensional map material exists in the product material, selecting the target three-dimensional map material which accords with the actual product material as the rendering texture map of the corresponding product material.
In this embodiment, the texture library is represented as a three-dimensional map material library containing a plurality of texture maps corresponding to the product texture on line;
in this embodiment, the three-dimensional map material is represented as texture map material used when rendering a three-dimensional graphic;
in this embodiment, the product material represented is represented as a type of product material represented by the three-dimensional map material for rendering when in use;
in this embodiment, the rendering texture map is represented as a graphical surface map that enables the object to look more realistic when the texture is mapped onto the object surface in a particular manner.
The beneficial effects of the technical scheme are as follows: the texture library of various three-dimensional graphics is searched on the line, and the three-dimensional map materials in the texture library are obtained to search the texture map materials on the line, so that the rendering workflow is simplified, further, the product materials represented by each three-dimensional map material are judged, the corresponding relation between the product materials and the three-dimensional map materials is established, the target three-dimensional map materials conforming to the actual product materials are selected to serve as the texture map for rendering the corresponding product materials, the comparison is not needed manually, the texture map conforming to the texture of the materials can be directly obtained, and the practicability and intuitiveness of the method are enhanced.
In one embodiment, obtaining a current product material corresponding to each region in the gridding graphic, determining a current texture map used for each region according to the current product material, performing plane mapping on the gridding graphic, and generating a gridded plane texture map by using the current texture map, including:
obtaining product materials of a product to be rendered and multi-angle product pictures, and confirming the current product materials corresponding to each grid in the grid pattern according to the product materials of the product to be rendered in each grid;
according to the texture mapping for rendering, which is matched with the current product material in each grid, the texture mapping for rendering is confirmed to be the current texture mapping corresponding to the grid;
converting the three-dimensional coordinates of the gridding pattern into plane coordinates, and generating a gridding plane map of the gridding pattern;
and filling the gridding plane map of the gridding graph by using the current texture map corresponding to each grid to generate the plane texture map.
In this embodiment, the conversion of the three-dimensional coordinates into the plane coordinates is represented by mapping the three-dimensional coordinates into the plane by means of coordinate transformation to obtain an expanded view corresponding to the three-dimensional graph;
In this embodiment, filling is represented as filling each grid with a corresponding texture map and integrating into an entire planar texture map;
in this embodiment, the plane texture map is represented as a two-dimensional unfolded plane texture map corresponding to a three-dimensional graphic of a product to be rendered generated according to the gridded graphic plane map.
The beneficial effects of the technical scheme are as follows: according to the texture map for rendering corresponding to the matching of the current product material in each grid, the texture map for rendering is confirmed to be the current texture map corresponding to the grid, the texture map used by each grid can be accurately determined, so that the generated three-dimensional graph is more real, and the grid plane map of the grid graph can be further filled by using the current texture map corresponding to each grid to generate the plane texture map, so that the convenience of rendering is improved, and the practicability and effectiveness of the method are improved.
In one embodiment, rendering the gridded graphics with a flat texture map, generating a rendered product finished graphic, comprises:
importing the plane texture map into a PBR rendering engine to render the grid pattern;
setting texture mapping parameters of each current product material when the product material is rendered in a corresponding area according to physical parameters of each current product material, and carrying out surface parameter adjustment on the rendered product graph;
And determining the illumination condition of the product in use according to the illumination parameter of the current product working environment, and performing light setting according to the illumination condition of the product in use to generate a rendered product finished product graph.
In this embodiment, the PBR rendering engine is represented as a physical rule-based rendering engine, and has various parameters setting for simulation;
in this embodiment, the physical parameters are expressed as physical parameters of the material of the product, for example: reflectivity, light transmittance, etc.;
in the present embodiment, the texture map parameters are expressed as parameters of the rendered planar texture map corresponding to the physical parameters, such as brightness, glossiness, roughness, and the like of the map;
in this embodiment, the surface parameter adjustment is represented by adjusting a parameter of the surface texture map of the graphic so that the parameter is consistent with a physical parameter of the corresponding material;
in this embodiment, the illumination condition is represented as an illumination condition when a real object of a product to be rendered is displayed;
in this embodiment, the light setting is represented by performing light setting in rendering software according to the illumination condition when the real object of the product to be rendered is displayed.
The beneficial effects of the technical scheme are as follows: the texture mapping parameters of the product material when the corresponding area is rendered are set by referring to the physical parameters of each current product material, the surface parameters of the rendered product graph are adjusted, the three-dimensional graph of the product is more convenient to be close to the real state, the illumination condition of the product when the product is used is determined according to the illumination parameters of the working environment of the current product, the light is set according to the illumination condition of the product when the product is used, the rendered product finished graph is generated, and the simulation effect and the practicability of the three-dimensional graph of the product are further improved.
In one embodiment, uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement, including:
acquiring a rendered product finished graph, packaging and packaging a data file of the product finished graph, and generating product finished graph packaging data;
uploading the product finished product graph packaging data to a display platform, and loading the rendered product finished product graph on a display page;
acquiring user demands, and matching a determined display mode corresponding to the user demands in display modes preset by a display platform according to the user demands;
and loading the determined display mode on a display platform, and displaying the product finished product graph by using the display mode.
In this embodiment, the rendered product finished graphic is represented as a product finished graphic that can be used for display through rendering software processing;
in this embodiment, the data file is represented as a data file containing various types of data such as modeling, mapping, color parameters, etc. of the product finished graph;
in the embodiment, packaging and encapsulation are represented by integrating various data files of a product finished graph into a folder and generating a compression package of the folder;
In this embodiment, the product finished graphic packaging data is represented as packaging files for display generated by all data files of the product three-dimensional graphic;
in this embodiment, the display platform is represented as a three-dimensional graphic display platform for product display;
in this embodiment, the display page is represented as a page containing various functional options for product display on a display platform;
in this embodiment, the user requirement is represented as a display requirement of a product provider, for example, a rotation display is required or a 360 ° panoramic display is required;
in this embodiment, the preset display mode is represented as a display mode preset on the display platform, for example: rotation mode, panoramic mode, flip mode, etc.;
in this embodiment, the determined presentation mode is represented as a specific presentation mode determined according to the user's needs.
The beneficial effects of the technical scheme are as follows: through obtaining rendered product finished product graphics, package the data file of product finished product graphics, will product finished product graphics package data upload to the show platform, load rendered product finished product graphics on the show page, need not to carry out the format conversion can direct import product finished product graphics, more convenient and fast, further obtain user's demand, match in the show mode of showing that the demonstration platform presets according to user's demand and the demonstration mode of determining that corresponds with user's demand demonstrates, strengthened the intuitiveness and the vividness of demonstration, improved user's feel of using.
In one embodiment, the method further comprises: according to the control requirement of a user on the finished product graph of the product, loading a corresponding control component to automatically control the finished product graph of the product being displayed, wherein the method comprises the following steps:
confirming all control components pre-stored locally on equipment where a current display platform is located, and generating a current loadable control component list according to names of all control components;
associating each control component name in the current loadable control component list with a corresponding control component loading operation;
generating interaction options loaded by the control components on the product display page by using the name of each control component and the skip option of the online search skip page;
if the current user selects the interaction option as the option in the current loadable control component list, loading a corresponding first control component according to the user selection of the control component loading interaction option, and if the user selects the control component loading interaction option as an online retrieval option, jumping a product display page to an online control component library for further confirmation;
when the user selects an option of loading the interaction option to the control component as an online search option, corresponding control component search is carried out on an online control component library according to the control requirement of the user, a search result is obtained, and a corresponding second control component is downloaded to the equipment where the current display platform is located and loaded according to the selection of the control component in the search result by the user;
Using the loaded first control component or second control component to correspondingly control the product finished product graph being displayed according to the current operation of a user;
storing an operation record of a user, and acquiring a product type of a product finished product graph in the operation record and a corresponding control component selected by the user;
adjusting the position of the corresponding control component selected by the user in the operation record in the option to enable the corresponding control component with the operation record to be arranged in priority;
if the determined product category of the product finished product graph and the corresponding determined control component selected by the user appear for three times or more, establishing an association relation between the determined product category and the corresponding determined control component, and loading the corresponding determined control component by default when the user needs to control the product finished product graph to be displayed, which belongs to the determined product category.
In this embodiment, all control components pre-stored locally on the device are represented as components pre-loaded on the device that can be used for displaying the product graphic control on the display platform;
in this embodiment, the control component is represented as an additional component for controlling the product model, for example: a zoom control assembly, a light control assembly, etc.;
In this embodiment, the loadable control component list is represented as a list of names of all loadable control components on the current device;
in this embodiment, the jump option of the online search jump page is represented as an option to jump the page to the online control component library page;
in this embodiment, the first control component is represented as a control component that can be directly loaded on the current device;
in this embodiment, the online control component library is represented as a control component library that can download control components online;
in this embodiment, the control requirements are expressed as specific control type requirements for the user to control the final product graphic;
in this embodiment, the second control component is represented as a control component loaded from an online control component library;
in the present embodiment, the product category is expressed as a specific category of products, for example: daily necessities, electronic devices, and the like;
in this embodiment, the corresponding control component is represented as a control component selected by the user in the operation record;
in the present embodiment, the certain product category is expressed as a certain product category that the user appears multiple times in the operation record;
in this embodiment, the corresponding determination control component is represented as a fixed control component corresponding to the determination product category;
In this embodiment, the product graphic to be displayed is represented as a product graphic to be displayed by the loading control component on the product platform.
The beneficial effects of the technical scheme are as follows: the user can load various control components to control graphic display by himself through the interaction page, the flexibility of the system is further improved, the required control components are intelligently searched according to the user requirements, and the experience of the user and the intelligent degree of the system are improved.
In one embodiment, before importing the original three-dimensional graphic of the product to be rendered into the rendering software, the method further comprises: the method comprises the following steps of carrying out face reduction and compression processing on an original three-dimensional graph to reduce the workload required by rendering, wherein the steps of:
acquiring an original three-dimensional graph file of a product to be rendered, which is required to be processed, detecting the number of triangular patches of the original three-dimensional graph subjected to model splicing, and determining the number of target patches after surface subtraction according to the current number of patches;
confirming coordinate data of a three-dimensional graph in an original three-dimensional graph file of a product to be rendered, wherein the coordinate data are vertex coordinates of a plurality of triangular patches in the original three-dimensional graph;
judging whether the vertex coordinates of the plurality of triangular patches are in the same horizontal plane, if so, judging that the triangular patches can be combined, and if not, judging that the triangular patches cannot be combined;
Confirming whether each side of a plurality of triangle patches which can be combined is positioned in the horizontal plane of the triangle patches, and combining the edges of the triangle patches positioned in the horizontal plane;
obtaining the number of the combined patches, directly outputting the three-dimensional graph of the product after surface reduction to generate a simplified three-dimensional graph of the first product to be rendered if the number of the combined patches is smaller than or equal to the target number of the patches, and transferring to manual operation to perform manual surface reduction treatment if the number of the combined patches is larger than the target number of the patches to obtain a simplified three-dimensional graph of the second product to be rendered;
packaging all data files of the simplified three-dimensional graph of the first product to be rendered or the simplified three-dimensional graph of the second product to be rendered to generate a simplified three-dimensional graph file of the product to be rendered;
acquiring the size of a simplified three-dimensional graphic file of a product to be rendered, judging whether the size of the graphic file is larger than a preset threshold value, if so, determining that the graphic file needs to be compressed, otherwise, determining that the graphic file does not need to be compressed;
and compressing the three-dimensional graphic file to be compressed by using a half-precision floating point quantization means to obtain a compressed three-dimensional graphic file.
In this embodiment, the original three-dimensional graphic is represented as an unprocessed product original three-dimensional graphic;
in the present embodiment, the triangular face piece is represented as a triangular die face piece covering the three-dimensional pattern surface to constitute a three-dimensional pattern;
in the present embodiment, the target number of patches is expressed as a target number of patches that need to be achieved after subtracting the surface;
in the present embodiment, the merging process is represented as merging a plurality of triangular patches into one patch;
in this embodiment, the first three-dimensional graphic of the product to be rendered is represented as a three-dimensional graphic of the product to be rendered after the automatic face reduction;
in the embodiment, the manual operation is represented by manually performing the manual face-reducing operation on the three-dimensional graph of the product to be rendered after the automatic face-reducing operation;
in this embodiment, the second three-dimensional graphic of the product to be rendered is represented as a three-dimensional graphic of the product to be rendered subjected to the manual face-reduction process;
in this embodiment, the simplified three-dimensional graphic file of the product to be rendered is represented as a data file of the three-dimensional graphic of the product to be rendered after the surface reduction process;
in the present embodiment, the half-precision floating-point quantization means is represented as model compression means for compressing a model to half-size using sixteen-bit floating-point numbers with little loss of model precision;
In the present embodiment, the compressed three-dimensional graphic file is represented as a compressed three-dimensional graphic data file.
The beneficial effects of the technical scheme are as follows: by judging whether the graph needs to be simplified and subtracting the surface, the graph is simplified, and the simplified three-dimensional graph file of the product to be rendered is further compressed by using a semi-precision floating point quantization means, so that the loading time of the graph is reduced, the practicability of the system is improved, and the reaction speed and the processing speed of the system are improved.
In one embodiment, as shown in FIG. 3, a three-dimensional graphics rendering display apparatus for product display, the apparatus comprising:
an obtaining module 101, configured to obtain an original three-dimensional graphic of a product to be rendered through rendering software;
the processing module 102 is used for coloring the original three-dimensional graph according to the product color, converting the format of the original three-dimensional graph, and generating a grid graph of the original three-dimensional graph;
a construction module 103, configured to establish a correspondence between a product texture and a rendering texture map using an on-line three-dimensional graphics texture database;
a determining module 104, configured to obtain a current product material corresponding to each region in the gridding graphics, determine a current texture map used by each region according to the current material, and perform plane mapping on the gridded three-dimensional graphics by using the current texture map, so as to generate a gridded plane texture map;
A generating module 105, configured to render the three-dimensional gridded graphic using the plane texture map, and generate a rendered product graphic;
and the display module 106 is used for uploading the product finished product graph to a display platform and displaying the product finished product graph according to the user requirement.
The working principle of the technical scheme is as follows: firstly, obtaining an original three-dimensional graph of a product to be rendered through rendering software, and processing the obtained original three-dimensional graph; secondly, determining a current texture map used by each region according to the current product material, and generating a plane texture map; rendering the gridding graph by using the plane texture map again to generate a rendered product graph; and finally uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.
The beneficial effects of the technical scheme are as follows: firstly, an original three-dimensional graph of a product to be rendered is obtained through rendering software, the obtained original three-dimensional graph is processed, the rendering process is faster, further, a current texture map used in each area is determined according to the material of the current product, a plane texture map is generated, the operation is convenient, the rendering effect is more realistic, further, the product finished graph is uploaded to a display platform, the display of the product finished graph is carried out according to the user requirement, a personalized display mode can be selected according to the user requirement, and the individuation and the intellectualization questions of the service are conveniently displayed.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A three-dimensional graphics rendering display method for product display, comprising the steps of:
acquiring an original three-dimensional graph of a product to be rendered through rendering software; obtaining multi-angle product pictures of a product to be rendered and various size parameters of the product; constructing an original three-dimensional graph of the product to be rendered according to the multi-angle product picture of the product to be rendered and various dimension parameters of the product by using modeling software; importing an original three-dimensional graph of a product to be rendered into rendering software;
Wherein, before importing the original three-dimensional graphics of the product to be rendered into the rendering software, the method further comprises: the method comprises the following steps of carrying out face reduction and compression processing on an original three-dimensional graph to reduce the workload required by rendering, wherein the steps of:
acquiring an original three-dimensional graph file of a product to be rendered, which is required to be processed, detecting the number of triangular patches of the original three-dimensional graph subjected to model splicing, and determining the number of target patches after surface subtraction according to the current number of patches; confirming coordinate data of a three-dimensional graph in an original three-dimensional graph file of a product to be rendered, wherein the coordinate data are vertex coordinates of a plurality of triangular patches in the original three-dimensional graph; judging whether the vertex coordinates of the plurality of triangular patches are in the same horizontal plane, if so, judging that the triangular patches can be combined, and if not, judging that the triangular patches cannot be combined; confirming whether each side of a plurality of triangle patches which can be combined is positioned in the horizontal plane of the triangle patches, and combining the edges of the triangle patches positioned in the horizontal plane; obtaining the number of the combined patches, directly outputting the three-dimensional graph of the product after surface reduction to generate a simplified three-dimensional graph of the first product to be rendered if the number of the combined patches is smaller than or equal to the target number of the patches, and transferring to manual operation to perform manual surface reduction treatment if the number of the combined patches is larger than the target number of the patches to obtain a simplified three-dimensional graph of the second product to be rendered; packaging all data files of the simplified three-dimensional graph of the first product to be rendered or the simplified three-dimensional graph of the second product to be rendered to generate a simplified three-dimensional graph file of the product to be rendered; acquiring the size of a simplified three-dimensional graphic file of a product to be rendered, judging whether the size of the graphic file is larger than a preset threshold value, if so, determining that the graphic file needs to be compressed, otherwise, determining that the graphic file does not need to be compressed; compressing the three-dimensional graphic file to be compressed by using a semi-precision floating point quantization means to obtain a compressed three-dimensional graphic file;
Coloring the original three-dimensional graph according to the color of the product, and converting the format of the original three-dimensional graph to generate a grid graph of the original three-dimensional graph;
establishing a corresponding relation between product materials and a texture map for rendering by using an on-line three-dimensional graphic material texture database;
acquiring a current product material corresponding to each region in the gridding pattern, determining a current texture mapping used by each region according to the current product material, carrying out plane mapping on the gridding pattern, and generating a gridding plane texture mapping by using the current texture mapping;
rendering the gridding graphics by using the plane texture map to generate rendered product finished graphics;
uploading the product finished product graph to a display platform, and displaying the product finished product graph according to the user requirement.
2. The method for rendering and displaying three-dimensional graphics for product display according to claim 1, wherein the steps of coloring the original three-dimensional graphics according to the color of the product, and converting the format of the original three-dimensional graphics to generate the gridded graphics of the original three-dimensional graphics comprise:
dividing the area of the product to be rendered according to the color of the product;
Extracting specific colors of each divided area on a product to be rendered, and acquiring RGB color parameters corresponding to each divided area according to the specific colors;
coloring the corresponding region on the original three-dimensional graph through RGB color parameters of each divided region;
and performing gridding segmentation on the colored surface of the original three-dimensional graph, reserving segmentation lines, and generating a gridding graph of the original three-dimensional graph.
3. The method for three-dimensional graphics rendering and displaying of product according to claim 1, wherein the step of establishing a correspondence between product materials and rendering texture maps using an on-line three-dimensional graphics texture database comprises:
searching a texture library of various three-dimensional graphics on line, and obtaining three-dimensional mapping materials in the texture library;
judging the product material represented by each three-dimensional mapping material, and establishing the corresponding relation between the product material and the three-dimensional mapping material;
and confirming the number of the three-dimensional map materials corresponding to each product material, if only one three-dimensional map material exists in the product material, determining that the three-dimensional map material is the rendering texture map of the corresponding product material, and if more than one three-dimensional map material exists in the product material, selecting the target three-dimensional map material which accords with the actual product material as the rendering texture map of the corresponding product material.
4. The method for three-dimensional graphics rendering and displaying for product display according to claim 1, wherein obtaining a current product material corresponding to each grid in the gridded graphics, determining a current texture map used for each region according to the current product material, performing plane mapping on the gridded graphics, and generating a gridded plane texture map using the current texture map, comprising:
obtaining product materials of a product to be rendered and multi-angle product pictures, and confirming the current product materials corresponding to each grid in the grid pattern according to the product materials of the product to be rendered in each grid;
according to the texture mapping for rendering, which is matched with the current product material in each grid, the texture mapping for rendering is confirmed to be the current texture mapping corresponding to the grid;
converting the three-dimensional coordinates of the gridding pattern into plane coordinates, and generating a gridding plane map of the gridding pattern;
and filling the gridding plane map of the gridding graph by using the current texture map corresponding to each grid to generate the plane texture map.
5. The method of claim 1, wherein rendering the gridded graphics using flat texture maps, generating a rendered finished product graphic, comprises:
Importing the plane texture map into a PBR rendering engine to render the grid pattern;
setting texture mapping parameters of each current product material when the product material is rendered in a corresponding area according to physical parameters of each current product material, and carrying out surface parameter adjustment on the rendered product graph;
and determining the illumination condition of the product in use according to the illumination parameter of the current product working environment, and performing light setting according to the illumination condition of the product in use to generate a rendered product finished product graph.
6. The method for three-dimensional graphics rendering and displaying for product display according to claim 1, wherein uploading the product graphics to a display platform, and displaying the product graphics according to the user's requirements, comprises:
acquiring a rendered product finished graph, packaging and packaging a data file of the product finished graph, and generating product finished graph packaging data;
uploading the product finished product graph packaging data to a display platform, and loading the rendered product finished product graph on a display page;
acquiring user demands, and matching a target display mode corresponding to the user demands in display modes preset by a display platform according to the user demands;
And loading the target display mode on a display platform, and displaying the product finished product graph by using the display mode.
7. A three-dimensional graphics rendering display method for product display according to claim 1, characterized in that the method further comprises: according to the control requirement of a user on the finished product graph of the product, loading a corresponding control component to automatically control the finished product graph of the product being displayed, wherein the method comprises the following steps:
confirming all control components pre-stored locally on equipment where a current display platform is located, and generating a current loadable control component list according to names of all control components;
associating each control component name in the current loadable control component list with a corresponding control component loading operation;
generating interaction options loaded by the control components on the product display page by using the name of each control component and the skip option of the online search skip page;
if the current user selects the interaction option as the option in the current loadable control component list, loading a corresponding first control component according to the user selection of the control component loading interaction option, and if the user selects the control component loading interaction option as an online retrieval option, jumping a product display page to an online control component library for further confirmation;
When the user selects an option of loading the interaction option to the control component as an online search option, corresponding control component search is carried out on an online control component library according to the control requirement of the user, a search result is obtained, and a corresponding second control component is downloaded to the equipment where the current display platform is located and loaded according to the selection of the control component in the search result by the user;
using the loaded first control component or second control component to correspondingly control the product finished product graph being displayed according to the current operation of a user;
storing an operation record of a user, and acquiring a product type of a product finished product graph in the operation record and a corresponding control component selected by the user;
adjusting the position of the corresponding control component selected by the user in the operation record in the option to enable the corresponding control component with the operation record to be arranged in priority;
if the determined product category of the product finished product graph and the corresponding determined control component selected by the user appear for three times or more, establishing an association relation between the determined product category and the corresponding determined control component, and loading the corresponding determined control component by default when the user needs to control the product finished product graph to be displayed, which belongs to the determined product category.
8. A three-dimensional graphics rendering display apparatus for product display, the apparatus comprising:
the acquisition module is used for acquiring an original three-dimensional graph of a product to be rendered through rendering software; obtaining multi-angle product pictures of a product to be rendered and various size parameters of the product; constructing an original three-dimensional graph of the product to be rendered according to the multi-angle product picture of the product to be rendered and various dimension parameters of the product by using modeling software; importing an original three-dimensional graph of a product to be rendered into rendering software;
before the original three-dimensional graphics of a product to be rendered are imported into rendering software, the original three-dimensional graphics are subjected to face reduction and compression processing, so that the workload required by rendering is reduced, and the method comprises the following steps:
acquiring an original three-dimensional graph file of a product to be rendered, which is required to be processed, detecting the number of triangular patches of the original three-dimensional graph subjected to model splicing, and determining the number of target patches after surface subtraction according to the current number of patches; confirming coordinate data of a three-dimensional graph in an original three-dimensional graph file of a product to be rendered, wherein the coordinate data are vertex coordinates of a plurality of triangular patches in the original three-dimensional graph; judging whether the vertex coordinates of the plurality of triangular patches are in the same horizontal plane, if so, judging that the triangular patches can be combined, and if not, judging that the triangular patches cannot be combined; confirming whether each side of a plurality of triangle patches which can be combined is positioned in the horizontal plane of the triangle patches, and combining the edges of the triangle patches positioned in the horizontal plane; obtaining the number of the combined patches, directly outputting the three-dimensional graph of the product after surface reduction to generate a simplified three-dimensional graph of the first product to be rendered if the number of the combined patches is smaller than or equal to the target number of the patches, and transferring to manual operation to perform manual surface reduction treatment if the number of the combined patches is larger than the target number of the patches to obtain a simplified three-dimensional graph of the second product to be rendered; packaging all data files of the simplified three-dimensional graph of the first product to be rendered or the simplified three-dimensional graph of the second product to be rendered to generate a simplified three-dimensional graph file of the product to be rendered; acquiring the size of a simplified three-dimensional graphic file of a product to be rendered, judging whether the size of the graphic file is larger than a preset threshold value, if so, determining that the graphic file needs to be compressed, otherwise, determining that the graphic file does not need to be compressed; compressing the three-dimensional graphic file to be compressed by using a semi-precision floating point quantization means to obtain a compressed three-dimensional graphic file;
The processing module is used for coloring the original three-dimensional graph according to the product color, converting the format of the original three-dimensional graph and generating a grid graph of the original three-dimensional graph;
the construction module is used for establishing a corresponding relation between product materials and a texture map for rendering by using the three-dimensional graphic material texture database on line;
the determining module is used for obtaining the current product material corresponding to each region in the gridding pattern, determining the current texture mapping used by each region according to the current material, and carrying out plane mapping on the gridded three-dimensional pattern by using the current texture mapping to generate a gridded plane texture mapping;
the generating module is used for rendering the three-dimensional gridded graph by using the plane texture map to generate a rendered product graph;
and the display module is used for uploading the product finished product graph to the display platform and displaying the product finished product graph according to the user requirement.
CN202310894655.7A 2023-07-20 2023-07-20 Three-dimensional graphic rendering display method and device for product display Active CN116843816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310894655.7A CN116843816B (en) 2023-07-20 2023-07-20 Three-dimensional graphic rendering display method and device for product display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310894655.7A CN116843816B (en) 2023-07-20 2023-07-20 Three-dimensional graphic rendering display method and device for product display

Publications (2)

Publication Number Publication Date
CN116843816A CN116843816A (en) 2023-10-03
CN116843816B true CN116843816B (en) 2024-02-06

Family

ID=88168878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310894655.7A Active CN116843816B (en) 2023-07-20 2023-07-20 Three-dimensional graphic rendering display method and device for product display

Country Status (1)

Country Link
CN (1) CN116843816B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117333631B (en) * 2023-11-29 2024-03-12 航天宏图信息技术股份有限公司 Three-dimensional terrain rendering method and device based on Threejs+Geoserver

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364310A (en) * 2007-08-07 2009-02-11 北京灵图软件技术有限公司 Three-dimensional model image generating method and apparatus
CN106504339A (en) * 2016-11-09 2017-03-15 四川长虹电器股份有限公司 Historical relic 3D methods of exhibiting based on virtual reality
CN111737506A (en) * 2020-06-24 2020-10-02 众趣(北京)科技有限公司 Three-dimensional data display method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210034221A1 (en) * 2019-07-29 2021-02-04 Social Nation, Inc. Method and system for generating 3d image from 2d image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364310A (en) * 2007-08-07 2009-02-11 北京灵图软件技术有限公司 Three-dimensional model image generating method and apparatus
CN106504339A (en) * 2016-11-09 2017-03-15 四川长虹电器股份有限公司 Historical relic 3D methods of exhibiting based on virtual reality
CN111737506A (en) * 2020-06-24 2020-10-02 众趣(北京)科技有限公司 Three-dimensional data display method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
虚拟现实技术在三维产品细节展示中的应用研究;谢意一;《电脑编程技巧与维护》;142-143、154 *

Also Published As

Publication number Publication date
CN116843816A (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN109448089B (en) Rendering method and device
CN108564646B (en) Object rendering method and device, storage medium and electronic device
CN108648269B (en) Method and system for singulating three-dimensional building models
US9852544B2 (en) Methods and systems for providing a preloader animation for image viewers
US8633939B2 (en) System and method for painting 3D models with 2D painting tools
US20080255945A1 (en) Producing image data representing retail packages
US8351689B2 (en) Apparatus and method for removing ink lines and segmentation of color regions of a 2-D image for converting 2-D images into stereoscopic 3-D images
CN116843816B (en) Three-dimensional graphic rendering display method and device for product display
US20230244940A1 (en) Methods and systems for geometry-aware image contrast adjustments via image-based ambient occlusion estimation
US7528831B2 (en) Generation of texture maps for use in 3D computer graphics
US20030107572A1 (en) Method and apparatus for reducing the polygon count of a textured, three dimensional model of an object
US20130229413A1 (en) Live editing and integrated control of image-based lighting of 3d models
US20130335437A1 (en) Methods and systems for simulating areas of texture of physical product on electronic display
CN107886552A (en) Stick picture disposing method and apparatus
WO2017123163A1 (en) Improvements in or relating to the generation of three dimensional geometries of an object
CN115457188A (en) 3D rendering display method and system based on fixation point
US20130235154A1 (en) Method and apparatus to minimize computations in real time photo realistic rendering
JP2003168130A (en) System for previewing photorealistic rendering of synthetic scene in real-time
CN113626902B (en) Material modeling system based on PBR material
CN109729285B (en) Fuse grid special effect generation method and device, electronic equipment and storage medium
CN113838155A (en) Method and device for generating material map and electronic equipment
Birukov et al. Elaboration of visualization modes for lighting simulation in catia cad system
EP2717226A1 (en) Method for generating personalized product views
THIRUCHELVAM et al. Crime scene reconstruction based on a suitable software: A comparison study
US20090167762A1 (en) System and Method for Creating Shaders Via Reference Image Sampling

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