CN109865291A - Animation processing method and device in a kind of game - Google Patents
Animation processing method and device in a kind of game Download PDFInfo
- Publication number
- CN109865291A CN109865291A CN201910075311.7A CN201910075311A CN109865291A CN 109865291 A CN109865291 A CN 109865291A CN 201910075311 A CN201910075311 A CN 201910075311A CN 109865291 A CN109865291 A CN 109865291A
- Authority
- CN
- China
- Prior art keywords
- target object
- role
- active force
- force
- information
- 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
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present application provides the animation processing method and device in a kind of game, the embodiment of the present application obtains in game, the object module merged by connected multiple target objects, and when active force acts on object module, information based on active force, the multiple target objects controlled in object module are swung in different directions.Above-mentioned technical proposal, in animation process, when there is active force to act on object module, the partial target object in object module can be controlled based on the information of active force to be swung in different directions, realize the animation diversity of target object, the authenticity of target object animation effect is improved, and also reduces the data calculation amount for handling multiple models in the prior art.
Description
Technical field
This application involves technical field of image processing, more particularly, to the animation processing method and device in a kind of game.
Background technique
With the fast development of graph processing technique in the promotion and game of mobile device performance, player is to game picture
Authenticity pursuit is higher and higher, generates the picture of animation especially in game by interaction, needs to embody interactive authenticity, example
Thick grass in such as game due to being acted on the cartoon picture for generating and swinging by wind-force external force, then in such as game role hair
It sends out due to being acted on the cartoon picture for generating and swinging, entire thick grass model or hair in these pictures by external force such as fingers
Model is sent out when by external force, animation effect is dull, has seriously affected the authenticity of cartoon picture.
Summary of the invention
In view of this, the animation processing method and device that are designed to provide in game of the application, to overcome existing skill
When interactive forces act on some model in art, model animation effect dullness, the defect of authenticity difference.
In a first aspect, the embodiment of the present application provides the animation processing method in a kind of game, comprising:
The object module in game is obtained, the object module is merged to obtain by connected multiple target objects;
When the active force in game acts on object module, based on the information of the active force, the target mould is controlled
Multiple target objects in type are swung in different directions.
In a kind of possible embodiment, the information based on the active force is controlled in the object module
Multiple target objects are swung in different directions, comprising:
Based on the information of the active force, the target pair acted on by the active force is screened from the object module
As, and determine the obtained each target object of screening under active force effect by force information;
According to each target object by force information, the swing of each target object is determined respectively.
In a kind of possible embodiment, based on the information of the active force, from the object module described in screening
The target object of active force effect, and determine stress letter of each target object for screening and obtaining under active force effect
Breath, comprising:
The active force is wind-force, and the target object of the active force effect is all targets pair in the object module
As;
According to the preset target property information of each target object, determine each target object by wind-force respectively
Direction, and determine according to the size of the wind-force size for the wind-force that each target object is subject to respectively.
In a kind of possible embodiment, based on the information of the active force, from the object module described in screening
The target object of active force effect, and determine stress letter of each target object for screening and obtaining under active force effect
Breath, comprising:
The active force includes the power that role generates, the power that location information and the role based on the role generate
Predetermined action range screens the target object that the power generated by the role acts on from the object module;
For each target object that screening obtains, the position of location information and the target object based on the role is believed
Breath determines the size apart from active force that the corresponding role being subject to of the target generates.
In a kind of possible embodiment, the position of the location information based on the role and the target object is believed
Breath determines the size apart from active force that the corresponding role being subject to of the target generates, comprising:
The location information of location information and the target object based on the role, determines the role and the target object
Distance;
Based on the role at a distance from the target object and the role generate power predetermined action range, really
The size apart from active force that the role that the fixed target object is subject to generates.
In a kind of possible embodiment, the object module is generated by the location information of the role, the role
Power predetermined action range and each object module location information determine.
In a kind of possible embodiment, the power of the location information based on the role and role generation
Predetermined action range is also wrapped after screening the target object that the power generated by the role acts in the object module
It includes:
The each target object obtained for screening obtains the movement of the role based on the velocity information of the role
Velocity vector;
Movement velocity vector based on the role determines the direction of the speed active force that the target object is subject to and described
The movement velocity size of role;
Movement velocity size based on the role determines the speed effect that the role that the target object is subject to generates
The size of power.
In a kind of possible embodiment, the movement velocity size based on the role determines the target object
The size for the speed active force that the role being subject to generates, comprising:
According to the variation of the role movement state, the speed active force that the target object is subject to is controlled to gradual change
Size.
In a kind of possible embodiment, the information based on the active force is screened from the object module
The target object of the active force effect, and determine stress of each target object for screening and obtaining under active force effect
Information, further includes:
The active force further includes wind-force, and the target object of the wind-force effect is all targets in the object module
Object;
According to the preset target property information of each target object, the wind that each target object is subject to is determined respectively
The direction of power, and the size for the wind-force that each target object is subject to is determined according to the size of the wind-force respectively.
In a kind of possible embodiment, it is described according to each target object by force information, determine respectively every
The swing of a target object, comprising:
For each target object, the height of the target object in the vertical direction is obtained;
Based on the target object under the active force effect by force information and the target object in the vertical direction
Highly, the amplitude of fluctuation of the target object in the horizontal direction is determined;
Height and the amplitude of fluctuation of the target object in the horizontal direction based on the target object in the vertical direction, really
The fixed amplitude of fluctuation of the target object in the vertical direction.
Second aspect, the embodiment of the present application provide the video processing apparatus in a kind of game, comprising:
Object acquisition module, for obtaining the object module in game, the object module is by connected multiple targets pair
It is obtained as merging;
Object control module, for when the active force in game acts on object module, the letter based on the active force
Breath, the multiple target objects controlled in the object module are swung in different directions.
In a kind of possible embodiment, the object control module includes:
Determined submodule by force information, for the information based on the active force, from the object module screening by
The target object of the active force effect, and determine stress of each target object for screening and obtaining under active force effect
Information;
Weave control submodule, for, by force information, determining each mesh respectively according to each target object
Mark the swing of object.
It is described to be determined that submodule is specifically used for by force information in a kind of possible embodiment:
When the active force is wind-force, determine that the target object of the active force effect is the institute in the object module
There is target object;
According to the preset target property information of each target object, determine each target object by wind-force respectively
Direction, and determine according to the size of wind-force the size for the wind-force that each target object is subject to respectively.
It is described to be determined that submodule is specifically used for by force information in a kind of possible embodiment:
When the active force includes the power that role generates, what location information and the role based on the role generated
The predetermined action range of power screens the target object that the power generated by the role acts on from the object module;
For each target object that screening obtains, the position of location information and the target object based on the role is believed
Breath determines the size apart from active force that the corresponding role being subject to of the target generates.
It is described to be determined that submodule is specifically also used to by force information in a kind of possible embodiment:
The location information of location information and the target object based on the role, determines the role and the target object
Distance;
Based on the role at a distance from the target object and the role generate power predetermined action range, really
The size apart from active force that the role that the fixed target object is subject to generates.
It is described to be determined that submodule is specifically also used to by force information in a kind of possible embodiment:
The each target object obtained for screening obtains the movement of the role based on the velocity information of the role
Velocity vector;
Movement velocity vector based on the role determines the direction of the speed active force that the target object is subject to and described
The movement velocity size of role;
Movement velocity size based on the role determines the speed effect that the role that the target object is subject to generates
The size of power.
In a kind of possible embodiment, the weave control submodule is specifically used for:
For each target object, the height of the target object in the vertical direction is obtained;
Based on the target object under the active force effect by force information and the target object in the vertical direction
Highly, the amplitude of fluctuation of the target object in the horizontal direction is determined;
Height and the amplitude of fluctuation of the target object in the horizontal direction based on the target object in the vertical direction, really
The fixed amplitude of fluctuation of the target object in the vertical direction.
The third aspect, the embodiment of the present application also provide a kind of electronic equipment, comprising: processor, memory and bus, it is described
Memory is stored with the executable machine readable instructions of the processor, when electronic equipment operation, the processor with it is described
By bus communication between memory, the machine readable instructions executed when being executed by the processor it is above-mentioned in a first aspect, or
Step in any possible embodiment of first aspect.
Fourth aspect, the embodiment of the present application also provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, which executes above-mentioned in a first aspect, or first aspect when being run by processor
Step in any possible embodiment.
Animation processing method and device in game provided by the embodiments of the present application obtain in game, multiple by what is be connected
The object module that target object merges, and when active force acts on object module, the information based on active force controls mesh
Multiple target objects in mark model are swung in different directions.Above-mentioned technical proposal is having work in animation process
When firmly acting on object module, the partial target object in object module can be controlled based on the information of active force with not Tongfang
To being swung, the animation diversity of target object is realized, improves the authenticity of target object animation effect, and also drop
The low data calculation amount for handling multiple models in the prior art.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the flow chart of the animation processing method in a kind of game provided by the embodiment of the present application;
Fig. 2A shows the schematic diagram of the careless model in the embodiment of the present application;
Fig. 2 B shows the schematic diagram that more careless models in application embodiment put into thick grass;
Fig. 2 C shows the schematic diagram of the thick grass model in the embodiment of the present application;
Fig. 3 shows the schematic diagram of the predetermined action range for the power that role generates in the embodiment of the present application;
Fig. 4 is shown in the animation processing method in another kind game provided by the embodiment of the present application based on active force
Information controls the flow chart that multiple target objects in object module are swung in different directions;
Fig. 5 A shows the swing schematic diagram of multiple careless models in the prior art;
Fig. 5 B shows the swing schematic diagram of multiple grass models in the embodiment of the present application;
Fig. 6, which is shown, determines target object in the animation processing method in another kind game provided by the embodiment of the present application
The flow chart of the size and Orientation for the speed active force that the role being subject to generates;
The variation schematic diagram of speed when Fig. 7 A shows role's setting in motion in the embodiment of the present application;
Fig. 7 B, which shows role in the embodiment of the present application, terminates the variation schematic diagram of speed when movement;
Fig. 8 shows the flow chart of the animation processing method in another kind game provided by the embodiment of the present application;
Fig. 9 is shown in the animation processing method in another kind game provided by the embodiment of the present application according to by force information
Determine the flow chart of the swing of target object;
Figure 10 shows the structural schematic diagram of the video processing apparatus in a kind of game provided by the embodiment of the present application;
Figure 11 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it should be understood that attached drawing in the application
The purpose of illustration and description is only played, is not used to limit the protection scope of the application.In addition, it will be appreciated that schematical attached
Figure does not press scale.Process used herein shows the behaviour realized according to some embodiments of the present application
Make.It should be understood that the operation of flow chart can be realized out of order, the step of context relation of logic can not inverted suitable
Sequence is implemented simultaneously.In addition, those skilled in the art are under the guide of teachings herein, can be added to flow chart one or
Other multiple operations, can also remove one or more operations from flow chart.
In addition, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
It should be noted that term " includes " will be used in the embodiment of the present application, for pointing out the spy stated thereafter
The presence of sign, but the other features of increase are not precluded.
In view of the cartoon picture data processing amount of game in the prior art is big, the defect of animation effect authenticity difference,
Application embodiment provides animation processing method and device in a kind of game, and this method and device merge multiple target objects
For an object module, to no longer traverse and handle respectively each target object, it is only necessary to traverse in animation process
With processing target model, the calculation amount of data is effectively reduced, treatment effeciency is improved.Also, there is active force effect
In object module, this method and device can control the partial target object in object module based on the information of active force with not
It is equidirectional to be swung, while realization individually controls the single target object in the same object module, realize
The animation diversity of target object, improves the authenticity of target object animation effect.
It should be noted that animation processing method provided by the embodiments of the present application and device are not limited only to apply in game
It under scene, can be also used under the scenes such as video, cartoon, for example, utilizing animation processing method provided by the embodiments of the present application
With the cartoon picture in device processing cartoon.
For convenient for understanding the present embodiment, first to the animation in a kind of game disclosed in the embodiment of the present application at
Reason method describes in detail.
As described in Figure 1, the animation processing method in game provided by the embodiments of the present application, includes the following steps:
Object module in S110, acquisition game, the object module are merged to obtain by connected multiple target objects.
The object that above-mentioned target object can be swung when can be arbitrary by external force.In the applied field of game
Under scape, above-mentioned target object can be grass, hair (such as hair).
By the swing of target object to achieve the effect that form cartoon picture.
In game, a target object can be made first in art production process, using grass as target object, such as
Shown in Fig. 2A, a careless careless model 210 is made first.Later, as shown in Figure 2 B, it is planned according to effective scene, by more grass
Careless model put into a thick grass model 220.
As it can be seen that multiple target objects have the characteristics that region is continuous, quantity is more, in order to reduce animation process model number
Amount, improves the efficiency of animation process, and connected target object is merged, and obtains an object module, the target that this step obtains
Model, that is, above-mentioned the model merged by connected multiple target objects.As shown in Figure 2 C, by connected careless model combination shape
At a big thick grass model 220 or 230.The careless model not being connected is likely to form multiple without merging, therefore after merging
Thick grass model.The object module after merging only is needed to be traversed for and handled after merging, in animation process, to reduce needs
The quantity of the model of processing improves the efficiency of management of animation.
Before executing this step, it can use following sub-step for connected multiple target objects and merge into a target
Model: the location information of each target object is obtained;Based on the location information of each target object, by connected multiple targets pair
As merging into an object module.
S120, when the active force in game acts on object module, based on the information of the active force, control the mesh
Multiple target objects in mark model are swung in different directions.
Above-mentioned active force refers to that all active forces that can be acted on object module, such as active force can be wind-force,
For another example active force can be the power of role's generation.
When active force acts on object module, the target object that active force is applied to can be swung, and active force acts on not
To target object will not swing, realize and the single target object in the same object module individually controlled,
And in order to improve the authenticity of cartoon picture, information of this step based on active force controls each target by active force
Object is swung in different directions.
Due to statement above it is found that the power that active force can be wind-force or role generates, is the feelings of wind-force in active force
Under condition, all object modules of the wind-force in the current picture that the object module of effect is game are role's generations in active force
Power in the case where, since the sphere of action of role is limited, not all object module needs all by the effect of power
Further determine that the object module for the power effect that role generates.
Specifically, when role is located in object module, the role that is subject to closer to the object module or target object of role
The effect of the power of generation is bigger, and the object module or target object more than the sphere of action of the power of role's generation will be by role'ss
It influences and swings.Therefore, it before determining the object module that the power that role generates acts on, needs empirically or experimentally pre-
One sphere of action first is set for the power that role generates, that is, the predetermined action range for the power that following roles generate is set.Further
Ground, when determining the object module for the power effect that role generates further according to above-mentioned predetermined action range, it is also necessary to believe the position of role
The location information of breath and each object module, therefore also need the location information for obtaining role in advance and the position of each object module
Information.
The location information of above-mentioned role includes the value of reference axis x-axis, the value of z-axis and the role of role in the horizontal direction
Value in vertical direction (i.e. reference axis y-axis).The location information of object module includes object module coordinate in the horizontal direction
The value of the value of axis x-axis, the value of z-axis and role in vertical direction (i.e. reference axis y-axis).In the vertical direction due to role
The height of coordinate value, i.e. role in the vertical direction does not influence its sphere of action, and the seat of object module in the vertical direction
The height of scale value, i.e. object module in the vertical direction do not influence its whether the active force by role, therefore determining role
When the object module of the power effect of generation, it is only necessary to role's coordinate value in the horizontal direction and target in the location information of role
The coordinate value of object module in the horizontal direction in the location information of model.
In the pre- of the power that the location information for the location information, each object module for obtaining above-mentioned role and role generate
After determining sphere of action, the screening to object module can be realized as by traversing each object module.Traversing some target
When model, it specifically can use following steps and determine whether active force is applied on the object module: the position letter of based role
Whether the predetermined action range for the power that breath, role generate and the location information of the object module, judge the object module in role
In the sphere of action of the power of generation, if, it is determined that the power that role generates is applied on the object module, and otherwise, role produces
Raw power will not be applied on the object module.
In the specific implementation, as shown in figure 3, the predetermined action range for the power that above-mentioned role generates can be one with role
For the center of circle, using role's longest operating distance as the border circular areas of radius R.Object module at a distance from role more than R, will not be by angle
The influence for the active force that color generates.
To sum up, when active force is wind-force, the object module in game obtained in above-mentioned steps S110 is game picture
In all object modules, when active force is the power that role generates, the target mould in game that obtains in above-mentioned steps S110
Type is the model that role effect arrives, the predetermined action range of the power generated by the location information of role, the role and each
The location information of object module determines.
As shown in figure 4, in another embodiment, the above-mentioned information based on the active force controls in the object module
Multiple target objects swung in different directions, specifically can use following steps realization:
S410, the information based on the active force screen the mesh acted on by the active force from the object module
Mark object, and determine the obtained each target object of screening under active force effect by force information.
The information of above-mentioned active force can specifically include: the size of wind-force, the location information of role, role speed letter
Breath.
By statement above it is found that in active force difference, the sphere of action of active force is different, for example, being in active force
When wind-force, the sphere of action of active force may be considered object module and each target mould all in active screen
All target objects in type, at this point, it is all in object module for obtaining target object according to the information sifting of active force
Target object.When active force is the power that role generates, making a reservation for for the power generated according to the location information of role and role is needed
Sphere of action screens the object module of its effect, and equally, role possibly can not act on all in the object module that screening obtains
Target object, therefore, it is also desirable to which the predetermined action range of the power generated according to the location information of role and role screens target mould
Target object in type.
S420, according to each target object by force information, determine the swing of each target object respectively.
When the active force is wind-force, each target object that above-mentioned determining screening obtains is under active force effect
By force information, can specifically be realized using following steps: according to the preset target property information of each target object, respectively
It determines direction of each target object by wind-force, and each target pair is determined according to the size of the wind-force respectively
As the size for the wind-force being subject to.
Above-mentioned preset target property information is to be arranged in advance for each target object, each target object it is preset
Target property information can be set to difference, can control different target objects towards difference according to the difference of target property information
Direction swing, to increase the randomness that target object is interacted with wind-force, so that the direction that target object is interacted with wind-force has
Certain diversity increases expressive force, improves the authenticity of animation effect.
As shown in Figure 5A, in the game of the prior art, when being acted on by wind-force, all grass models are all to the same direction
It swings, but in fact, grass by wind-force when being acted on, not all grass is all swung to a direction, and swaying direction has
Each species diversity, therefore in the game of the prior art, the animation effect of careless model is not true enough, and diversity is poor.Utilize the application reality
That applies example offer can make different careless models have different Impact directions based on preset target property information, in stress side
To it is different when, swaying direction will appear difference, as shown in Figure 5 B.It can be seen that the application implementation can be such that target object interacts with wind-force
Direction have certain diversity, increase expressive force, improve the authenticity of animation effect.
In the specific implementation, above-mentioned preset target property information can be the vertex color of target object, at this point it is possible to sharp
With following formula determine when being firmly wind-force, target object by force information:
Wind_power=func (vetex_color) × nature_wind_power
Wherein, wind_power is indicated when active force is wind-force, target object by force information, func expression passes through top
The bivector with certain randomness is calculated in point color, for determining the direction of wind-force that target object is subject to,
The size of nature_wind_power expression wind-force.
Above-mentioned vertex color is an attribute of target object, can not be the color that target object practical manifestation comes out.One
As in the case of, each target object is by multiple triangulars at each triangle has 3 vertex, and each vertex can be distinguished
One vertex color is set, and certainly, the vertex color on all vertex of all triangles of some target object also can be set into
It is identical.
Func can use following formula and determine:
Func=float2 (sin (vetex_color.r-k1), sin (vetex_color.g-k2)
Wherein, vetex_color indicates that vertex color, vetex_color.r indicate the value in r (red) channel of vertex color,
Vetex_color.g indicates the value in g (green) channel of vertex color, and k1, k2 respectively indicate a preset coefficient.1 He of coefficient k
The value of k2 can flexibly be set according to the demand of practical application scene, and k1 and k2 can be set to identical value, also can be set
, for another example 0.4 can be set by k1, k2 is arranged for different values for example, coefficient k 1 and k2 can be disposed as 0.5
Be 0.6, the embodiment of the present application to the value of k1 and k2 without limitation.
In above-mentioned formula, vetex_color.r-k1 indicate in the vertex color of target object the value of red channel and one it is pre-
The difference of fixed coefficient value takes sine value to the difference, the direction of the wind-force that obtained sine value is subject to as target object to
A value in amount.Above in formula, vetex_color.g-k2 indicate target object vertex color Green channel value with
The difference of another scheduled coefficient value takes sine value to the difference, the wind-force that obtained sine value is subject to as target object
Direction vector in another value.Two sine values above constitute the direction vector for the wind-force that target object is subject to, root
It can determine the direction for the wind-force that target object is subject to according to direction vector.
As it can be seen that func obtains one with directive bivector, the wind_ being calculated according to above-mentioned formula
Power, which is one, has randomness bivector, both includes the size of wind-force that target object was subject to, also include target object by
The direction of the wind-force arrived.
It is of course also possible to determine the one-dimensional vector in func using the value in b (blue) channel of vertex color, pass through vertex color
The value of another Color Channel (such as the channel g) determine another dimensional vector in func, the embodiment of the present application is to determining func
Mode be not defined.
When above-mentioned utilization vertex color determines func, since the value of blue channel is usually very low, it is therefore preferable that using red
The value in channel and the value of green channel determine func.Further, it is determined in the value of value and green channel using red channel
Before func, the value of the value of red channel and green channel is normalized first, the value for recycling normalization to obtain
Determine func.
Additionally, it should be noted that can have randomness when target property information is preset, but need to control
In a certain range, such as when vertex color is arranged, the vertex color of all target objects can be set it is different, still
The vertex color of all target objects is obtained to needing to be located in a scheduled section.The above-mentioned limitation to target property information to
Each target object is avoided to swing the situation that difference is too big, and animation effect is caused to be distorted.
When the active force is the power that role generates, the above-mentioned information based on the active force, from the object module
The target object of the middle screening active force effect, and determine each target object for screening and obtaining under active force effect
By force information, can specifically be realized using following steps: the power that location information and the role based on the role generate
Predetermined action range, the target object of the power effect generated by the role is screened from the object module;For sieve
Obtained each target object is selected, the location information of location information and the target object based on the role determines the target
The size apart from active force that the role that object is subject to generates.
In the location information of the specific location information executed based on the role and the target object, the target object is determined
When the size apart from active force that the role being subject to generates, following steps realization: the position based on the role can use
The location information of confidence breath and the target object, determines the role at a distance from the target object;Based on the role and it is somebody's turn to do
The predetermined action range for the power that the distance of target object and the role generate determines that the role that the target object is subject to produces
The raw size apart from active force.
Due to the size apart from active force that role generates target object, only in the horizontal direction with role and target object
On distance dependent, distance has no relations in the vertical direction with role and target object, therefore, the above-mentioned position based on the role
The location information of confidence breath and the target object, determines that the role is according to role in level at a distance from the target object
What the coordinate on direction was determined with the coordinate of target object in the horizontal direction.
It is possible to further calculate the size apart from active force using following steps:
Dist_power=(max_dist_factor-dist) ÷ max_dist_factor
Wherein, dist_power indicates the size apart from active force, and max_dist_factor indicates role effect power longest
Operating distance, dist indicate role at a distance from target object.
According to formula above it is found that the value range apart from active force is 0~1.
It should be noted that role at a distance from target object be greater than role effect power longest operating distance when, i.e., on
When stating formula calculating, when the value that max_dist_factor-dist is obtained is negative value, illustrate that target object has exceeded role effect
Range, i.e., target object not by role generate active force effect, will not swing, at this time dist_power be 0, but
Be the dist_power that is calculated using above formula it is negative value, therefore dist_ is being calculated using formula above
It after power, needs to handle dist_power, specifically, if dist_power between 0~1, retains and calculates
The dist_power arrived, otherwise dist_power sets 0.
It is above-mentioned apart from active force be role itself to the active force of target object.When moving, the movement of role is fast by role
Degree can also generate the effect of power to target object.As shown in fig. 6, in role movement, the above-mentioned position letter based on the role
The predetermined action range for the power that breath and the role generate, screens the masterpiece generated by the role from the object module
After target object, the animation processing method in the game of the embodiment of the present application further includes following steps:
S610, each target pair for being applied to of the power that generates of the role that screens of location information for based role
As obtaining the movement velocity vector of the role based on the velocity information of the role.
The velocity component of role's two reference axis in the horizontal direction, based role are respectively included in the velocity information of role
The velocity component of two reference axis in the horizontal direction, can determine the movement velocity vector of role.
S620, the movement velocity vector based on the role, determine the direction for the speed active force that the target object is subject to
With the movement velocity size of the role.
The velocity component of the movement velocity vector based role of role two reference axis in the horizontal direction determines, therefore root
It can determine the direction for the speed active force that target object is subject to according to the movement velocity vector of role.
The movement velocity size of above-mentioned role is the movement velocity vector field homoemorphism of role.
S630, the movement velocity size based on the role determine the speed that the role that the target object is subject to generates
Spend the size of active force.
After the movement velocity size of role has been determined, since the movement velocity of role and role generate speed active force tool
There is direct relationship, therefore, can directly generate the role that the movement velocity size of role is subject to as target object
Speed active force size.
It is of course also possible to according to the movement velocity size of determining role, by scheduled calculating, determine target object by
The size for the speed active force that the role arrived generates.For example, the movement velocity size of determining role can be weighted place
Reason obtains the size for the speed active force that the role that target object is subject to generates.
Further to promote interactive expressive force, the embodiment of the present application carries out gradual change processing, while gradual change to the speed of role
Ground controls the size for the speed active force that the target object is subject to.As shown in Figure 7 A, role is by static setting in motion, speed
Degree is gradually incremented to maximum speed V, and the size of the speed active force generated is also correspondingly gradually increased.As shown in Figure 7 B, role
When becoming static by movement, speed, which is gradually passed, is reduced to 0, and the size of the speed active force generated is also correspondingly gradually reduced.
Illustrated in above embodiments active force be respectively wind-force, role generate power when, target object stress letter
The determination scheme of breath.Further, active force can include wind-force and the power that role generates simultaneously, and role's generation is capable same
When include speed active force that the movement apart from active force and role that generates of role itself generates.
Active force both included wind-force and also including role generate power when, can be determined respectively first with above scheme
The corresponding active force generated by force information and role of wind-force is corresponding by force information, later, is carried out determining by force information
Integration, determine that target object is subject to is final by force information.Specifically, as shown in figure 8, may include steps of:
Object module in S810, acquisition game, the object module are merged to obtain by connected multiple target objects.
S820, when the wind-force in game acts on object module, step S810 obtain object module be going game picture in
All object modules, all target objects in each object module are by the effect of wind-force, at this point, according to each target pair
The preset target property information of elephant determines direction of each target object by wind-force respectively, and according to the big of wind-force
The small size for determining wind-force that each target object is subject to respectively.
S830, when the active force that the role in game generates acts on object module, the target that obtains in step S810
The predetermined action range for the power that model is generated by the location information of the role, the role and the position of each object module are believed
Breath determines.
For some object module for the power effect that the role in game generates, location information and institute based on the role
The predetermined action range for stating the power of role's generation screens the mesh that the power generated by the role acts on from the object module
Mark object.
For each target object that screening obtains, the position of location information and the target object based on the role is believed
Breath determines the size apart from active force that the corresponding role being subject to of the target generates.
The each target object obtained for screening obtains the movement of the role based on the velocity information of the role
Velocity vector.
Movement velocity vector based on the role determines the direction of the speed active force that the target object is subject to and described
The movement velocity size of role.
Movement velocity size based on the role determines the speed effect that the role that the target object is subject to generates
The size of power.
S840, the role being subject to based on the target object being determined above by the direction of wind-force and size, target object are produced
The size apart from active force that the role that size and Orientation, the target object of raw speed active force are subject to generates, to target pair
Elephant is integrated by force information, and determine that target object is subject to is final by force information.
Specifically, during executing above-mentioned integration by force information, it specifically can use following formula and realize:
Final_power=dist_power × speed_power+wind_power
Wherein, dist_power indicate that the role that is subject to of target object generates apart from active force, be an one-dimensional number
Value.Speed_power indicates the size and Orientation for the speed active force that the role that target object is subject to generates, and is one two-dimensional
Vector.Wind_power indicates the size and Orientation for the wind-force that target object is subject to, and is a two-dimensional vector.final_
It is final by force information to indicate that target object is subject to by power, is a bivector, both includes what target object was finally subject to
The size of active force also includes the direction for the active force that target object is finally subject to.
Above embodiments specifically illustrate determine by force information implementation, determined target object by force information
Afterwards, as shown in figure 9, can use following steps according to by force information, the swing of the target object is determined:
S910, it is directed to each target object, obtains the height of the target object in the vertical direction.
The height of target object in the vertical direction is higher, bigger by the amplitude of fluctuation after active force, it is therefore desirable to obtain
Take the height of target object in the vertical direction.
S920, based on the target object the active force effect under by force information and the target object in vertical direction
On height, determine the amplitude of fluctuation of the target object in the horizontal direction.
In the specific implementation, it can use following formula and determine the amplitude of fluctuation of target object in the horizontal direction:
H_offset=hei × final_power × factor
Wherein, h_offset indicates that the amplitude of fluctuation of target object in the horizontal direction, the amplitude of fluctuation both include swinging
Direction, also include amplitude of fluctuation size.Specifically, h_offset may include in target object x-axis in the horizontal direction
Amplitude of fluctuation size and the amplitude of fluctuation in target object z-axis in the horizontal direction size.Hei indicates that target object exists
Height on vertical direction.Factor indicates preset regulatory factor.
S930, the amplitude of fluctuation of height and the target object in the horizontal direction based on the target object in the vertical direction
Degree, determines the amplitude of fluctuation of the target object in the vertical direction.
In the specific implementation, can use following formula first determine target object swing in the vertical direction after height,
The height before height and swing after being swung in the vertical direction based on target object, it will be able to determine target object in vertical side
Upward amplitude of fluctuation.
In formula, y indicate target object swings in the vertical direction after height, h_offset.x expression target object in water
Square to x-axis on amplitude of fluctuation size, h_offset.z indicate target object z-axis in the horizontal direction on amplitude of fluctuation
The size of degree.
Based on above description, after swing, the coordinate of target object specifically:
grass_world_pos.x+h_offset.x,y,grass_world_pos.z+h_offset.z
Wherein, grass_world_pos.x indicates the original coordinates in target object x-axis in the horizontal direction, grass_
World_pos.z indicates the original coordinates in target object z-axis in the horizontal direction.
In gaming, target object has mobile strategic importance in conjunction with role, such as thick grass has stealthy function, institute
Thick grass is often passed in and out with role or is moved in thick grass, then, when role interacts with thick grass, utilize the side in above-described embodiment
Case can increase the dynamic performance of thick grass, enhance the experience sense of game, so that the interaction of thick grass and role are truer.
Multiple connected target objects are merged into a target by the animation processing method in the game of the embodiment of the present application
Model improves animation process and management to can reduce the traversal and processing quantity of model during animation process
Efficiency.Also, the animation processing method in the game of the embodiment of the present application is believed based on the preset objective attribute target attribute of target object
Breath realizes target object and interacts with the diversification of wind-force, so that target object is under the action of the forces of the wind, swaying direction has one
Determine randomness, simulates more true natural wind bring target object and swing effect.Meanwhile in the game of the embodiment of the present application
The location information of animation processing method based role, velocity information and target object carry out dynamic interaction mode so that target
The swing of object is truer.
Based on the same technical idea, the embodiment of the present application also provides video processing apparatus, electronics in a kind of game and sets
Standby and computer storage medium etc., for details, reference can be made to following embodiments.
As shown in Figure 10, the embodiment of the present application provides the video processing apparatus in a kind of game, which executes dynamic
The step of drawing processing is identical as the step in animation processing method disclosed in above embodiments.Specifically, the animation in game
Processing unit includes:
Object acquisition module 1001, for obtaining the object module in game, the object module is by connected multiple mesh
Mark object merging obtains.
Object control module 1002, for being based on the active force when the active force in game acts on object module
Information, the multiple target objects controlled in the object module are swung in different directions.
In some embodiments, the object control module 1002 includes:
Submodule 10021 is determined by force information, for the information based on the active force, is screened from the object module
By the target object that the active force acts on, and determine each target object for screening and obtaining under active force effect
By force information;
Weave control submodule 10022, for, by force information, determining each institute respectively according to each target object
State the swing of target object.
In some embodiments, described to be determined that submodule 10021 is specifically used for by force information:
When the active force is wind-force, determine that the target object of the active force effect is the institute in the object module
There is target object;
According to the preset target property information of each target object, determine each target object by wind-force respectively
Direction, and determine according to the size of wind-force the size for the wind-force that each target object is subject to respectively.
In some embodiments, described to be determined that sub 10021 modules are specifically used for by force information:
When the active force includes the power that role generates, what location information and the role based on the role generated
The predetermined action range of power screens the target object that the power generated by the role acts on from the object module;
For each target object that screening obtains, the position of location information and the target object based on the role is believed
Breath determines the size apart from active force that the corresponding role being subject to of the target generates.
In some embodiments, described to be determined that submodule 10021 is specifically also used to by force information:
The location information of location information and the target object based on the role, determines the role and the target object
Distance;
Based on the role at a distance from the target object and the role generate power predetermined action range, really
The size apart from active force that the role that the fixed target object is subject to generates.
In some embodiments, described to be determined that submodule 10021 is specifically also used to by force information:
The each target object obtained for screening obtains the movement of the role based on the velocity information of the role
Velocity vector;
Movement velocity vector based on the role determines the direction of the speed active force that the target object is subject to and described
The movement velocity size of role;
Movement velocity size based on the role determines the speed effect that the role that the target object is subject to generates
The size of power.
In some embodiments, the weave control submodule 10022 is specifically used for:
For each target object, the height of the target object in the vertical direction is obtained;
Based on the target object under the active force effect by force information and the target object in the vertical direction
Highly, the amplitude of fluctuation of the target object in the horizontal direction is determined;
Height and the amplitude of fluctuation of the target object in the horizontal direction based on the target object in the vertical direction, really
The fixed amplitude of fluctuation of the target object in the vertical direction.
Some embodiments of the present application also disclose a kind of electronic equipment, as shown in figure 11, provide for the embodiment of the present application
110 structural schematic diagram of electronic equipment, including processor 111, memory 112 and bus 113;Memory 112 is held for storing
Row instruction, including memory 1121 and external memory 1122;Here memory 1121 is also referred to as built-in storage, is used for temporary storeroom
The operational data in device 111 is managed, and the data exchanged with external memories 1122 such as hard disks, processor 111 pass through memory
1121 with external memory 1122 carry out data exchange, when the user equipment 110 operation when, the processor 111 with it is described
It is communicated between memory 112 by bus 113, so that the processor 111 is executed in User space to give an order:
The object module in game is obtained, the object module is merged to obtain by connected multiple target objects;
When the active force in game acts on object module, based on the information of the active force, the target mould is controlled
Multiple target objects in type are swung in different directions.
Some embodiments of the present application also disclose a kind of computer readable storage medium, the computer readable storage medium
On be stored with computer program, which executes the animation process in the game of above-described embodiment when being run by processor
Step in method.
The embodiment of the present application also provides a kind of progress text error detection computer program products comprising stores processor
The computer readable storage medium of executable non-volatile program code, the instruction that said program code includes can be used for executing
Previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, the application
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the application
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, CD, video card or video memory etc.
The various media that can store program code.
Finally, it should be noted that embodiment described above, the only specific embodiment of the application, to illustrate the application
Technical solution, rather than its limitations, the protection scope of the application is not limited thereto, although with reference to the foregoing embodiments to this Shen
It please be described in detail, those skilled in the art should understand that: anyone skilled in the art
Within the technical scope of the present application, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of the embodiment of the present application technical solution, should all cover the protection in the application
Within the scope of.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (19)
1. the animation processing method in a kind of game characterized by comprising
The object module in game is obtained, the object module is merged to obtain by connected multiple target objects;
When the active force in game acts on object module, based on the information of the active force, control in the object module
Multiple target objects swung in different directions.
2. the method according to claim 1, wherein the information based on the active force, controls the mesh
Multiple target objects in mark model are swung in different directions, comprising:
Based on the information of the active force, the target object acted on by the active force is screened from the object module, and
Determine the obtained each target object of screening under active force effect by force information;
According to each target object by force information, the swing of each target object is determined respectively.
3. according to the method described in claim 2, it is characterized in that, the information based on the active force, from the object module
The target object of the middle screening active force effect, and determine each target object for screening and obtaining under active force effect
By force information, comprising:
The active force is wind-force, and the target object of the active force effect is all target objects in the object module;
According to the preset target property information of each target object, side of each target object by wind-force is determined respectively
To, and the size for the wind-force that each target object is subject to is determined according to the size of wind-force respectively.
4. according to the method described in claim 2, it is characterized in that, the information based on the active force, from the object module
The target object of the middle screening active force effect, and determine each target object for screening and obtaining under active force effect
By force information, comprising:
The active force includes the power that role generates, and the power that location information and the role based on the role generate makes a reservation for
Sphere of action screens the target object that the power generated by the role acts on from the object module;
For each target object that screening obtains, the location information of location information and the target object based on the role,
Determine the size apart from active force that the corresponding role being subject to of the target generates.
5. according to the method described in claim 4, it is characterized in that, the location information based on the role and the target pair
The location information of elephant determines the size apart from active force that the corresponding role being subject to of the target generates, comprising:
The location information of location information based on the role and the target object, determine the role and the target object away from
From;
Based on the role at a distance from the target object and the role generate power predetermined action range, determine should
The size apart from active force that the role that target object is subject to generates.
6. according to the method described in claim 4, it is characterized in that, location information of the object module by the role, institute
The location information of the predetermined action range and each object module of stating the power of role's generation determines.
7. according to the method described in claim 4, it is characterized in that, the location information based on the role and the role
The predetermined action range of the power of generation screens the target object that the power generated by the role acts on from the object module
Later, further includes:
The each target object obtained for screening obtains the movement velocity of the role based on the velocity information of the role
Vector;
Movement velocity vector based on the role, determine the speed active force that the target object is subject to direction and the role
Movement velocity size;
Movement velocity size based on the role determines the speed active force that the role that the target object is subject to generates
Size.
8. the method according to the description of claim 7 is characterized in that the movement velocity size based on the role, determines
The size for the speed active force that the role that the target object is subject to generates, comprising:
According to the variation of the role movement speed, the big of the speed active force that the target object is subject to is controlled to gradual change
It is small.
9. according to the method described in claim 4, it is characterized in that, the information based on the active force, from the target
The target object of the active force effect is screened in model, and determines each target object for screening and obtaining in the effect masterpiece
Under by force information, further includes:
The active force further includes wind-force, and the target object of the wind-force effect is all targets pair in the object module
As;
According to the preset target property information of each target object, the wind-force that each target object is subject to is determined respectively
Direction, and the size for the wind-force that each target object is subject to is determined according to the size of the wind-force respectively.
10. according to the method described in claim 2, it is characterized in that, it is described according to each target object by force information,
The swing of each target object is determined respectively, comprising:
For each target object, the height of the target object in the vertical direction is obtained;
Based on the target object under active force effect by force information and the height of the target object in the vertical direction,
Determine the amplitude of fluctuation of the target object in the horizontal direction;
Height and the amplitude of fluctuation of the target object in the horizontal direction based on the target object in the vertical direction, determining should
The amplitude of fluctuation of target object in the vertical direction.
11. the video processing apparatus in a kind of game characterized by comprising
Object acquisition module, for obtaining the object module in game, the object module is closed by connected multiple target objects
And it obtains;
Object control module, for based on the information of the active force, controlling when the active force in game acts on object module
The multiple target objects made in the object module are swung in different directions.
12. device according to claim 11, which is characterized in that the object control module includes:
Submodule is determined by force information, and for the information based on the active force, screening is by described from the object module
The target object of active force effect, and determine stress letter of each target object for screening and obtaining under active force effect
Breath;
Weave control submodule, for, by force information, determining each target pair respectively according to each target object
The swing of elephant.
13. device according to claim 12, which is characterized in that described to be determined that submodule is specifically used for by force information:
When the active force is wind-force, determine that the target object of the active force effect is all mesh in the object module
Mark object;
According to the preset target property information of each target object, side of each target object by wind-force is determined respectively
To, and the size for the wind-force that each target object is subject to is determined according to the size of wind-force respectively.
14. device according to claim 12, which is characterized in that described to be determined that submodule is specifically used for by force information:
When the active force includes the power that role generates, the power of location information and role generation based on the role
Predetermined action range screens the target object that the power generated by the role acts on from the object module;
For each target object that screening obtains, the location information of location information and the target object based on the role,
Determine the size apart from active force that the corresponding role being subject to of the target generates.
15. device according to claim 14, which is characterized in that described to be determined that submodule is specifically also used to by force information:
The location information of location information based on the role and the target object, determine the role and the target object away from
From;
Based on the role at a distance from the target object and the role generate power predetermined action range, determine should
The size apart from active force that the role that target object is subject to generates.
16. device according to claim 14, which is characterized in that described to be determined that submodule is specifically also used to by force information:
The each target object obtained for screening obtains the movement velocity of the role based on the velocity information of the role
Vector;
Movement velocity vector based on the role, determine the speed active force that the target object is subject to direction and the role
Movement velocity size;
Movement velocity size based on the role determines the speed active force that the role that the target object is subject to generates
Size.
17. device according to claim 12, which is characterized in that the weave control submodule is specifically used for:
For each target object, the height of the target object in the vertical direction is obtained;
Based on the target object under active force effect by force information and the height of the target object in the vertical direction,
Determine the amplitude of fluctuation of the target object in the horizontal direction;
Height and the amplitude of fluctuation of the target object in the horizontal direction based on the target object in the vertical direction, determining should
The amplitude of fluctuation of target object in the vertical direction.
18. a kind of electronic equipment characterized by comprising processor, memory and bus, the memory are stored with described
The executable machine readable instructions of processor, when electronic equipment operation, by total between the processor and the memory
Line communication is executed when the machine readable instructions are executed by the processor in the game as described in claims 1 to 10 is any
Animation processing method the step of.
19. a kind of computer readable storage medium, which is characterized in that be stored with computer journey on the computer readable storage medium
Sequence executes the animation process side in the game as described in claims 1 to 10 is any when the computer program is run by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075311.7A CN109865291A (en) | 2019-01-25 | 2019-01-25 | Animation processing method and device in a kind of game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075311.7A CN109865291A (en) | 2019-01-25 | 2019-01-25 | Animation processing method and device in a kind of game |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109865291A true CN109865291A (en) | 2019-06-11 |
Family
ID=66918065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910075311.7A Pending CN109865291A (en) | 2019-01-25 | 2019-01-25 | Animation processing method and device in a kind of game |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109865291A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112370779A (en) * | 2020-11-27 | 2021-02-19 | 上海米哈游天命科技有限公司 | Clothing change method and device, electronic equipment and storage medium |
CN112802166A (en) * | 2021-01-18 | 2021-05-14 | 网易(杭州)网络有限公司 | Display method, device, storage medium and equipment for simulating virtual plant to swing by wind |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008561A (en) * | 2014-06-11 | 2014-08-27 | 无锡梵天信息技术股份有限公司 | Simulation process type animation realizing method based on GPU |
CN106296778A (en) * | 2016-07-29 | 2017-01-04 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device |
CN106780766A (en) * | 2016-11-24 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Matching implementation method and relevant apparatus |
CN108339270A (en) * | 2018-02-09 | 2018-07-31 | 网易(杭州)网络有限公司 | The processing method of static component, rendering intent and device in scene of game |
CN108961365A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | Three-dimensional object swinging method, device, storage medium and computer equipment |
-
2019
- 2019-01-25 CN CN201910075311.7A patent/CN109865291A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104008561A (en) * | 2014-06-11 | 2014-08-27 | 无锡梵天信息技术股份有限公司 | Simulation process type animation realizing method based on GPU |
CN106296778A (en) * | 2016-07-29 | 2017-01-04 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device |
CN106780766A (en) * | 2016-11-24 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Matching implementation method and relevant apparatus |
CN108961365A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | Three-dimensional object swinging method, device, storage medium and computer equipment |
CN108339270A (en) * | 2018-02-09 | 2018-07-31 | 网易(杭州)网络有限公司 | The processing method of static component, rendering intent and device in scene of game |
Non-Patent Citations (1)
Title |
---|
李占利、千叶则茂: "树在风中摆动的计算机实时模拟方法研究", 《系统仿真学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112370779A (en) * | 2020-11-27 | 2021-02-19 | 上海米哈游天命科技有限公司 | Clothing change method and device, electronic equipment and storage medium |
CN112370779B (en) * | 2020-11-27 | 2022-10-14 | 上海米哈游天命科技有限公司 | Clothing change method and device, electronic equipment and storage medium |
CN112802166A (en) * | 2021-01-18 | 2021-05-14 | 网易(杭州)网络有限公司 | Display method, device, storage medium and equipment for simulating virtual plant to swing by wind |
CN112802166B (en) * | 2021-01-18 | 2023-08-08 | 网易(杭州)网络有限公司 | Display method, device, storage medium and equipment for simulating wind swing of virtual plants |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8154544B1 (en) | User specified contact deformations for computer graphics | |
CN110838162A (en) | Vegetation rendering method and device, storage medium and electronic equipment | |
CN110891659B (en) | Optimized delayed illumination and foveal adaptation of particle and simulation models in a point of gaze rendering system | |
KR20160080064A (en) | Virtual sensor in a virtual environment | |
US20090102835A1 (en) | Generating an asset for interactive entertainment using digital image capture | |
CN101436312B (en) | Method and apparatus for generating video cartoon | |
US11113861B2 (en) | Imitating motion capture clips using a neural network | |
CN110168614A (en) | For generating the device and method of the dynamic virtual content in mixed reality | |
JP2005293122A (en) | Game software with function to display large-surface object, and game device | |
CN104854622A (en) | Method for forming an optimized polygon based shell mesh | |
CN109865291A (en) | Animation processing method and device in a kind of game | |
JP2012190428A (en) | Stereoscopic image visual effect processing method | |
CN116258802A (en) | Method, device, equipment and storage medium for processing special effects of dynamic weather particles | |
KR102108244B1 (en) | Image processing method and device | |
CN105243268A (en) | Game map positioning method and apparatus as well as user terminal | |
CN109758765A (en) | Mobile terminal virtual object control method and equipment | |
CN109847360A (en) | 3D effect processing method, device, electronic equipment and the medium of game item | |
KR20200012561A (en) | System and method for game in virtual reality | |
US7742047B2 (en) | Image processing program and image processing system using same | |
CN107789828A (en) | Decorate cord-like state method of adjustment, device, terminal device and storage medium | |
CN106610721A (en) | Method and apparatus for realizing simultaneous response to gyroscope and gesture dragging interaction, and mobile phone | |
Jones et al. | Dynamic sprites: artistic authoring of interactive animations | |
CN112435317A (en) | Anti-threading method and device in game, electronic equipment and storage medium | |
TWI844180B (en) | Image processing method and virtual reality display system | |
JP2001276414A (en) | Game device and information memory medium |
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 |