CN109741011B - Service platform and method for optimizing indoor designer work flow - Google Patents

Service platform and method for optimizing indoor designer work flow Download PDF

Info

Publication number
CN109741011B
CN109741011B CN201811536598.0A CN201811536598A CN109741011B CN 109741011 B CN109741011 B CN 109741011B CN 201811536598 A CN201811536598 A CN 201811536598A CN 109741011 B CN109741011 B CN 109741011B
Authority
CN
China
Prior art keywords
file
resource
unit
information
assetbundle
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
CN201811536598.0A
Other languages
Chinese (zh)
Other versions
CN109741011A (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.)
Wuhan Xinglian Yunlifang Technology Co ltd
Original Assignee
Wuhan Xinglian Yunlifang Technology Co ltd
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 Wuhan Xinglian Yunlifang Technology Co ltd filed Critical Wuhan Xinglian Yunlifang Technology Co ltd
Priority to CN201811536598.0A priority Critical patent/CN109741011B/en
Publication of CN109741011A publication Critical patent/CN109741011A/en
Application granted granted Critical
Publication of CN109741011B publication Critical patent/CN109741011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention has proposed a service platform and method for optimizing the indoor designer's work flow, through the resource management module, can upload FBX file, AssetBundle file, SBSAR file, TXT text and PNG format picture file to the server through OSS, while running and UE4 editor port in Unity3D, send the information of the file of the request retrieval to the server through ID of the resource, the server returns JSON file of Bundle, make the data standardization among Unity3D editor, Unity3D runtime and UE4 editor, do not need to download many times; by arranging the scheme book generating module, the ID of the commodity in the three-dimensional model, the quantity, the area, the length, the width, the scheme name, the author information, the family diagram, the effect diagram, the panoramic diagram, the design description and the commodity list can be made into an HTML link, so that a user can conveniently check and purchase the commodity.

Description

Service platform and method for optimizing indoor designer work flow
Technical Field
The invention relates to the field of 3D modeling, in particular to a service platform for optimizing the work flow of an indoor designer.
Background
The current practice of interior designers is generally: firstly, a CAD house type graph is made, secondly, a three-dimensional house type model is made through the CAD house type graph, thirdly, furniture model resources are obtained through self-building or other channels and are arranged in the three-dimensional house type model, fourthly, the effect graph and the panoramic graph of a specified camera position are obtained through self-building or other channels off-line rendering, fifthly, the house type graph, the effect graph and the panoramic graph are arranged and arranged into a scheme book, the scheme book is printed or transmitted in an electronic file mode, sixthly, after the scheme book is confirmed by a buyer, the designer searches for approximate furniture in a self-owned supply chain or an off-line and on-line market and sells the furniture to the buyer. At present, the whole process of indoor design cannot be coherent, namely, the process is started from obtaining of basic information of an owner, the process is restored to a three-dimensional model, the process is arranged for furniture, the process is used for making a scene effect picture and a panoramic picture, the process is used for generating a quotation, the process is used for generating a scheme book, and the process is paid for ordering, and the process cannot be linked, and the user type picture, the effect picture and the panoramic picture cannot be checked after the drawing is completed. In summary, the conventional indoor design software has the following defects: the problems of high difficulty in hands, complicated file data transmission among different software, a large amount of unnecessary repeated automatic desktop work, difficulty in ordering commodities and long drawing time caused by the diversity of software used in indoor design. Therefore, a continuous service platform and method that can standardize data and realize efficient and convenient conversion of design ideas into deliverable scheme books by users are needed.
Disclosure of Invention
In view of the above, the present invention provides a continuous service platform and method that can standardize data and can realize efficient and convenient conversion of design ideas into deliverable solution books by users.
The technical scheme of the invention is realized as follows:
on one hand, the invention provides a service platform for optimizing the work flow of an indoor designer, which comprises a drawing module, a scene arrangement module, a roaster and a server, and further comprises a resource management module, a project management module and a scheme book generation module;
the resource management module realizes resource management and transfer among the Unity3D, Unity runtime and the UE4 engine;
the project management module stores project information associated with each user;
the drawing module generates a three-dimensional model according to the two-dimensional plane drawing;
the scene arrangement module arranges the AssetBundle resources in the Bundle in a scene in three modes of a model, a material and a pipeline;
the roaster is constructed offline by using UE4 to achieve a high-level light and shadow effect, a UE4 material system is used to achieve a high-level material expression effect, and a NVDIA ANSEL technology is used for intercepting pictures and panoramas;
the scheme book generating module makes scheme names, author information, house type drawings, effect drawings, panoramic drawings, design description and commodity lists of the three-dimensional model into HTML links;
the server manages the resource transfer between Unity3D, Unity runtime, and UE4 engine;
the resource management module is respectively in signal connection with the scene arrangement module and the server, the drawing module, the scene arrangement module and the scheme book generation module are respectively in signal connection with the project management module, the baking device is in signal connection with the scheme book generation module, and the scheme book generation module is in signal connection with the server.
On the basis of the above technical solution, preferably, the resource management module includes a packing unit and a management unit;
the packaging unit packages resources into an AssetBundle file by using a Unity3D function BuildPipeline. BuildAssetBundles, automatically transmits the resource into an AssetBundle classification, adds FBX and SBSAR files into the AssetBundle classification, makes text information of the resources into a JSON format by using a file input and output stream, packages the JSON format into a TXT text, automatically transmits the TXT classification into resource pictures, adds the resource pictures into a texturs classification, and uploads the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file to a server through OSS by using a dynamic resource management object pool;
the management unit comprises a resource set data model, a resource manager, a file manager and a file data model;
the resource manager downloads and stores JSON files of all bundles through the OSS, analyzes and stores file information of all bundles in the resource set data model after obtaining the file information of all bundles, takes all resource set data from the resource set manager, sends information requesting for searching the file to the OSS through the ID of the resource, analyzes the JSON file returned by the server and stores the JSON file in the file data model;
the packing unit, the resource manager and the file manager are respectively in signal connection with the server, the resource set data model is in signal connection with the resource manager, and the file data model is respectively in signal connection with the file manager and the resource manager.
On the basis of the above technical solution, preferably, the project management module includes a project information unit, a plane drawing data storage unit, a geometric data storage unit, and an object serialization unit;
the project information unit saves the project name and the creation time of the project;
the plane drawing data storage unit stores two-dimensional plane drawing data of the project;
the geometric data storage unit stores three-dimensional data information except the two-dimensional plane drawing data;
the object serialization unit saves data of the scene arrangement;
the plane drawing data storage unit and the geometric data storage unit are respectively in signal connection with the drawing module, and the object serialization unit is in signal connection with the scene arrangement module.
Further preferably, the scene layout module comprises a model unit, a material unit and a pipeline unit;
the model unit loads the AssetBundle by using a Unity WWW method, directly extracts a GameObject object of the AssetBundle, and generates the AssetBudlebag in a scene by using a Unity instantate method so as to arrange furniture;
the Material unit loads the AssetBundle by using a Unity WWW method, directly extracts a Material object of the AssetBundle, and replaces the surface Material of the model in a scene by using a Unity MeshRenderer shared Material method so as to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper;
the pipeline unit loads the AssetBundle by using a Unity WWW method, directly extracts a GameObject object of the AssetBundle, and generates a pipeline by using a third-party plug-in SuperSplinesPro so as to arrange skirting lines, male corner lines and lamp strips;
the model unit, the material unit and the pipeline unit are respectively in signal connection with the object serialization unit and the file manager in the project management module.
Still further preferably, the scenario book generation module comprises a commodity data control unit and a generation unit;
the commodity data control unit numbers the furniture arranged in the scene arrangement module, and sets the logistics attribute, the inventory attribute, the payment attribute and the rebate attribute of the commodity;
the generating unit selects a picture and a panorama path by using a file selection window function in the win32.dll, uploads the picture and the panorama to the OSS through the SDK of the OSS, stores a scheme book record to the back-end server, and returns an HTML link of the record by the back-end server;
the commodity data control unit is in signal connection with the object serialization unit, and the generation unit is in signal connection with the baking device and the server respectively.
In another aspect, the present invention provides a method for optimizing a workflow of an indoor designer, comprising the steps of:
s101, packing resources into an AssetBundle file by using a Unity3D function BuildPipeline. BuildAssetBundles in a Unity3D editor port, automatically transmitting the resource into an AssetBundle classification, and adding FBX and SBSAR files into the AssetBundle classification; making text information of resources into a JSON format by using a file input output stream, finally packaging the text information into a TXT text and automatically transmitting the TXT text into Texts classification; adding texturs classification into the resource picture, uploading the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file to a server through an OSS, and allocating an ID to the resource by the server;
s102, downloading JSON files for storing all bundles through an OSS (open client system) at a port of Unity3D operation to obtain file information of all bundles, analyzing and storing the file information in a resource set data model, taking all resource set data from the resource set manager by a file manager, sending information of a request retrieval file to the OSS through an ID (identity) of a resource, analyzing the JSON files returned by a server and storing the JSON files in the file data model;
s103, copying the CAD house type drawing, generating a three-dimensional model according to the copied house type drawing, storing plane drawing data in a Profile _ PPM, and storing three-dimensional data in a Profile _ SGM;
s104, obtaining a Bundle model file, a material file and a pipeline file from the file manager, loading the model file by using a Unity WWW method, directly extracting a GameObject object of the model file, and generating the GameObject object in a scene by a Unity instant method to arrange furniture; loading the Material file by using a Unity WWW method, directly extracting a Material object of the Material file, and replacing the surface Material of the model in a scene by using a Unity MeshRenderer shared Material method to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper; loading the pipeline file by using a Unity WWW method, directly extracting a GameObject object of the pipeline file, and generating the pipeline file into a pipeline by using a third-party plug-in SuperSplinesPro so as to arrange skirting lines, male corner lines and lamp bands;
s105, downloading the current FBX and SBSAR files of the related Bundle in the process of transmitting data to the UE4 editor in the Unity runtime; directly loading the scene information abstract transmitted by the Unity runtime and loading the FBX and SBSAR files downloaded by the Unity runtime at a UE4 editor;
s106, the roaster is constructed offline by using UE4 to achieve a high-level light and shadow effect, a UE4 material system is used to achieve a high-level material expression effect, and a NVDIA ANSEL technology is used for intercepting pictures and panoramas;
and S107, numbering the commodities in the scene arrangement module, generating a commodity list, setting logistics attributes, inventory attributes, payment attributes and rebate attributes of the commodities, selecting a picture and panorama path by using a file selection window function in the win32.dll, uploading the picture and panorama to the OSS through the SDK of the OSS, storing a scheme book record to a back-end server, and returning an HTML link of the record by the back-end server.
On the basis of the technical scheme, preferably, in S101, the Bundle is managed by a Bundle manager class, and the Resource is managed by a FileManager class and a Storage class;
when Resource extraction is carried out on Resource in the Bundle, the ID of the corresponding Resource is transmitted into the Bundle, the corresponding Resource is extracted by a FileManager, and the Storage caches the extracted Resource.
On the basis of the above technical solution, preferably, in S105, the scene information abstract records Bundle and instantiation parameter data of the Bundle, grid information in the scene, and corresponding material Bundle information in a JSON format.
On the basis of the above technical solution, preferably, the solution book includes a solution name, author information, a house type diagram, an effect diagram, a panorama, a design description, and a commodity list.
Compared with the prior art, the service platform and the method for optimizing the work flow of the indoor designer have the following beneficial effects:
(1) the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file can be uploaded to a server through an OSS (operating system) through a resource management module, information for requesting to retrieve the file can be sent to the server through the ID of the resource when the Unity3D runs and a UE4 editor port, and the Json file of Bundle is returned to the server, so that data among the Unity3D editor, the Unity3D run and the UE4 editor are standardized without being downloaded for multiple times;
(2) by arranging the scheme book generating module, the ID of the commodity, the quantity, the area, the length, the width, the scheme name, the author information, the layout, the effect diagram, the panoramic view, the design description and the commodity list in the three-dimensional model can be made into an HTML link, so that a user can conveniently check and purchase the commodity;
(3) the whole platform can standardize data in indoor design, design process is continuous, and a user can efficiently and conveniently convert design ideas into a deliverable scheme book, so that the technical threshold of indoor design is lowered, and market demand conversion speed is accelerated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a service platform for optimizing the workflow of an indoor designer in accordance with the present invention;
FIG. 2 is a flow chart of a method for optimizing the workflow of an interior designer in accordance with the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
As shown in fig. 1, the service platform for optimizing the workflow of an indoor designer according to the present invention includes a drawing module, a scene arrangement module, a roaster, a server, a resource management module, a project management module, and a solution book generation module. The system comprises a drawing module, a scene arrangement module, a project management module and a scheme book generation module, wherein the drawing module comprises a plane drawing unit and a three-dimensional modeling unit, the scene arrangement module comprises a model unit, a material unit and a pipeline unit, the project management module comprises a project information unit, a plane drawing data storage unit, a geometric data storage unit and an object serialization unit, and the scheme book generation module comprises a commodity data control unit and a generation unit.
In the present invention, the underlying single Resource file is called Resource, and the package of files consisting of a group of single Resource files is called Bundle. The Bundle has three types, which are respectively: the model, the material and the pipeline are all recorded with Bundle name, file name, specific classification and commodity number. The model consists of an FBX format model file Resource, an AssetBundle format model file Resource, an SBSAR format material file Resource, a PNG format picture file Resource and a txt format text file Resource; the material is composed of an AssetBundle format material file Resource, an SBSAR format material file Resource, a PNG format picture file Resource and a txt format text file Resource; the pipeline consists of an AssetBundle format unit model file Resource, an SBSAR format material file Resource, a PNG format picture Resource and a txt format text file Resource. Bundle is managed by the Bundle manager class and Resource is managed by the FileManager and Storage classes. When Resource extraction is carried out on Resource in the Bundle, the ID of the corresponding Resource is transmitted into the Bundle, the corresponding Resource is extracted by a FileManager, and the Storage caches the extracted Resource.
In the invention, one subscription number has a plurality of different Bundle associations with the subscription number, and a user can create, delete and modify a design package and can add and delete Bundle associations in the design package. The process of the Bundle contained by the subscription number is completed in the management console, the process of the Bundle contained by the design package is completed by the user in the Unity runtime DesignPackManager, and the collection operation of the Bundle is completed by the CollectionManager. The user may add, delete, and rename design packages, which are stored in a database. The design package comprises a custom Bundle collection, and a method, a material and a pipeline for adding and deleting Bundle numbers.
And the resource management module loads all related Bundle information in the Unity runtime according to the subscription number subscribed by the user and the bundles added by the design package. The resource management module comprises a packing unit and a management unit, when the Unity runs, all AssetBundle, PNG and TXT file data in the Bundle are managed by using a dynamic resource management object pool, the packing unit uses a Unity3D function BuildPipeline.BuildAssetBundles to pack the resources into an AssetBundle file and automatically transmits the AssetBundle file into an AssetBundle classification, the FBX and SBSAR files are added into the AssetBundle classification, the text information of the resources is made into a JSON format by using a file input output stream, the JSON format is packed into a TXT text and automatically transmits the TXTs classification, and the resource picture is added into a Texturets classification. The management unit comprises a resource set data model, a resource manager, a file manager and a file data model; the resource manager downloads and stores JSON files of all the bundles through the OSS, analyzes and stores file information of all the bundles in the resource set data model after obtaining the file information of all the bundles, takes all the resource set data from the resource set manager through the file manager, sends information requesting for searching the file to the OSS through the ID of the resource, analyzes the JSON file returned by the server and stores the JSON file in the file data model. And downloading the FBX and SBSAR files of the currently related Bundle in the process of transmitting data to the UE4 editor in the Unity runtime. And directly loading the scene information abstract transmitted by the Unity runtime and loading the FBX and SBSAR files downloaded by the Unity runtime at the editor of the UE 4. The scene information abstract is a text file stored in a fixed relative path of a disk, and the text file records the Bundle and instantiation parameter data of the Bundle, the grid information in the scene and the corresponding material Bundle information in the JSON format. The packing unit, the resource manager and the file manager are respectively in signal connection with the server, the resource set data model is in signal connection with the resource manager, and the file data model is respectively in signal connection with the file manager and the resource manager.
And the project management module stores project information associated with each user. Each project has a unique piece of Profile data, which includes four segments of JSON data, namely PI, PPM, SGM, and OSM. PI is project info, i.e., project information, which mainly holds the project name, creation time, and the like of the project. PPM is a PlanePaintmap, namely a planar drawing, and mainly stores two-dimensional planar drawing data of a project; the SGM is a StereoGeneration map, namely a geometric generation map, and mainly stores three-dimensional data information except two-dimensional plane drawing data, including a mosaic surface and the like; the OSM is an objectstrializationmap, i.e., an object serialization map, which mainly holds data of scene placements. The project management module comprises a project information unit, a plane drawing data storage unit, a geometric data storage unit and an object serialization unit. The project information unit, the plane drawing data storage unit, the geometric data storage unit and the object serialization unit are respectively in one-to-one correspondence with the PI, the PPM, the SGM and the OSM. The plane drawing data storage unit and the geometric data storage unit are respectively in signal connection with the drawing module, and the object serialization unit is in signal connection with the scene arrangement module.
And the drawing module is used for drawing the three-dimensional model of the house type according to the house type graph. The drawing module comprises a plane drawing unit and a three-dimensional modeling unit. And the plane drawing unit is used for copying the CAD house-type drawing to generate door and window hole parameters. The plane drawing unit includes a plane drawing state machine. And the plane drawing state machine manages the copying CAD user-type drawing and loads the drawing final result, serializes and saves the plane drawing final result in the Profile _ PPM (PPM), namely the PPM in the project management module, reads the current Profile _ PPM and reproduces the drawing result finally saved in the scene. And the three-dimensional modeling unit generates a three-dimensional model according to the serialization result generated by the plane drawing unit when the three-dimensional scene is loaded. The three-dimensional modeling unit loads PPM data and SGM mosaic surface data in the Profile _ PPM information and generates a three-dimensional model through an algorithm, and the algorithm for generating the three-dimensional model is the prior art and is not redundant. The three-dimensional model generated by the three-dimensional modeling unit has house type space characteristics, namely the incidence relation between each floor in the area and the wall surface and the suspended ceiling of the area.
And the scene arrangement module is used for reading the current Profile _ OSM and reproducing the last saved arrangement result in the scene by the three-dimensional scene manager after the three-dimensional scene is loaded. And loading a Bundle file from a server or a local place, loading the related Resource of the Bundle after loading, displaying the name according to txt _ Resource and displaying the button cover picture according to png _ Resource. The scene layout module comprises a model unit, a material unit and a pipeline unit. Loading a model file by using a Unity WWW method by the model unit, directly extracting a GameObject object of the model file, and generating the GameObject object in a scene by using a Unity instant method so as to arrange furniture; the Material unit loads the Material file by using a Unity WWW method, directly extracts a Material object of the Material file, and replaces the surface Material of the model in a scene by a Unity MeshRenderer shared Material method so as to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper; and the pipeline unit loads the pipeline file by using a Unity WWW method, directly extracts the GameObject object of the pipeline file, and generates a pipeline by using a third-party plug SuperSplinesPro so as to arrange skirting lines, sun lines and lamp bands. And serializing and saving the final result after the arrangement in a Profile _ OSM (project management module) by the three-dimensional scene manager. The three-dimensional scene uses Unity's basic lighting, i.e. direct lighting, and uses SEGI, i.e. real-time global lighting based on the voxels of the third-party lighting plug-in, i.e. indirect lighting, to achieve a preliminary lighting effect. The model unit, the material unit and the pipeline unit are respectively in signal connection with the object serialization unit and the file manager in the project management module.
The roaster is constructed offline by using the UE4 to achieve high-level light and shadow effects, and achieves high-level material expression effects by using a UE4 material system. The roaster loads material configuration information by analyzing scene grid information and JSON information transmitted during the operation of Unity3D, and captures pictures and panoramas by using NVDIA ANSEL technology.
And the scheme book generating module is used for numbering the commodities in the scene, generating a commodity list, uploading the pictures and the panoramic picture through the OSS, storing a scheme book record to the back-end server, and returning the HTML link of the record by the back-end server. The scheme book generation module comprises a commodity data control unit and a generation unit. The commodity data control unit numbers commodities in the scene arrangement module, and sets logistics attributes, inventory attributes, payment attributes and rebate attributes of the commodities, wherein when a user shares a shopping cart and a sharing source thereof, once the shared shopping cart is handed over, rebate is paid to the sharing source according to the rebate attributes of the commodities. And a generation unit which fills basic information of the current scenario in the delivery scene and creates a scenario book when Unity3D runs. The basic information of the scheme comprises a scheme name, author information, a house type graph, an effect graph, a panoramic graph, design description and a commodity list. Selecting a path of a picture and a panorama to be uploaded by using a file selection window function in the win32.dll, uploading the picture and the panorama to the OSS through an SDK of the OSS, storing a scheme book record to a back-end server, returning an HTML link of the record by the back-end server, generating a commodity list by data transmitted from a three-dimensional arrangement scene to a delivery scene, wherein each list element comprises an ID of a Bundle, a commodity number, the area and the length.
The working process of the invention is as follows: using a Unity3D function BuildPipeline. BuildAssetBundles to pack resources into an AssetBundle file in a Unity3D editor port and automatically transmitting the file into AssetBundle classification, and supplementing FBX and SBSAR files according to different types of the Bundles to add the AssetBundle classification; making text information of resources into a JSON format by using a file input output stream, finally packaging the text information into a TXT text and automatically transmitting the TXT text into Texts classification; adding texturs classification into the resource picture, uploading the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file to a server through an OSS, and allocating the ID to the resource by the server. The Bundle is classified into subscription numbers, one subscription number has a plurality of different bundles associated with it, and a user can create, delete and modify a design package.
At the port of Unity3D operation, downloading JSON files for storing all Bundle through OSS, analyzing and storing the JSON files in the resource set data model after obtaining the file information of all Bundle, taking all resource set data from the resource set manager by the file manager, sending information of a request retrieval file to the OSS through the ID of the resource, analyzing the JSON files returned by the server and storing the JSON files in the file data model. And during Unity operation, copying the CAD sectional drawing by using all the AssetBundle, PNG and txt file data in the dynamic resource management object pool management Bundle, acquiring door and window hole parameters, and generating a three-dimensional stereogram through an algorithm for converting a two-dimensional stereogram into a three-dimensional stereogram. And the OSS is used for communicating with the server to download the FBX and SBSAR files of the FileBundle related to the project and transmitting the scene summary information to the editor of the UE 4.
When the UE4 editor port is used, the OSS is used to communicate with the server to download the FBX and SBSAR files of the FileBundle related to the project and import the FBX file to the UE 4. The SBSAR file is loaded after the UE4 is started. And arranging the asset sources in the Bundle in a scene by using the model, material and pipeline assets, selecting the area in the three-dimensional model, and paving and pasting the floor material, the wall material, the ceiling material, the skirting line and the external corner line. After arrangement, the information is transmitted to a delivery scene, a commodity list is generated, a baking device is used for rendering, a camera is used for capturing a picture and generating a panorama, the picture and the panorama are uploaded to an OSS through an SDK of the OSS, a scheme book record is stored in a back-end server, and an HTML link of the record is returned by the back-end server.
Example II,
As shown in fig. 2, the present invention provides a method for optimizing the workflow of an indoor designer, comprising the following steps:
s101, packing resources into an AssetBundle file by using a Unity3D function BuildPipeline. BuildAssetBundles in a Unity3D editor port, automatically transmitting the resource into an AssetBundle classification, and adding FBX and SBSAR files into the AssetBundle classification; making text information of resources into a JSON format by using a file input output stream, finally packaging the text information into a TXT text and automatically transmitting the TXT text into Texts classification; adding texturs classification into the resource picture, uploading the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file to a server through an OSS, and allocating an ID to the resource by the server;
s102, downloading JSON files for storing all bundles through an OSS (open client system) at a port of Unity3D operation to obtain file information of all bundles, analyzing and storing the file information in a resource set data model, taking all resource set data from the resource set manager by a file manager, sending information of a request retrieval file to the OSS through an ID (identity) of a resource, analyzing the JSON files returned by a server and storing the JSON files in the file data model;
s103, copying the CAD house type drawing, generating a three-dimensional model according to the copied house type drawing, storing plane drawing data in a Profile _ PPM, and storing three-dimensional data in a Profile _ SGM;
s104, obtaining a Bundle model file, a material file and a pipeline file from the file manager, loading the model file by using a Unity WWW method, directly extracting a GameObject object of the model file, and generating the GameObject object in a scene by a Unity instant method to arrange furniture; loading the Material file by using a Unity WWW method, directly extracting a Material object of the Material file, and replacing the surface Material of the model in a scene by using a Unity MeshRenderer shared Material method to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper; loading the pipeline file by using a Unity WWW method, directly extracting a GameObject object of the pipeline file, and generating the pipeline file into a pipeline by using a third-party plug-in SuperSplinesPro so as to arrange skirting lines, male corner lines and lamp bands;
s105, downloading the current FBX and SBSAR files of the related Bundle in the process of transmitting data to the UE4 editor in the Unity runtime; directly loading the scene information abstract transmitted by the Unity runtime and loading the FBX and SBSAR files downloaded by the Unity runtime at a UE4 editor;
s106, the roaster is constructed offline by using UE4 to achieve a high-level light and shadow effect, a UE4 material system is used to achieve a high-level material expression effect, and a NVDIA ANSEL technology is used for intercepting pictures and panoramas;
and S107, numbering the commodities in the scene arrangement module, generating a commodity list, setting logistics attributes, inventory attributes, payment attributes and rebate attributes of the commodities, selecting a picture and panorama path by using a file selection window function in the win32.dll, uploading the picture and panorama to the OSS through the SDK of the OSS, storing a scheme book record to a back-end server, and returning an HTML link of the record by the back-end server.
In S101, Bundle is managed by a Bundle manager class, and Resource is managed by a FileManager class and a Storage class; when Resource extraction is carried out on Resource in the Bundle, the ID of the corresponding Resource is transmitted into the Bundle, the corresponding Resource is extracted by a FileManager, and the Storage caches the extracted Resource.
In the S105, the scene information abstract records Bundle and instantiation parameter data of the Bundle, grid information in the scene and corresponding material Bundle information in a JSON format.
The scheme book comprises a scheme name, author information, a house type picture, an effect picture, a panoramic picture, design description and a commodity list.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. The utility model provides an optimize indoor designer's work flow's service platform, its includes drawing module, scene layout module, roaster and server which characterized in that: the system also comprises a resource management module, a project management module and a scheme book generation module;
the resource management module realizes resource management and transfer among the Unity3D, Unity runtime and UE4 engine; the resource management module comprises a packing unit and a management unit;
the packaging unit packages resources into an AssetBundle file by using a Unity3D function BuildPipeline. BuildAssetBundles, automatically transmits the resource into an AssetBundle classification, adds FBX and SBSAR files into the AssetBundle classification, makes text information of the resources into a JSON format by using a file input and output stream, packages the JSON format into a TXT text, automatically transmits the TXT classification into resource pictures, adds the resource pictures into a texturs classification, and uploads the resources to a server by using a dynamic resource management object pool through an OSS (open system) by using an FBX file, the AssetBundle file, the SBSAR file, the TXTT text and the PNG format picture file;
the management unit comprises a resource set data model, a resource manager, a file manager and a file data model;
the resource manager downloads and stores JSON files of all bundles through the OSS, analyzes and stores file information of all bundles in the resource set data model after obtaining the file information of all bundles, takes all resource set data from the resource set manager, sends information requesting for retrieving the files to the OSS through the ID of the resources, and analyzes and stores the JSON files returned by the server in the file data model;
the project management module stores project information associated with each user;
the drawing module generates a three-dimensional model according to a two-dimensional plane drawing;
the scene arrangement module arranges the AssetBundle resources in the Bundle in a scene in three modes of a model, a material and a pipeline;
the roaster is constructed offline by using UE4 to achieve a high-level light and shadow effect, a UE4 material system is used to achieve a high-level material expression effect, and a NVDIA ANSEL technology is used for intercepting pictures and panoramas;
the scheme book generating module makes scheme names, author information, house type drawings, effect drawings, panoramic drawings, design description and commodity lists of the three-dimensional model into HTML links;
the server manages the resource transfer between Unity3D, Unity runtime, and UE4 engine;
the packaging unit, the resource manager and the file manager are respectively in signal connection with the server, the resource set data model is in signal connection with the resource manager, the file data model is respectively in signal connection with the file manager and the resource manager, the drawing module, the scene arrangement module and the scheme book generation module are respectively in signal connection with the project management module, the baking device is in signal connection with the scheme book generation module, and the scheme book generation module is in signal connection with the server.
2. The service platform for optimizing indoor designer workflow of claim 1, wherein: the project management module comprises a project information unit, a plane drawing data storage unit, a geometric data storage unit and an object serialization unit;
the project information unit saves the project name and the creation time of the project;
the plane drawing data storage unit stores two-dimensional plane drawing data of the project;
the geometric data storage unit stores three-dimensional data information except two-dimensional plane drawing data;
the object serialization unit saves data of scene arrangement;
the plane drawing data storage unit and the geometric data storage unit are respectively in signal connection with the drawing module, and the object serialization unit is in signal connection with the scene arrangement module.
3. The service platform for optimizing indoor designer workflow of claim 2, wherein: the scene arrangement module comprises a model unit, a material unit and a pipeline unit;
the model unit loads the AssetBundle by using a Unity WWW method, directly extracts a GameObject object of the AssetBundle, and generates the AssetBudlebag in a scene by using a Unity instantate method so as to arrange furniture;
the Material unit loads the AssetBundle by using a Unity WWW method, directly extracts a Material object of the AssetBundle, and replaces the surface Material of the model in a scene by using a Unity MeshRenderer shared Material method so as to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper;
the pipeline unit loads the AssetBundle by using a Unity WWW method, directly extracts a GameObject object of the AssetBundle, and generates a pipeline by using a third-party plug-in SuperSplinesPro so as to arrange skirting lines, male corner lines and lamp strips;
the model unit, the material unit and the pipeline unit are respectively in signal connection with the object serialization unit and the file manager in the project management module.
4. The service platform for optimizing indoor designer workflow of claim 3, wherein: the scheme book generating module comprises a commodity data control unit and a generating unit;
the commodity data control unit numbers the furniture arranged in the scene arrangement module, and sets the logistics attribute, the inventory attribute, the payment attribute and the rebate attribute of the commodity;
the generating unit selects a picture and a panorama path by using a file selection window function in the win32.dll, uploads the picture and the panorama to the OSS through the SDK of the OSS, stores a scheme book record to the back-end server, and returns an HTML link of the record by the back-end server;
the commodity data control unit is in signal connection with the object serialization unit, and the generation unit is in signal connection with the baking device and the server respectively.
5. A method of optimizing a workflow of an indoor designer, comprising: the method comprises the following steps:
s101, packing resources into an AssetBundle file by using a Unity3D function BuildPipeline. BuildAssetBundles in a Unity3D editor port, automatically transmitting the resource into an AssetBundle classification, and adding FBX and SBSAR files into the AssetBundle classification; making text information of resources into a JSON format by using a file input output stream, finally packaging the text information into a TXT text and automatically transmitting the TXT text into Texts classification; adding texturs classification into the resource picture, uploading the FBX file, the AssetBundle file, the SBSAR file, the TXT text and the PNG format picture file to a server through an OSS, and allocating an ID to the resource by the server;
s102, downloading JSON files for storing all bundles through an OSS (open client system) at a port of Unity3D operation to obtain file information of all bundles, analyzing and storing the file information in a resource set data model, taking all resource set data from the resource set manager by a file manager, sending information of a request retrieval file to the OSS through an ID (identity) of a resource, analyzing the JSON files returned by a server and storing the JSON files in the file data model;
s103, copying the CAD house type drawing, generating a three-dimensional model according to the copied house type drawing, storing plane drawing data in a Profile _ PPM, and storing three-dimensional data in a Profile _ SGM;
s104, obtaining a Bundle model file, a material file and a pipeline file from the file manager, loading the model file by using a Unity WWW method, directly extracting a GameObject object of the model file, and generating the GameObject object in a scene by a Unity instant method to arrange furniture; loading the Material file by using a Unity WWW method, directly extracting a Material object of the Material file, and replacing the surface Material of the model in a scene by using a Unity MeshRenderer shared Material method to arrange ceramic tiles, floors, ceilings, wall bricks and wallpaper; loading the pipeline file by using a Unity WWW method, directly extracting a GameObject object of the pipeline file, and generating the pipeline file into a pipeline by using a third-party plug-in SuperSplinesPro so as to arrange skirting lines, male corner lines and lamp bands;
s105, downloading the current FBX and SBSAR files of the related Bundle in the process of transmitting data to the UE4 editor in the Unity runtime; directly loading the scene information abstract transmitted by the Unity runtime and loading the FBX and SBSAR files downloaded by the Unity runtime at a UE4 editor;
s106, the roaster is constructed offline by using UE4 to achieve a high-level light and shadow effect, a UE4 material system is used to achieve a high-level material expression effect, and a NVDIA ANSEL technology is used for intercepting pictures and panoramas;
and S107, numbering the commodities in the scene arrangement module, generating a commodity list, setting logistics attributes, inventory attributes, payment attributes and rebate attributes of the commodities, selecting a picture and panorama path by using a file selection window function in the win32.dll, uploading the picture and panorama to the OSS through the SDK of the OSS, storing a scheme book record to a back-end server, and returning an HTML link of the record by the back-end server.
6. The method of claim 5, wherein the method comprises: in the S101, Bundle is managed by a Bundle manager class, and Resource is managed by a FileManager class and a Storage class;
when Resource extraction is carried out on Resource in the Bundle, the ID of the corresponding Resource is transmitted into the Bundle, the corresponding Resource is extracted by a FileManager, and the Storage caches the extracted Resource.
7. The method of claim 5, wherein the method comprises: in the S105, the scene information abstract records Bundle and instantiation parameter data of the Bundle, grid information in the scene, and corresponding material Bundle information in a JSON format.
8. The method of claim 5, wherein the method comprises: the scheme book comprises a scheme name, author information, a house type picture, an effect picture, a panoramic picture, design description and a commodity list.
CN201811536598.0A 2018-12-15 2018-12-15 Service platform and method for optimizing indoor designer work flow Active CN109741011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811536598.0A CN109741011B (en) 2018-12-15 2018-12-15 Service platform and method for optimizing indoor designer work flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811536598.0A CN109741011B (en) 2018-12-15 2018-12-15 Service platform and method for optimizing indoor designer work flow

Publications (2)

Publication Number Publication Date
CN109741011A CN109741011A (en) 2019-05-10
CN109741011B true CN109741011B (en) 2021-04-30

Family

ID=66359801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811536598.0A Active CN109741011B (en) 2018-12-15 2018-12-15 Service platform and method for optimizing indoor designer work flow

Country Status (1)

Country Link
CN (1) CN109741011B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112446948B (en) * 2019-08-30 2023-07-28 北京百度网讯科技有限公司 Virtual reality courseware processing method and device, electronic equipment and storage medium
CN110765524A (en) * 2019-10-17 2020-02-07 上海红星美凯龙设计云信息科技有限公司 House type automatic layout system based on mDesk equipment
CN111008414B (en) * 2019-11-04 2023-11-14 上海吉舍云计算机技术有限公司 House type drawing method and system based on HTML5
CN110975287A (en) * 2019-12-06 2020-04-10 珠海金山网络游戏科技有限公司 Module optimization method and device based on Unity3D
CN111445567B (en) * 2020-04-08 2023-04-14 广州工程技术职业学院 Baking method and device for dynamic object, computer equipment and storage medium
CN113920251A (en) * 2021-10-27 2022-01-11 国网冀北电力有限公司 Transformer substation secondary object three-dimensional modeling and rendering optimization method based on AssetBundle mechanism

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160534A (en) * 2015-08-19 2015-12-16 河南鑫山信息科技有限公司 Home decoration network platform system and use method
CN105046534B (en) * 2015-08-27 2019-08-30 北京明兰网络科技有限公司 Aided design system (iAD) Internet-based
US10867282B2 (en) * 2015-11-06 2020-12-15 Anguleris Technologies, Llc Method and system for GPS enabled model and site interaction and collaboration for BIM and other design platforms
US20170180372A1 (en) * 2015-12-16 2017-06-22 Fluke Corporation Project documentation sharing and collaboration in a cloud-based environment
CN107169247B (en) * 2017-06-30 2020-06-30 猪八戒股份有限公司 Household industry service system based on 3D cloud design

Also Published As

Publication number Publication date
CN109741011A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109741011B (en) Service platform and method for optimizing indoor designer work flow
US11188390B2 (en) Method for configuring a server kit by a server management system
US11922564B2 (en) Generative content system that supports location-based services and methods therefor
US8667016B2 (en) Sharing of presets for visual effects or other computer-implemented effects
US20200007615A1 (en) Server kit configured to execute custom workflows and methods therefor
US7277572B2 (en) Three-dimensional interior design system
US20200007556A1 (en) Server kit configured to marshal resource calls and methods therefor
US9619932B2 (en) Applications with integrated capture
CN103400415B (en) Plane space structure three-dimensional digital model generates and the implementation method of online interaction automatically
CN104102545A (en) Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN109508319B (en) 3D cross-platform resource management system and method
CN101124582A (en) Automated derivative view rendering system
CN102088472A (en) Wide area network-oriented decomposition support method for animation rendering task and implementation method
Johannesson et al. Systematic product platform design: a combined function-means and parametric modeling approach
US20060179076A1 (en) Integration of a digital asset management system with a project management system
CN104463957A (en) Three-dimensional scene generation tool integration method based on materials
Behr et al. webvis/instant3dhub: Visual computing as a service infrastructure to deliver adaptive, secure and scalable user centric data visualisation
CN103701772A (en) Method for constructing digital media content resource cloud system
CN116340260A (en) Building model data rendering method and device, electronic equipment and readable storage medium
CN113392873A (en) Method for constructing multi-layer city model through multi-source data fusion
CN107436785B (en) Revit software information interaction system and interaction method based on information system
CN109063223B (en) BIM model light weight method and device and BIM model processing method and system
WO2008026003A2 (en) 3 d pdf document generator and method for generating 3d pdf documents
Palestini et al. Neural Networks as an Alternative to Photogrammetry. Using Instant NeRF and Volumetric Rendering
KR20190092922A (en) Customized Motion Graphic Video Production System

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