CN108280874A - Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation - Google Patents
Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation Download PDFInfo
- Publication number
- CN108280874A CN108280874A CN201810015733.0A CN201810015733A CN108280874A CN 108280874 A CN108280874 A CN 108280874A CN 201810015733 A CN201810015733 A CN 201810015733A CN 108280874 A CN108280874 A CN 108280874A
- Authority
- CN
- China
- Prior art keywords
- rigid body
- model
- rigid
- abbreviation
- effect processing
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Abstract
The embodiment of the invention discloses special effect processing system, method, equipment and computer software program products that rigid body memory substitutes abbreviation.A kind of rigid body memory substitutes the effect processing method of abbreviation, the method includes:Rigid model is divided several rigid body fragment models by the topological structure for obtaining preset rigid model based on topological structure;Simplify rigid body fragment model based on center-of-mass coordinate;Solver is transferred to simulate rigid body fragment model data after simplification.In technical solution provided in an embodiment of the present invention, a large amount of memories and hardware resource are expended when for conventional process complex three-dimensional model, Production Time is long, problem of high cost, proposition distinguish model based on topological structure, and part fragment model points face data is changed into point data, so as to which thousands of model calculation amount is reduced at double, and then optimize and resolve performance, resource occupation is reduced, time and cost are saved.
Description
Technical field
The present invention relates to the special effect processing systems that computer image technology field more particularly to a kind of rigid body memory substitute abbreviation
System, method, equipment and computer program product.
Background technology
In traditional three-dimensional Specially Effect Simulation software, processing rigid body data often by each face of each point of model completely
Displacement and rotation are calculated, any drawback do not appeared in the simulation of small volume rigid body for such processing mode, but if fragment
When quantity is very huge, such as the rigid body in a building is broken, and traditional processing mode will expend a large amount of memories and hardware
Resource makes Production Time and cost greatly improve.
Therefore, the prior art need further to develop.
Invention content
In view of the above technical problems, an embodiment of the present invention provides the special effect processing systems that a kind of rigid body memory substitutes abbreviation
System, method, equipment and computer program product, it is existing big for rigid body three-dimensional special effect processing committed memory to solve, when making
Between just, the high problem of cost of manufacture.
A kind of rigid body memory substitutes the effect processing method of abbreviation, wherein the method includes:
Rigid model is divided several rigid body fragment moulds by the topological structure for obtaining preset rigid model based on topological structure
Type;
Simplify rigid body fragment model based on center-of-mass coordinate;
Solver is transferred to simulate rigid body fragment model data after simplification.
The rigid body memory substitutes the special effect processing system of abbreviation, wherein obtains the topology knot of preset rigid model
Further include before structure:Structure rigid model in advance.
The rigid body memory substitutes the special effect processing system of abbreviation, wherein simplifies rigid body fragment mould based on center-of-mass coordinate
Type is specially:
The name attribute values for setting rigid body fragment model confirm particle coordinate and mass value according to name attribute values, will be rigid
The point and face data of body fragment model are converted into the data group of corresponding particle coordinate and store into memory.
The rigid body memory substitutes the special effect processing system of abbreviation, wherein the name attribute values include to define rigid body
The data of fragment model.
A kind of rigid body memory substitutes the special effect processing system of abbreviation, wherein the system comprises:
Judgment module:Topological structure for obtaining preset rigid model is divided rigid model based on topological structure
Several rigid body fragment models;
Data processing module:Simplify rigid body fragment model for being based on center-of-mass coordinate;
Analog module:Solver is transferred to simulate for rigid body fragment model data after simplifying.
A kind of electronic equipment, wherein including at least one processor;
And the memory being connect at least one processor communication;
Wherein, the memory is stored with the instruction repertorie that can be executed by least one processor, described instruction journey
Sequence is executed by least one processor, so that at least one processor is able to carry out method as described above.
A kind of computer program product used in the special effect processing system that rigid body memory substitutes abbreviation, wherein described
Computer program product includes function module as described above.
In technical solution provided in an embodiment of the present invention, expended when for conventional process complex three-dimensional model a large amount of memories and
Hardware resource, Production Time is long, problem of high cost, and proposition distinguishes model based on topological structure, by part fragment mould
Type point face data is changed into point data, so as to which thousands of model calculation amount is reduced at double, and then optimizes resolving property
Can, resource occupation is reduced, time and cost are saved.
Description of the drawings
Fig. 1 is that the rigid body memory of the embodiment of the present invention substitutes the effect processing method flow chart of abbreviation;
Fig. 2 is existing rigid model effect processing method embodiment schematic diagram;
Fig. 3 is the effect processing method schematic diagram that rigid body memory of the embodiment of the present invention substitutes abbreviation;
Fig. 4 is the functional block diagram for the special effect processing system that rigid body memory of the embodiment of the present invention substitutes abbreviation;
Fig. 5 is one embodiment schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
It should be noted that when element is expressed " being fixed on " another element, it can directly on another element,
Or may exist one or more elements placed in the middle therebetween.When an element is expressed " connection " another element, it can be with
It is directly to another element or may exist one or more elements placed in the middle therebetween.Used in this specification
The orientation or position of the instructions such as term " vertically ", " horizontal ", "left", "right", "upper", "lower", "inner", "outside", " bottom "
Relationship is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of description of the present invention and simplification of the description, without referring to
Show or imply that signified device or element must have a particular orientation, with specific azimuth configuration and operation, therefore cannot manage
Solution is limitation of the present invention.In addition, term " first ", " second " etc. are used for description purposes only, and should not be understood as instruction or
Imply relative importance.
Unless otherwise defined, technical and scientific term all used in this specification is led with the technology for belonging to the present invention
The normally understood meaning of technical staff in domain is identical.Used term is only in the description of the invention in this specification
The purpose of description specific embodiment is not intended to limitation the utility model.Term "and/or" used in this specification
Include any and all combinations of one or more relevant Listed Items.In addition, invention described below is different
Involved technical characteristic can be combined with each other as long as they do not conflict with each other in embodiment.
A kind of rigid body memory as shown in Figure 1 substitutes the effect processing method of abbreviation, wherein the method includes:
S100, the topological structure for obtaining preset rigid model, several rigid bodies are divided based on topological structure by rigid model
Fragment model.
Wherein, further include before obtaining the topological structure of preset rigid model:Structure rigid model in advance.
S200, rigid body fragment model is simplified based on center-of-mass coordinate.
Wherein, the name attribute values include the data for defining rigid body fragment model, specifically, setting rigid body fragment model
Name attribute values, particle coordinate and mass value are confirmed according to name attribute values, the point of rigid body fragment model and face data are turned
It turns to the data group of corresponding particle coordinate and stores into memory.
S300, solver is transferred to simulate rigid body fragment model data after simplification.
It is illustrated in figure 2 the broken method signal of traditional three-dimensional Specially Effect Simulation software processing building rigid model, place
Reason mode is rigid model to be dispersed as object, and completely calculate displacement and rotation for the point knead dough per an object, finally
The building model data of 14MB, which will expend, is up to 280MB memories and hardware resource, and Production Time and cost is made to greatly improve.And it adopts
With the special effect processing mode of the present invention as shown in Figure 3, name attribute setups are carried out to each fragment model of building model, according to this
Attribute takes all the points knead dough of fragment model as a point, in storage to memory, realizes the package to each fragment rigid model,
The building model data of final 14MB only takes up about 19MB memories and hardware resource, and Production Time and cost is greatly saved.
A kind of rigid body memory as shown in Figure 4 substitutes the special effect processing system of abbreviation, wherein the system comprises:
Judgment module 110:Topological structure for obtaining preset rigid model is drawn rigid model based on topological structure
Divide several rigid body fragment models;
Data processing module 120:Simplify rigid body fragment model for being based on center-of-mass coordinate;
Analog module 130:Solver is transferred to simulate for rigid body fragment model data after simplifying.
It is illustrated in figure 5 the hardware architecture diagram of electronic equipment provided by the embodiments of the present application, which includes:One
Or multiple processors 201 and memory 202.In Fig. 5 for one.Wherein, processor 201 and memory 202 can be with
It is connected by bus or other modes, in Fig. 5 for being connected by bus.
Memory 202 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, as the rigid body memory in the embodiment of the present invention substitutes simplifying method pair
Program instruction/the module answered.Processor 201 by operation be stored in non-volatile software program in memory 202, instruction with
And module, the various function application to execute server and data processing, i.e., in the rigid body of realization above method embodiment
It deposits and substitutes abbreviation effect processing method.
Memory 202 may include storing program area and storage data field, wherein storing program area can store operation system
System, the required application program of at least one function;Storage data field can be stored to be created according to using for special effect processing system
Data etc..In addition, memory 202 may include high-speed random access memory, can also include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, it deposits
It includes the memory remotely located relative to processor 201 that reservoir 202 is optional, these remote memories can pass through network connection
Abbreviation special effect processing system is substituted to rigid body memory.The example of above-mentioned network includes but not limited to internet, intranet, office
Domain net, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 202, when by one or more of processors
When 201 execution, the rigid body memory executed in above-mentioned any means embodiment substitutes abbreviation effect processing method.
In technical solution provided in an embodiment of the present invention, expended when for conventional process complex three-dimensional model a large amount of memories and
Hardware resource, Production Time is long, problem of high cost, and proposition distinguishes model based on topological structure, by part fragment mould
Type point face data is changed into point data, so as to which thousands of model calculation amount is reduced at double, and then optimizes resolving property
Can, resource occupation is reduced, time and cost are saved.
The said goods can perform the method that the embodiment of the present application is provided, and has the corresponding function module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can
It is physically separated with being or may not be, the component shown as unit may or may not be physics list
Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of module achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those of ordinary skill in the art can be understood that each embodiment
The mode of general hardware platform can be added to realize by software, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can
With understand all or part of flow realized in above-described embodiment method be can be instructed by computer program it is relevant hard
Part is completed, and the program can be stored in a computer read/write memory medium, the program is when being executed, it may include as above
State the flow of the embodiment of each method.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-
Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
It, can according to the technique and scheme of the present invention and this hair it is understood that for those of ordinary skills
Bright design is subject to equivalent substitution or change, and all these changes or replacement should all belong to the guarantor of appended claims of the invention
Protect range.
Claims (7)
1. a kind of rigid body memory substitutes the effect processing method of abbreviation, which is characterized in that the method includes:
Rigid model is divided several rigid body fragment models by the topological structure for obtaining preset rigid model based on topological structure;
Simplify rigid body fragment model based on center-of-mass coordinate;
Solver is transferred to simulate rigid body fragment model data after simplification.
2. rigid body memory according to claim 1 substitutes the special effect processing system of abbreviation, which is characterized in that obtain preset
Further include before the topological structure of rigid model:Structure rigid model in advance.
3. rigid body memory according to claim 1 substitutes the special effect processing system of abbreviation, which is characterized in that sat based on barycenter
Mark simplifies rigid body fragment model:
The name attribute values for setting rigid body fragment model confirm particle coordinate and mass value according to name attribute values, and rigid body is broken
The point and face data of block models are converted into the data group of corresponding particle coordinate and store into memory.
4. rigid body memory according to claim 3 substitutes the special effect processing system of abbreviation, which is characterized in that the name belongs to
Property value include define rigid body fragment model data.
5. a kind of rigid body memory substitutes the special effect processing system of abbreviation, which is characterized in that the system comprises:
Judgment module:Topological structure for obtaining preset rigid model is divided rigid model based on topological structure several
Rigid body fragment model;
Data processing module:Simplify rigid body fragment model for being based on center-of-mass coordinate;
Analog module:Solver is transferred to simulate for rigid body fragment model data after simplifying.
6. a kind of electronic equipment, which is characterized in that including at least one processor;
And the memory being connect at least one processor communication;
Wherein, the memory is stored with the instruction repertorie that can be executed by least one processor, described instruction program quilt
At least one processor executes, so that at least one processor is able to carry out as described in claim any one of 1-4
Method.
7. a kind of computer program product used in the special effect processing system that rigid body memory substitutes abbreviation, which is characterized in that
The computer program product includes function module as claimed in claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015733.0A CN108280874A (en) | 2018-01-08 | 2018-01-08 | Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015733.0A CN108280874A (en) | 2018-01-08 | 2018-01-08 | Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108280874A true CN108280874A (en) | 2018-07-13 |
Family
ID=62803178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810015733.0A Pending CN108280874A (en) | 2018-01-08 | 2018-01-08 | Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108280874A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110009748A (en) * | 2019-04-16 | 2019-07-12 | 珠海金山网络游戏科技有限公司 | A kind of model construction method and system calculate equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8204725B1 (en) * | 2008-07-25 | 2012-06-19 | Nvidia Corporation | Real-time breaking waves for shallow water simulations |
CN102663808A (en) * | 2012-02-29 | 2012-09-12 | 中山大学 | Method for establishing rigid body model based on three-dimensional model in digital home entertainment |
CN104463936A (en) * | 2014-11-28 | 2015-03-25 | 北京交通大学 | Indoor explosion simulation method based on virtual reality |
-
2018
- 2018-01-08 CN CN201810015733.0A patent/CN108280874A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8204725B1 (en) * | 2008-07-25 | 2012-06-19 | Nvidia Corporation | Real-time breaking waves for shallow water simulations |
CN102663808A (en) * | 2012-02-29 | 2012-09-12 | 中山大学 | Method for establishing rigid body model based on three-dimensional model in digital home entertainment |
CN104463936A (en) * | 2014-11-28 | 2015-03-25 | 北京交通大学 | Indoor explosion simulation method based on virtual reality |
Non-Patent Citations (2)
Title |
---|
何剑琪: "三维游戏引擎中刚体模型的研究与设计", 《万方学位论文》 * |
张雄祥: "刚体破碎特效实时模拟技术研究与实现", 《中国优秀硕士学位论文全文数据库-信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110009748A (en) * | 2019-04-16 | 2019-07-12 | 珠海金山网络游戏科技有限公司 | A kind of model construction method and system calculate equipment and storage medium |
CN110009748B (en) * | 2019-04-16 | 2023-04-07 | 珠海金山数字网络科技有限公司 | Model construction method and system, computing device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108597015A (en) | The automatic binding system of three dimensional biological model bone, method, equipment and computer program product | |
CN110178149A (en) | Digital twins' figure | |
US8467997B2 (en) | Numerically-simulated rigid body creation mehtods and systems thereof | |
CN108196958A (en) | Scheduling of resource distribution method, computer system and super fusion architecture system | |
CN111199102B (en) | Method and device for defining mapping relation between product features and model | |
US20200311142A1 (en) | Spatial Indexing | |
CN107038064A (en) | Virtual machine management method and device, storage medium | |
CN111489447B (en) | Right-angle grid adaptive modeling method suitable for lattice Boltzmann method | |
US20200311054A1 (en) | Ordered Append-Only Log Based Data Storage | |
CN101976468A (en) | Method and system for visualizing multiresolution dynamic landform | |
CN108259608B (en) | Multi-agent cluster operation method | |
CN108846095A (en) | A kind of data processing method and device | |
WO2017167167A1 (en) | Model object construction method, server, and system | |
CN109472861A (en) | Interactive tree modeling method, model generating method, system and bionical trees | |
CN108280874A (en) | Rigid body memory substitutes special effect processing system, method, equipment and the computer program product of abbreviation | |
CN112270083B (en) | Multi-resolution modeling and simulation method and system | |
CN103440200A (en) | High-instantaneity and large-data-volume test playback method based on double operating systems | |
CN111177967A (en) | Batch modification method and device for grid cells and electronic equipment | |
Smit et al. | Integration of design and analysis models | |
EP2323052A1 (en) | Creation of simulated rigid bodies in a finite element analysis | |
CN112884164A (en) | Federal machine learning migration method and system for intelligent mobile terminal | |
CN105471986B (en) | A kind of Constructing data center Scale Revenue Ratio method and device | |
EP3948539A1 (en) | Low-latency, distributed application for interactive worlds | |
CN112988403B (en) | Integrated circuit simulation multithread management parallel method and device with security function | |
Maudet et al. | Representation of interactions in a multi-level multi-agent model for cartography constraint solving |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180713 |
|
WD01 | Invention patent application deemed withdrawn after publication |