CN107393019A - A kind of cloth simulation method and apparatus based on particle - Google Patents

A kind of cloth simulation method and apparatus based on particle Download PDF

Info

Publication number
CN107393019A
CN107393019A CN201710642263.6A CN201710642263A CN107393019A CN 107393019 A CN107393019 A CN 107393019A CN 201710642263 A CN201710642263 A CN 201710642263A CN 107393019 A CN107393019 A CN 107393019A
Authority
CN
China
Prior art keywords
packet
lod levels
summit
physical particles
lod
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
CN201710642263.6A
Other languages
Chinese (zh)
Other versions
CN107393019B (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.)
Kun Technology (shenzhen) Co Ltd Zhonglian
Original Assignee
Kun Technology (shenzhen) Co Ltd Zhonglian
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 Kun Technology (shenzhen) Co Ltd Zhonglian filed Critical Kun Technology (shenzhen) Co Ltd Zhonglian
Priority to CN201710642263.6A priority Critical patent/CN107393019B/en
Publication of CN107393019A publication Critical patent/CN107393019A/en
Application granted granted Critical
Publication of CN107393019B publication Critical patent/CN107393019B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of cloth simulation method and apparatus based on particle, target LOD levels are determined from the LOD levels prestored;According to processing rule corresponding to target LOD levels, packet transaction is carried out to each summit included in threedimensional model, obtains multiple packets;Each packet can determine a physical particles, cloth simulation is carried out to the physical particles, after the coordinate value of physical particles is determined, according to the coordinate value, and the position relationship between each summit included in the corresponding packet of the physical particles, calculate each self-corresponding coordinate value in each summit included in the packet.It can be seen that system handles rule according to corresponding to selected LOD levels, it opposite vertexes can be grouped automatically, improve the automaticity of cloth simulation.And system can select different LOD levels according to different demands so that cloth simulation smooth on different mobile devices can be carried out, and improve simulation effect.

Description

A kind of cloth simulation method and apparatus based on particle
Technical field
The present invention relates to physical motion analogue technique field, more particularly to a kind of cloth simulation method based on particle with Device.
Background technology
Details level algorithm (Level Of Detail, LOD), the vocabulary are typically occurred in during game renders, meant Under different environment sets, the model of different fine degrees is used.Such as the mountain for the distant place seen in gaming, its model essence Degree is very low, but as player walks close to it, can gradually adopt the thinner model of precision.LOD typically refers to the precision of model, i.e. mould The number of the gore number of type, face number is more, and the precision of model is higher, while can take more internal memories.Cloth simulation refers to, On the basis of existing threedimensional model, to each summit on model, physical motion simulation is carried out.Carrying out cloth simulation When, if model accuracy is higher (i.e. summit quantity is relatively more), in simulation, a large amount of calculating be present (particularly at collision During reason), it frequently can lead to smooth not run on a mobile platform.
In traditional approach, cloth simulation is carried out using spring bone (Spring bones) mode, this method is by 3d moulds Type Software for producing, cloth is associated with bone, be commonly called as covering (Skin), then, in simulation, need to only carry out cloth to bone Material simulation, summit associated with it and then can together move, thereby reduce amount of calculation, improve cloth mould to a certain extent Efficiency run time plan.
But this method generally involves a certain amount of art work amount, it usually needs consumption fine arts personnel's more time, And in operation early stage, it is necessary to manually to bone and model in bind between multiple summits, cause processing stage early stage to disappear Consume longer time.In addition, the specific effect of this method is relevant with bone quantity and covering, but bone quantity often compares and had Limit, so as to cause simulation effect poor.
It is those skilled in the art's urgent problem to be solved it can be seen that how to lift the automaticity of cloth simulation.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of cloth simulation method and apparatus based on particle, can lift cloth The automaticity of simulation.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of cloth simulation method based on particle, including:
Target LOD levels are determined from the LOD levels prestored, and according to place corresponding to the target LOD levels Reason rule, packet transaction is carried out to each summit included in pending threedimensional model, obtains multiple packets;
According to all summits included in the first packet, a physical particles corresponding to first packet are determined, and Cloth simulation is carried out to the physical particles, determines the coordinate value of the physical particles;Wherein, described first be grouped into it is described Any one packet in multiple packets;
Included in being grouped respectively with described first according to the coordinate value of the physical particles, and the physical particles each Position relationship between individual summit, calculate each each self-corresponding coordinate value in summit included in first packet.
Optionally, it is described to determine that target LOD levels include from the LOD levels prestored:
Receive the layer level command of user's input;
According to the layer level command, LOD layers corresponding to the layer level command are selected from the LOD levels prestored Level, the LOD levels are target LOD levels.
Optionally, it is described to determine that target LOD levels include from the LOD levels prestored:
Obtain the performance data of equipment;The performance data includes the data load time;
According to the rank corresponding to the performance data, it is corresponding that the rank is selected from the LOD levels prestored LOD levels, the LOD levels are target LOD levels.
Optionally, all summits that the foundation first includes in being grouped, one is determined corresponding to first packet Physical particles include:
According to the position relationship between each summit included in the described first packet, determine that first packet is corresponding Center, and the center position set a physical particles.
The embodiment of the present invention additionally provides a kind of cloth simulation device based on particle, including pretreatment unit, determination list Member, analogue unit and computing unit,
The pretreatment unit, for determining target LOD levels from the LOD levels prestored, and according to described Processing rule corresponding to target LOD levels, packet transaction is carried out to each summit included in pending threedimensional model, obtained Multiple packets;
The determining unit, for according to all summits included in the first packet, determining that first packet is corresponding A physical particles;
The analogue unit, for carrying out cloth simulation to the physical particles, determine the coordinate of the physical particles Value;Wherein, described first it is grouped into any one packet in the multiple packet;
The computing unit, for the coordinate value according to the physical particles, and the physical particles respectively with it is described Position relationship between each summit included in first packet, calculate each summit included in first packet Each self-corresponding coordinate value.
Optionally, the pretreatment unit includes receiving subelement and chooses subelement,
The receiving subelement, for receiving the layer level command of user's input;
The selection subelement, for according to the layer level command, the layer to be selected from the LOD levels prestored LOD levels corresponding to level instruction, the LOD levels are target LOD levels.
Optionally, the pretreatment unit includes obtaining subelement and chooses subelement,
The acquisition subelement, for obtaining the performance data of equipment;The performance data includes the data load time;
The selection subelement, for the rank corresponding to according to the performance data, from the LOD levels prestored LOD levels corresponding to the rank are selected, the LOD levels are target LOD levels.
Optionally, the determining unit is specifically used for according to the position between each summit included in the described first packet Relation, center corresponding to first packet is determined, and one physical particles is set in the center position.
Target LOD levels are determined from the LOD levels prestored it can be seen from above-mentioned technical proposal;According to institute Processing rule corresponding to target LOD levels is stated, packet transaction is carried out to each summit included in pending threedimensional model, obtained To multiple packets;, can be true according to all summits included in the first packet by taking one of packet i.e. the first packet as an example Make a physical particles corresponding to the first packet.Cloth simulation is carried out to the physical particles, determines the physical particles Coordinate value;Included in being grouped respectively with described first according to the coordinate value of the physical particles, and the physical particles each Position relationship between individual summit, each each self-corresponding coordinate in summit included in first packet can be calculated Value.It can be seen that system can handle rule according to corresponding to selected LOD levels, to each summit for being included in threedimensional model from It is dynamic to be grouped, it can effectively lift the automaticity of cloth simulation.And system can select not according to different demands Same LOD levels so that cloth simulation smooth on different mobile devices can be carried out, and improve simulation effect.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be done simply below Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the cloth simulation method based on particle provided in an embodiment of the present invention;
Fig. 2 is the position view on all summits included in a kind of first packet provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of the cloth simulation device based on particle provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, for those of ordinary skill in the art under the premise of creative work is not made, what is obtained is every other Embodiment, belong to the scope of the present invention.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Next, a kind of cloth simulation method based on particle that the embodiment of the present invention is provided is discussed in detail.Fig. 1 is this A kind of flow chart for cloth simulation method based on particle that inventive embodiments provide, this method include:
S101:Target LOD levels are determined from the LOD levels prestored, and it is corresponding according to the target LOD levels Processing rule, packet transaction is carried out to each summit for being included in pending threedimensional model, obtains multiple packets.
LOD levels can be used to indicate that the fine degree that cloth simulation is carried out to threedimensional model.In embodiments of the present invention, Different required precisions can be directed to, pre-sets different LOD levels.
Different LOD levels are made a distinction for the ease of system, corresponding number can be set to each LOD levels Value.For example, according to the order of precision from high to low can be 0 to LOD hierarchic sequences numbering, 1,2 ..., N.
Target LOD levels can be used to indicate that to included in threedimensional model summit carry out packet transaction when it is selected One LOD level.
There can be two kinds for the determination mode of target LOD levels.First way can be determined by user, specifically , the related interfaces that user can be provided by system input layer level command, and system receives the layer level command of user's input;According to According to the layer level command, LOD levels corresponding to the layer level command, the LOD layers are selected from the LOD levels prestored Level is target LOD levels.
Layer level command can be indicated for the information of LOD levels.With reference in above-mentioned introduction, each LOD levels are corresponding with One number value, accordingly, the layer level command can be specifically a number values.For example, user is on the related boundary that system provides Number value " 2 " is inputted on face, it is right can to select number value " 2 " according to the number value from the LOD levels prestored for system The LOD levels answered are as target LOD levels.
The second way can be automatically determined by system, specifically, system can be according to the performance number of the equipment of acquisition According to;According to the rank corresponding to the performance data, LOD corresponding to the rank is selected from the LOD levels prestored Level, the LOD levels are target LOD levels.
Performance data can include the information such as data load time.Wherein, the data load time can refer to equipment from opening Dynamic application program (application, app) arrives the time into app main interfaces.
The data load time of equipment is shorter, then illustrates that the equipment now, then can may be used with the larger data volume of rapid computations The LOD level higher using choice accuracy is used as target LOD levels;Accordingly, the data load time of equipment is longer, then illustrates The equipment may spend longer time in the larger data volume of computing, cause system treatment effeciency low, now, then Target LOD levels can be used as than relatively low LOD levels using choice accuracy.
In actual applications, performance data can be directed to and divide different ranks, the corresponding LOD level of each rank. After system gets the performance data of the equipment, the rank belonging to the equipment is just may determine that, pair according to rank and LOD levels It should be related to, target LOD levels are determined from the multiple LOD levels prestored.
Precision corresponding to each LOD levels is different, for the ease of system can automate to being included in threedimensional model Summit carries out packet transaction, and corresponding processing rule can be set for each LOD levels.
It can be the rule being grouped to the summit included in threedimensional model to handle rule.In the embodiment of the present invention In, using the form for being grouped summit, all summits included in each packet are represented by a physical particles, processing rule It then that is to say the corresponding relation between summit and physical particles.
Required precision is higher, and number of vertices corresponding to a physical particles is fewer;Accordingly, required precision is lower, and one Number of vertices corresponding to individual physical particles is more.
With reference to the example above, when the number value of LOD levels is 0, precision highest corresponding to the LOD levels is represented, now should It can be that a summit is a physical particles to handle rule, also i.e. using a summit as a packet.
When the number value of LOD levels is 1, now the processing rule can choose a summit as first kind top Point, as the second class summit, it is grouped with the summit that the summit is joined directly together using this two classes summit as one.
For example, select summit 1 in the three-dimensional model, the summit being joined directly together with summit 1 be respectively summit 2, summit 3 and Summit 4, then can be by summit 1- summits 4, and this 4 summits are as a packet.
When the number value of LOD levels is 2, now the processing rule can choose a summit as first kind top Point, as the second class summit, then choose what is be joined directly together with the second class summit again using with the summit that the summit is joined directly together Summit is as the 3rd class summit, using this three classes summit as a packet.By taking a summit in the second class summit as an example, selecting When taking the 3rd class node being directly connected, remaining other summits in first kind summit and the second class summit can be arranged Remove.
For example, selecting summit 1 in the three-dimensional model, the summit being joined directly together with summit 1 is respectively summit 2- summits 4, The summit being joined directly together with summit 2 is respectively summit 5 and summit 6, and the summit being joined directly together with summit 3 is respectively summit 7 and top Point 8, the summit being joined directly together with summit 4 are respectively summit 6, summit 8 and summit 9, then can be by summit 1- summits 9, this 9 tops Point is as a packet.
The like, processing rule corresponding to each LOD levels can be set out, will not be repeated here.
It should be noted that above-mentioned processing rule is only a kind of feasible processing rule in the embodiment of the present invention, in this hair In bright embodiment, specific restriction is not done for handling rule corresponding to each LOD layers.It is higher to meet required precision, in packet Comprising the fewer principle of number of vertices processing rule, suitable for the embodiment of the present invention.
, can be regular by the LOD levels established and its corresponding processing for the ease of the treatment effeciency of lifting system, in advance It is first stored in Installed System Memory, in order to which before cloth simulation is carried out, system can directly invoke corresponding processing rule, real The packet now automated.
It should be noted that the process that the above-mentioned summit in threedimensional model carries out division operation belongs to preprocessing process, For same threedimensional model, it is only necessary to which, to the threedimensional model according to above-mentioned packet mode, performing a division operation is Can.Namely when subsequently handling the threedimensional model, packet situation that direct basis is set performs follow-up cloth simulation Operation, without repeating execution division operation.
S102:According to all summits included in the first packet, a physics grain corresponding to first packet is determined Son, and cloth simulation is carried out to the physical particles, determine the coordinate value of the physical particles.
Wherein, described first it is grouped into any one packet in the multiple packet.
By carrying out cloth simulation to physical particles, avoid and cloth processing carried out to each summit in threedimensional model, The consumption of the internal memory and CPU of cloth simulation occupancy can be effectively reduced, can effectively improve treatment effeciency.
By taking any one packet in multiple packets i.e. the first packet as an example, for first physical particles being grouped really It is fixed, specifically, described first point can be determined according to the position relationship between each summit included in the described first packet Center corresponding to group, and one physical particles is set in the center position.
Such as shown in Fig. 2, for the position view on all summits included in the first packet, included in first packet There are 4 summits, respectively summit 1- summits 4, from figure 2 it can be seen that this 4 summits are exactly square four side Point corresponding to angle, square center o are the center on this 4 summits, then physical particles can be arranged at into this Center position.
S103:According to the coordinate value of the physical particles, and the physical particles in the described first packet respectively with wrapping Position relationship between each summit contained, calculate each each self-corresponding seat in summit included in first packet Scale value.
By taking the first packet as an example, it is determined that during physical particles, accordingly, it may be determined that go out physical particles with the first packet Position relationship between each summit.
The coordinate value of physical particles can be determined in S102, it is each in being then grouped according to the physical particles with first Position relationship between summit, the coordinate value on each summit can be calculated.
With reference to the determination mode of the coordinate value on each summit in the first packet, it may be determined that go out all packets in threedimensional model In each summit coordinate value, so as to complete the determination to the coordinate value on all summits in threedimensional model, namely be the equal of Into the cloth simulation process to summit in threedimensional model.
Target LOD levels are determined from the LOD levels prestored it can be seen from above-mentioned technical proposal;According to institute Processing rule corresponding to target LOD levels is stated, packet transaction is carried out to each summit included in pending threedimensional model, obtained To multiple packets;, can be true according to all summits included in the first packet by taking one of packet i.e. the first packet as an example Make a physical particles corresponding to the first packet.Cloth simulation is carried out to the physical particles, determines the physical particles Coordinate value;Included in being grouped respectively with described first according to the coordinate value of the physical particles, and the physical particles each Position relationship between individual summit, each each self-corresponding coordinate in summit included in first packet can be calculated Value.It can be seen that system can handle rule according to corresponding to selected LOD levels, to each summit for being included in threedimensional model from It is dynamic to be grouped, it can effectively lift the automaticity of cloth simulation.And system can select not according to different demands Same LOD levels so that cloth simulation smooth on different mobile devices can be carried out, and improve simulation effect.
Fig. 3 is a kind of structural representation of the cloth simulation device based on particle provided in an embodiment of the present invention, the dress Put including pretreatment unit 31, determining unit 32, analogue unit 33 and computing unit 34,
The pretreatment unit 31, for determining target LOD levels from the LOD levels prestored, and according to institute Processing rule corresponding to target LOD levels is stated, packet transaction is carried out to each summit included in pending threedimensional model, obtained To multiple packets;
The determining unit 32, for according to all summits included in the first packet, determining first packet pair The physical particles answered;
The analogue unit 33, for carrying out cloth simulation to the physical particles, determine the seat of the physical particles Scale value;Wherein, described first it is grouped into any one packet in the multiple packet;
The computing unit 34, for the coordinate value according to the physical particles, and the physical particles respectively with institute The position relationship between each summit included in the first packet is stated, calculates each top included in first packet Each self-corresponding coordinate value of point.
Optionally, the pretreatment unit includes receiving subelement and chooses subelement,
The receiving subelement, for receiving the layer level command of user's input;
The selection subelement, for according to the layer level command, the layer to be selected from the LOD levels prestored LOD levels corresponding to level instruction, the LOD levels are target LOD levels.
Optionally, the pretreatment unit includes obtaining subelement and chooses subelement,
The acquisition subelement, for obtaining the performance data of equipment;The performance data includes the data load time;
The selection subelement, for the rank corresponding to according to the performance data, from the LOD levels prestored LOD levels corresponding to the rank are selected, the LOD levels are target LOD levels.
Optionally, the determining unit is specifically used for according to the position between each summit included in the described first packet Relation, center corresponding to first packet is determined, and one physical particles is set in the center position.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 3, here no longer Repeat one by one.
Target LOD levels are determined from the LOD levels prestored it can be seen from above-mentioned technical proposal;According to institute Processing rule corresponding to target LOD levels is stated, packet transaction is carried out to each summit included in pending threedimensional model, obtained To multiple packets;, can be true according to all summits included in the first packet by taking one of packet i.e. the first packet as an example Make a physical particles corresponding to the first packet.Cloth simulation is carried out to the physical particles, determines the physical particles Coordinate value;Included in being grouped respectively with described first according to the coordinate value of the physical particles, and the physical particles each Position relationship between individual summit, each each self-corresponding coordinate in summit included in first packet can be calculated Value.It can be seen that system can handle rule according to corresponding to selected LOD levels, to each summit for being included in threedimensional model from It is dynamic to be grouped, it can effectively lift the automaticity of cloth simulation.And system can select not according to different demands Same LOD levels so that cloth simulation smooth on different mobile devices can be carried out, and improve simulation effect.
A kind of cloth simulation method and apparatus based on particle provided above the embodiment of the present invention has been carried out in detail Introduce.Each embodiment is described by the way of progressive in specification, and what each embodiment stressed is and other implementations The difference of example, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, Because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration Can.It should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention, may be used also To carry out some improvement and modification to the present invention, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (8)

  1. A kind of 1. cloth simulation method based on particle, it is characterised in that including:
    Target LOD levels are determined from the LOD levels prestored, and are advised according to being handled corresponding to the target LOD levels Then, packet transaction is carried out to each summit included in pending threedimensional model, obtains multiple packets;
    According to all summits included in the first packet, a physical particles corresponding to first packet are determined, and to institute State physical particles and carry out cloth simulation, determine the coordinate value of the physical particles;Wherein, described first be grouped into it is the multiple Any one packet in packet;
    The each top included in being grouped respectively with described first according to the coordinate value of the physical particles, and the physical particles Position relationship between point, calculate each each self-corresponding coordinate value in summit included in first packet.
  2. 2. according to the method for claim 1, it is characterised in that described to determine target from the LOD levels prestored LOD levels include:
    Receive the layer level command of user's input;
    According to the layer level command, LOD levels corresponding to the layer level command, institute are selected from the LOD levels prestored It is target LOD levels to state LOD levels.
  3. 3. according to the method for claim 1, it is characterised in that described to determine target from the LOD levels prestored LOD levels include:
    Obtain the performance data of equipment;The performance data includes the data load time;
    According to the rank corresponding to the performance data, LOD corresponding to the rank is selected from the LOD levels prestored Level, the LOD levels are target LOD levels.
  4. 4. according to the method described in claim 1-3 any one, it is characterised in that the institute that the foundation first includes in being grouped There is summit, determine that a physical particles corresponding to first packet include:
    Position relationship between each summit included in being grouped according to described first, in determining corresponding to first packet Heart position, and one physical particles is set in the center position.
  5. 5. a kind of cloth simulation device based on particle, it is characterised in that including pretreatment unit, determining unit, analogue unit And computing unit,
    The pretreatment unit, for determining target LOD levels from the LOD levels prestored, and according to the target Processing rule corresponding to LOD levels, packet transaction is carried out to each summit included in pending threedimensional model, obtained multiple Packet;
    The determining unit, for according to all summits included in the first packet, determining one corresponding to first packet Individual physical particles;
    The analogue unit, for carrying out cloth simulation to the physical particles, determine the coordinate value of the physical particles;Its In, described first is grouped into any one packet in the multiple packet;
    The computing unit, for the coordinate value according to the physical particles, and the physical particles are respectively with described first Position relationship between each summit included in packet, calculate each summit included in first packet each Corresponding coordinate value.
  6. 6. device according to claim 5, it is characterised in that the pretreatment unit includes receiving subelement and chooses son Unit,
    The receiving subelement, for receiving the layer level command of user's input;
    The selection subelement, for according to the layer level command, from the LOD levels prestored selecting the level refers to LOD levels corresponding to order, the LOD levels are target LOD levels.
  7. 7. device according to claim 5, it is characterised in that the pretreatment unit includes obtaining subelement and chooses son Unit,
    The acquisition subelement, for obtaining the performance data of equipment;The performance data includes the data load time;
    The selection subelement, for the rank corresponding to according to the performance data, chosen from the LOD levels prestored Go out LOD levels corresponding to the rank, the LOD levels are target LOD levels.
  8. 8. according to the device described in claim 5-7 any one, it is characterised in that the determining unit is specifically used for according to institute The position relationship between each summit included in the first packet is stated, determines center corresponding to first packet, and In the center position, one physical particles is set.
CN201710642263.6A 2017-07-31 2017-07-31 Particle-based cloth simulation method and device Expired - Fee Related CN107393019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710642263.6A CN107393019B (en) 2017-07-31 2017-07-31 Particle-based cloth simulation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710642263.6A CN107393019B (en) 2017-07-31 2017-07-31 Particle-based cloth simulation method and device

Publications (2)

Publication Number Publication Date
CN107393019A true CN107393019A (en) 2017-11-24
CN107393019B CN107393019B (en) 2020-11-20

Family

ID=60343468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710642263.6A Expired - Fee Related CN107393019B (en) 2017-07-31 2017-07-31 Particle-based cloth simulation method and device

Country Status (1)

Country Link
CN (1) CN107393019B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111773719A (en) * 2020-06-23 2020-10-16 完美世界(北京)软件科技发展有限公司 Rendering method and device of virtual object, storage medium and electronic device
CN113412471A (en) * 2019-02-08 2021-09-17 苹果公司 Object positioning and movement in three-dimensional content

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936962A (en) * 2006-10-10 2007-03-28 中山大学 Large-landform generation method based on PC platform in 3-D game
US8000947B1 (en) * 2008-05-22 2011-08-16 Electronic Arts Inc. Particle-based cloth simulation using verlet integration with fixed and stiff-spring constraints supporting collision detection and reaction with projectiles in sports video games
CN102243770A (en) * 2011-07-19 2011-11-16 南昌航空大学 Method for quickly drawing realistic rendering of naval battlefield based on OSG
US8243064B1 (en) * 2007-11-15 2012-08-14 Nvidia Corporation System for providing scalable physics content
CN102982580A (en) * 2012-11-09 2013-03-20 沈阳创达技术交易市场有限公司 Levels of detail (LOD) arithmetic aiming at large-scale landforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936962A (en) * 2006-10-10 2007-03-28 中山大学 Large-landform generation method based on PC platform in 3-D game
US8243064B1 (en) * 2007-11-15 2012-08-14 Nvidia Corporation System for providing scalable physics content
US8000947B1 (en) * 2008-05-22 2011-08-16 Electronic Arts Inc. Particle-based cloth simulation using verlet integration with fixed and stiff-spring constraints supporting collision detection and reaction with projectiles in sports video games
CN102243770A (en) * 2011-07-19 2011-11-16 南昌航空大学 Method for quickly drawing realistic rendering of naval battlefield based on OSG
CN102982580A (en) * 2012-11-09 2013-03-20 沈阳创达技术交易市场有限公司 Levels of detail (LOD) arithmetic aiming at large-scale landforms

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SUZANA M. F. DE OLIVEIRA等: "Cloth Simulation with Triangular Mesh Adaptivity", 《IEEE XPLORE》 *
朱东勇等: "纤维可控的质感布料三维建模与服装仿真", 《软件学报》 *
陈园园等: "粒子系统和LOD技术在三维场景中的运用", 《贵州工业大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113412471A (en) * 2019-02-08 2021-09-17 苹果公司 Object positioning and movement in three-dimensional content
CN111773719A (en) * 2020-06-23 2020-10-16 完美世界(北京)软件科技发展有限公司 Rendering method and device of virtual object, storage medium and electronic device

Also Published As

Publication number Publication date
CN107393019B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN103914868B (en) Method for mass model data dynamic scheduling and real-time asynchronous loading under virtual reality
CN101473351B (en) Musculo-skeletal shape skinning
JP6721332B2 (en) Generating a bounding box on a 3D modeled assembly
EP3340181A1 (en) Automatic partitioning of a 3d scene into a plurality of zones processed by a computing resource
JP2011222003A (en) Design of part modeled by parallel geodesic curves
JP6721333B2 (en) Selecting a perspective for a set of objects
CN110196775A (en) A kind of calculating task processing method, device, equipment and readable storage medium storing program for executing
CN104267940A (en) Quick map tile generation method based on CPU+GPU
CN111773719A (en) Rendering method and device of virtual object, storage medium and electronic device
CN109343793A (en) Data migration method and device
CN107393019A (en) A kind of cloth simulation method and apparatus based on particle
JP2002520750A (en) Numerical calculation method of parameterized surface in eigenspace of subdivision matrix of irregular patch
CN105513006B (en) A kind of TrueType font profile thickness method of adjustment and device
CN107346350A (en) Distribution method, device and cluster system for integrated circuit layout data processing tasks
CN107885599A (en) Method, program and the system of 3D scenes are simulated with one group of computing resource run parallel
CN109784484A (en) Neural network accelerated method, device, neural network accelerate chip and storage medium
CN105955458A (en) Method and device for generating feedback force
CN106023317A (en) Weighted Voronoi diagram generation method used for big data test
CN106373192B (en) A kind of non-topological coherence three-dimensional grid block tracing algorithm
CN108460836A (en) A kind of method and system of three-dimensional model simplifying
CN108744520A (en) Determine the method, apparatus and electronic equipment of game model placement position
JP3410079B2 (en) 3D skeleton data error absorption device
CN107301459A (en) A kind of method and system that genetic algorithm is run based on FPGA isomeries
CN107391044A (en) A kind of creation method and creating device of cloud hard disk
CN103150711A (en) Open computing language (OpenCL)-based image repair method

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201120