CN105631918A - Three-dimensional object movement simulation method and system - Google Patents

Three-dimensional object movement simulation method and system Download PDF

Info

Publication number
CN105631918A
CN105631918A CN201510994033.7A CN201510994033A CN105631918A CN 105631918 A CN105631918 A CN 105631918A CN 201510994033 A CN201510994033 A CN 201510994033A CN 105631918 A CN105631918 A CN 105631918A
Authority
CN
China
Prior art keywords
node
curvature
physical principle
simulate
dimensional body
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
Application number
CN201510994033.7A
Other languages
Chinese (zh)
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.)
Beijing Pixel Software Technology Co Ltd
Original Assignee
Beijing Pixel Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pixel Software Technology Co Ltd filed Critical Beijing Pixel Software Technology Co Ltd
Priority to CN201510994033.7A priority Critical patent/CN105631918A/en
Publication of CN105631918A publication Critical patent/CN105631918A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation

Abstract

The invention provides a three-dimensional object movement simulation method. The method comprises the steps that change points of an interface animation are set as joint points, and the start point, the end point and the curvature of the joint points are configured; the three-dimensional movement tracks of each joint point are established by the start point, the end point and the curvature of the joint points according to the physical principle; and the three-dimensional movement tracks of each joint point in moving of the interface animation image are saved. The invention also discloses a three-dimensional object movement simulation system. With application of the three-dimensional object movement simulation method and system, resource and storage space can be saved and the real and lifelike three-dimensional effect can be displayed on the basis of the two-dimensional level.

Description

A kind of method and system simulating three-dimensional body motion
Technical field
The application relates to field of computer technology, more specifically, it relates to a kind of method and system simulating three-dimensional body motion.
Background technology
Interface cartoon refers to that image moves or changes on two dimension interface. The operation of switching between display interface, namely from a changing interface to another interface, is triggering while changing interface, and user is how from a changing interface to another interface to guide often to need the animation of passage type.
The transition effect being fade-in fade-out is treatment process the most common; often can show the process changed to another picture from a picture intuitively; visual performance compares soft, but usually can be confined to need between two interfaces of transition simultaneously and have certain common feature.
Scene switching is generally used between two different interfaces, and vision effect surging force is very strong, and shortcoming is needed wait time because of handoff scenario.
Interface cartoon is all the change of linear or specific two dimension formula (such as normal curve) and so under normal circumstances. Curvature in animation is a three-dimensional concept, refers to the special value that joint or articulated chain bend.
The mode simulating three-dimensional motion is: the mobile position arranging interface cartoon, the variation pattern of rate travel and interface cartoon, along with time location change, or switches new picture, formative dynamics effect. But the change of two-dimension layer is confined to two dimension, it is very difficult to show 3-D effect truly true to nature on two-dimension layer.
The mode of another kind of simulation three-dimensional motion is: before three-dimensional model animation is positioned over camera lens, such interface has the projection of three-dimensional animation, thus realizes interface cartoon. But, three-dimensional model makes consumes resources and takies storage space.
Summary of the invention
The embodiment of the present invention proposes a kind of method simulating three-dimensional body motion, it is possible to while saving resource and storage space, show 3-D effect truly true to nature on the basis of two-dimension layer.
The embodiment of the present invention also proposes a kind of system simulating three-dimensional body motion, it is possible to while saving resource and storage space, show 3-D effect truly true to nature on the basis of two-dimension layer.
The technical scheme of the embodiment of the present invention is as follows:
Simulating a method for three-dimensional body motion, described method comprises:
It is set to the change point of interface cartoon close node, configures starting point, terminal and the curvature of closing node;
Each 3 D motion trace closing node is set up according to physical principle by the starting point of pass node, terminal and curvature;
Preserve each 3 D motion trace closing node when interface cartoon image moves.
Described track setting up each pass node according to physical principle by the starting point of pass node, terminal and curvature comprises:
Curvature is adjusted according to physical principle;
Each track closing node is set up according to physical principle by curvature after the starting point of pass node, terminal and adjustment.
Described track setting up each pass node according to physical principle by the starting point of pass node, terminal and curvature comprises:
The parameter that influences each other closed between node is calculated according to physical principle;
According to the parameters revision curvature that influences each other;
Each track closing node is set up according to physical principle by curvature after the starting point of pass node, terminal and correction.
Described comprise according to the parameters revision curvature that influences each other:
The mean value of the parameter that influences each other and the product of curvature equal to revise curvature.
When described preservation interface cartoon image moves, the 3 D motion trace of each pass node comprises:
Preserve each 3 D motion trace closing node when interface cartoon image moves;
Delete when interface cartoon image moves except each motion track closing node.
Simulating a system for three-dimensional body motion, described system comprises:
Configuration module, closes node for being set to by the change point of interface cartoon, configures starting point, terminal and the curvature of closing node;
Track module, for setting up each 3 D motion trace closing node by the starting point of pass node, terminal and curvature according to physical principle;
Memory module, for preserving when interface cartoon image moves, each closes the 3 D motion trace of node.
Described track module is further used for, and adjusts curvature according to physical principle.
Described track module is further used for, and calculates the parameter that influences each other closed between node according to physical principle, according to the parameters revision curvature that influences each other.
Described track module is further used for, and determines to revise curvature by the product of the mean value of the parameter that influences each other and curvature.
Described memory module is further used for, and deletes when interface cartoon image moves except each motion track closing node.
From technique scheme it may be seen that be set to the change point of interface cartoon in embodiments of the present invention close node, configure starting point, terminal and the curvature of closing node; Each 3 D motion trace closing node is set up according to physical principle by the starting point of pass node, terminal and curvature; Preserve each 3 D motion trace closing node when interface cartoon image moves. Owing to resource and storage space therefore can be saved without the need to making three-dimensional model, 3-D effect truly true to nature is shown by the track closing node in the basis of two-dimension layer.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram of simulation three-dimensional body motion;
Fig. 2 is the system architecture schematic diagram of simulation three-dimensional body motion.
Embodiment
For making the object, technical solutions and advantages of the present invention express clearly clear, below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
In embodiments of the present invention, by being set to the change point in interface cartoon close node, on the basis of two-dimension layer, 3-D effect truly true to nature is shown by the track closing node.
FIGS 1 is the method flow schematic diagram of simulation three-dimensional body motion, specifically comprises the following steps:
101, it is set to the change point of interface cartoon close node, configures starting point, terminal and the curvature of closing node.
Being set to the change point of interface cartoon close node, have multiple change point, then arrange multiple passes node in interface cartoon, corresponding one of each change point closes node, like this other non-changing point, then without the need to analog track and then saving resource.
Closing Node configuration starting point, terminal and curvature for each, each closes the parameter of node is different, therefore can show 3-D effect on the basis of two-dimension layer.
102, each 3 D motion trace closing node is set up by the starting point of pass node, terminal and curvature according to physical principle.
Closing node is the key point showing 3-D effect on the basis of two-dimension layer, the 3 D motion trace closing node must meet physical principle, therefore can set up each 3 D motion trace closing node by the starting point of pass node, terminal and curvature according to physical principle.
Curvature configures in a step 101, in order to can true representation close node motion track can also adjust curvature according to physical principle, and then set up each close node 3 D motion trace.
Consider the situation that there is multiple passes node, it is possible to calculate the parameter that influences each other closed between node according to physical principle, then according to the parameters revision curvature that influences each other, then set up each 3 D motion trace closing node. For closing node for one, the mean value of the parameter that influences each other and the product of curvature equal to revise curvature.
103, each 3 D motion trace closing node when interface cartoon image moves is preserved.
Preserve each 3 D motion trace closing node when interface cartoon image moves, delete when interface cartoon image moves except each motion track closing node. Resource and storage space can be saved like this.
FIGS 2 is the system architecture schematic diagram of simulation three-dimensional body motion, specifically comprises:
Configuration module 201, closes node for being set to by the change point of interface cartoon, configures starting point, terminal and the curvature of closing node.
Track module 202, for setting up each 3 D motion trace closing node by the starting point of pass node, terminal and curvature according to physical principle; Curvature is adjusted further according to physical principle; The parameter that influences each other closed between node is calculated further, according to the parameters revision curvature that influences each other according to physical principle. Determine to revise curvature by the product of the mean value of the parameter that influences each other and curvature.
Memory module 203, for preserving when interface cartoon image moves, each closes the 3 D motion trace of node; Delete further when interface cartoon image moves except each motion track closing node.
The technical scheme of the present invention is described in detail below in conjunction with specific embodiment.
Drop the water surface for water droplet. Water droplet drops from top to down, has the process that one section of water droplet picture moves down, water droplet distortion time downward, and water droplet encounters the water surface and the moment of water droplet distortion.
Step one: by circle globule picture according to being divided into 4 passes node (node1, node2, node3, node4) up and down.
Configuring 4 virtual three-dimensional point Z axle positions closing node is [pos1 (x1, y1, z1), pos2 (x2, y2, z2), pos3 (x3, y3, z3), pos4 (x4, y4, z4)], the fixing curvature in the distance center of circle is (curve1, curve2, curve3, curve4), and aiming spot is (dest1, dest2, dest3, dest4).
Step 2: calculate the data acquisition that the set time puts water surface process according to gravity formula and fixing flexometer.
Map1 ((t1, (x11, y11, z11), (t2, (x12, y12, z12) ... (tn, (x1N, y1N, z1)), n) wherein (tn, (x1N, y1N, z1N)) i.e. dest1;
Map2 ((t1, (x21, y21, z21), (t2, (x22, y22, z22) .. (tn, (x2N, y2N, z2)), n) wherein (tn, (x2N, y2N, z2N)) i.e. dest2;
Map3 ((t1, (x31, y31, z31), (t2, (x32, y32, z32) ... (tn, (x3N, y3N, z3)), n) wherein (tn, (x3N, y3N, z3N) it is dest3;
Map4 ((t1, (x41, y41, z41), (t2, (x42, y42, z42) ... (tn, (x4N, y4N, z4)), n) wherein (tn, (x4N, y4N, z4N)) i.e. dest4.
Step 3: 4 close node integrally, restrict mutually, it is possible to use mechanics formula or additive method calculate 4 and close the parameter that influences each other between node.
Utilizing the parameters revision that influences each other to close the curvature of node, such track more meets the two-dimentional oriented manifold compacted. Such as time point t1, the radian that affects of pos2 is arc1 by pos1, the radian that affects of pos2 is arc2 by pos3, the radian that affects of pos2 is arc3 by pos4, the curvature of the pos2 of setting is curve1, can simply calculate and now revise curvature is curve1* (arc1+arc2+arc3)/3, by curvature now, it is possible to calculate pos2 position at that time. The change of curvature, it is possible to realize the effect of distortion.
Step 4: preserve each 3 D motion trace closing node when interface cartoon image moves.
The above, be only the better embodiment of the present invention, be not intended to limit protection scope of the present invention. Within the spirit and principles in the present invention all, any amendment of doing, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. simulate the method for three-dimensional body motion for one kind, it is characterised in that, described method comprises:
It is set to the change point of interface cartoon close node, configures starting point, terminal and the curvature of closing node;
Each 3 D motion trace closing node is set up according to physical principle by the starting point of pass node, terminal and curvature;
Preserve each 3 D motion trace closing node when interface cartoon image moves.
2. simulate the method for three-dimensional body motion according to claim 1, it is characterised in that, described track setting up each pass node according to physical principle by the starting point of pass node, terminal and curvature comprises:
Curvature is adjusted according to physical principle;
Each track closing node is set up according to physical principle by curvature after the starting point of pass node, terminal and adjustment.
3. simulate the method for three-dimensional body motion according to claim 1, it is characterised in that, described track setting up each pass node according to physical principle by the starting point of pass node, terminal and curvature comprises:
The parameter that influences each other closed between node is calculated according to physical principle;
According to the parameters revision curvature that influences each other;
Each track closing node is set up according to physical principle by curvature after the starting point of pass node, terminal and correction.
4. simulate the method for three-dimensional body motion according to claim 3, it is characterised in that, described comprise according to the parameters revision curvature that influences each other:
The mean value of the parameter that influences each other and the product of curvature equal to revise curvature.
5. simulate the method for three-dimensional body motion according to claim 1, it is characterised in that, when described preservation interface cartoon image moves, the 3 D motion trace of each pass node comprises:
Preserve each 3 D motion trace closing node when interface cartoon image moves;
Delete when interface cartoon image moves except each motion track closing node.
6. simulate the system of three-dimensional body motion for one kind, it is characterised in that, described system comprises:
Configuration module, closes node for being set to by the change point of interface cartoon, configures starting point, terminal and the curvature of closing node;
Track module, for setting up each 3 D motion trace closing node by the starting point of pass node, terminal and curvature according to physical principle;
Memory module, for preserving when interface cartoon image moves, each closes the 3 D motion trace of node.
7. simulate the system of three-dimensional body motion according to claim 6, it is characterised in that, described track module is further used for, and adjusts curvature according to physical principle.
8. simulate the system of three-dimensional body motion according to claim 6, it is characterised in that, described track module is further used for, and calculates the parameter that influences each other closed between node according to physical principle, according to the parameters revision curvature that influences each other.
9. simulate the system of three-dimensional body motion according to claim 6, it is characterised in that, described track module is further used for, and determines to revise curvature by the product of the mean value of the parameter that influences each other and curvature.
10. simulate the system of three-dimensional body motion according to claim 6, it is characterised in that, described memory module is further used for, and deletes when interface cartoon image moves except each motion track closing node.
CN201510994033.7A 2015-12-25 2015-12-25 Three-dimensional object movement simulation method and system Pending CN105631918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994033.7A CN105631918A (en) 2015-12-25 2015-12-25 Three-dimensional object movement simulation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994033.7A CN105631918A (en) 2015-12-25 2015-12-25 Three-dimensional object movement simulation method and system

Publications (1)

Publication Number Publication Date
CN105631918A true CN105631918A (en) 2016-06-01

Family

ID=56046802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994033.7A Pending CN105631918A (en) 2015-12-25 2015-12-25 Three-dimensional object movement simulation method and system

Country Status (1)

Country Link
CN (1) CN105631918A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106596313A (en) * 2017-01-05 2017-04-26 中国矿业大学 Testing method and device for simulating artificial joint multiple motion trail friction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373542A (en) * 2008-08-20 2009-02-25 浙江大学 Global path control method suitable for cluster of cartoons
CN101989076A (en) * 2010-08-24 2011-03-23 北京水晶石数字科技有限公司 Method for controlling shooting by three-dimensional software
CN102662664A (en) * 2012-03-28 2012-09-12 奇智软件(北京)有限公司 Interface animation realization method and system
CN104867172A (en) * 2015-05-28 2015-08-26 大连理工大学 Rigid body motion realization method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373542A (en) * 2008-08-20 2009-02-25 浙江大学 Global path control method suitable for cluster of cartoons
CN101989076A (en) * 2010-08-24 2011-03-23 北京水晶石数字科技有限公司 Method for controlling shooting by three-dimensional software
CN102662664A (en) * 2012-03-28 2012-09-12 奇智软件(北京)有限公司 Interface animation realization method and system
CN104867172A (en) * 2015-05-28 2015-08-26 大连理工大学 Rigid body motion realization method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106596313A (en) * 2017-01-05 2017-04-26 中国矿业大学 Testing method and device for simulating artificial joint multiple motion trail friction

Similar Documents

Publication Publication Date Title
US20210299539A1 (en) Methods and systems for object trajectory reconstruction
US10332240B2 (en) Method, device and computer readable medium for creating motion blur effect
US20240096014A1 (en) Method and system for creating and simulating a realistic 3d virtual world
US11113887B2 (en) Generating three-dimensional content from two-dimensional images
Bonatti et al. Autonomous drone cinematographer: Using artistic principles to create smooth, safe, occlusion-free trajectories for aerial filming
CN105373224B (en) A kind of mixed reality games system based on general fit calculation and method
CN105116899B (en) Distributed Multi Mobile Robots Formation's control method based on ESO
EP3579192A1 (en) Method, apparatus and device for determining camera posture information, and storage medium
CN106663384B (en) Body-sensing module switch type simulator
CN105403228A (en) Determination method and device of movement distance
CN111260764A (en) Method, device and storage medium for making animation
CN106412424A (en) View adjusting method and device for panoramic video
US20220044480A1 (en) System for three dimensional extension with multiscreen extended reality
WO2020051270A1 (en) Unsupervised depth prediction neural networks
CN111985268A (en) Method and device for driving animation by human face
CN105069795A (en) Moving object tracking method and apparatus
CN104040593A (en) Method and arrangement for 3D model morphing
CN110400023A (en) A kind of switching method and device of trajectory planning algorithm
Natalizio et al. Two families of algorithms to film sport events with flying robots
CN105631918A (en) Three-dimensional object movement simulation method and system
CN107704667B (en) Crowd movement simulation method, device and system for simulating clustering
CN102298787A (en) Control method and control system for animation object motion
CN103544727A (en) Scenario rendering and optimizing method, system and mobile terminal based on predict braches
CN105068653A (en) Method and apparatus for determining touch event in virtual space
CN102682461B (en) A kind of animation rendering intent, system and animation player

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601