CN104392475A - Weather particle display method and display device thereof - Google Patents

Weather particle display method and display device thereof Download PDF

Info

Publication number
CN104392475A
CN104392475A CN201410568861.XA CN201410568861A CN104392475A CN 104392475 A CN104392475 A CN 104392475A CN 201410568861 A CN201410568861 A CN 201410568861A CN 104392475 A CN104392475 A CN 104392475A
Authority
CN
China
Prior art keywords
particle
weather
size
depth value
virtual depth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410568861.XA
Other languages
Chinese (zh)
Other versions
CN104392475B (en
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information 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 Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN201410568861.XA priority Critical patent/CN104392475B/en
Publication of CN104392475A publication Critical patent/CN104392475A/en
Application granted granted Critical
Publication of CN104392475B publication Critical patent/CN104392475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a weather particle display method and a display device thereof. The display method comprises the following steps: a random virtual depth value Z is given to each weather particle; according to the virtual depth value Z of the particle, the size of the particle displayed actually and the motion state are acquired, wherein in the entire life cycle of the particle, the virtual depth value Z remains unchanged. Further, in order to solve the problem that a large number of particles in the case of game scene conversion suddenly appear and disappear, the invention also provides another particle display method. In a weather particle pre-caching mode, particles observed by a game player when moving in the game scene are smooth and continuous. Meanwhile, the invention also provides two display devices for realizing the above particle display methods in view of the above two particle display methods respectively.

Description

A kind of display packing of weather particle and display device thereof
Technical field
The present invention relates to a kind of display packing of weather particle, particularly a kind of display packing of weather particle of playing; The invention still further relates to a kind of display device of weather particle.
Background technology
In online game, weather system has become a very important module.By various weather effect, such as daytime, night, rain, the expressive force of the enhanced scene such as to blow, allow player be immersed to better in the atmosphere of game.Also can be undertaken alternately by weather system and player simultaneously, strengthen the experience property of game.
In 3D game, in an x, y, z three-dimensional system of coordinate, with x, y for plane, then depth value is equivalent to z-axis coordinate figure.Compared to the weather effect of 3D game, 2D game does not have the concept of the degree of depth, and all weather particle effects are played up at same level, and 2D game weather particle effect can be made to lack stereovision.
Simultaneously, player can move freely in scene of game, when scene presents certain weather, real world is that whole scene has all been covered with corresponding weather particle, but consider the performance of playing and playing up, therefore common way only produces at current screen and destroys weather particle, but when player moves, weather particle can be observed and present " blowout " or interrupted phenomenon.
Summary of the invention
The invention reside in the shortcoming and deficiency that overcome prior art, a kind of display packing of weather particle is provided, and for realizing the display device of the method.
The present invention is realized by following technical scheme: a kind of display packing of weather particle, comprises step:
Give a random virtual depth value Z to each weather particle, in the whole life cycle of this particle, described virtual depth value Z remains unchanged;
According to the size of the virtual depth value Z of described particle, obtain particle size and/or the motion state of actual displayed.
Compared to prior art, the present invention by giving a virtual depth value to each weather particle, and according to the size of this depth value, obtains size and the motion state of different weather particle actual displayed.Because the depth value of different weather particle is different, can change size and the motion state of different particle according to this depth value, the weather particle during 2D is played possesses stereovision.
As a further improvement on the present invention, according in the size of particle of virtual depth value Z acquiring size actual displayed and the step of motion state, specifically first according to the virtual value size Z of weather particle, obtain zoom factor f (Z), again according to this zoom factor f (Z), scale transformation is carried out to the size of each weather particle and kinematic parameter, obtains size and the motion state of the particle of actual displayed.Further, a zoom factor can be obtained according to virtual value, and by this zoom factor to the mode of the convergent-divergent of each weather particle, realize different size that weather particle finally shows and motion state.
As a further improvement on the present invention, the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; When carrying out scale transformation to the size of each weather particle and kinematic parameter, specifically the size of each weather particle is multiplied with zoom factor f (Z) respectively with kinematic parameter.Further, by the setting to virtual value and zoom factor, realize the pseudo-3D effect that weather particle shows " near big and far smaller " in screen.
Present invention also offers the display packing of another kind of weather particle, comprise step:
Setting one existence region, in this existence region, region is played up in setting;
Launch weather particle, and give a random virtual depth value Z to each weather particle, in the whole life cycle of described particle, described virtual depth value Z remains unchanged;
The position of particle is judged, if be positioned at outside existence region, then destroys; If not, then according to the size of the virtual depth value Z of described particle, obtain particle size and the motion state of actual displayed;
The position of particle is judged, to play up if be positioned at outside region and to be positioned at existence region, then cutting out; Play up region if be positioned at, then carry out playing up process.
Compared to prior art, the present invention is by some weather particles of pre-cache, and the particle that player is observed when scene of game moves is continuously level and smooth.Especially by being divided into different regions, for particle in zones of different, particle is processed accordingly, thus the phenomenon that solution weather particle suddenly has a large amount of particles to produce and disappear in the conversion of scene of game.
Further, in described existence region, be also provided with an emitting area, described weather particle is launched from described emitting area.
As a further improvement on the present invention, described existence region is nine grids; Describedly play up the central square that region is positioned at nine grids, and this to play up region be current display area.
As a further improvement on the present invention, according in the size of particle of virtual depth value Z acquiring size actual displayed and the step of motion state, specifically first obtain zoom factor f (Z) according to the virtual value size Z of weather particle, again according to this zoom factor f (Z), scale transformation is carried out to the size of each weather particle and kinematic parameter, obtains size and the motion state of the particle of actual displayed.
As a further improvement on the present invention, the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; When carrying out scale transformation to the size of each weather particle and kinematic parameter, specifically the size of each weather particle is multiplied with zoom factor f (Z) respectively with kinematic parameter.
Present invention also offers a kind of weather particle display device, comprise
Depth value generation unit, for giving a random virtual depth value Z to each weather particle;
Particle size display unit, for the size of the virtual depth value Z according to described particle, obtains the particle size of actual displayed;
Particles Moving status display unit, for the size of the virtual depth value Z according to described particle, obtains the Particles Moving state of actual displayed; Wherein, in the whole life cycle of this particle, described virtual depth value Z remains unchanged.
As a further improvement on the present invention, also comprise a unit for scaling, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.
As a further improvement on the present invention, the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; The size of each weather particle, when carrying out scale transformation to the size of each weather particle and kinematic parameter, is specifically multiplied with zoom factor f (Z) with kinematic parameter by described unit for scaling respectively.
Present invention also offers another kind of weather particle display device, comprising:
Area generation unit, for generating an existence region, and generates an emitting area and respectively and plays up region in this existence region;
Transmitter unit, in order to launch weather particle;
Depth value generation unit, for giving a random virtual depth value Z to each weather particle;
Destroy unit, be positioned at the extra-regional weather particle of existence in order to destroy;
Particle size display unit, for the size of the virtual depth value Z according to described particle, obtains the particle size of actual displayed;
Particles Moving status display unit, for the size of the virtual depth value Z according to described particle, obtains the Particles Moving state of actual displayed; Wherein, in the whole life cycle of this particle, described virtual depth value Z remains unchanged;
Cut out unit, in order to cut out be positioned at play up outside region and be positioned at existence region weather particle;
Rendering unit, in order to play up the weather particle entering and play up in region.
As a further improvement on the present invention, described existence region is nine grids; Describedly play up the central square that region is positioned at nine grids, and this to play up region be current display screen.
As a further improvement on the present invention, also comprise a unit for scaling, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.
As a further improvement on the present invention, the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; The size of each weather particle, when carrying out scale transformation to the size of each weather particle and kinematic parameter, is specifically multiplied with zoom factor f (Z) with kinematic parameter by described unit for scaling respectively.
In order to understand better and implement, describe the present invention in detail below in conjunction with accompanying drawing.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the weather particle display packing of embodiment 1.
Fig. 2 is the schematic diagram of the weather particle display device of embodiment 1.
Fig. 3 is the process flow diagram of the weather particle display packing of embodiment 2.
Fig. 4 is the process flow diagram of the weather particle display device of embodiment 2.
Fig. 5 is the schematic diagram of the buffer zone of embodiment 2.
Embodiment
Embodiment 1
Refer to Fig. 1, it is the process flow diagram of weather particle display packing of the present invention.
The display packing of weather particle of the present invention, comprises step:
S11: give a random virtual depth value Z to each weather particle.Concrete, in the present embodiment, the scope of described virtual depth value Z is 0 ~ 1.
S12: according to the virtual value size Z of weather particle, obtains zoom factor f (Z).Concrete, in the present embodiment, described zoom factor f (Z)=1-Z.
S13: according to this zoom factor f (Z), carries out scale transformation to the size of each weather particle and kinematic parameter.Concrete, in the present embodiment, by the size of each weather particle being multiplied with zoom factor f (Z) respectively with kinematic parameter, realize scale transformation.
S14: the size and the motion state that obtain the particle of actual displayed.Concrete, in the present embodiment, the kinematic parameter of described particle, comprises the speed of particle, acceleration of gravity, centripetal acceleration, centrifugal acceleration etc., thus realizes the different motion state of particle.
Do brief description below by way of an example: if the depth value of current particle is z, the size of current time particle is s, and the speed of current time particle is v, then, after considering the impact of virtual depth value, particle real size s' and v' is:
s'=s*f(z)
v'=v*f(z)
Wherein, f (z)=1-z in this programme embodiment.Thus realize the pseudo-3D effect of " near big and far smaller ".
And in order to realize above-mentioned particle display packing, present invention also offers the display device of the weather particle of corresponding enforcement said method.Specifically refer to Fig. 2, it is the schematic diagram of the display device of weather particle of the present invention.
Weather particle display device of the present invention, comprises depth value generation unit 1, unit for scaling 2, particle size display unit 3, and Particles Moving status display unit 3.
Described depth value generation unit 1, for giving a random virtual depth value Z to each weather particle.Concrete, the scope of described virtual depth value Z is 0 ~ 1, and in the whole life cycle of this particle, described virtual depth value Z remains unchanged.
Described unit for scaling 2, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.Wherein, described zoom factor f (Z)=1-Z.Concrete, described unit for scaling, when carrying out scale transformation to the size of each weather particle and kinematic parameter, by the size of each weather particle being multiplied with zoom factor f (Z) respectively with kinematic parameter, realizes scale transformation.
Described particle size display unit 3, for obtaining the weather particle size data of unit for scaling, and shows the size of actual particle.
Described Particles Moving status display unit 4, for obtaining the data of the weather parameters of unit for scaling, and shows actual Particles Moving state.
Compared to prior art, the present invention by giving a virtual depth value to each weather particle, and according to the size of this depth value, obtains size and the motion state of different weather particle actual displayed.Because the depth value of different weather particle is different, can change size and the motion state of different particle according to this depth value, the weather particle during 2D is played possesses stereovision.
Further, a zoom factor can be obtained according to virtual value, and by this zoom factor to the mode of the convergent-divergent of each weather particle, realize different size that weather particle finally shows and motion state.
Further, by the setting to virtual value and zoom factor, realize the pseudo-3D effect that weather particle shows " near big and far smaller " in screen.When particle produces, give a virtual depth value at random to each particle, the virtual depth value of each particle is different, in order to realize the effect of " near big and far smaller " that weather particle shows in screen, therefore needs particle large for depth value to carry out reducing change.Therefore, be 0 ~ 1 by the range set of virtual depth value Z in the present embodiment, and correspondingly zoom factor f (Z) can be set as: f (Z)=1-Z.The size of each weather particle is multiplied with zoom factor f (Z) respectively with kinematic parameter the most at last, therefore the virtual depth value of particle is larger, then zoom factor f (Z) value is less, after being multiplied of described zoom factor, diminishing of the weather particle obtained, finally can realize the pseudo-3D effect of " near big and far smaller ".
Embodiment 2
Player can move freely in scene of game, when scene presents certain weather, real world is that whole scene has all been covered with corresponding weather particle, but consider the performance of playing and playing up, therefore common way only produces in current display area and destroys weather particle, but when player moves, weather particle can be observed and present " blowout " or interrupted phenomenon.When player moves fast in scene of game, the situation of " blowout " and " intermittently " occurs simultaneously, and just the locus of performance is different.Because there is no particle buffer memory, quick mobile time current screen region there is no particle, particIe system can produce weather particle in a large number to fill whole area of space, so have the phenomenon of " blowout " in the region that particle produces, the region produced at non-particle has the phenomenon of " intermittently ".Therefore in the conversion of scene of game, suddenly have a large amount of particles to produce to solve weather particle further and disappear, the present invention is by the mode of pre-cache weather particle, and the particle that player is observed when scene of game moves is continuously level and smooth.The display packing of weather particle of the present invention, comprises step:
S21: setting one existence region.In the present embodiment, the present invention is based on the particIe system caching technology of nine grids, realize the buffer memory of weather particle.Concrete, set up the buffer zone of nine grids, this nine grids buffer zone is existence region of the present invention, includes nine virtual grids.
S22: set an emitting area and and play up region in this existence region.Concrete, described in play up the central gridding that region is positioned at nine grids, and this to play up region be current display area.Described emitting area can be positioned at the optional position of nine lattice, dissimilar according to weather particle, the emitting area that diverse location is set can be had, when such as raining, the emitting area of rainwater can be positioned at above screen, the emitting area of sandstorm particle can be positioned at one end of screen, i.e. the left end of screen or right-hand member.Concrete, in the present embodiment, described existence region is virtual region with playing up region, in order to carry out Logic judgment.These regions are that game making uses editing machine editor 2D weather to produce.
S23: weather particle is launched from emitting area.
S24: give a random virtual depth value Z to each weather particle; Wherein, the scope of described virtual depth value Z is 0 ~ 1, and in the whole life cycle of this particle, described virtual depth value Z remains unchanged.
The position of institute's emitted particle is detected, if be positioned at outside existence region, then destroys; If not, then step S25 is performed.
S25: the virtual value size Z according to weather particle obtains zoom factor f (Z); Concrete, described zoom factor f (Z)=1-Z.
S26: according to this zoom factor f (Z), carries out scale transformation to the size of each weather particle and kinematic parameter.Concrete, the present embodiment is by being multiplied the size of each weather particle with zoom factor f (Z) respectively with kinematic parameter.
S27: the size and the motion state that obtain the particle of actual displayed.
S28: detect the position of particle, to play up if be positioned at outside region and to be positioned at existence region, then cutting out; Play up region if be positioned at, then carry out playing up process.Wherein, cut out described in and refer to described particle to be buffered in and temporarily do not pass to rendering unit in internal memory or video memory and play up.Described playing up refers to that rendering unit processes the last display data producing image to particle and other view data, shows in the display device afterwards.
In order to realize above-mentioned particle display packing, present invention also offers the display device of the weather particle of corresponding enforcement said method.Specifically refer to Fig. 2, it is the schematic diagram of the display device of weather particle of the present invention.
Weather particle display device of the present invention, comprise: Area generation unit 5, transmitter unit 6, rendering unit 7, cut out unit 8, destroy unit 9, depth value generation unit 1, unit for scaling 2, particle size display unit 3, and Particles Moving status display unit 4.
Described Area generation unit 5, generates an existence region, and in this existence region, generates an emitting area and respectively play up region.Concrete, described existence region is nine grids; Describedly play up the central square that region is positioned at nine grids, and this to play up region be current display screen.
Described transmitter unit 6, in order to launch weather particle.
Described depth value generation unit 1, for giving a random virtual depth value Z to each weather particle.Concrete, the scope of described virtual depth value Z is 0 ~ 1, and in the whole life cycle of this particle, described virtual depth value Z remains unchanged.
Described destruction unit 9, is positioned at the extra-regional weather particle of existence in order to destroy.
Described unit for scaling 2, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.Wherein, described zoom factor f (Z)=1-Z.Concrete, described unit for scaling, when carrying out scale transformation to the size of each weather particle and kinematic parameter, by the size of each weather particle being multiplied with zoom factor f (Z) respectively with kinematic parameter, realizes scale transformation.
Described particle size display unit 3, for obtaining the weather particle size data of unit for scaling, and shows the size of actual particle.
Described Particles Moving status display unit 4, for obtaining the data of the weather parameters of unit for scaling, and shows actual Particles Moving state.
Describedly cut out unit 8, play up outside region in order to cut out to be positioned at and be positioned at the weather particle in existence region.
Described rendering unit 7, in order to play up the weather particle entering and play up in region.
Below by way of an instantiation, introduce the schematic diagram of the buffer zone of weather particle of the present invention.Refer to Fig. 5, it is the schematic diagram of the buffer zone of weather particle of the present invention display.
The present invention is based on the particIe system caching technology of nine grids, realize the buffer memory of weather particle.Concrete, in existence region, region 513 and an emitting area 512 are played up in 511 settings one.Wherein, described existence region 511 includes nine virtual grids.
Describedly play up the central gridding that region 513 is positioned at nine grids, and this plays up region 513 for current display area.Described emitting area 512 can be positioned at the optional position of nine lattice, dissimilar according to weather particle, the emitting area that diverse location is set can be had, when such as raining, the emitting area 512 of rainwater can be positioned at above screen, the emitting area 512 of sandstorm particle can be positioned at one end of screen, i.e. the left end of screen or right-hand member.
After particle is launched from emitting area, the regional location residing for particle, processes accordingly to described particle.When particle be positioned at play up region time, then process is played up to this particle.When particle is positioned at outside existence region, particle is destroyed.When particle is positioned at existence region, and be positioned at when playing up outside region, then process cut out to particle.Describedly cut out process, carry out buffer memory by described particle, be temporarily kept in internal memory or video memory and do not play up process.
When after use nine grids particle caching technology, the region of player's periphery also can buffer memory weather particle, even if therefore mobile handoff locus fast, the current region at player place has also been filled with weather particle, and the particle emission of particIe system can be more steady.When preventing player from moving in scene of game, there is particle " intermittently " or " blowout " phenomenon.
Compared to prior art, the present invention is by some weather particles of pre-cache, and the particle that player is observed when scene of game moves is continuously level and smooth.Especially by being divided into different regions, for particle in zones of different, particle is processed accordingly, thus the phenomenon that solution weather particle suddenly has a large amount of particles to produce and disappear in the conversion of scene of game.
The present invention is not limited to above-mentioned embodiment, if do not depart from the spirit and scope of the present invention to various change of the present invention or distortion, if these are changed and distortion belongs within claim of the present invention and equivalent technologies scope, then the present invention is also intended to comprise these changes and distortion.

Claims (15)

1. a display packing for weather particle, is characterized in that: comprise step:
Give a random virtual depth value Z to each weather particle, in the whole life cycle of this particle, described virtual depth value Z remains unchanged;
According to the size of the virtual depth value Z of described particle, obtain particle size and/or the motion state of actual displayed.
2. the display packing of weather particle according to claim 1, it is characterized in that: according in the size of particle of virtual depth value Z acquiring size actual displayed and the step of motion state, comprise the following steps: first obtain zoom factor f (Z) according to the virtual value size Z of weather particle, again according to this zoom factor f (Z), scale transformation is carried out to the size of each weather particle and kinematic parameter, obtains size and the motion state of the particle of actual displayed.
3. the display packing of weather particle according to claim 2, is characterized in that: the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; When carrying out scale transformation to the size of each weather particle and kinematic parameter, specifically the size of each weather particle is multiplied with zoom factor f (Z) respectively with kinematic parameter.
4. a display packing for weather particle, is characterized in that: comprise step:
Setting one existence region, in this existence region, region is played up in setting;
Launch weather particle, and give a random virtual depth value Z to each weather particle, in the whole life cycle of described particle, described virtual depth value Z remains unchanged;
The position of particle is judged, if be positioned at outside existence region, then destroys; If not, then according to the size of the virtual depth value Z of described particle, obtain particle size and the motion state of actual displayed;
The position of particle is judged, to play up if be positioned at outside region and to be positioned at existence region, then cutting out; Play up region if be positioned at, then carry out playing up process.
5. the display packing of weather particle according to claim 4, it is characterized in that: in described existence region, be also provided with an emitting area, described weather particle is launched from described emitting area.
6. the display packing of weather according to claim 4, is characterized in that: described existence region is nine grids; Describedly play up the central square that region is positioned at described nine grids, and described in play up region be current display area.
7. the display packing of weather particle according to claim 4, it is characterized in that: be first obtain zoom factor f (Z) according to the virtual depth value Z of weather particle according to the size of particle of virtual depth value Z acquiring size actual displayed and the step of motion state, again according to this zoom factor f (Z), scale transformation is carried out to the size of each weather particle and kinematic parameter, obtains size and the motion state of the particle of actual displayed.
8. the display packing of weather particle according to claim 7, is characterized in that: the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; When carrying out scale transformation to the size of each weather particle and kinematic parameter, specifically the size of each weather particle is multiplied with zoom factor f (Z) respectively with kinematic parameter.
9. a weather particle display device, is characterized in that: comprise
Depth value generation unit, for giving a random virtual depth value Z to each weather particle;
Particle size display unit, for the size of the virtual depth value Z according to described particle, obtains the particle size of actual displayed;
Particles Moving status display unit, for the size of the virtual depth value Z according to described particle, obtains the Particles Moving state of actual displayed; Wherein, in the whole life cycle of this particle, described virtual depth value Z remains unchanged.
10. weather particle display device according to claim 9, it is characterized in that: also comprise a unit for scaling, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.
11. weather particle display device according to claim 9, is characterized in that: the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; The size of each weather particle, when carrying out scale transformation to the size of each weather particle and kinematic parameter, is specifically multiplied with zoom factor f (Z) with kinematic parameter by described unit for scaling respectively.
12. 1 kinds of weather particle display device, is characterized in that: comprising:
Area generation unit, for generating an existence region, and a generation respectively emitting area and in this existence region plays up region;
Transmitter unit, in order to launch weather particle;
Depth value generation unit, for giving a random virtual depth value Z to each weather particle;
Destroy unit, be positioned at the extra-regional weather particle of existence in order to destroy;
Particle size display unit, for the size of the virtual depth value Z according to described particle, obtains the particle size of actual displayed;
Particles Moving status display unit, for the size of the virtual depth value Z according to described particle, obtains the Particles Moving state of actual displayed; Wherein, in the whole life cycle of this particle, described virtual depth value Z remains unchanged;
Cut out unit, in order to cut out be positioned at play up outside region and be positioned at existence region weather particle;
Rendering unit, in order to play up the weather particle entering and play up in region.
13., according to the display device of weather particle described in claim 12, is characterized in that: described existence region is nine grids; Describedly play up the central square that region is positioned at nine grids, and this to play up region be current display screen.
14. according to the display device of weather particle described in claim 12, it is characterized in that: also comprise a unit for scaling, for the virtual value size Z according to weather particle, obtain zoom factor f (Z), and according to this zoom factor f (Z), respectively scale transformation is carried out to the size of each weather particle and kinematic parameter, and scale transformation result is sent to particle size display unit and Particles Moving status display unit respectively.
15., according to weather particle display device described in claim 14, is characterized in that: the scope of described virtual depth value Z is 0 ~ 1, described zoom factor f (Z)=1-Z; The size of each weather particle, when carrying out scale transformation to the size of each weather particle and kinematic parameter, is specifically multiplied with zoom factor f (Z) with kinematic parameter by described unit for scaling respectively.
CN201410568861.XA 2014-10-22 2014-10-22 A kind of display methods and its display device of weather particle Active CN104392475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410568861.XA CN104392475B (en) 2014-10-22 2014-10-22 A kind of display methods and its display device of weather particle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410568861.XA CN104392475B (en) 2014-10-22 2014-10-22 A kind of display methods and its display device of weather particle

Publications (2)

Publication Number Publication Date
CN104392475A true CN104392475A (en) 2015-03-04
CN104392475B CN104392475B (en) 2018-06-15

Family

ID=52610373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410568861.XA Active CN104392475B (en) 2014-10-22 2014-10-22 A kind of display methods and its display device of weather particle

Country Status (1)

Country Link
CN (1) CN104392475B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540168A (en) * 2018-11-06 2019-03-29 斑马网络技术有限公司 Vehicular map weather display methods, device, storage medium and electronic equipment
CN110473279A (en) * 2019-08-22 2019-11-19 网易(杭州)网络有限公司 A kind of weather particle renders method, apparatus, computer equipment and storage medium
CN111367605A (en) * 2020-02-28 2020-07-03 珠海豹趣科技有限公司 Raindrop special effect display method and device and computer readable storage medium
CN113368497A (en) * 2021-05-20 2021-09-10 广州三七互娱科技有限公司 Weather particle rendering method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068386A1 (en) * 2006-09-14 2008-03-20 Microsoft Corporation Real-Time Rendering of Realistic Rain
CN102542583A (en) * 2010-12-24 2012-07-04 北京金山软件有限公司 Method and device for displaying ambient effect in two-dimensional image
CN103473802A (en) * 2013-08-30 2013-12-25 福建天晴数码有限公司 Global weather simulation method based on particle system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068386A1 (en) * 2006-09-14 2008-03-20 Microsoft Corporation Real-Time Rendering of Realistic Rain
CN102542583A (en) * 2010-12-24 2012-07-04 北京金山软件有限公司 Method and device for displaying ambient effect in two-dimensional image
CN103473802A (en) * 2013-08-30 2013-12-25 福建天晴数码有限公司 Global weather simulation method based on particle system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PIERRE ROUSSEAU ET AL.: "Realistic real-time rain rendering", 《COMPUTERS & GRAPHICS》 *
刘宇: "J2ME游戏的通用图形特效库实现及优化", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *
李欢 等: "3D GIS 环境下雨雪天气实时仿真", 《中国图象图形学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540168A (en) * 2018-11-06 2019-03-29 斑马网络技术有限公司 Vehicular map weather display methods, device, storage medium and electronic equipment
CN110473279A (en) * 2019-08-22 2019-11-19 网易(杭州)网络有限公司 A kind of weather particle renders method, apparatus, computer equipment and storage medium
CN110473279B (en) * 2019-08-22 2023-04-28 网易(杭州)网络有限公司 Weather particle rendering method and device, computer equipment and storage medium
CN111367605A (en) * 2020-02-28 2020-07-03 珠海豹趣科技有限公司 Raindrop special effect display method and device and computer readable storage medium
CN113368497A (en) * 2021-05-20 2021-09-10 广州三七互娱科技有限公司 Weather particle rendering method and device and electronic equipment

Also Published As

Publication number Publication date
CN104392475B (en) 2018-06-15

Similar Documents

Publication Publication Date Title
CN104392475A (en) Weather particle display method and display device thereof
EP3631602B1 (en) Methods and systems for customizing virtual reality data
JP7308088B2 (en) Parallel filling method and apparatus
JP2015523886A (en) Dynamic allocation of drawing resources in cloud game systems
CN1975747A (en) Automatic generating method and apparatus for RPG game scene path
JP2005293576A5 (en)
US10255949B2 (en) Methods and systems for customizing virtual reality data
CN102855654B (en) Super-large-scale weather effect rendering method
CN104050708A (en) 3D game engine LOD system achievement method
CN103405912A (en) Three-dimensional simulation game scene experience system
CN106570926B (en) Efficient particle cloud layer method for drafting in a kind of Flight Scene Simulation
KR102441514B1 (en) Hybrid streaming
CN104958900A (en) Game engine system and call method for exploiting 2D scene and 3D role
CN104751506A (en) Cluster rendering method and equipment for realizing three-dimensional graphic and image
CN107886574B (en) Global rain simulation method based on particle system
CN104376586A (en) Processing methods and processing device for 2D game weather effect
CN103544727A (en) Scenario rendering and optimizing method, system and mobile terminal based on predict braches
CN104392472A (en) 2D game weather effect processing method and processing device thereof
CN100444203C (en) Method and system of drawing lawn in 3D game
Kohek et al. Interactive Large‐Scale Procedural Forest Construction and Visualization Based on Particle Flow Simulation
CN105825024B (en) A method of realizing coke-oven plant's blasting condensation workshop section cooperating type three-dimensional artificial
CN102438108B (en) Film processing method
CN102855653A (en) Large-scale three-dimensional animation figure rendering system and application thereof
CN1584907A (en) Artificial game system and method for combining geographic information
JP2006285510A (en) Program, information storage medium, and image generation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant