CN109377545A - Model sharing, rendering method and electric terminal based on Alembic - Google Patents

Model sharing, rendering method and electric terminal based on Alembic Download PDF

Info

Publication number
CN109377545A
CN109377545A CN201811143491.XA CN201811143491A CN109377545A CN 109377545 A CN109377545 A CN 109377545A CN 201811143491 A CN201811143491 A CN 201811143491A CN 109377545 A CN109377545 A CN 109377545A
Authority
CN
China
Prior art keywords
model
file
archetype
abc
object module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811143491.XA
Other languages
Chinese (zh)
Other versions
CN109377545B (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 Xiafan Culture Communication Co.,Ltd.
Original Assignee
Wuhan Art Painting Opening Astronomical Communication 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 Art Painting Opening Astronomical Communication Co Ltd filed Critical Wuhan Art Painting Opening Astronomical Communication Co Ltd
Priority to CN201811143491.XA priority Critical patent/CN109377545B/en
Publication of CN109377545A publication Critical patent/CN109377545A/en
Application granted granted Critical
Publication of CN109377545B publication Critical patent/CN109377545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention discloses a kind of model sharing based on Alembic, rendering method and electric terminal.Wherein method includes: to choose the model file being locally stored and import model file in an animation component;Animation component obtains the reconstructed model of archetype and archetype according to model file;It selects reconstructed model as deformation basis in animation component, fusion deformation is carried out to archetype and reconstructed model, for obtaining object module;Judge whether caching of target model;After judging caching of target model by animation component export object module abc cache file and with the matched rendering file of abc cache file, render file include at least object module material information and texture mapping information.The present invention can be avoided because of subsequent modification archetype, making the geometric consequence of caching can not match with the archetype before modification, on the other hand archetype, streamline operation can quickly be restored by the combination of derived material information and texture mapping information and abc cache file.

Description

Model sharing, rendering method and electric terminal based on Alembic
Technical field
The present invention relates to field of computer technology, in particular to a kind of model sharing based on Alembic, rendering Method and electric terminal.
Background technique
In the manufacturing process of 3D animation, in order to improve rendering effect, it usually needs make the relative role stage property in camera lens For solid caching.
Wherein, with Alembic caching for now widely used file format;Alembic file format is (hereinafter referred to as Abc cache file) it is a kind of open computerized image Exchange framework;Complex scene with animation can be refined as a set of non-mistake The independent baking geometric figure result of journey, application program.
Abc cache file includes the information such as displacement, vertex, UV and the visibility of above-mentioned caching geometric consequence;It does not include delaying Deposit the information such as material and the texture mapping of geometric consequence.
After exporting the abc cache file of an archetype using the matched abc caching function of Maya, need abc again Cache file imports Maya or other 3D components, for obtaining the geometric consequence of archetype.But in export archetype Before abc cache file, if modified to archetype, the geometry knot of derived abc cache file and archetype Fruit is different.Simultaneously because the geometric consequence of caching does not include the material and texture mapping of geometric consequence, increase in subsequent again The material and texture mapping of geometric consequence, process is complicated and is easy to appear deviation.
Summary of the invention
The embodiment of the present invention at least discloses a kind of model sharing method based on Alembic, is able to solve in the prior art Abc cache file is only capable of the geometric consequence of cache model, needs to implement to import the several of abc cache file before leading to follow-up rendering The technical issues of complex operations such as what result and the material and the unity and coherence in writing textures that rebuild geometry.
The specific implementation of above-described embodiment, as described below.
The described method includes:
It chooses the model file being locally stored and imports the model file in an animation component;
The animation component obtains the reconstructed model of the archetype and the archetype according to the model file;
Select the reconstructed model as deformation basis in the animation component, to the archetype and the backed stamper Type carries out fusion deformation, for obtaining object module;
Judge whether caching of target model;
After judging caching of target model by animation component export the object module abc cache file and with it is described The matched rendering file of abc cache file, the rendering file include at least the material information and texture patch of the object module Figure information.
In some embodiments disclosed by the invention, deleted locally after the animation component imports the model file The model file stored in location.
In some embodiments disclosed by the invention, the object module is hidden or deleted after obtaining the object module Deformation history.
In some embodiments disclosed by the invention, the abc cache file and the rendering file are imported in a rendering Component;
The geometric consequence of the object module is obtained according to the abc cache file in the render component;
In the render component according to the rendering file acquisition and the matched material information of the geometric consequence and texture Textures information;
In the render component according to geometry and material information and texture mapping information architecture Share Model.
In some embodiments disclosed by the invention, the model file is imported in the render component;
The render component obtains the archetype according to the model file;
Compare the consistency of the archetype and the Share Model;
The Share Model is selected to carry out subsequent rendering after judging that the archetype is consistent with the Share Model It works and deletes the model file.
In some embodiments disclosed by the invention, after judging that the archetype and the Share Model are inconsistent,
Delete the abc cache file and the rendering file;
Again the object module is obtained in the animation software.
The embodiment of the present invention at least discloses a kind of model sharing method based on Alembic,
The described method includes:
It chooses and imports the model file being locally stored;
The reconstructed model of the archetype and the archetype is obtained according to the model file;
It selects to carry out fusion deformation to the archetype and the reconstructed model based on the reconstructed model, be used for Obtain object module;
Judge whether caching of target model;
It is exported after judging caching of target model and in the abc cache file that the object module is locally stored;
At least record and the associated material information of the abc cache file and texture mapping information.
The embodiment of the present invention at least discloses a kind of model rendering method, which comprises
The abc cache file is imported, for constructing the geometric consequence of the object module;
Obtain the material information recorded and texture mapping information and according to the material information, texture mapping The Share Model of information and geometry building for rendering.
In some embodiments disclosed by the invention, the consistency of the archetype and the Share Model;
The Share Model is selected to carry out subsequent rendering after judging that the archetype is consistent with the Share Model It works and deletes the model file.
The embodiment of the present invention at least discloses a kind of electric terminal, for storing and executing instruction, which is characterized in that described Instruction is performed the step of realizing the above method.
For above scheme, the present invention is by being referring to the drawings described in detail disclosed exemplary embodiment, also The other feature and its advantage for making the embodiment of the present invention understand.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart of embodiment one;
Fig. 2 is the partial process view of embodiment two;
Fig. 3 is the follow-up process of Fig. 2.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of disclosed the embodiment of the present invention in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
Embodiment one
The present embodiment discloses a kind of model sharing method based on Alembic.Method one side energy through this embodiment Enough avoid the geometric consequence for making caching because of subsequent modification archetype that from can not matching with the archetype before modification, on the other hand Archetype can be quickly restored by the combination of derived material information and texture mapping information and abc cache file, simplified Operating process.
In order to realize above content, Fig. 1 is please referred to;The step of the present embodiment method, implements as follows.
Step110, selection are stored in the model file of local folders.
Step120, model file is imported in Maya, obtains the archetype for having animation.
Step200, in the reconstructed model of Maya replicating original model.
Step310, the shape blending anamorphoser Blend Shape for selecting Maya, it is basic using reconstructed model as deformation, it is right Archetype and reconstructed model carry out fusion deformation, obtain object module.
The object module of this implementation using reconstructed model as the basis of fusion deformation, can be such that reconstructed model protects always always Hold all initial characteristics of archetype.So before rendering, even if archetype is modified, it can also guarantee object module Initial characteristics with archetype.
Step320, after modifying archetype according to user demand, judge whether the abc caching text for exporting object module Part.The foundation of the abc cache file of the present embodiment export object module is that the model of rendering during determining follow-up rendering is Archetype before modification.
Step330, judgement export object module abc cache file after delete target model deformation history, even if Object module and the archetype of importing are consistent.Alternatively, being deleted after the abc cache file that judgement does not export object module Object module.
Step400, export abc cache file and with the matched rendering file of abc cache file, render file include at least With the matched material information of abc cache file and texture mapping information.
Step500, abc cache file and rendering file are imported in the houdiini for being rendered;It is also possible to 3Dmax or maya etc. other.
Step610, due to abc cache file save be bake after geometric consequence;So in houdiini according to abc The geometric consequence of cache file acquisition object module.
Step620, in houdiini according to rendering file acquisition and the matched material information of geometric consequence and texture mapping Information.
Step630, in houdiini according to geometry and material information and texture mapping information architecture Share Model.
Step710, model file is imported in houdiini.
Step720, houdiini obtain archetype according to model file.
Step730, the consistency for judging archetype and Share Model, consistency include at least archetype and shared mould Displacement, fixed point, UV coordinate and visibility of the corresponding geometric consequence of type etc..
Step740, judging the subsequent rendering work of the archetype Share Model of selection afterwards progress consistent with Share Model And case-deleted models file.
Alternatively, deleting abc cache file and rendering file and again after judging that archetype and Share Model are inconsistent Object module is newly obtained according to model file in maya.
The present embodiment separately discloses a kind of electric terminal, for ease of description, illustrates only relevant to the embodiment of the present invention Part.The electric terminal of the present embodiment is for storing and executing one or more instructions, in instruction by the processing of electric terminal Device realizes all or part of the steps of the present embodiment method when executing.
Electric terminal, can also be referred to as mobile terminal (Mobile Terminal), mobile station (Mobile Station, MS), user equipment (User Equipment, UE) etc..It can be the equipment for providing a user voice and/or data connectivity, Handheld device with wireless connecting function or other processing equipments for being connected to radio modem, such as: the electricity Sub- terminal can be mobile phone (or for " honeycomb " phone), computer with mobile terminal etc., can also be it is portable, Pocket, hand-held, built-in computer or vehicle-mounted mobile device, naturally it is also possible to be wearable device (such as intelligent hand Table, Intelligent bracelet etc.), tablet computer, PC (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), POS (point-of-sale terminal, Point of Sales) etc..
Embodiment two
The present embodiment discloses a kind of model sharing method based on Alembic.Difference of the present embodiment with respect to embodiment one It is that the maya in same terminal is implemented in shared and rendering of the present embodiment to archetype.Referring to FIG. 2, the side of the present embodiment Implementation steps of the method in maya are as follows.
Step100, selection and importing are stored in the model file of local folders.
Step200, the reconstructed model that archetype and archetype are obtained according to model file.
Step300, shape blending anamorphoser Blend Shape and the basis using reconstructed model as deformation are selected, to original Beginning model and reconstructed model carry out fusion deformation, obtain object module.
Step410, judge whether caching of target model;
Step420, it is exported after judging caching of target model and in the abc caching of local folders storage object module File.
Step430, the material information and texture mapping information for recording object module.
So, through the above scheme, the method for the present embodiment can obtain the abc caching text of object module, for caching The geometric consequence of object module can import the geometry knot for being stored in local folders after maya executes other animation operations Fruit and merging are recorded in the material information and texture mapping information of maya.Also original initial archetype.
Further, the present embodiment discloses a kind of model rendering method based on Alembic.Please refer to Fig. 3;The present embodiment It is as follows based on the implementation steps after two sharing method of embodiment.
Step510, abc cache file is imported, for constructing the geometric consequence of object module.
Step520, the material information recorded and texture mapping information are obtained and according to material information, texture mapping information And Share Model of the geometry building for rendering.
Step600, the consistency for judging archetype and Share Model.
Step700, judging the subsequent rendering work of the archetype Share Model of selection afterwards progress consistent with Share Model And case-deleted models file.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of model sharing method based on Alembic, which is characterized in that
The described method includes:
It chooses the model file being locally stored and imports the model file in an animation component;
The animation component obtains the reconstructed model of the archetype and the archetype according to the model file;
Select the reconstructed model basic as deformation in the animation component, to the archetype and the reconstructed model into Row fusion deformation, for obtaining object module;
Judge whether caching of target model;
After judging caching of target model by animation component export the object module abc cache file and with the abc The matched rendering file of cache file, the rendering file include at least the material information and texture mapping letter of the object module Breath.
2. the model sharing method based on Alembic as described in claim 1, which is characterized in that
The model file stored in local address is deleted after the animation component imports the model file.
3. the model sharing method based on Alembic as described in claim 1, which is characterized in that
The deformation history of the object module is hidden or deleted after obtaining the object module.
4. the model sharing method based on Alembic as described in claim 1, which is characterized in that
The abc cache file and the rendering file are imported in a render component;
The geometric consequence of the object module is obtained according to the abc cache file in the render component;
In the render component according to the rendering file acquisition and the matched material information of the geometric consequence and texture mapping Information;
In the render component according to geometry and material information and texture mapping information architecture Share Model.
5. the model sharing method based on Alembic as claimed in claim 4, which is characterized in that
The model file is imported in the render component;
The render component obtains the archetype according to the model file;
Compare the consistency of the archetype and the Share Model;
The Share Model is selected to carry out subsequent rendering work after judging that the archetype is consistent with the Share Model And delete the model file.
6. the model sharing method based on Alembic as claimed in claim 5, which is characterized in that
After judging that the archetype and the Share Model are inconsistent,
Delete the abc cache file and the rendering file;
Again the object module is obtained in the animation software.
7. a kind of model sharing method based on Alembic, which is characterized in that
The described method includes:
It chooses and imports the model file being locally stored;
The reconstructed model of the archetype and the archetype is obtained according to the model file;
It selects the reconstructed model to carry out fusion deformation to the archetype and the reconstructed model as deformation basis, is used for Obtain object module;
Judge whether caching of target model;
It is exported after judging caching of target model and in the abc cache file that the object module is locally stored;
At least record and the associated material information of the abc cache file and texture mapping information.
8. a kind of model rendering method for applying sharing method as claimed in claim 7, which is characterized in that
The described method includes:
The abc cache file is imported, for constructing the geometric consequence of the object module;
Obtain the material information recorded and texture mapping information and according to the material information, texture mapping information And the Share Model of the geometry building for rendering.
9. model rendering method as claimed in claim 8, which is characterized in that
Compare the consistency of the archetype and the Share Model;
The Share Model is selected to carry out subsequent rendering work after judging that the archetype is consistent with the Share Model And delete the model file.
10. a kind of electric terminal, for storing and executing instruction, which is characterized in that described instruction is performed realization as weighed Benefit requires the step of 1-9 any one the method.
CN201811143491.XA 2018-09-28 2018-09-28 Alembic-based model sharing and rendering method and electronic terminal Active CN109377545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811143491.XA CN109377545B (en) 2018-09-28 2018-09-28 Alembic-based model sharing and rendering method and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811143491.XA CN109377545B (en) 2018-09-28 2018-09-28 Alembic-based model sharing and rendering method and electronic terminal

Publications (2)

Publication Number Publication Date
CN109377545A true CN109377545A (en) 2019-02-22
CN109377545B CN109377545B (en) 2022-06-24

Family

ID=65403032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811143491.XA Active CN109377545B (en) 2018-09-28 2018-09-28 Alembic-based model sharing and rendering method and electronic terminal

Country Status (1)

Country Link
CN (1) CN109377545B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838159A (en) * 2019-11-06 2020-02-25 武汉艺画开天文化传播有限公司 Object sharing device and method with material information in animation production
CN111445558A (en) * 2020-03-23 2020-07-24 华强方特(深圳)动漫有限公司 Three-dimensional manufacturing method applying Alembic format
CN112150592A (en) * 2020-09-28 2020-12-29 腾讯科技(深圳)有限公司 Animation file generation method and device, storage medium and electronic equipment
CN113947657A (en) * 2021-10-18 2022-01-18 网易(杭州)网络有限公司 Target model rendering method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617643A (en) * 2013-11-29 2014-03-05 广州菲动软件科技有限公司 Rendering method and system of bone animation
CN108122266A (en) * 2017-12-20 2018-06-05 成都卓杭网络科技股份有限公司 A kind of method, apparatus and storage medium for caching skeleton cartoon and rendering texture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617643A (en) * 2013-11-29 2014-03-05 广州菲动软件科技有限公司 Rendering method and system of bone animation
CN108122266A (en) * 2017-12-20 2018-06-05 成都卓杭网络科技股份有限公司 A kind of method, apparatus and storage medium for caching skeleton cartoon and rendering texture

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
许震: "浅谈三维动画电影制作在Maya里的数据规划与数据管理", 《现代电影技术》 *
高磊: "将Alembic构架嵌入基于Maya的三维动画制作流程的二次开发和应用", 《现代电影技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838159A (en) * 2019-11-06 2020-02-25 武汉艺画开天文化传播有限公司 Object sharing device and method with material information in animation production
CN110838159B (en) * 2019-11-06 2022-11-25 武汉艺画开天文化传播有限公司 Object sharing device and method with material information in animation production
CN111445558A (en) * 2020-03-23 2020-07-24 华强方特(深圳)动漫有限公司 Three-dimensional manufacturing method applying Alembic format
CN111445558B (en) * 2020-03-23 2023-05-16 华强方特(深圳)动漫有限公司 Three-dimensional manufacturing method applying Alemmic format
CN112150592A (en) * 2020-09-28 2020-12-29 腾讯科技(深圳)有限公司 Animation file generation method and device, storage medium and electronic equipment
CN112150592B (en) * 2020-09-28 2023-07-14 腾讯科技(深圳)有限公司 Animation file generation method and device, storage medium and electronic equipment
CN113947657A (en) * 2021-10-18 2022-01-18 网易(杭州)网络有限公司 Target model rendering method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109377545B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN109377545A (en) Model sharing, rendering method and electric terminal based on Alembic
US11741644B2 (en) Vector graphics based live sketching metods and systems
US11790621B2 (en) Procedurally generating augmented reality content generators
US11087432B2 (en) Multistage neural network processing using a graphics processor
JP2011209887A (en) Method and program for creating avatar, and network service system
US10394221B2 (en) 3D printing using 3D video data
US11900504B2 (en) Augmented reality experiences for physical products in a messaging system
EP4272179A1 (en) Recording augmented reality content on an eyewear device
EP4143787A1 (en) Photometric-based 3d object modeling
CN109214876A (en) A kind of fitting method and system based on augmented reality
CN111710020B (en) Animation rendering method and device and storage medium
EP4315255A1 (en) Facial synthesis in augmented reality content for advertisements
CN105913496B (en) It is a kind of by true dress ornament rapid translating be three-dimensional dress ornament method and system
US20240144616A1 (en) Post-capture editing of augmented reality content
WO2010089665A1 (en) Method and apparatus for interactive sketch template
US20220321804A1 (en) Facial synthesis in overlaid augmented reality content
CN102136154B (en) Cartoon manufacture method and device
US20220101419A1 (en) Ingestion pipeline for generating augmented reality content generators
CN114270402A (en) Method and apparatus for constructing three-dimensional scanning human body model
CN110838159B (en) Object sharing device and method with material information in animation production
CN116206038A (en) Rendering method, rendering device, electronic equipment and storage medium
CN105516785A (en) Communication system, communication method and server for transmitting human-shaped doll image or video
CN105701858A (en) Map processing method and device based on alpha fusion
CN115601512B (en) Interactive three-dimensional reconstruction method and device, computer equipment and storage medium
CN112712587A (en) Method for generating model wire frame based on triangular patch data

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221101

Address after: Room 1401, Floor 14, Building 8A, Gaoxin Second Road, Wuhan, Hubei 430,000

Patentee after: Wuhan Xiafan Culture Communication Co.,Ltd.

Address before: 430000 Guannan science and Technology Industrial Park, East Lake New Technology Development Zone, Wuhan City, Hubei Province No. 7, 8 and 9, floor 9, building 9, phase III, international design City

Patentee before: YHKT ENTERTAINMENT Co.,Ltd.