WO2018166369A1 - 三维图形文件生成和在客户端展示三维图形的方法及装置 - Google Patents

三维图形文件生成和在客户端展示三维图形的方法及装置 Download PDF

Info

Publication number
WO2018166369A1
WO2018166369A1 PCT/CN2018/077984 CN2018077984W WO2018166369A1 WO 2018166369 A1 WO2018166369 A1 WO 2018166369A1 CN 2018077984 W CN2018077984 W CN 2018077984W WO 2018166369 A1 WO2018166369 A1 WO 2018166369A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional graphic
description
data
file
shared
Prior art date
Application number
PCT/CN2018/077984
Other languages
English (en)
French (fr)
Inventor
蒋善斌
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to EP18767709.1A priority Critical patent/EP3598394A4/en
Priority to JP2019550682A priority patent/JP7245782B2/ja
Publication of WO2018166369A1 publication Critical patent/WO2018166369A1/zh
Priority to US16/569,410 priority patent/US11010964B2/en

Links

Images

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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • 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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/08Volume rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format

Definitions

  • the present application relates to the field of three-dimensional graphics technologies, and in particular, to a method and an apparatus for generating a three-dimensional graphics file.
  • the application also relates to a method and device for displaying three-dimensional graphics on a client.
  • Three-dimensional graphics technology has been developed along with the game industry. In order to meet the needs of the game scene, various types of data, algorithms, special effects, and renderings have emerged. In each engine or production tool, the three-dimensional data exchange format is different, up to dozens of kinds.
  • the products belonging to the same SPU are the same kind of products, and have different styles under the same product; for example, the same iPhone 6s Plus mobile phone can have different colors; iphone 6s Plus is an SPU, and different colors Iphone 6s Plus is a different SKU.
  • the SKU may also include different SKUs caused by the type of package, the sale of the merchant, etc., and only the factors related to the three-dimensional graphic display are considered here. It can be understood that the present application is mainly directed to three-dimensional graphic display problems of different styles of the same kind of goods.
  • the traditional data exchange format of three-dimensional graphics is mainly to meet the needs of industrial design; the data storage method is mainly for the convenience of the design process, and the data storage is more focused on how to facilitate the design, for example, usually in the model data.
  • some rendering data closely related to the three-dimensional structure is placed.
  • the three-dimensional graphic data structure in the prior art can better meet the requirements of the three-dimensional graphic design.
  • displaying the three-dimensional graphics of the e-commerce on the client side that is, displaying the same type of different styles is obviously insufficient. .
  • the present application provides a three-dimensional graphics generation method to solve the problem that the prior art affects the online shopping experience and the three-dimensional graphics display method selected in different SKUs of the same product fails to achieve the expected effect.
  • the method for generating a three-dimensional graphic file includes:
  • Each three-dimensional graphic describes a data portion of an attribute feature unique to the object, forming a separate description file corresponding to each three-dimensional graphic description object;
  • Combining the shared description file with any one of the independent description files according to the need to display a three-dimensional graphic can form a complete three-dimensional graphic description file; the three-dimensional graphic description file can be used to generate the three-dimensional graphic.
  • the same attribute feature describes the geometric features of the object as the three-dimensional graphic.
  • the data part of the same attribute feature is extracted from the data of the set of three-dimensional graphic description objects having the same attribute feature, and the shared description file shared by the set of three-dimensional graphic description objects is formed, including:
  • the same attribute feature data is respectively placed into one or more data blocks corresponding to the attribute settings according to its attributes;
  • the one or more of the data blocks corresponding to the attribute settings are combined with other related data according to a prescribed format to form a common data block set;
  • the shared data block set is filed to form the shared description file.
  • the data portions of the attribute features unique to each of the three-dimensional graphics description objects in the set of three-dimensional graphics description objects are respectively extracted, and an independent description file corresponding to each three-dimensional graphic description object is formed, including:
  • the unique attribute feature includes one or more attribute features
  • the data portion of the specific attribute feature of the specific three-dimensional graphic description object is placed into a data block corresponding to the respective attribute according to different attributes;
  • the unique data block set is filed to form the independent description file.
  • the other related data includes:
  • Header information version information, data block index.
  • the file processing includes:
  • the method includes:
  • the intermediate file after the file processing is encrypted and/or compressed.
  • the same attribute feature includes a material of the three-dimensional graphic description object.
  • the three-dimensional graphic describes an attribute characteristic specific to the object, including:
  • the application also provides a three-dimensional graphic file generating device, the device comprising:
  • Extracting a shared data unit for extracting data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature, forming a shared description file shared by the set of three-dimensional graphic description objects;
  • Extracting independent data units for respectively extracting data portions of the attribute features unique to each three-dimensional graphic description object in the set of three-dimensional graphic description objects, and forming an independent description file corresponding to each three-dimensional graphic description object;
  • the application additionally provides a method for displaying a three-dimensional graphic on a client, the method comprising:
  • the shared description file and the independent description file are obtained by: Grouping the data of the three-dimensional graphic description object having the same attribute feature, extracting the data part of the same attribute feature, forming a shared description file shared by the group of three-dimensional graphic description objects; and extracting each of the set of three-dimensional graphic description objects respectively
  • the three-dimensional graphic describes a data portion of the attribute feature unique to the object, forming an independent description file corresponding to each three-dimensional graphic description object;
  • the set of three-dimensional graphic description objects having the same attribute feature includes a set of different SKU display items belonging to the same SPU.
  • the same attribute feature includes:
  • the different SKUs show the geometric characteristics of the item.
  • the unique attribute features include:
  • the different SKUs display the color, material, and texture of each SKU in the product.
  • the shared description file of the SPU display product frequently accessed by the client is downloaded and stored locally in the client; when the subsequent client needs to display the display product belonging to the SPU, the client is directly used.
  • the locally stored shared description file of the SPU item is combined with the downloaded independent description file of the specific SKU display item of the SPU to form a complete three-dimensional graphic description file.
  • the application also provides an apparatus for displaying a three-dimensional graphic on a client, the apparatus comprising:
  • Each of the three-dimensional graphics in the graphic description object describes a data portion of the attribute feature unique to the object, and forms an independent description file corresponding to each three-dimensional graphic description object;
  • a graphic unit is displayed for automatically displaying the three-dimensional graphic using the combined three-dimensional graphic description file.
  • the application provides a three-dimensional graphics generation method, the method comprising:
  • Each three-dimensional graphic describes a data portion of the attribute feature unique to the object, forming a separate description file corresponding to each three-dimensional graphic description object; and the shared description file and any one of the independent description files according to the need for generating the three-dimensional graphic display
  • a complete three-dimensional graphical description file can be formed; the three-dimensional graphical description file can be used to generate the three-dimensional graphic.
  • the three-dimensional graphic generation method extracts the data of the same attribute feature and forms a shared description file shared by the set of three-dimensional graphic description objects, and extracts each three-dimensional graphic description object in the set of three-dimensional graphic description objects respectively.
  • the data portion of the attribute feature forms a separate description file corresponding to each three-dimensional graphic description object, and the shared data shared by the three-dimensional graphic description object and the unique independent data can be separately stored.
  • the program does not need to obtain a complete three-dimensional description data of the three-dimensional graphic description object each time, reducing redundancy
  • the remaining data access consumption consumes user traffic.
  • FIG. 1 is a flowchart of a method for generating a three-dimensional graphic file according to a first embodiment of the present application.
  • 3 is a flow chart of separately extracting data portions of attribute features unique to each three-dimensional graphic description object in the set of three-dimensional graphic description objects according to the first embodiment of the present application, and forming a separate description file corresponding to each three-dimensional graphic description object. .
  • FIG. 4 is a schematic diagram of a bundle format provided by the first embodiment of the present application.
  • FIG. 5 is a schematic diagram of forming a shared data block set and a unique data block set according to the first embodiment of the present application.
  • FIG. 6 is a flowchart of a method for displaying a three-dimensional graphic on a client according to a second embodiment of the present application.
  • FIG. 7 is a schematic diagram of a three-dimensional graphics file generating apparatus according to a third embodiment of the present application.
  • FIG. 8 is a schematic diagram of an apparatus for displaying a three-dimensional graphic on a client according to a fourth embodiment of the present application.
  • the first embodiment of the present application provides a method for generating a three-dimensional graphic file. Please refer to FIG. 1 , which shows a flowchart of a method for generating a three-dimensional graphic file according to an embodiment of the present application. The details will be described below in conjunction with FIG. 1.
  • Step S101 extracting data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature, forming a shared description file shared by the group of three-dimensional graphic description objects; and extracting the group of three-dimensional graphics respectively
  • a data portion describing each of the three-dimensional graphic description object-specific attribute features in the object forms a separate description file corresponding to each three-dimensional graphic description object.
  • the three-dimensional graphic description object refers to a three-dimensional object that needs to be described by three-dimensional graphic data. For example, when a female bag and a shoe are three-dimensionally displayed on the screen, the female bag and the shoe are three-dimensional graphic description objects.
  • the attribute feature refers to a feature of a certain aspect of the three-dimensional graphic description object extraction in the process of three-dimensional description of the three-dimensional graphic description object; for example, the three-dimensional graphic description object geometric attribute feature, color attribute feature, material attribute Features, texture attribute features, and more.
  • the same attribute feature refers to a set of similar three-dimensional graphic description objects having identical feature data on a certain attribute, and the attribute feature is referred to as the same attribute feature of the set of three-dimensional graphic description objects.
  • a set of three-dimensional graphic description objects having the same attribute features usually include geometric features of the three-dimensional graphic description object, that is, three-dimensional graphic description objects The proportion of the shape.
  • the material can also be used as the same attribute feature.
  • the same attribute features include geometric features and material features.
  • the unique attribute feature refers to a set of similar three-dimensional graphic description objects having different identical feature data on certain attributes, and generally includes three-dimensional graphic description objects such as color, material, texture and the like.
  • the texture features include a smooth surface, a surface with hair, and the like.
  • the set of three-dimensional graphical description objects having the same attribute features refers to two or more three-dimensional graphical description objects having at least one identical attribute feature.
  • a five-color female bag with the same shape and size can be called a set of three-dimensional graphic description objects with the same attribute characteristics.
  • the data part of the same attribute feature of the three-dimensional graphic description object and the data part of the unique attribute feature are respectively extracted, and the shared description file and the independent description file are respectively formed, thereby realizing the shared data and the description-specific attribute describing the same attribute feature. Separation of independent data of features.
  • step S101 there is a female bag with three colors, the materials and geometric features are the same, and the colors are divided into: red, yellow, and blue. Then, through step S101, the three-dimensional data corresponding to the female bags of the three colors are formed and shared. Description files, including data on shape dimensions and materials; and stand-alone description files, including red stand-alone description files, yellow stand-alone description files, and blue stand-alone description files.
  • the data part of the same attribute feature is extracted from the data of the set of three-dimensional graphic description objects having the same attribute feature, and the shared description file shared by the set of three-dimensional graphic description objects is formed, including:
  • the same attribute feature data is respectively placed into one or more data blocks corresponding to the attribute settings according to the attributes thereof;
  • the one or more of the data blocks corresponding to the attribute settings are combined with other related data according to a prescribed format to form a common data block set;
  • the shared data block set is filed to form the shared description file.
  • the data part of the same attribute feature is extracted to form a group of the three-dimensional graphic description object sharing.
  • the flowchart of the shared description file specifically includes steps S101-1-1 to S101-1-4. This will be described below with reference to FIGS. 4 and 5.
  • the attribute feature data block and the related management parameter data block set are set as a data block set, which is also called a bundle, wherein the same attribute feature data is put into each A data block with separate properties set.
  • the format information of the specific data block set is shown in FIG. 4.
  • the header information is used for bundle verification; the version information is used for bundle version control or upgrade; the data block index is used to describe the information and access address of the data block in the bundle.
  • Step S101-1-1 extracting data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature.
  • This step extracts the data portion of the same attribute feature.
  • the data portion of the same attribute feature may be extracted from a set of data of the three-dimensional graphic description object having the same attribute feature, which may refer to a set of three-dimensional graphic description objects having the same geometric shape.
  • extract the part of the model data describing the geometry For example, a set of three-dimensional graphic description objects is a female bag with three colors, and data portions of the same attribute feature are extracted from data of a set of three-dimensional graphic description objects having the same attribute characteristics, which may refer to different descriptions.
  • the model data portion describing the geometry of the female bag is extracted from the three-dimensional data of the color female bag.
  • Step S101-1-2 the same attribute feature data is respectively placed into one or more data blocks corresponding to the attribute settings according to the attributes thereof.
  • the model description information is placed in the data block 1 set for it, and the vertex information, the skeleton information, and the like are also respectively placed in the corresponding data blocks; the information belongs to the geometric features of the three-dimensional graphic description image.
  • Data is a sub-attribute feature under geometric feature data.
  • Step S101-1-3 combining the one or more data blocks corresponding to the attribute settings with other related data according to a predetermined format to form a shared data block set.
  • the other related data includes: header information, version information, and a data block index.
  • the one or more data blocks corresponding to the attributes are combined with other related data according to a specified format to form a common data block set, specifically, the data block and the header information corresponding to the geometric features.
  • the version information and the data block index are combined to form a model data block set, which is also called a model bundle.
  • the shared data block set Since the shared data block set is not convenient for storage, it needs to be packaged and compressed into a file for storage.
  • Step S101-1-4 performing file processing on the shared data block set to form the shared description file.
  • Performing compression processing on the shared data block set generally refers to reducing data packing precision according to design when serializing the model or texture data in the shared data block set.
  • the vertex normal information is 32-bit float or 16 Bit float, texture using RGBA or RGB565, vertex index using index16 or index32.
  • the so-called serialized data refers to writing data to a storage area in a certain order and format; in short, generating a storage file from the original data in a required format. If you use a data type or a color mode that occupies a small data space, the serialized data size can be significantly reduced, up to about 50%.
  • the intermediate file after the file processing is encrypted, in order to reduce the storage space occupied by the independent description file, the intermediate file after the file processing can be compressed.
  • the compression process here refers to file compression, and the serialized data is compressed using a public algorithm, such as ZIP.
  • the data portions of the attribute features unique to each of the three-dimensional graphics description objects in the set of three-dimensional graphics description objects are respectively extracted, and an independent description file corresponding to each three-dimensional graphic description object is formed, including:
  • the unique attribute feature includes one or more attribute features
  • the data portion of the specific attribute feature of the specific three-dimensional graphic description object is placed into a data block corresponding to the respective attribute according to different attributes;
  • the unique data block set is filed to form the independent description file.
  • FIG. 3 is a data part of the first embodiment of the present application for extracting attribute features unique to each three-dimensional graphic description object in the set of three-dimensional graphic description objects, respectively, and forming an independent corresponding to each three-dimensional graphic description object.
  • a flowchart of the description file Specifically, the steps S101-2-1 to S101-2-3 are included. This will be described below with reference to FIGS. 4 and 5.
  • Step S101-2-1 extracting a data portion of a unique attribute feature of a specific three-dimensional graphic description object in the set of three-dimensional graphic description objects; the unique attribute feature includes one or more attribute features.
  • This step extracts the data portion of the unique attribute feature.
  • the number of attribute features included in the unique attribute feature is indeterminate and varies according to the three-dimensional graphic description object. If the three-dimensional graphic description object has only the same geometric features, and the materials, colors, and textures are different, the unique attribute features include material features, color features, and texture features. If the geometric features and materials of the three-dimensional graphic description object are the same, the unique attributes are specific. Features include material features, color features, and texture features.
  • the extracting the data portion of the specific attribute feature of the specific three-dimensional graphic description object in the set of the three-dimensional graphic description object may refer to the data of the object from a certain three-dimensional graphic in the group. Extracts the data portion that describes the material, color, and texture of the object.
  • the three-dimensional graphic description object is a female bag, the material is divided into cowhide, sheepskin, the color is divided into red, yellow, blue, the texture is divided into smooth and hairy, if a female bag is red smooth leather female
  • the data part of the unique attribute feature of the female bag is extracted, including data of color, texture, and material.
  • step S101-2-2 the data portion of the unique attribute feature of the specific three-dimensional graphic description object is placed into a data block corresponding to the respective attribute setting according to different attributes.
  • a bundle is a bundle for storing data of a unique attribute feature, and after extracting a data portion of a specific attribute feature of a specific three-dimensional graphic description object in the set of three-dimensional graphic description objects, the specific three-dimensional graphic may be The data portion of the unique attribute feature describing the object is placed into the data block corresponding to the respective attribute setting according to different attributes. For example, put the material information into the data block corresponding to the material information.
  • step S101-2-3 the data block is combined with other related data according to a prescribed format to form a unique data block set.
  • the other related data includes: header information, version information, and a data block index.
  • the data block is combined with other related data according to a specified format to form a unique data block set, specifically, the data block corresponding to the unique attribute feature is added with related management data such as header information and version information.
  • a data block set formed by combining data block indexes and the like is also referred to as a rendering bundle in this embodiment.
  • Step S101-2-4 performing file processing on the unique data block set to form the independent description file.
  • step S101-1-4 This step is similar to step S101-1-4, and the details are referred to the related description in step S101-1-4.
  • Step S102 combining the shared description file with any one of the independent description files according to the requirement of displaying the three-dimensional graphic, and forming a complete three-dimensional graphic description file.
  • the shared description file and the independent description file may be combined according to requirements to form a complete three-dimensional graphic description file.
  • a female bag with three colors red, yellow, and blue will form a shared description file and three SKU independent description files.
  • the independent description files include: female bag red SKU description file, female bag yellow SKU description file. , female bag blue SKU description file, if you need to display the yellow female bag, the shared description file and yellow SKU description file combination, form a complete yellow female bag description file; if you need to display the blue female bag, the description file will be shared Combine with the blue SKU description file to form a complete blue female package description file.
  • the three-dimensional graphic can be generated according to the data describing the three-dimensional graphic in the three-dimensional graphic description file for display.
  • the shared description file is formed for a set of three-dimensional graphic description objects having common attribute features, and is separately combined with the independent description files of each specific three-dimensional graphic description object in the group to form each specific three-dimensional graphic description.
  • the combined process performs general process processing according to the three-dimensional graphics display rendering; the related content in the data block set such as the header information, the version information, the data block index, and the like included in the formation of the shared description file and the independent description file may provide an implementation file. Information about the combination.
  • the implementation manner of the three-dimensional graphics file generating method provided by this embodiment has been described by the above steps S101-S102. It can be seen from the above description that the three-dimensional graphic file generating method provided by the present application describes a data part of the same attribute feature of the three-dimensional graphic description object having the same attribute feature, and describes the data of the attribute feature unique to each three-dimensional graphic description object in the object. Partially separated and separately form a separate description file for the shared description file and each three-dimensional graphic description object. If the method is applied to the dynamic SKU display of the e-commerce product, when the client performs different SKU presentations of the same kind of products, the shared description file can be obtained only once, and each SKU product is displayed only when it is displayed differently.
  • the SKU independent description file and then combine the independent description file with the data in the shared description file, the three-dimensional graphics can be displayed. Since the client no longer needs to download complete 3D data every time, the redundant data access consumption is reduced, the user's traffic is saved, and the card is not lost, which makes the display smoother and improves the user experience.
  • the second embodiment of the present application provides a method for displaying a three-dimensional graphic on a client, which method can be used for a three-dimensional SKU display scene of a commodity.
  • FIG. 6 illustrates a flow chart of a method for presenting a three-dimensional graphic on a client according to an embodiment of the present application. The details will be described below with reference to FIG. 6.
  • Step S601 downloading a set of shared description files of the three-dimensional graphic description object having the same attribute feature, and downloading at least one independent description file of the set of three-dimensional graphic description objects;
  • the shared description file and the independent description file are preferably obtained by extracting data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature to form the group of three-dimensional graphics. Defining a shared description file shared by the objects; and extracting data portions of the attribute features unique to each of the three-dimensional graphic description objects in the set of three-dimensional graphic description objects to form an independent description file corresponding to each three-dimensional graphic description object.
  • the downloading a set of a shared description file of the three-dimensional graphic description object having the same attribute feature and downloading the at least one independent description file of the set of the three-dimensional graphic description object may refer to the client sharing from the storage when the three-dimensional graphic is displayed on the client side.
  • the server and the independent description file download the shared description file and at least one independent description file.
  • a set of three-dimensional graphic description objects is a female bag that needs to be displayed by e-commerce, including three colors of red, yellow, and blue, and the female bag has only different colors, and other materials, textures, and geometric shapes are the same.
  • the shared description file of the material, texture, and geometric shape of the female bag is stored, and the red SKU independent description file, the yellow SKU independent description file, and the blue SKU independent description file are stored in the server.
  • Step S602 combining the shared description file with the independent description file to form a complete three-dimensional graphic description file.
  • the shared description file and the independent description file need to be combined to form a complete three-dimensional graphic description file for display.
  • the female package sharing description file and the red SKU independent description file are downloaded in the example in step S601
  • the shared description file and the red SKU independent description file are combined to form a complete red female bag three-dimensional graphic description file.
  • Step S603 automatically displaying the three-dimensional graphic by using the combined three-dimensional graphic description file.
  • the data in the three-dimensional graphic description file is extracted, and the corresponding three-dimensional graphic is displayed on the display screen of the client.
  • step S602 forms a complete red female bag three-dimensional graphic description file, and this step displays the three-dimensional graphic of the red female bag on the display screen of the client.
  • Step S604 further downloading the independent description file in the three-dimensional graphic description object belonging to the group according to the display requirement, and returning the step of combining the shared description file with the independent description file to form a complete three-dimensional graphic description file; 3D graphics display.
  • step S603 the three-dimensional graphic of the red female bag is displayed on the display screen of the client through the step S603, and the display of the e-commerce is required to display the three color female bags in sequence, then after step S603, Need to download the yellow SKU independent description file and perform steps S602, S603, display the three-dimensional graphics of the yellow female bag on the display screen of the client, and finally need to download the blue SKU independent description file and perform steps S602, S603, the blue female bag
  • the 3D graphics are displayed on the client's display screen, and all the presentations are completed at this point, exiting the 3D graphics display.
  • the process of 3D graphics display often ends with the instructions of the client, so that you can save data traffic without having to download all the independent description files of a group of SKUs.
  • the shared description file of the SPU display product frequently accessed by the client is downloaded and stored in the client locality according to the product browsing record of the client; and the subsequent client needs to display the display belonging to the SPU.
  • the shared description file of the SPU item stored locally by the client is directly combined with the downloaded independent description file of the specific SKU display item of the SPU to form a complete three-dimensional graphic description file.
  • the server needs to store a shared description file describing the geometric characteristics of the female bag and a separate description file describing the color texture, wherein the independent description file includes a red SKU independent description file, a yellow SKU independent description file, and a blue SKU independent description file. , smooth texture SKU independent description file, texture with hair SKU independent description file.
  • the client can dynamically display the product, if the display order is a red female bag with a smooth surface, a yellow female bag with a smooth surface, a blue female bag with a smooth surface, and a surface A red female bag with a hair, a yellow female bag with a hairy surface, and a blue female bag with a hairy surface.
  • the display process is as follows: the client first downloads a shared description file describing the geometric characteristics of the female bag from the server and stores it in the client, and downloads a red SKU independent description file, a texture smooth SKU independent description file, and the above three
  • the file combination forms a complete three-dimensional graphic description file of the smooth red female bag, and displays the smooth red female bag on the screen of the mobile phone; then, since the shared description file has been stored to the client, only the yellow SKU is downloaded at this time.
  • the present application also provides a three-dimensional graphic file generating device. Since the embodiment of the device is substantially similar to the embodiment of the method, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment.
  • the device embodiments described below are merely illustrative.
  • the three-dimensional graphics file generating apparatus is implemented as follows:
  • FIG. 7 is a schematic diagram of a three-dimensional graphics file generating apparatus according to a third embodiment of the present application.
  • the three-dimensional graphics file generating apparatus includes: an extracted shared data unit 701, an extracted independent data unit 702, and a complete file unit 703.
  • Extracting a shared data unit 701, configured to extract data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature, to form a shared description file shared by the set of three-dimensional graphic description objects;
  • Extracting the independent data unit 702 for respectively extracting data portions of the attribute features unique to each three-dimensional graphic description object in the set of three-dimensional graphic description objects, forming an independent description file corresponding to each three-dimensional graphic description object;
  • the extracting the same attribute feature in the shared data unit is a geometric feature of the three-dimensional graphic description object.
  • extracting shared data units includes:
  • Forming a data block set sub-unit configured to combine the one or more data blocks corresponding to the attribute settings with other related data according to a specified format to form a shared data block set;
  • the extracting the independent data unit includes:
  • the unique attribute feature includes one or more attribute features;
  • the data part of the unique attribute feature of the specific three-dimensional graphic description object is placed into a data block corresponding to the respective attribute according to different attributes;
  • the other related data includes:
  • Header information version information, data block index.
  • the file processing includes:
  • the extracting the shared data unit and extracting the independent data unit further includes:
  • An encryption, compression subunit configured to perform file processing on the shared data block set or to file the unique data block set, and form the shared description file or form the independent description file Previously, the intermediate file after the file processing was encrypted and/or compressed.
  • the same attribute feature includes a material of the three-dimensional graphic description object.
  • the three-dimensional graphic describes an attribute characteristic specific to the object, including:
  • the present application also provides an apparatus for displaying a three-dimensional graphic on a client. Since the embodiment of the device is substantially similar to the embodiment of the method, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment.
  • the device embodiments described below are merely illustrative.
  • the device implementation for displaying the three-dimensional graphics on the client side is as follows:
  • FIG. 8 shows a schematic diagram of a three-dimensional graphics generating apparatus according to a fourth embodiment of the present application.
  • the device for displaying a three-dimensional graphic on a client includes: a download data unit 801, a file forming unit 802, and a display graphic unit 803.
  • a download data unit 801 configured to download a set of shared description files of the three-dimensional graphic description object having the same attribute feature, and download at least one independent description file of the set of three-dimensional graphic description objects; the shared description file and the independent description file are adopted Obtaining: extracting data portions of the same attribute feature from data of a set of three-dimensional graphic description objects having the same attribute feature, forming a shared description file shared by the group of three-dimensional graphic description objects; and extracting the group separately
  • the three-dimensional graphic describes each of the three-dimensional graphics describing the data portion of the attribute feature unique to the object, forming an independent description file corresponding to each three-dimensional graphic description object;
  • the display graphic unit 803 is configured to automatically display the three-dimensional graphic using the combined three-dimensional graphic description file.
  • the set of three-dimensional graphic description objects having the same attribute feature includes a set of different SKU display items belonging to the same SPU.
  • the same attribute feature includes:
  • the different SKUs show the geometric characteristics of the item.
  • the unique attribute features include:
  • the different SKUs display the color, material, and texture of each SKU in the product.
  • the device further includes:
  • the storage file unit is configured to store, according to the product browsing record of the client, the shared description file of the SPU display product frequently accessed by the client, and then store it in the client locality; when the subsequent client needs to display the display product belonging to the SPU, directly use the file
  • the shared description file of the SPU item stored locally by the client is combined with the downloaded independent description file of the specific SKU display item of the SPU to form a complete three-dimensional graphic description file.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination with software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Graphics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Geometry (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

一种三维图形文件生成和在客户端展示三维图形的方法及装置。所述三维图形文件生成方法包括:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件(S101);根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述文件组合,能够形成完整的三维图形描述文件(S102)。采用上述方法,解决现有技术存在影响网购体验、在同种商品的不同SKU中进行选择的三维图形展示方式达不到预期效果的问题。

Description

三维图形文件生成和在客户端展示三维图形的方法及装置
本申请要求2017年03月14日递交的申请号为201710149137.7、发明名称为“三维图形文件生成和在客户端展示三维图形的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及三维图形技术领域,具体涉及一种三维图形文件生成方法及装置。本申请同时涉及一种在客户端展示三维图形的方法及装置。
背景技术
三维图形技术一直伴随游戏产业而发展,为满足游戏场景中的需求,各类数据、算法、特效、渲染应运而生。在各家引擎或制作工具中,三维数据交流格式均有不同,达几十种之多。
近来,随着电子商务的发展,网购客户对能够全面了解被选购的商品的要求越来越高,采用三维图形技术向网购客户更直观的展示商品,已经成为一种普遍的需求。例如,对于属于一个标准产品单位(Standard Product Unit,简称SPU)的某种样式的长筒靴,具有完全相同的外形结构,但是,在该SPU下,还具有多种规格、颜色、材质而形成属于同一个SPU的不同的SKU(库存量单位,stock keeping unit);当用户选择某个样式的长筒靴后,需要为其展示该款式长筒靴的三维图形;在展示过程中,需要展示具有不同规格、不同材质、不同纹理以及不同颜色等情况下的三维图形,以便用户选择自己中意的款式。可以理解属于相同SPU的商品是同一种类商品,而在同一种商品下又有不同的款式;例如,同样是iphone 6s Plus手机,可以具有不同的颜色;iphone 6s Plus就是一个SPU,而不同颜色的iphone 6s Plus就是不同的SKU。当然,SKU对于电商平台而言,可能还包括套餐种类、出售商家等造成的不同SKU,此处只考虑与三维图形展示相关的因素。可以理解本申请主要针对同一种类商品的不同款式的三维图形展示问题。
现有技术下,三维图形的传统数据交流格式,主要是为了满足工业设计的需要;其数据存储方式主要是为了便于设计过程,造成数据存储更侧重于如何方便设计,例如,通常在模型数据中,除了放置几何结构的相关数据外,还放入一些与三维结构关联紧密的渲染数据。现有技术下的三维图形数据结构,能够较好的满足三维图形设计的要求, 但是,面对电商在客户端展示三维图形的上述场景,即展示同一种类的不同款式的情况则具有明显不足。
首先,当客户端下载三维图形进行自动三维展示时,对于同一种类的商品,在需要对颜色、材质等进行选择的情况下,需要下载的数据量很大,下载时间长,用户无法快速浏览,影响了网购体验。
其次,当客户端对同一种类的商品进行自动的三维图形展示,并选择自动展示该种类商品的不同款式、不同颜色、不同材质或者不同纹理变化的不同SKU的商品时,目前提供一种自动进行同种商品的不同SKU的三维动态展示功能;但目前的三维图形技术下,当三维展示过程中展示商品的外表面发生变化的时候,总是发生卡顿,不能正常流畅的无缝切换,使原先构想的这种帮助用户在同种商品的不同SKU中进行选择的三维图形展示方式达不到预期效果。
发明内容
本申请提供一种三维图形生成方法,以解决现有技术影响网购体验、在同种商品的不同SKU中进行选择的三维图形展示方式达不到预期效果的问题。
所述三维图形文件生成方法,包括:
从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述文件组合,能够形成完整的三维图形描述文件;所述三维图形描述文件能够用于生成所述三维图形。
可选的,所述从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件的步骤中,所述相同属性特征为该三维图形描述对象的几何特征。
可选的,所述从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件,包括:
从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分;
将所述相同属性特征数据分别按照其属性,放入一个或者多个对应其属性设置的数 据块中;
将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合;
将所述共有数据块集合进行文件化处理,形成所述共享描述文件。
可选的,所述分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件,包括:
提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分;所述特有属性特征包括一个或者多个属性特征;
将所述特定三维图形描述对象的特有属性特征的数据部分按照不同属性放入对应各自属性设置的数据块中;
将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合;
将所述独有数据块集合进行文件化处理,形成所述独立描述文件。
可选的,所述其它相关数据,包括:
头信息、版本信息、数据块索引。
可选的,所述文件化处理,包括:
对所述共有数据块集合或独有数据块集合中的数据进行压缩处理。
可选的,在将所述共有数据块集合进行文件化处理或将所述独有数据块集合进行文件化处理之后、并且在形成所述共享描述文件或形成所述独立描述文件之前,包括:
对进行文件化处理后的中间文件进行加密和/或压缩处理。
可选的,当所述一组具有相同属性特征的三维图形描述对象的材质数据相同时,所述相同属性特征包括该三维图形描述对象的材质。
可选的,所述三维图形描述对象特有的属性特征,包括:
颜色、材质、纹理。
本申请还提供一种三维图形文件生成装置,所述装置包括:
提取共享数据单元,用于从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,
提取独立数据单元,用于分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
形成完整文件单元,用于根据显示三维图形的需要,将所述共享描述文件与任意一 个所述独立描述数据文件组合,形成完整的三维图形描述文件;所述三维图形描述文件能够用于生成所述三维图形。
本申请另外提供一种在客户端展示三维图形的方法,所述方法包括:
下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;所述共享描述文件和独立描述文件,采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件;
使用组合后的所述三维图形描述文件,自动展示所述三维图形;
根据展示需要,进一步下载其它属于该组的三维图形描述对象中的独立描述文件,并返回将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件的步骤;直到退出三维图形展示。
可选的,所述一组具有相同属性特征的三维图形描述对象,包括一组属于同一SPU的不同SKU展示商品。
可选的,所述相同属性特征,包括:
所述不同SKU展示商品的几何特征。
可选的,所述特有的属性特征,包括:
所述不同SKU展示商品中每个SKU展示商品的颜色、材质、纹理。
可选的,根据客户端的商品浏览记录,将客户端经常访问的SPU展示商品的共享描述文件下载之后存储在客户端本地;在后续客户端需要展示属于该SPU的展示商品时,直接使用客户端本地存储的该SPU商品的共享描述文件与下载的该SPU的具体的SKU展示商品的独立描述文件组合,形成完整的三维图形描述文件。
本申请还提供一种在客户端展示三维图形的装置,所述装置包括:
下载数据单元,用于下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;所述共享描述文件和独立描述文件,采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的 数据部分,形成对应于每个三维图形描述对象的独立描述文件;
形成文件单元,用于将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件;
展示图形单元,用于使用组合后的所述三维图形描述文件,自动展示所述三维图形。
与现有技术相比,本申请具有以下优点:
本申请提供一种三维图形生成方法,所述方法包括:
从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;根据生成三维图形展示的需要,将所述共享描述文件与任意一个所述独立描述文件组合,能够形成完整的三维图形描述文件;所述三维图形描述文件能够用于生成所述三维图形。
本申请提供的三维图形生成方法,通过提取所述相同属性特征的数据并形成该组三维图形描述对象共用的共享描述文件,以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件,可以将三维图形描述对象共用的共享数据和特有的独立数据分开存储。在需要对同组的不同三维图形描述对象进行展示时,只需获取一次三维图形描述对象共用的共享数据后,便可重复使用;对于同组的不同三维图形描述对象,每次只需单独获取渲染所需的独立描述数据即可,然后将共享数据与不同的独立描述数据组合在一起构成完整的三维描述数据,本方案不需要每次获取三维图形描述对象完整的三维描述数据,减少了冗余的数据访问消耗,节省了用户的流量。
附图说明
图1是本申请第一实施例提供的一种三维图形文件生成方法的流程图。
图2是本申请第一实施例提供的从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件的流程图。
图3是本申请第一实施例提供的分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件的流程图。
图4是本申请第一实施例提供的bundle格式的示意图。
图5是本申请第一实施例提供的形成共有数据块集合及独有数据块集合的示意图。
图6是本申请第二实施例提供的一种在客户端展示三维图形的方法的流程图。
图7是本申请第三实施例提供的一种三维图形文件生成装置的示意图。
图8是本申请第四实施例提供的一种在客户端展示三维图形的装置的示意图。
具体实施方式
在下面的描述中阐述了很多具体细节以便于充分理解本发明。但是本发明能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似推广,因此本发明不受下面公开的具体实施的限制。
本申请第一实施例提供了一种三维图形文件生成方法。请参考图1,其示出了根据本申请的实施例提供的三维图形文件生成方法的流程图。以下结合图1进行详细说明。
步骤S101,从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件。
所述三维图形描述对象,指需要通过三维图形数据进行描述的立体对象,例如,在将一个女包、一只鞋在屏幕上进行三维立体展示时,女包和鞋就是三维图形描述对象。
所述属性特征,这里专门指对三维图形描述对象进行三维描述的过程中,对三维图形描述对象提取的某一方面的特征;例如,三维图形描述对象的几何属性特征、颜色属性特征、材质属性特征、纹理属性特征等等。
所述相同属性特征,在本申请中,是指一组类似的三维图形描述对象在某个属性上具有完全相同的特征数据,则将这个属性特征称为这组三维图形描述对象的相同属性特征。对于本实施例设想的同种类但不同SKU的商品,就是一组具有相同属性特征的三维图形描述对象;具体而言,相同属性特征通常包括三维图形描述对象的几何特征,即,三维图形描述对象的形状比例。有时,一组三维图形描述对象的材质相同时,材质也可以作为相同属性特征,例如,一款女包,形状相同,材质也为牛皮,则此时相同属性特征包括几何特征和材质特征。
所述特有的属性特征,在本申请中,是指一组类似的三维图形描述对象在某些属性上具有不完全相同的特征数据,通常包括三维图形描述对象的颜色、材质、纹理等特征。 其中,纹理特征包括表面光滑、表面有毛等。
所述一组具有相同属性特征的三维图形描述对象,本申请中是指两个及以上具有至少一个相同属性特征的三维图形描述对象。例如,形状尺寸相同的五种颜色的女包就可以称作一组具有相同属性特征的三维图形描述对象。
本步骤通过将三维图形描述对象相同属性特征的数据部分与特有的属性特征的数据部分分别提取出来,并分别形成共享描述文件和独立描述文件,实现了描述相同属性特征的共享数据与描述特有属性特征的独立数据的分离。
例如,有一款具有三种颜色的女包,材质、几何特征都相同,颜色分为:红色、黄色、蓝色,则通过步骤S101,将三种颜色的女包所对应的三维数据形成了共享描述文件,其中包括形状尺寸及材质的数据;以及独立描述文件,包括红色独立描述文件、黄色独立描述文件和蓝色独立描述文件。
优选方案中,从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件,包括:
从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分;
将所述相同属性特征数据分别按照其属性,放入一个或者多个对应其属性设置的数据块中;
将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合;
将所述共有数据块集合进行文件化处理,形成所述共享描述文件。
请参见图2,其为本申请的第一实施例提供的从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件的流程图,具体包括步骤S101-1-1至S101-1-4。以下结合图4和图5进行说明。
为了将数据块更好的组织起来,本实施例中将属性特征数据块与相关的管理参数数据块集合设置为数据块集合,又称为bundle,其中,所述相同属性特征数据放入为各个属性分别单独设置的数据块。具体的数据块集合的格式信息如图4所示。其中,头信息用于bundle校验;版本信息用于bundle版本控制或升级;数据块索引用于描述此bundle内数据块的信息和访问地址。
下面以相同属性特征为几何特征为例,介绍下述几个步骤。
步骤S101-1-1,从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分。
本步骤将相同属性特征的数据部分提取出来。
如果相同属性特征为几何特征,所述从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,可以指从一组具有相同几何形状的三维图形描述对象的数据中,提取描述几何形状的模型数据部分。例如,一组三维图形描述对象为一款具有三种颜色的女包,从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,可以指从描述不同颜色的女包的三维数据中提取出描述女包几何形状的模型数据部分。
步骤S101-1-2,将所述相同属性特征数据分别按照其属性,放入一个或者多个对应其属性设置的数据块中。
如图5所示,将模型描述信息放入为其设置的数据块1中,将顶点信息、骨骼信息等也都分别放入相应的数据块中;这些信息均属于三维图形描述图像的几何特征数据,是几何特征数据下的子属性特征。通过划分为不同的数据块分别管理不同类别的几何特征数据,可以更好的进行数据管理和数据更新。
步骤S101-1-3,将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合。
所述其它相关数据,包括:头信息、版本信息、数据块索引。
本实施例中,将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合,具体是将几何特征对应的数据块与头信息、版本信息、数据块索引组合在一起,形成模型数据块集合,又称为模型bundle。
由于共有数据块集合不便于存储,需要对其进行打包、压缩成文件的形式进行存储。
步骤S101-1-4,对所述共有数据块集合进行文件化处理,形成所述共享描述文件。
对所述共有数据块集合进行压缩处理,通常指在序列化共有数据块集合中的模型或贴图数据时,根据设计去减小数据打包精度,例如,顶点法线等信息采用32位float或者16位float,贴图采用RGBA或者RGB565,顶点索引使用index16或者index32。所谓序列化数据,是指按一定顺序、格式将数据写入到存储区;简而言之,就是从原始数据中按要求的格式生成存储文件。如果使用占用数据空间小的数据类型或者彩色模式,能明显减少序列化数据大小,最多到50%左右。
在将所述共有数据块集合进行文件化处理或将所述独有数据块集合进行文件化处理 之后、并且在形成所述共享描述文件或形成所述独立描述文件之前,为了保证文件中数据的安全,对进行文件化处理后的中间文件进行加密处理,为了减少独立描述文件的占据的存储空间,还可以对对进行文件化处理后的中间文件进行压缩处理。此处的压缩处理指文件压缩,采用公开的算法对序列化后的数据进行压缩,例如ZIP。
优选方案中,所述分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件,包括:
提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分;所述特有属性特征包括一个或者多个属性特征;
将所述特定三维图形描述对象的特有属性特征的数据部分按照不同属性放入对应各自属性设置的数据块中;
将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合;
将所述独有数据块集合进行文件化处理,形成所述独立描述文件。
请参见图3,其为本申请的第一实施例提供的分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件的流程图。具体包括步骤S101-2-1至S101-2-3。以下结合图4和图5进行说明。
步骤S101-2-1,提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分;所述特有属性特征包括一个或者多个属性特征。
本步骤将特有属性特征的数据部分提取出来。
特有属性特征包括的属性特征的数量是不确定的,根据三维图形描述对象的不同而不同。如果三维图形描述对象的只有几何特征相同,材质、颜色、纹理都不相同,则特有属性特征包括材质特征、颜色特征、纹理特征,如果三维图形描述对象的几何特征、材质都相同,则特有属性特征包括材质特征、颜色特征、纹理特征。
如果特有属性特征为材质、颜色、纹理,所述提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分,可以指从该组中某个三维图形描述对象的数据中,提取描述该对象的材质、颜色、纹理的数据部分。例如,三维图形描述对象为一款女包,材质分为牛皮、羊皮,颜色分为红色、黄色、蓝色、纹理分为光滑和带毛的,如果某个女包为红色的光滑的牛皮女包,则提取出所述女包的特有属性特征的数据部分包括颜色、纹理、材质的数据。
步骤S101-2-2,将所述特定三维图形描述对象的特有属性特征的数据部分按照不同 属性放入对应各自属性设置的数据块中。
如图5所示,渲染bundle为放置特有属性特征的数据的bundle,在提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分后,可以将所述特定三维图形描述对象的特有属性特征的数据部分按照不同属性放入对应各自属性设置的数据块中。例如,将材质信息放入材质信息对应的数据块中。
步骤S101-2-3,将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合。
所述其它相关数据,包括:头信息、版本信息、数据块索引。
本实施例中,将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合,具体是指将特有属性特征对应的数据块加上相关的管理数据如头信息、版本信息、数据块索引等组合在一起形成的数据块集合,在本实施例中又称为渲染bundle。
步骤S101-2-4,对所述独有数据块集合进行文件化处理,形成所述独立描述文件。
本步骤与步骤S101-1-4相似,详情参照步骤S101-1-4中的相关描述。
步骤S102,根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述文件组合,能够形成完整的三维图形描述文件。
在形成了共享描述文件和独立描述文件后,可以根据需求,将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件。例如,一款女包,具有三种颜色红、黄、蓝,则会形成一个共享描述文件与三个SKU独立描述文件,独立描述文件包括:女包红色SKU描述文件、女包黄色SKU描述文件、女包蓝色SKU描述文件,如果需要展示黄色女包,则将共享描述文件与黄色SKU描述文件组合,形成完整的黄色女包描述文件;如果需要展示蓝色女包,则将共享描述文件与蓝色SKU描述文件组合,形成完整的蓝色女包描述文件。
在形成完整的三维图形描述文件后,就可以根据所述三维图形描述文件中描述三维图形的数据,生成所述三维图形,用于展示。
具体而言,就是将针对一组具有共同属性特征的三维图形描述对象形成所述共享描述文件,与该组中各个具体的三维图形描述对象的独立描述文件分别组合,形成各个具体的三维图形描述对象的三维图形。组合的过程根据三维图形展示渲染的一般过程处理;在形成所述共享描述文件和所述独立描述文件中包含的头信息、版本信息、数据块索引等数据块集合中的相关内容可以提供实现文件组合的相关信息。
至此,通过上述步骤S101-S102,对本实施例提供的三维图形文件生成方法的实施 方式进行了描述。通过上述描述可以看出,本申请提供的三维图形文件生成方法将一组具有相同属性特征的三维图形描述对象的相同属性特征的数据部分描述对象中每个三维图形描述对象特有的属性特征的数据部分分开,并分别形成共享描述文件和每个三维图形描述对象的独立描述文件。如果将本方法应用于电商商品动态SKU展示,在客户端进行同种类商品不同SKU展示时,可以只获取一次共享描述文件即可,在展示每个SKU商品时,只需每次获取不同的SKU独立描述文件,再将独立描述文件与共享描述文件中的数据进行组合,就可以将三维图形显示出来。由于客户端不再需要每次下载完整的三维数据,减少了冗余的数据访问消耗,节省了用户的流量,而且也不会出现卡顿,使展示更加流畅,提高了用户的体验。
为了更清楚的说明本申请的效果,本申请第二实施例提供了一种在客户端展示三维图形的方法,此方法可以用于商品三维SKU展示场景。请参考图6,其示出了根据本申请的实施例提供的在客户端展示三维图形的方法的流程图。以下结合图6进行详细说明。
步骤S601,下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;
其中,所述共享描述文件和独立描述文件,优选采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件。
所述下载一组具有相同属性特征的三维图形描述对象的共享描述文件以及下载该组三维图形描述对象的至少一个独立描述文件,可以指在客户端进行三维图形的展示时,客户端从存储共享描述文件和独立描述文件的服务端下载共享描述文件以及至少一个独立描述文件。
例如,一组三维图形描述对象为需要通过电商展示的一款女包,包含三种颜色红色、黄色、蓝色,并且女包只有颜色不同,其他的材质、纹理、几何形状都相同,则在服务端存储了女包的包含材质、纹理、几何形状的数据的共享描述文件及红色SKU独立描述文件、黄色SKU独立描述文件、蓝色SKU独立描述文件,在需要动态展示此款女包不同SKU时,就首先需要通过本步骤将此款女包共享描述文件及某个或多个独立描述文件下载到客户端。
步骤S602,将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文 件。
在客户端将三维图形描述对象的共享描述文件和独立描述文件下载后,需要将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件,以用于展示。
例如,如果步骤S601中的例子中,下载了女包共享描述文件及红色SKU独立描述文件,则将共享描述文件及红色SKU独立描述文件进行组合,形成完整的红色女包三维图形描述文件。
步骤S603,使用组合后的所述三维图形描述文件,自动展示所述三维图形。
在形成完整的三维图形描述文件后,将三维图形描述文件中的数据提取出来,将对应的三维图形展示在客户端的显示屏幕上。
例如,步骤S602形成了完整的红色女包三维图形描述文件,则本步骤将红色女包的三维图形展示在客户端的显示屏幕上。
步骤S604,根据展示需要,进一步下载其它属于该组的三维图形描述对象中的独立描述文件,并返回将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件的步骤;直到退出三维图形展示。
当展示没有结束时,需要进一步下载其它属于该组的三维图形描述对象中的独立描述文件,并针对下载的所述独立描述文件执行步骤S602、S603,当展示结束时,退出三维图形展示。
例如,步骤S603中的例子,通过步骤S603将红色女包的三维图形展示在客户端的显示屏幕上,电商的展示需要,是将三种颜色女包依次动态进行展示,则在步骤S603后,需要下载黄色SKU独立描述文件并执行步骤S602、S603,将黄色女包的三维图形展示在客户端的显示屏幕上,最后需要下载蓝色SKU独立描述文件并执行步骤S602、S603,将蓝色女包的三维图形展示在客户端的显示屏幕上,此时完成了所有展示,退出三维图形展示。当然,三维图形展示的过程经常是根据客户端的指令结束,这样,可以无需下载一组SKU的所有独立描述文件,从而节省数据流量。
优选的,为了降低客户端的下载流量,可以根据客户端的商品浏览记录,将客户端经常访问的SPU展示商品的共享描述文件下载之后存储在客户端本地;在后续客户端需要展示属于该SPU的展示商品时,直接使用客户端本地存储的该SPU商品的共享描述文件与下载的该SPU的具体的SKU展示商品的独立描述文件组合,形成完整的三维图形描述文件。
为了更清楚的介绍本申请的方法,下面结合具体电商销售场景实例介绍本申请的方 法在电商销售平台中的应用。
以电商销售一款女包为例,描述此款女包的形状尺寸即几何特征相同,但是颜色、纹理不同,则不同颜色、纹理的女包属于同一SPU的不同SKU展示商品。假设女包的颜色为红、黄、蓝;纹理为表面光滑或者表面带毛。则在服务端需要存储描述此款女包几何特征的共享描述文件和描述颜色纹理的独立描述文件,其中,独立描述文件包括红色SKU独立描述文件、黄色SKU独立描述文件、蓝色SKU独立描述文件、纹理光滑SKU独立描述文件、纹理带毛SKU独立描述文件。当用户通过手机客户端购买女包时,客户端可以对商品进行动态展示,如果设定展示顺序为表面光滑的红色女包、表面光滑的黄色女包、表面光滑的蓝色女包、表面有毛的红色女包、表面有毛的黄色女包、表面有毛的蓝色女包。其展示过程为:客户端首先会从服务端下载描述此款女包几何特征的共享描述文件并将其存入客户端,并下载红色SKU独立描述文件、纹理光滑SKU独立描述文件,将上述三个文件组合,形成完整的表面光滑的红色女包三维图形描述文件,将表面光滑的红色女包显示到手机屏幕上;然后,由于共享描述文件已经存储到客户端,此时只需下载黄色SKU独立描述文件、纹理光滑SKU独立描述文件,并将上述两个文件与已经下载的共享描述文件组合,形成完整的表面光滑的黄色女包三维图形描述文件,将表面光滑的黄色女包显示到手机屏幕上;根据展示需求依次下载相应的SKU独立描述文件,直到展示结束。
与上述一种三维图形文件生成方法相对应的,本申请还提供了一种三维图形文件生成装置。由于所述装置的实施例基本相似于方法的实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。下述描述的装置实施例仅仅是示意性的。所述三维图形文件生成装置实施例如下:
请参考图7,其示出了根据本申请的第三实施例提供的一种三维图形文件生成装置的示意图。
所述三维图形文件生成装置包括:提取共享数据单元701、提取独立数据单元702、形成完整文件单元703。
提取共享数据单元701,用于从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,
提取独立数据单元702,用于分别提取该组三维图形描述对象中每个三维图形描述 对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
形成完整文件单元703,用于根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述文件组合,形成完整的三维图形描述文件。
可选的,所述提取共享数据单元中的所述相同属性特征为该三维图形描述对象的几何特征。
可选的,提取共享数据单元,包括:
提取数据子单元,用于从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分;
放入数据块子单元,用于将所述相同属性特征数据分别按照其属性,放入一个或者多个对应其属性设置的数据块中;
形成数据块集合子单元,用于将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合;
形成共享描述文件子单元,用于将所述共有数据块集合进行文件化处理,形成所述共享描述文件。
可选的,所述提取独立数据单元,包括:
提取数据子单元,用于提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分;所述特有属性特征包括一个或者多个属性特征;
放入数据块子单元,用于将所述特定三维图形描述对象的特有属性特征的数据部分按照不同属性放入对应各自属性设置的数据块中;
形成独有数据块集合子单元,用于将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合;
形成独立描述文件子单元,用于将所述独有数据块集合进行文件化处理,形成所述独立描述文件。
可选的,所述其它相关数据,包括:
头信息、版本信息、数据块索引。
可选的,所述文件化处理,包括:
对所述共有数据块集合或独有数据块集合中的数据进行压缩处理。
可选的,所述提取共享数据单元和提取独立数据单元还包括:
加密、压缩子单元,用于在将所述共有数据块集合进行文件化处理或将所述独有数据块集合进行文件化处理之后、并且在形成所述共享描述文件或形成所述独立描述文件 之前,对进行文件化处理后的中间文件进行加密和/或压缩处理。
可选的,当所述一组具有相同属性特征的三维图形描述对象的材质数据相同时,所述相同属性特征包括该三维图形描述对象的材质。
可选的,所述三维图形描述对象特有的属性特征,包括:
颜色、材质、纹理。
与上述一种在客户端展示三维图形的方法相对应的,本申请还提供了一种在客户端展示三维图形的装置。由于所述装置的实施例基本相似于方法的实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。下述描述的装置实施例仅仅是示意性的。所述在客户端展示三维图形的装置实施例如下:
请参考图8,其示出了根据本申请的第四实施例提供的一种三维图形生成装置的示意图。
所述在客户端展示三维图形的装置包括:下载数据单元801、形成文件单元802、展示图形单元803。
下载数据单元801,用于下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;所述共享描述文件和独立描述文件,采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
形成文件单元802,用于将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件;
展示图形单元803,用于使用组合后的所述三维图形描述文件,自动展示所述三维图形。
可选的,所述一组具有相同属性特征的三维图形描述对象,包括一组属于同一SPU的不同SKU展示商品。
可选的,所述相同属性特征,包括:
所述不同SKU展示商品的几何特征。
可选的,所述特有的属性特征,包括:
所述不同SKU展示商品中每个SKU展示商品的颜色、材质、纹理。
可选的,所述装置还包括:
存储文件单元,用于根据客户端的商品浏览记录,将客户端经常访问的SPU展示商品的共享描述文件下载之后存储在客户端本地;在后续客户端需要展示属于该SPU的展示商品时,直接使用客户端本地存储的该SPU商品的共享描述文件与下载的该SPU的具体的SKU展示商品的独立描述文件组合,形成完整的三维图形描述文件。
本发明虽然以较佳实施例公开如上,但其并不是用来限定本发明,任何本领域技术人员在不脱离本发明的精神和范围内,都可以做出可能的变动和修改,因此本发明的保护范围应当以本发明权利要求所界定的范围为准。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
本领域技术人员应明白,本申请实施例可提供为方法、系统或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。

Claims (16)

  1. 一种三维图形文件生成方法,其特征在于,包括:
    从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
    根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述文件组合,能够形成完整的三维图形描述文件;所述三维图形描述文件能够用于生成所述三维图形。
  2. 根据权利要求1所述的方法,其特征在于,所述从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件的步骤中,所述相同属性特征为该三维图形描述对象的几何特征。
  3. 根据权利要求1所述的方法,其特征在于,所述从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件,包括:
    从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分;
    将所述相同属性特征数据分别按照其属性,放入一个或者多个对应其属性设置的数据块中;
    将所述一个或者多个所述对应其属性设置的数据块,按照规定的格式与其它相关数据组合,形成共有数据块集合;
    将所述共有数据块集合进行文件化处理,形成所述共享描述文件。
  4. 根据权利要求1所述的方法,其特征在于,所述分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件,包括:
    提取该组三维图形描述对象中某个特定三维图形描述对象的特有属性特征的数据部分;所述特有属性特征包括一个或者多个属性特征;
    将所述特定三维图形描述对象的特有属性特征的数据部分按照不同属性放入对应各自属性设置的数据块中;
    将所述数据块按照规定的格式与其它相关数据组合,形成独有数据块集合;
    将所述独有数据块集合进行文件化处理,形成所述独立描述文件。
  5. 根据权利要求3或4所述的方法,其特征在于,所述其它相关数据,包括:
    头信息、版本信息、数据块索引。
  6. 根据权利要求3或4所述的方法,其特征在于,所述文件化处理,包括:
    对所述共有数据块集合或独有数据块集合中的数据进行压缩处理。
  7. 根据权利要求3或4所述的方法,其特征在于,在将所述共有数据块集合进行文件化处理或将所述独有数据块集合进行文件化处理之后、并且在形成所述共享描述文件或形成所述独立描述文件之前,包括:
    对进行文件化处理后的中间文件进行加密和/或压缩处理。
  8. 根据权利要求1或2所述的方法,其特征在于,当所述一组具有相同属性特征的三维图形描述对象的材质数据相同时,所述相同属性特征包括该三维图形描述对象的材质。
  9. 根据权利要求1所述的方法,其特征在于,所述三维图形描述对象特有的属性特征,包括:
    颜色、材质、纹理。
  10. 一种三维图形文件生成装置,其特征在于,包括:
    提取共享数据单元,用于从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,
    提取独立数据单元,用于分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
    形成完整文件单元,用于根据显示三维图形的需要,将所述共享描述文件与任意一个所述独立描述数据文件组合,形成完整的三维图形描述文件;所述三维图形描述文件能够用于生成所述三维图形。
  11. 一种在客户端展示三维图形的方法,其特征在于,包括:
    下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;所述共享描述文件和独立描述文件,采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取 该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
    将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件;
    使用组合后的所述三维图形描述文件,自动展示所述三维图形;
    根据展示需要,进一步下载其它属于该组的三维图形描述对象中的独立描述文件,并返回将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件的步骤;直到退出三维图形展示。
  12. 根据权利要求11所述的方法,其特征在于,所述一组具有相同属性特征的三维图形描述对象,包括一组属于同一SPU的不同SKU展示商品。
  13. 根据权利要求12所述的方法,其特征在于,所述相同属性特征,包括:
    所述不同SKU展示商品的几何特征。
  14. 根据权利要求12所述的方法,其特征在于,所述特有的属性特征,包括:
    所述不同SKU展示商品中每个SKU展示商品的颜色、材质、纹理。
  15. 根据权利要求11所述的在客户端展示三维图形的方法,其特征在于,根据客户端的商品浏览记录,将客户端经常访问的SPU展示商品的共享描述文件下载之后存储在客户端本地;在后续客户端需要展示属于该SPU的展示商品时,直接使用客户端本地存储的该SPU商品的共享描述文件与下载的该SPU的具体的SKU展示商品的独立描述文件组合,形成完整的三维图形描述文件。
  16. 一种在客户端展示三维图形的装置,其特征在于,包括:
    下载数据单元,用于下载一组具有相同属性特征的三维图形描述对象的共享描述文件,以及下载该组三维图形描述对象的至少一个独立描述文件;所述共享描述文件和独立描述文件,采用下述方式获得:从一组具有相同属性特征的三维图形描述对象的数据中,提取所述相同属性特征的数据部分,形成该组三维图形描述对象共用的共享描述文件;以及,分别提取该组三维图形描述对象中每个三维图形描述对象特有的属性特征的数据部分,形成对应于每个三维图形描述对象的独立描述文件;
    形成文件单元,用于将所述共享描述文件与独立描述文件组合,形成完整的三维图形描述文件;
    展示图形单元,用于使用组合后的所述三维图形描述文件,自动展示所述三维图形。
PCT/CN2018/077984 2017-03-14 2018-03-05 三维图形文件生成和在客户端展示三维图形的方法及装置 WO2018166369A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP18767709.1A EP3598394A4 (en) 2017-03-14 2018-03-05 PROCESS AND DEVICE FOR GENERATING A THREE-DIMENSIONAL GRAPHIC FILE AND PRESENTATION OF A THREE-DIMENSIONAL GRAPHIC ON A CLIENT
JP2019550682A JP7245782B2 (ja) 2017-03-14 2018-03-05 三次元グラフィックファイルを生成して三次元グラフィックをクライアント上に提示する方法及びデバイス
US16/569,410 US11010964B2 (en) 2017-03-14 2019-09-12 Method and device for generating three-dimensional graphic file and presenting three-dimensional graphic on client

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710149137.7 2017-03-14
CN201710149137.7A CN108573519B (zh) 2017-03-14 2017-03-14 三维图形文件生成和在客户端展示三维图形的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/569,410 Continuation US11010964B2 (en) 2017-03-14 2019-09-12 Method and device for generating three-dimensional graphic file and presenting three-dimensional graphic on client

Publications (1)

Publication Number Publication Date
WO2018166369A1 true WO2018166369A1 (zh) 2018-09-20

Family

ID=63523395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077984 WO2018166369A1 (zh) 2017-03-14 2018-03-05 三维图形文件生成和在客户端展示三维图形的方法及装置

Country Status (5)

Country Link
US (1) US11010964B2 (zh)
EP (1) EP3598394A4 (zh)
JP (1) JP7245782B2 (zh)
CN (1) CN108573519B (zh)
WO (1) WO2018166369A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111128350A (zh) * 2019-12-25 2020-05-08 北京爱康宜诚医疗器材有限公司 在线编辑方法及装置
CN112016139A (zh) * 2019-05-29 2020-12-01 阿里巴巴集团控股有限公司 家装家居对象信息处理方法及装置
CN112950792A (zh) * 2020-04-17 2021-06-11 深圳市明源云客电子商务有限公司 三维模型的展示方法、装置、电子设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11046519B2 (en) * 2019-02-25 2021-06-29 Rehrig Pacific Company Delivery system
CN112470194A (zh) * 2019-04-12 2021-03-09 艾司科软件有限公司 用于生成和查看具有印刷特征的对象的3d可视化的方法和系统
CN111930697B (zh) * 2020-07-09 2023-09-19 北京皮尔布莱尼软件有限公司 一种基于3d信息的数据传输方法、计算设备及系统
CN112381924A (zh) * 2020-11-12 2021-02-19 广州市玄武无线科技股份有限公司 一种基于三维建模获取仿真货品陈列信息的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080001960A1 (en) * 2006-06-29 2008-01-03 Mediatek Inc. Systems and methods for texture management
CN101369345A (zh) * 2008-09-08 2009-02-18 北京航空航天大学 一种基于绘制状态的多属性对象绘制顺序优化方法
CN104778599A (zh) * 2014-10-29 2015-07-15 刘莎 一种基于三维扫描比对实现鞋靴在线试穿的系统和方法
CN106357826A (zh) * 2016-11-16 2017-01-25 四川省亚丁胡杨人力资源集团有限公司 一种基于智能社区的缴费系统

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5988862A (en) 1996-04-24 1999-11-23 Cyra Technologies, Inc. Integrated system for quickly and accurately imaging and modeling three dimensional objects
US6058397A (en) * 1997-04-08 2000-05-02 Mitsubishi Electric Information Technology Center America, Inc. 3D virtual environment creation management and delivery system
JP2000076487A (ja) 1998-09-03 2000-03-14 Sony Corp 情報処理装置および方法、並びに提供媒体
US7353192B1 (en) * 1999-02-16 2008-04-01 Autobytel Inc. Product configuration display system and method with user requested physical product alterations
JP3842493B2 (ja) 1999-10-04 2006-11-08 富士通株式会社 3次元オブジェクト共有処理方法及び記憶媒体
JP2001273520A (ja) 2000-03-23 2001-10-05 Famotik Ltd マルチメディアドキュメント統合表示システム
JP2004151754A (ja) * 2002-10-28 2004-05-27 Toppan Printing Co Ltd 3次元モデル画像の表示検索システム及び該3次元モデル画像の表示検索プログラムを記録した記録媒体並びに該3次元モデル画像の表示検索を行うためのサーバ
US7765055B2 (en) 2005-04-18 2010-07-27 Traffic.Com, Inc. Data-driven traffic views with the view based on a user-selected object of interest
US7844724B2 (en) 2007-10-24 2010-11-30 Social Communications Company Automated real-time data stream switching in a shared virtual area communication environment
US7769806B2 (en) 2007-10-24 2010-08-03 Social Communications Company Automated real-time data stream switching in a shared virtual area communication environment
US20090288007A1 (en) 2008-04-05 2009-11-19 Social Communications Company Spatial interfaces for realtime networked communications
US9536344B1 (en) * 2007-11-30 2017-01-03 Roblox Corporation Automatic decoration of a three-dimensional model
WO2009146130A2 (en) 2008-04-05 2009-12-03 Social Communications Company Shared virtual area communication environment based apparatus and methods
KR101685982B1 (ko) * 2010-09-01 2016-12-13 엘지전자 주식회사 이동 단말기 및 이것의 3차원 디스플레이 제어 방법
US8566714B1 (en) * 2010-09-20 2013-10-22 Insignia Group, L.C. Catalog accessories meta-configurator, and its use thereof
US20130265304A1 (en) * 2010-12-23 2013-10-10 Kangying Cai 3d mesh model and method for creating the 3d mesh model
CA2754225A1 (en) * 2011-08-29 2013-02-28 Clover Point Cartographics Ltd. Geographic asset management system and method
US8766997B1 (en) * 2011-11-11 2014-07-01 Google Inc. Side-by-side and synchronized displays for three-dimensional (3D) object data models
WO2013075329A1 (en) * 2011-11-25 2013-05-30 Thomson Licensing Method and apparatus for generating a bitstream of repetitive structure discovery based 3d model compression
US9898742B2 (en) * 2012-08-03 2018-02-20 Ebay Inc. Virtual dressing room
GB2525120B (en) 2013-01-11 2021-03-03 Cybercity 3D Inc A computer-implemented system and method for roof modeling and asset management
US9596899B2 (en) * 2014-06-09 2017-03-21 GroupeSTAHL Apparatuses and methods of interacting with 2D design documents and 3D models and generating production textures for wrapping artwork around portions of 3D objects
CN105608617A (zh) * 2016-01-06 2016-05-25 广州唯品会信息科技有限公司 商品详情页联动显示方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080001960A1 (en) * 2006-06-29 2008-01-03 Mediatek Inc. Systems and methods for texture management
CN101369345A (zh) * 2008-09-08 2009-02-18 北京航空航天大学 一种基于绘制状态的多属性对象绘制顺序优化方法
CN104778599A (zh) * 2014-10-29 2015-07-15 刘莎 一种基于三维扫描比对实现鞋靴在线试穿的系统和方法
CN106357826A (zh) * 2016-11-16 2017-01-25 四川省亚丁胡杨人力资源集团有限公司 一种基于智能社区的缴费系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3598394A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016139A (zh) * 2019-05-29 2020-12-01 阿里巴巴集团控股有限公司 家装家居对象信息处理方法及装置
CN111128350A (zh) * 2019-12-25 2020-05-08 北京爱康宜诚医疗器材有限公司 在线编辑方法及装置
CN111128350B (zh) * 2019-12-25 2023-09-08 北京爱康宜诚医疗器材有限公司 在线编辑方法及装置
CN112950792A (zh) * 2020-04-17 2021-06-11 深圳市明源云客电子商务有限公司 三维模型的展示方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
JP7245782B2 (ja) 2023-03-24
US20200005531A1 (en) 2020-01-02
EP3598394A4 (en) 2020-09-16
JP2020514915A (ja) 2020-05-21
EP3598394A1 (en) 2020-01-22
CN108573519A (zh) 2018-09-25
US11010964B2 (en) 2021-05-18
CN108573519B (zh) 2022-02-11

Similar Documents

Publication Publication Date Title
WO2018166369A1 (zh) 三维图形文件生成和在客户端展示三维图形的方法及装置
US11055770B2 (en) Method, apparatus and system for generating collocation renderings
TWI760299B (zh) 銷售物件資訊的圖片展示方法及裝置
CN107705193A (zh) 定制商品的展示方法和系统
TWI592900B (zh) 藉由網頁高速逼真3d渲染進行物品設計客製化的方法
WO2021068958A1 (zh) 生成商品对象动态图像的方法、装置及电子设备
JP2018538636A (ja) 商品情報を提供する方法、システム及び装置
US20160335711A1 (en) Personal styler
CN107318032B (zh) 可替换物件的影片播放系统
CN107977848A (zh) 促销规则生成方法和促销规则生成系统
CN112347359A (zh) 用于定制模板库的模板推荐方法、装置、系统和介质
CN106779791A (zh) 一种搭配对象图片组合的生成方法及装置
US20200090252A1 (en) Expanded Shopping Product Page and Catalog Layout
US8935264B2 (en) Characteristic-based selection in a networked computing environment
WO2023066139A1 (zh) 显示商品信息的方法、装置及系统
CN110874167B (zh) 数据处理方法、装置和机器可读介质
CN110069499A (zh) 数据管理方法、装置、系统及存储介质
CN114816405A (zh) 业务视图界面的展示方法、装置、计算机设备和存储介质
CN111930292B (zh) 图片队列的展示方法、装置、计算机设备及可读存储介质
US20190080389A1 (en) Method for Creating and Dressing an Avatar for Online Garment Shopping
CN111246247A (zh) 视频的生成方法、装置及设备
CN107392688A (zh) 一种图龙解线上商品包装制作工具使用方法
Ruiz Augmented Reality as an Efficient Marketing Strategy in a New Consumption Model During the COVID-19 Pandemic
US20150363846A1 (en) Systems and Methods for the Multi-Dimensional Organization of Items
CN106169144A (zh) 信息匹配方式确定方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18767709

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019550682

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018767709

Country of ref document: EP

Effective date: 20191014