CN108492351B - Picture display process, device and readable medium based on three-dimensional virtual environment - Google Patents
Picture display process, device and readable medium based on three-dimensional virtual environment Download PDFInfo
- Publication number
- CN108492351B CN108492351B CN201810238450.2A CN201810238450A CN108492351B CN 108492351 B CN108492351 B CN 108492351B CN 201810238450 A CN201810238450 A CN 201810238450A CN 108492351 B CN108492351 B CN 108492351B
- Authority
- CN
- China
- Prior art keywords
- weather
- dimensional
- weather pattern
- battle
- pattern
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000008569 process Effects 0.000 title claims abstract description 36
- 230000015654 memory Effects 0.000 claims description 31
- 238000003860 storage Methods 0.000 claims description 31
- 230000005540 biological transmission Effects 0.000 claims description 18
- 230000002776 aggregation Effects 0.000 claims description 4
- 238000004220 aggregation Methods 0.000 claims description 4
- 241000208340 Araliaceae Species 0.000 claims description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 3
- 235000008434 ginseng Nutrition 0.000 claims description 3
- 239000011800 void material Substances 0.000 claims 1
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000002860 competitive effect Effects 0.000 description 3
- 230000004927 fusion Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000012769 display material Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- YBZUGUWOQLUNKD-PMPSAXMXSA-N Palustrine Chemical compound C1C(=O)NCCCCNCCCN2[C@H]([C@@H](O)CC)CC=C[C@@H]21 YBZUGUWOQLUNKD-PMPSAXMXSA-N 0.000 description 1
- YMALJVLSPODBKM-UHFFFAOYSA-N Palustrine Natural products C1C(=O)NCCCCNCCCN2C(C(O)CC)C=CCC21 YMALJVLSPODBKM-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/005—General purpose rendering architectures
Abstract
This application discloses a kind of picture display process based on three-dimensional virtual environment, device and readable mediums, are related to three-dimensional virtual environment field.This method comprises: receiving the battle commencing signal for the three-dimensional battle that the first client is sent;According to battle commencing signal, select the first weather pattern as display weather pattern in weather pattern library;Corresponding first weather parameters of first weather pattern is sent to client corresponding with three-dimensional battle.It is fought for each innings of three-dimensional, by selecting the first weather pattern as display weather pattern in weather pattern library, and corresponding first weather parameters of first weather pattern is sent to client, client can show weather display elements corresponding with first weather pattern according to first weather parameters in the picture of three-dimensional virtual environment, the display content for enriching client avoids the more single problem of display content in client.
Description
Technical field
The invention relates to three-dimensional virtual environment field, in particular to a kind of picture based on three-dimensional virtual environment is aobvious
Show method, apparatus and readable medium.
Background technique
Three-dimensional virtual environment is the virtual environment constructed based on three dimensional computer graphics.Three are based on presently, there are very much
Tie up application program of virtual environment, such as the online tactics competitive game of more people, military three-dimensional artificial program etc..
In the display picture method based on three-dimensional virtual environment, user can be by client in three-dimensional virtual environment
Virtual objects controlled, such as: control virtual objects are run in three-dimensional virtual environment, are shot, and three-dimensional
Different landform can be generated in environment at random as the three-dimensional virtual environment picture shown in the client, such as: Plain environment,
Room area environment, bomb shelter environment, Beach environment, hillside environment, palustrine etc..
Since the type of landform is limited, the environment that three-dimensional virtual environment is shown in the client is carried out for landform
The mode of change causes the display picture in client more single.
Summary of the invention
The embodiment of the present application provides a kind of picture display process based on three-dimensional virtual environment, device and readable medium,
It can solve the more single problem of the three-dimensional virtual environment picture shown in client.The technical solution is as follows:
On the one hand, a kind of picture display process based on three-dimensional virtual environment is provided, this method comprises:
The battle commencing signal of the three-dimensional battle of the first client transmission is received, three-dimensional battle is at least two
The single innings of battle mode that virtual role is raced in three-dimensional virtual environment, the first client are empty for controlling at least two
The client of the first virtual role in quasi- role;
According to battle commencing signal, select the first weather pattern as display weather pattern, display in weather pattern library
Weather pattern includes at least one weather class in weather pattern library for determining weather parameters corresponding with three-dimensional battle
Type;
Corresponding first weather parameters of first weather pattern is sent to client corresponding with three-dimensional battle, first
Weather parameters is used to indicate client and shows the first three-dimensional including weather display elements corresponding with the first weather pattern
Environment picture.
On the other hand, a kind of picture display process based on three-dimensional virtual environment is provided, this method comprises:
Display battle starting image is fought and shows battle beginning control on starting image;
It receives and starts the click signal on control in battle;
The battle commencing signal that three-dimensional is fought is sent to server according to click signal, three-dimensional battle is at least
The single innings of battle mode that two virtual roles are raced in three-dimensional virtual environment according to the mode of playing a game;
The first weather parameters that server is sent is received, the first weather parameters is parameter corresponding with the first weather pattern;
It shows the first three-dimensional virtual environment picture corresponding with three-dimensional battle, is wrapped in the first three-dimensional virtual environment picture
Include weather display elements corresponding with the first weather pattern.
On the other hand, a kind of picture display device based on three-dimensional virtual environment is provided, which includes:
Receiving module, the battle commencing signal of the three-dimensional battle for receiving the transmission of the first client, three-dimensional
Battle is the single innings of battle mode that at least two virtual roles are raced in three-dimensional virtual environment, and the first client is to be used for
Control the client of the first virtual role at least two virtual roles;
Selecting module, for selecting the first weather pattern as display in weather pattern library according to battle commencing signal
Weather pattern, display weather pattern include extremely in weather pattern library for determining weather parameters corresponding with three-dimensional battle
A few weather pattern;
Sending module, it is corresponding with three-dimensional battle for being sent to corresponding first weather parameters of the first weather pattern
Client, the first weather parameters is used to indicate client and shows including weather display elements corresponding with the first weather pattern
First three-dimensional virtual environment picture.
On the other hand, a kind of picture display device based on three-dimensional virtual environment is provided, which includes:
Display module shows battle on battle starting image and starts control for showing battle starting image;
Receiving module starts the click signal on control in battle for receiving;
Signal transmitting module, for sending the battle commencing signal that three-dimensional is fought to server according to click signal,
Three-dimensional battle is the single innings of battle that at least two virtual roles are raced in three-dimensional virtual environment according to the mode of playing a game
Mode;
Receiving module, is also used to receive the first weather parameters of server transmission, and the first weather parameters is and the first weather
The corresponding parameter of type;
Display module, for showing the first three-dimensional virtual environment picture corresponding with three-dimensional battle, first is three-dimensional empty
It include weather display elements corresponding with the first weather pattern in the picture of near-ring border.
On the other hand, a kind of server is provided, server includes processor and memory, is stored at least in memory
One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, at least a Duan Chengxu, code set or instruction set
It is loaded by processor and is executed to realize as any based on three-dimensional in above-mentioned the application first aspect and its optional embodiment
The picture display process of virtual environment.
On the other hand, a kind of terminal is provided, terminal includes processor and memory, is stored at least one in memory
Instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, at least a Duan Chengxu, code set or instruction set by
Reason device is loaded and is executed to realize as any based on three-dimensional in above-mentioned the application second aspect and its optional embodiment
The picture display process of environment.
On the other hand, a kind of computer readable storage medium is provided, at least one instruction, extremely is stored in storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, code set or instruction set are added by processor
Carry and execute with realize such as in above-mentioned the application first aspect and its optional embodiment it is any based on three-dimensional virtual environment
Picture display process.
On the other hand, a kind of computer program product is provided, when computer program product is run on computers, is made
Computer is obtained to execute such as any picture based on three-dimensional virtual environment in above-mentioned the application first aspect and its optional embodiment
Plane display method.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
It is fought for each innings of three-dimensional, by selecting the first weather pattern as display weather in weather pattern library
Type, and corresponding first weather parameters of first weather pattern is sent to client, client can be first day according to this
Gas parameter shows weather display elements corresponding with first weather pattern, i.e., not for the three-dimensional battle display of different offices
With weather display elements, enrich the display content of client, avoid that the display content in client is more single to ask
Topic.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the reality for the picture display process based on three-dimensional virtual environment that one exemplary embodiment of the application provides
Apply environment schematic;
Fig. 2 is the stream for the picture display process based on three-dimensional virtual environment that one exemplary embodiment of the application provides
Cheng Tu;
Fig. 3 is the picture display process based on three-dimensional virtual environment that another exemplary embodiment of the application provides
Flow chart;
Fig. 4 is the user interface schematic diagram for the terminal that one exemplary embodiment of the application provides;
Fig. 5 is the first three-dimensional virtual environment picture for showing in client that one exemplary embodiment of the application provides
Schematic diagram;
Fig. 6 is the second three-dimensional virtual environment picture for showing in client that one exemplary embodiment of the application provides
Schematic diagram;
Fig. 7 is the picture display process based on three-dimensional virtual environment that another exemplary embodiment of the application provides
Flow chart;
Fig. 8 is the knot for the picture display device based on three-dimensional virtual environment that one exemplary embodiment of the application provides
Structure block diagram;
Fig. 9 is the picture display device based on three-dimensional virtual environment that another exemplary embodiment of the application provides
Structural block diagram;
Figure 10 is the structural block diagram for the server that one exemplary embodiment of the application provides;
Figure 11 is the structural block diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Firstly, being explained to noun involved in the embodiment of the present application:
Three-dimensional virtual environment: three-dimensional virtual environment is the running environment provided when application program is run at the terminal, is base
In the constructed virtual environment of three dimensional computer graphics.The three-dimensional virtual environment can be the simulated environment to real world,
It is also possible to the semifictional environment of half emulation, is also possible to pure imaginary environment.
Three-dimensional battle: three-dimensional battle is that at least two virtual roles are raced in three-dimensional virtual environment
Single innings of battle mode.Optionally, as start time at the time of battle is added using first client in three-dimensional battle, with
As finish time at the time of the last one client exits battle, each client is used to control one in three-dimensional virtual environment
A or multiple virtual roles.Optionally, the sports mode of three-dimensional battle may include single battle mode, double group
Battle mode or four National People's Congress's group battle modes, the battle mode that the embodiment of the present application fights three-dimensional is without limitation.
In conjunction with a specific citing, three-dimensional battle is the battle in tactics competitive game, as first client
When endpoint hits beginning game, server receives the beginning game signals of client transmission, and starts game signals according to this
One innings of three-dimensional battle is created, the client for starting game is clicked later, the client of server creation can be automatically added to
End, until the three-dimensional play a game in the quantity of virtual role reach preset quantity.
Virtual role: virtual role refers to the role to race in the three-dimensional virtual environment of three-dimensional battle.It can
Selection of land, the virtual role can be by operating the role controlled on the client, be also possible to exist by training setting
Artificial intelligence (Artificial Intelligence, AI) in three-dimensional battle, can also be and be arranged in three-dimensional pair
Non-player role (Non-Player Character, NPC) in war.Optionally, which is in three-dimensional virtual environment
The middle virtual portrait raced.Optionally, the quantity of the virtual role in three-dimensional battle can be default setting,
It is also possible to according to the quantity determination that the client fought is added.
Weather pattern library: weather pattern library refer to include at least one weather pattern library, optionally, the weather pattern
Include: in library fine day, burning sun, light rain, heavy rain, thunderstorm, thunderstorm, the cloudy day, strong wind, cloudy, moisture, haze, dense fog, in typhoon
It is at least one.
Optionally, the weather pattern library can also be fought according to three-dimensional in time divided, three-dimensional pair
Different time in war corresponds to different weather pattern libraries, and schematically, the morning 8:00 in three-dimensional battle is to afternoon 17:
00 corresponding first weather pattern library includes: at least one of fine day, burning sun, thunderstorm, thunderstorm, cloudy day, haze, dense fog, and three
In the virtual battle of dimension afternoon 17:00 to 8:00 in morning corresponding second weather pattern library include: thunderstorm, it is thunderstorm, the cloudy day, big
At least one of wind, moisture, typhoon.Wherein, the beginning that the time in three-dimensional battle can be fought according to three-dimensional
Moment and real time are determined, such as: being the morning of this innings of three-dimensional battle at the beginning of being fought with this innings of three-dimensional
Upper 8:00 is to carry out to the time in three-dimensional battle within 1 hour in three-dimensional battle with one minute in the real time
It calculates.
Optionally, the weather pattern library can also be fought according to three-dimensional in landform divided, different landform
Corresponding different weather pattern library, such as: the corresponding weather pattern library A of slope terrain includes: fine day, burning sun, thunderstorm, room area landform
Corresponding weather pattern library B includes: thunderstorm, cloudy day, haze.
Display weather pattern: display weather pattern refers to the weather in the three-dimensional virtual environment shown in the client
The corresponding weather pattern of display elements.The display weather pattern is that server carries out respectively according to the battle of the three-dimensional of different offices
Determining.
Weather display elements: weather display elements refer to the three-dimensional virtual environment shown according to display weather pattern in terminal
The display elements for including in picture, such as: when showing weather pattern is light rain, weather display elements include being shown in three-dimensional
Raindrop in environment picture, the weather display elements can also include weather changing to the physical factor in three-dimensional virtual environment
Become, such as: when showing weather pattern is light rain, which can also include the ground drenched by rainwater.
Schematically, for different weather patterns, which can be with reference to such as following table one:
Table one
Weather pattern | Weather display elements |
Fine day | Its aerial sun |
Burning sun | Its aerial sun, withered plant |
Light rain | Raindrop, the ground drenched by rainwater |
Heavy rain | Raindrop, road surface cross the ponding of instep |
Thunderstorm | The aerial lightning in raindrop, day |
Thunderstorm | Its aerial lightning |
Cloudy day | Its aerial black clouds |
Haze | It is in the dust of yellow in environment |
Dense fog | White fog in environment |
Typhoon | Blown askew branch |
In the following, the noun in conjunction with involved in above-mentioned the embodiment of the present application is illustrated the embodiment of the present application, please join first
Fig. 1 is examined, Fig. 1 is the implementation for the picture display process based on three-dimensional virtual environment that one exemplary embodiment of the application provides
Environment schematic, as shown in Figure 1, the implementation environment includes: server 11, terminal 12 and communication network 13;
Server 11 is used to provide three-dimensional battle for client, and is increased in three-dimensional battle according to client
Virtual role, optionally, server 11 can simultaneously provide more innings of three-dimensional battles, and to every innings of three-dimensional pair
The parameter of war is configured, and is recorded to the data in every innings of three-dimensional battle, and optionally, server 11 is also used to
The display weather pattern of three-dimensional battle is determined, and the weather parameters for determining obtained display weather pattern is sent
To terminal 12, optionally, which is also used to be determined the advance notice weather pattern that three-dimensional is fought.Optionally,
It can simultaneously include more innings of three-dimensional battles in server 11.Optionally, server 11 can be a server, can also be with
It is the server cluster being made of multiple servers.
Optionally, weather parameters can be sent to terminal 12 by communication network 13 by server 11, the communication network 13
It can be cable network and be also possible to wireless network.
Installation is provided with the client of three-dimensional virtual environment in terminal 12, what which was used to be sent according to server 11
Weather parameters shows three-dimensional virtual environment picture, includes the corresponding weather display member of weather parameters in the three-dimensional virtual environment picture
Element.It optionally, may include the corresponding virtual objects of multiple client in one innings of three-dimensional battle, i.e. one innings of three-dimensional
Battle can correspond to multiple client.Schematically, as shown in Figure 1, in the implementation environment include terminal 121, terminal 122 and
Terminal 123, wherein the client in client and terminal 122 in terminal 121 is corresponding with three-dimensional battle A, terminal 123
In client and three-dimensional battle B it is corresponding, wherein it is two innings different three that three-dimensional, which fights A and three-dimensional battle B,
Dimension is virtual to be fought, and the difference between two innings of three-dimensionals battles includes: initial time, map, the number of virtual role, sports
At least one of mode, corresponding client can be in advance with the quantity that every innings of three-dimensional fights corresponding client
Setting.Optionally, which can be desktop computer, laptop, mobile phone etc., this is not added in the embodiment of the present application
To limit.
The implementation environment of picture display process in conjunction with described in above-mentioned Fig. 1 based on three-dimensional virtual environment, proposes the application
The picture display process based on three-dimensional virtual environment supplied is illustrated, and is applied in this way in server 11 as shown in Figure 1
In for be illustrated, as shown in Fig. 2, the picture display process includes:
Step 201, the battle commencing signal for the three-dimensional battle that the first client is sent is received.
Three-dimensional battle is the single innings of battle mould that at least two virtual roles are raced in three-dimensional virtual environment
Formula, optionally, three-dimensional battle are single innings of battle mode in tactics competitive game, i.e. the virtual role of preset quantity exists
In three-dimensional virtual environment, fought using single innings that virtual firearms are raced.
Optionally, which is the visitor for controlling the first virtual role in above-mentioned at least two virtual role
Family end.Optionally, which can be first client that three-dimensional battle is added, i.e., as first client
It holds when sending battle commencing signal to server, server creates this innings of three-dimensional according to the battle commencing signal and fights, and
Three-dimensional battle is added in first client.
Step 202, according to battle commencing signal, select the first weather pattern as display weather class in weather pattern library
Type.
The display weather pattern is used to determine weather parameters corresponding with three-dimensional battle, includes in the weather pattern library
At least one weather pattern includes: optionally fine day, burning sun, light rain, heavy rain, thunderstorm, thunderstorm, yin in the weather pattern library
It, at least one of strong wind, cloudy, moisture, haze, dense fog, typhoon.
Optionally, which is when server and terminal carry out data interaction, for identifying the ginseng of weather pattern
Number, schematically, when server selects the first weather pattern as display type in weather pattern library, it is first determined this
The weather parameters of one weather pattern.
Optionally, server can randomly choose a weather pattern as the first weather pattern in weather pattern library,
And the first weather pattern is determined as to show weather pattern;Or server can select currently according to default weather corresponding relationship
Time corresponding weather pattern as the first weather pattern, the default weather corresponding relationship be used to indicate time and weather pattern it
Between corresponding relationship.Schematically, which can be the weather pattern stored in a tabular form and time
Corresponding relationship, be also possible to functional form store according to input parameter calculate weather pattern corresponding relationship.
Step 203, corresponding first weather parameters of the first weather pattern is sent to visitor corresponding with three-dimensional battle
Family end.
Optionally, which is used to indicate client corresponding with three-dimensional battle and shows including with first
First three-dimensional virtual environment picture of the corresponding weather display elements of weather pattern.
Optionally, should include in client corresponding with three-dimensional battle above-mentioned first client and with addition this three
Tie up other clients virtually fought.
In conclusion picture display process provided in this embodiment, fights for each innings of three-dimensional, by weather
Select the first weather pattern as display weather pattern in typelib, and by corresponding first weather parameters of first weather pattern
It is sent to client, client can show weather display member corresponding with first weather pattern according to first weather parameters
Element enriches the display content of client, avoids the more single problem of display content in client.
Fig. 3 is the picture display process based on three-dimensional virtual environment that another exemplary embodiment of the application provides
Flow chart is illustrated for being applied in implementation environment as shown in Figure 1 in this way, as shown in figure 3, the picture display side
Method includes:
Step 301, the first client display battle starting image.
Optionally, battle is shown on the battle starting image starts control.
Step 302, the first client, which is received, starts the click signal on control in battle.
Optionally, which starts control for providing the function that three-dimensional battle is added in application to client.Signal
Property, referring to FIG. 4, showing battle in battle starting image 41 starts control 42, but user starts control in the battle
After being clicked on 42, client, which is received, starts on control 42 click signal in battle.The click signal can be by outside
The signal of equipment input, such as: mouse, control touch tablet etc..
Step 303, the first client sends the battle commencing signal that three-dimensional is fought to server according to click signal.
Optionally, when the display screen of the terminal where the first client is touch screen, which can also be connect
The touch signal being received on battle beginning control, and the battle that three-dimensional is fought is sent to server according to the touch signal and is opened
Beginning signal.
Three-dimensional battle is that at least two virtual roles are raced in three-dimensional virtual environment according to the mode of playing a game
Single innings of battle mode.
Step 304, server receives the battle commencing signal for the three-dimensional battle that the first client is sent.
Three-dimensional battle is the single innings of battle mould that at least two virtual roles are raced in three-dimensional virtual environment
Formula, first client are the clients for controlling the first virtual role in above-mentioned at least two virtual role.
Optionally, which is first client fought into the three-dimensional, i.e. server is receiving
To after the battle commencing signal of the first client, one innings of three-dimensional battle is re-created, and first client is added
This innings of newly created three-dimensional battle.
Optionally, the quantity of the virtual role in three-dimensional battle can be preset quantity.
When the quantity of the virtual role in server in three-dimensional battle is less than preset quantity, that is, it is empty that three-dimensional is added
When the quantity of the client of quasi- battle is less than preset quantity, server can be in the battle commencing signal for receiving client transmission
Afterwards, by the client be added to above-mentioned virtual role quantity less than preset quantity three-dimensional battle in, alternatively, server
It is empty that one innings of new three-dimensional can be generated according to the battle commencing signal after the battle commencing signal for receiving client transmission
Quasi- battle.Schematically, it is illustrated so that preset quantity is 100 as an example, when three-dimensional fights the quantity of the client in A not
When to 100, server is added to three-dimensional battle after the battle commencing signal for receiving client transmission, by the server
In A, when the client terminal quantity in three-dimensional battle A reaches 100, server starts in the battle for receiving client transmission
After signal, three-dimensional battle B is re-created, and the client is added in three-dimensional battle B.
Step 305, server selects the first weather pattern as display according to battle commencing signal in weather pattern library
Weather pattern.
Optionally, after server determines the first weather pattern in weather pattern library, it is first determined first weather pattern
The first weather parameters, first weather parameters be used in the data interaction of server and terminal to the first weather pattern carry out
Mark.
The display weather pattern is for determining weather parameters corresponding with the battle of preceding switch three-dimensional is worked as, the weather pattern
In library include at least one weather pattern, optionally, include: in the weather pattern library fine day, burning sun, light rain, heavy rain, thunderstorm,
At least one of thunderstorm, cloudy day, strong wind, cloudy, moisture, haze, dense fog, typhoon.
Optionally, server can randomly choose a weather pattern as the first weather pattern in weather pattern library,
And the first weather pattern is determined as to show weather pattern;The current time of the available three-dimensional battle of person's server,
Select the corresponding weather pattern of current time as the first weather pattern, the default weather according to default weather corresponding time relationship
Corresponding time relationship is used to indicate the corresponding relationship between time and weather pattern;Alternatively, server can determine three-dimensional
The map used is fought, includes at least one landform in the map, the determining vital ground from least one landform, and according to
The corresponding relationship of default weather landform, selects weather pattern corresponding with current key landform as the first weather pattern, wherein
The vital ground is the landform for being populated with most virtual roles, and default weather landform corresponding relationship is used to indicate landform and weather class
Corresponding relationship between type.
Schematically, which can be the correspondence of the weather pattern and time that store in a tabular form
Relationship is also possible to the corresponding relationship that weather pattern is calculated according to input parameter stored with functional form.
First, schematically, presetting weather corresponding time relationship when this is the weather stored in a tabular form and time
When corresponding relationship, the storage form of the table please refers to following table two:
Table two
If current time is 16:20, the corresponding weather of the current time is the cloudy day.It is worth noting that, the above-mentioned time
For the time in three-dimensional battle, wherein at the beginning of the time in three-dimensional battle can be fought according to three-dimensional
It carves and the real time is determined, such as: being the morning of this innings of three-dimensional battle at the beginning of being fought with this innings of three-dimensional
8:00, by one minute in the real time be three-dimensional battle in 1 hour to three-dimensional battle in time carry out in terms of
It calculates.
Second, when it is the corresponding relationship stored with functional form that this, which presets weather corresponding relationship, parameter can will be inputted
The function is inputted, and exports and obtains corresponding weather pattern, such as: inputting the function for current time as input parameter, and defeated
Corresponding weather pattern is obtained out.
It optionally, can be first to crucially when what is stored in server is the corresponding relationship of vital ground and weather
Shape is determined, and corresponding weather pattern is selected from weather pattern library further according to vital ground.Wherein, vital ground can root
It is determined according to the aggregation position of virtual role, optionally, which is the landform for being populated with most virtual roles, such as:
The quantity for being gathered in the virtual role of upward slope is most, then hillside is determined as vital ground.It is determined first day according to vital ground
When gas type, the corresponding weather pattern of vital ground can be determined directly as the first weather pattern, such as: the corresponding weather in hillside
Type is the cloudy day, then the cloudy day is determined as the first weather pattern, can also closed when vital ground is corresponding with weather pattern library
A weather pattern is randomly choosed in the corresponding weather pattern library of key landform as the first weather pattern, such as: the corresponding day in hillside
Include: cloudy day, haze, fine day in gas typelib, then randomly chooses a weather pattern in the weather pattern library as first
Weather pattern.
Optionally, server can be combined with the time in landform and three-dimensional battle, true for different clients
Fixed the first different weather pattern, such as: being directed to the first client, be 9:00 when the time in three-dimensional battle, and first is objective
When landform locating for the virtual role of family end control is room area, server inquires corresponding weather pattern conduct in prestoring table
First weather pattern, schematically, this prestores form as shown in following table three:
Table three
Then corresponding to landform room area locating for above-mentioned 9:00 and virtual role can determine that fine day is for the first client
One weather pattern.
Step 306, server selects the second weather pattern as advance notice weather pattern in weather pattern library.
The advance notice weather pattern is for determining next weather parameters corresponding with three-dimensional battle.
Optionally, server can randomly choose a weather pattern as the second weather pattern in weather pattern library,
And the second weather pattern is determined as to predict weather pattern.Optionally, the method for determination of second weather pattern can also refer to
The method of determination of above-mentioned first weather pattern, and be adjusted on the corresponding relationship prestored.
Step 307, corresponding first weather parameters of the first weather pattern is sent to and three-dimensional battle pair by server
The client answered.
First weather parameters be when server and terminal carry out data interaction, for identifying the parameter of weather pattern,
Schematically, when server selects the first weather pattern as display type in weather pattern library, it is first determined this first
First weather parameters of weather pattern, such as: when first weather pattern is light rain, server determination and first weather pattern
Corresponding weather parameters is " rain ".
Optionally, which is used to indicate client corresponding with three-dimensional battle and shows including with first
First three-dimensional virtual environment picture of the corresponding weather display elements of weather pattern.
Optionally, it is somebody's turn to do client corresponding with three-dimensional battle to refer to, controls the virtual angle in three-dimensional battle
The some or all of client of color.Schematically, when first weather parameters is to carry out the time fought according to three-dimensional
When determining weather parameters, due to for each client in this innings of three-dimensional battle, three-dimensional battle when
Between be all consistent, so by this way determine the first weather parameters needs be sent to it is corresponding with three-dimensional battle entirely
Portion's client;When the first weather parameters is the weather parameters that the landform according to locating for the virtual role that client controls determines,
Due to be directed to different virtual roles, determining weather pattern is also different, thus first weather parameters be only sent to it is above-mentioned
The corresponding client of landform.
Optionally, should include in client corresponding with three-dimensional battle above-mentioned first client and with addition this three
Tie up other clients virtually fought.
Step 308, client receives the first weather parameters that server is sent.
Schematically, the first weather parameters that the server that client receives is sent is " weather type=
Rain ", then first weather pattern is " light rain ".
Step 309, client shows the first three-dimensional virtual environment picture corresponding with three-dimensional battle.
It include weather display elements corresponding with the first weather pattern in the first three-dimensional virtual environment picture.
Optionally, it is previously stored in client corresponding with weather display elements with the weather parameters of each weather pattern
Relationship, when corresponding first weather parameters of the first weather pattern that client receives server transmission, from the corresponding relationship
It is middle to search weather display elements corresponding with first weather parameters, and shown.
Schematically, by the first weather pattern be light rain for, include in the first three-dimensional virtual environment picture with it is " small
The corresponding weather display elements of rain ", such as: showing the raindrop of whereabouts in the first three-dimensional virtual environment picture, drenched by light rain
Ground etc..It is worth noting that, above-mentioned first three-dimensional virtual environment picture is not a frame picture, and refer to and first weather
The corresponding all pictures of type.
It optionally, further include the first weather prompting information, first weather prompting in the first three-dimensional virtual environment picture
Information is used to indicate the first weather pattern corresponding to the weather display elements in the first three-dimensional virtual environment picture.
It optionally, further include the second weather prompting information, second weather prompting in the first three-dimensional virtual environment picture
Information is used to predict the weather display elements shown after the first weather pattern.Optionally, which is used for
Predicting the weather display elements shown after the first weather pattern is the corresponding weather display elements of the second weather pattern.
Schematically, referring to FIG. 5, including the first prompt information 52 in the first three-dimensional virtual environment picture 51, this
One prompt information 51 is used to indicate weather class corresponding to the weather display elements in the first three-dimensional virtual environment picture 51
Type is " light rain ", further includes the second prompt information 53, second prompt information 53 in the first three-dimensional virtual environment picture 51
It is " cloudy day " corresponding weather display elements for prompting the weather display elements shown after " light rain ".
Step 310, server obtains first weather pattern and duration has been displayed.
Optionally, which includes maximum display duration, and server obtains having shown for first weather pattern
Show duration, this, which has been displayed in the first three-dimensional virtual environment picture that duration refers to that client is shown, includes and the first weather pattern pair
The duration for the weather display elements answered.
Optionally, the first weather parameters of the first weather pattern is sent to after client by server starts timing, timing
Obtained duration is that duration has been displayed in first weather pattern.
Optionally, all weather patterns in weather pattern library all include maximum display duration, alternatively, in weather pattern library
Part weather pattern include maximum display duration.
Step 311, when duration having been displayed reaching the maximum display duration of the first weather pattern, the second weather pattern is true
It is set to display weather pattern.
Optionally, when the first weather pattern is when having been displayed duration and reaching maximum display duration, server is needed client
Display weather pattern in the three-dimensional virtual environment picture shown in end is switched to the weather pattern in advance notice weather pattern,
That is, the second weather pattern is determined as to show weather pattern.
Optionally, the second weather pattern is determined as showing weather pattern, i.e., will predicts the weather pattern in weather pattern
It is determined as showing weather pattern, then, server selects third weather pattern as advance notice weather class again from weather pattern library
Type.Optionally, server can randomly choose a weather pattern as third weather pattern from weather pattern library, and should
Third weather pattern is determined as predicting weather pattern.
Schematically, in code level, duration, which has been displayed, can be used m_dwDuration expression, and maximum display duration can
To use m_dwMaxSwitchTime, wherein the corresponding numerical value of m_dwMaxSwitchTime needs to be less than m_dwDuration
Corresponding numerical value.
Step 312, corresponding second weather parameters of the second weather pattern is sent to and three-dimensional battle pair by server
The client answered.
Second weather parameters is used to indicate client and shows including weather display elements corresponding with the second weather pattern
The second three-dimensional virtual environment picture.
Optionally, it is somebody's turn to do client corresponding with three-dimensional battle to refer to, controls the virtual angle in three-dimensional battle
The some or all of client of color.Schematically, when second weather parameters is to carry out the time fought according to three-dimensional
When determining weather parameters, due to for each client in this innings of three-dimensional battle, three-dimensional battle when
Between be all consistent, so by this way determine the second weather parameters needs be sent to it is corresponding with three-dimensional battle entirely
Portion's client;When the second weather parameters is the weather parameters that the landform according to locating for the virtual role that client controls determines,
Due to be directed to different virtual roles, determining weather pattern is also different, thus second weather parameters be only sent to it is above-mentioned
The corresponding client of landform.
Step 313, client receives the second weather parameters that server is sent.
Step 314, client shows the second three-dimensional virtual environment picture corresponding with three-dimensional battle.
It include weather display elements corresponding with the second weather pattern in the second three-dimensional virtual environment picture.
Optionally, it is previously stored in client corresponding with weather display elements with the weather parameters of each weather pattern
Relationship, when corresponding second weather parameters of the second weather pattern that client receives server transmission, from the corresponding relationship
It is middle to search weather display elements corresponding with second weather parameters, and shown.Wherein, which can be
One section of code, client inquires code corresponding with the weather parameters according to weather parameters, and executes to this section of code, can
Selection of land, client may call upon display corresponding with the weather pattern element prestored during executing to code
Material, and by display material rendering in picture.
It optionally, further include third weather prompting information, the third weather prompting in the second three-dimensional virtual environment picture
Information is for prompting the second weather pattern corresponding to the weather display elements in the second three-dimensional virtual environment picture.It is optional
, it further include the 4th weather prompting information in the second three-dimensional virtual environment picture, the 4th weather prompting information is for prompting
The weather display elements shown after second weather pattern are the corresponding weather display elements of third weather pattern.
It schematically, include third weather prompting in the second three-dimensional virtual environment picture 61 with reference to Fig. 6 incorporated by reference to Fig. 5
Information 62, the third weather prompting information 62 is for prompting the weather display elements institute in the second three-dimensional virtual environment picture 61
It is advance notice weather pattern in Fig. 5 that corresponding weather pattern, which is the display weather pattern in " cloudy day " namely Fig. 6, the two or three
Further include the 4th weather prompting information 63 in dimension virtual environment picture 61, the 4th weather prompting information for prompt " cloudy day " it
The weather display elements shown afterwards are third weather pattern " thunderstorm " corresponding weather display elements.
Optionally, when the second weather pattern is after having been displayed duration and reach the maximum display duration of the second weather pattern, then
The weather pattern predicted in weather pattern is determined as to show weather pattern, this process repeats until the progress played a game is
Terminate.
Optionally, the picture that client is shown is drawn by the first three-dimensional virtual environment screen switching to the second three-dimensional virtual environment
When face, it can be and slowly switched over by way of transition.It schematically, include small in the first three-dimensional virtual environment picture
The corresponding weather display elements of rain include cloudy corresponding weather display elements in the second three-dimensional virtual environment picture, then client
When end switches between the first three-dimensional virtual environment picture and the second three-dimensional virtual environment picture, whereabouts can be gradually decreased
Raindrop quantity after, slowly increase three-dimensional virtual environment in black clouds quantity.
In conclusion picture display process provided in this embodiment, fights for each innings of three-dimensional, by weather
Select the first weather pattern as display weather pattern in typelib, and by corresponding first weather parameters of first weather pattern
It is sent to client, client can show weather display member corresponding with first weather pattern according to first weather parameters
Element enriches the display content of client, avoids the more single problem of display content in client.
Picture display process provided in this embodiment, by selecting the second weather pattern as advance notice in weather pattern library
Weather pattern, and having been displayed after duration reaches maximum display duration in the first weather pattern, display weather pattern is switched to
Second weather pattern further enriches the display content of client, increases the three-dimensional virtual environment picture that client is shown
Interest.
In an alternative embodiment, in showing that the weather pattern in weather pattern can also be fought according to three-dimensional
The quantity of client switch over, referring to FIG. 7, Fig. 7 be another exemplary embodiment of the application provide based on three
The picture display process of virtual environment is tieed up, which includes:
Step 701, the first client display battle starting image.
Optionally, battle is shown on the battle starting image starts control.
Step 702, client, which is received, starts the click signal on control in battle.
Optionally, which starts control for providing the function that three-dimensional battle is added in application to client.
Step 703, client sends the battle commencing signal that three-dimensional is fought to server according to click signal.
Optionally, which, which can also receive, starts the touch signal on control in battle, and according to the touch
Signal sends the battle commencing signal that three-dimensional is fought to server.
Three-dimensional battle is that at least two virtual roles are raced in three-dimensional virtual environment according to the mode of playing a game
Single innings of battle mode.
Step 704, server receives the battle commencing signal for the three-dimensional battle that the first client is sent.
Three-dimensional battle is the single innings of battle mould that at least two virtual roles are raced in three-dimensional virtual environment
Formula, first client are the clients for controlling the first virtual role in above-mentioned at least two virtual role.Optionally,
First client can be first client fought into the three-dimensional.
Optionally, the quantity of the virtual role in three-dimensional battle can be preset quantity, when there are three in server
When the quantity of virtual role in the virtual battle of dimension is less than preset quantity, server can be in pair for receiving client transmission
Fight commencing signal after, by the client be added to above-mentioned quantity less than preset quantity three-dimensional battle in, alternatively, server
One innings of new three-dimensional can also be generated according to the battle commencing signal after the battle commencing signal for receiving client transmission
Virtual battle.
Step 705, server selects the first weather pattern as display according to battle commencing signal in weather pattern library
Weather pattern.
Optionally, after server determines the first weather pattern in weather pattern library, it is first determined first weather pattern
The first weather parameters, first weather parameters be used in the data interaction of server and terminal to the first weather pattern carry out
Mark.
The display weather pattern is for determining weather parameters corresponding with the battle of preceding switch three-dimensional is worked as, the weather pattern
In library include at least one weather pattern, optionally, include: in the weather pattern library fine day, burning sun, light rain, heavy rain, thunderstorm,
At least one of thunderstorm, cloudy day, strong wind, cloudy, moisture, haze, dense fog, typhoon.
Optionally, server can randomly choose a weather pattern as the first weather pattern in weather pattern library,
And the first weather pattern is determined as to show weather pattern;The current time of the available three-dimensional battle of person's server,
Select the corresponding weather pattern of current time as the first weather pattern, the default weather according to default weather corresponding time relationship
Corresponding time relationship is used to indicate the corresponding relationship between time and weather pattern;Alternatively, server can determine three-dimensional
The map used is fought, includes at least one landform in the map, the determining vital ground from least one landform, and according to
Default weather landform corresponding relationship, selects weather pattern corresponding with current key landform as the first weather pattern, wherein should
Vital ground is the landform for being populated with most virtual roles, and default weather landform corresponding relationship is used to indicate landform and weather pattern
Between corresponding relationship.
Schematically, which can be the correspondence of the weather pattern and time that store in a tabular form
Relationship is also possible to the corresponding relationship that weather pattern is calculated according to input parameter stored with functional form.
First, schematically, presetting weather corresponding time relationship when this is the weather stored in a tabular form and time
When corresponding relationship, the storage form of the table please refers to following table four:
Table four
Time | Weather pattern |
0:00-4:00 | Thunderstorm |
4:00-8:00 | Dense fog |
8:00-12:00 | Fine day |
12:00-16:00 | Burning sun |
16:00-20:00 | Cloudy day |
20:00-24:00 | Haze |
If current time is 16:20, the corresponding weather of the current time is the cloudy day.It is worth noting that, the above-mentioned time
For the time in three-dimensional battle, wherein at the beginning of the time in three-dimensional battle can be fought according to three-dimensional
It carves and the real time is determined, such as: being the morning of this innings of three-dimensional battle at the beginning of being fought with this innings of three-dimensional
8:00, by one minute in the real time be three-dimensional battle in 1 hour to three-dimensional battle in time carry out in terms of
It calculates.
Second, when it is the corresponding relationship stored with functional form that this, which presets weather corresponding relationship, parameter can will be inputted
The function is inputted, and exports and obtains corresponding weather pattern, such as: inputting the function for current time as input parameter, and defeated
Corresponding weather pattern is obtained out.
It schematically, can be first to key when what is stored in server is the corresponding relationship of vital ground and weather
Landform is determined, and corresponding weather pattern is selected from weather pattern library further according to vital ground.Wherein, vital ground can be with
It is determined according to the aggregation position of virtual role, such as: the quantity for being gathered in the virtual role of upward slope is most, then determines hillside
For vital ground.It, can be directly true by the corresponding weather pattern of vital ground when determining the first weather pattern according to vital ground
It is set to the first weather pattern, such as: the corresponding weather pattern in hillside is the cloudy day, then the cloudy day is determined as the first weather pattern, can also
To randomly choose a weather class in the corresponding weather pattern library of vital ground when vital ground is corresponding with weather pattern library
Type is as the first weather pattern, such as: including: cloudy day, haze, fine day in the corresponding weather pattern library in hillside, then in the weather class
A weather pattern is randomly choosed in type library as the first weather pattern.
Optionally, server can be combined with the time in landform and three-dimensional battle, true for different clients
Fixed the first different weather pattern, such as: being directed to the first client, be 9:00 when the time in three-dimensional battle, and first is objective
When landform locating for the virtual role of family end control is room area, server inquires corresponding weather pattern conduct in prestoring table
First weather pattern, schematically, this prestores form as shown in following table five:
Table five
Then corresponding to landform room area locating for above-mentioned 9:00 and virtual role can determine that fine day is for the first client
One weather pattern.
Step 706, server selects the second weather pattern as advance notice weather pattern in weather pattern library.
The advance notice weather pattern is for determining next weather parameters corresponding with three-dimensional battle.
Optionally, server can randomly choose a weather pattern as the second weather pattern in weather pattern library,
And the second weather pattern is determined as to predict weather pattern.
Step 707, corresponding first weather parameters of the first weather pattern is sent to and three-dimensional battle pair by server
The client answered.
Optionally, which is used to indicate client corresponding with three-dimensional battle and shows including with first
First three-dimensional virtual environment picture of the corresponding weather display elements of weather pattern.
Step 708, client receives the first weather parameters that server is sent.
Step 709, client shows the first three-dimensional virtual environment picture corresponding with three-dimensional battle.
It include weather display elements corresponding with the first weather pattern in the first three-dimensional virtual environment picture.
Schematically, by the first weather pattern be light rain for, include in the first three-dimensional virtual environment picture with it is " small
The corresponding weather display elements of rain ", such as: showing the raindrop of whereabouts in the first three-dimensional virtual environment picture, drenched by light rain
Ground etc..
Optionally, it is previously stored in client corresponding with weather display elements with the weather parameters of each weather pattern
Relationship, when corresponding first weather parameters of the first weather pattern that client receives server transmission, from the corresponding relationship
It is middle to search weather display elements corresponding with first weather parameters, and shown.Wherein, which can be
One section of code, client inquires code corresponding with the weather parameters according to weather parameters, and executes to this section of code, can
Selection of land, client may call upon display corresponding with the weather pattern element prestored during executing to code
Material, and by display material rendering in picture.
It optionally, further include the first weather prompting information, first weather prompting in the first three-dimensional virtual environment picture
Information is used to indicate the first weather pattern corresponding to the weather display elements in the first three-dimensional virtual environment picture.
It optionally, further include the second weather prompting information, second weather prompting in the first three-dimensional virtual environment picture
Information is used to predict the weather display elements shown after the first weather pattern.Optionally, which is used for
Predicting the weather display elements shown after the first weather pattern is the corresponding weather display elements of the second weather pattern.
Step 710, when the quantity for exiting the client that three-dimensional is fought in nearest preset duration reaches preset threshold,
Second weather pattern is determined as to show weather pattern.
Optionally, when the quantity for exiting the client that three-dimensional is fought in nearest preset duration reaches preset threshold,
I.e. explanation, which has, is relatively chiefly used in being exited this due to the weather pattern in display weather pattern and being played a game, then server is by the second weather pattern
It is determined as showing weather pattern.Schematically, display weather pattern is " dense fog ", and advance notice weather pattern is " fine day ", when nearest
In 10 seconds, the quantity for exiting the client of three-dimensional battle reaches 10, then explanation has compared with multi-user due to three-dimensional pair
Weather pattern in war exits battle for " dense fog ", then " fine day " is determined as showing weather pattern by server.Optionally, when
The number for the case where accumulative user caused of a certain weather pattern exits three-dimensional battle is more, such as: when reaching preset threshold,
Server can delete the weather pattern from weather pattern library.
Optionally, the second weather pattern is determined as showing weather pattern, i.e., will predicts the weather pattern in weather pattern
It is determined as showing weather pattern, then, server selects third weather pattern as advance notice weather class again from weather pattern library
Type.Optionally, server can randomly choose a weather pattern as third weather pattern from weather pattern library, and should
Third weather pattern is determined as predicting weather pattern.
Optionally, when the quantity for exiting the client that three-dimensional is fought in nearest preset duration reaches preset threshold,
Server can also select a weather pattern different from the first weather pattern as display weather pattern from weather pattern library.
Wherein, the above-mentioned weather pattern different from the first weather pattern can be according to preset corresponding relationship determine, such as: fine day with
Cloudy day is a pair of different weather pattern, and thunderstorm is a pair of different weather pattern from light rain, and haze is a pair of different from typhoon
Weather pattern etc..
Step 711, corresponding second weather parameters of the second weather pattern is sent to and three-dimensional battle pair by server
The client answered.
Second weather parameters is used to indicate client and shows including weather display elements corresponding with the second weather pattern
The second three-dimensional virtual environment picture.
Step 712, client receives the second weather parameters that server is sent.
Step 713, client shows the second three-dimensional virtual environment picture corresponding with three-dimensional battle.
It include weather display elements corresponding with the second weather pattern in the second three-dimensional virtual environment picture.
It optionally, further include third weather prompting information, the third weather prompting in the second three-dimensional virtual environment picture
Information is for prompting the second weather pattern corresponding to the weather display elements in the second three-dimensional virtual environment picture.It is optional
, it further include the 4th weather prompting information in the second three-dimensional virtual environment picture, the 4th weather prompting information is for prompting
The weather display elements shown after second weather pattern are the corresponding weather display elements of third weather pattern.
Optionally, server can also detect three every preset duration during above-mentioned steps 701 to step 713
The progress virtually fought is tieed up, the progress of three-dimensional battle includes in carrying out or having terminated, when the progress of three-dimensional battle
When in carrying out, server continues above-mentioned steps 701 to step 713, at the end of the progress of three-dimensional battle is,
Server stops for weather parameters being sent to the corresponding client of three-dimensional battle.
In conclusion picture display process provided in this embodiment, fights for each innings of three-dimensional, by weather
Select the first weather pattern as display weather pattern in typelib, and by corresponding first weather parameters of first weather pattern
It is sent to client, client can show weather display member corresponding with first weather pattern according to first weather parameters
Element enriches the display content of client, avoids the more single problem of display content in client.
Picture display process provided in this embodiment, by selecting the second weather pattern as advance notice in weather pattern library
Weather pattern, and when the quantity that exits in nearest preset duration the client of three-dimensional battle is more, by the second weather class
Type is determined as showing weather pattern, avoids user volume caused by being not suitable for three-dimensional battle due to weather pattern and reduces,
The case where customer churn.
Fig. 8 is the knot for the picture display device based on three-dimensional virtual environment that one exemplary embodiment of the application provides
Structure block diagram, as shown in figure 8, the picture display device includes: receiving module 81, selecting module 82 and sending module 83;
Receiving module 81, the battle commencing signal of the three-dimensional battle for receiving the transmission of the first client are three-dimensional empty
Quasi- battle is the single innings of battle mode that at least two virtual roles are raced in three-dimensional virtual environment, and the first client is to use
In the client for controlling the first virtual role at least two virtual roles;
Selecting module 82, for selecting the first weather pattern as aobvious in weather pattern library according to battle commencing signal
Show weather pattern, for determining weather parameters corresponding with three-dimensional battle, weather pattern includes display weather pattern in library
At least one weather pattern;
Sending module 83, for corresponding first weather parameters of the first weather pattern to be sent to and three-dimensional battle pair
The client answered, the first weather parameters are used to indicate client and show including weather display elements corresponding with the first weather pattern
The first three-dimensional virtual environment picture.
In an alternative embodiment, selecting module 82 are also used to randomly choose a weather in weather pattern library
Type is as the first weather pattern;First weather pattern is determined as to show weather pattern.
In an alternative embodiment, selecting module 82 are also used to obtain the current time of three-dimensional battle;According to
Default weather corresponding time relationship selects weather pattern corresponding with current time as the first weather pattern, presets the weather time
Corresponding relationship is used to indicate the corresponding relationship between time and weather pattern;First weather pattern is determined as to show weather class
Type.
In an alternative embodiment, selecting module 82 are also used to determine that three-dimensional fights the map used, map
In include at least one landform;Selective aggregation has the landform of most virtual roles as vital ground from least one landform;
According to default weather landform corresponding relationship, selects the corresponding weather pattern of vital ground as the first weather pattern, preset weather
Landform corresponding relationship is used to indicate the corresponding relationship between landform and weather pattern;First weather pattern is determined as to show weather
Type.
In an alternative embodiment, selecting module 82 are also used to select the second weather pattern from weather pattern library
As advance notice weather pattern, advance notice weather pattern is for determining next weather parameters corresponding with three-dimensional battle.
In an alternative embodiment, the first weather pattern includes maximum display duration;
The device, further includes:
Module is obtained, duration has been displayed for obtain the first weather pattern, duration has been displayed and refers to what client was shown
It include the duration of weather display elements corresponding with the first weather pattern in first three-dimensional virtual environment picture;
First determining module, for when duration having been displayed reaching maximum display duration, the second weather pattern to be determined as
Show weather pattern;
Sending module 83 is also used to for corresponding second weather parameters of the second weather pattern being sent to and fight with three-dimensional
Corresponding client, the second weather parameters are used to indicate client and show including weather corresponding with the second weather pattern display member
Second three-dimensional virtual environment picture of element.
In an alternative embodiment, the device further include:
Second determining module, for reaching pre- when the quantity for the client for exiting three-dimensional battle in nearest preset duration
If when threshold value, the second weather pattern is determined as to show weather pattern;
Sending module 83 is also used to for corresponding second weather parameters of the second weather pattern being sent to and fight with three-dimensional
Corresponding client.
In an alternative embodiment, selecting module 82 are also used to select third weather again from weather pattern library
Type is as advance notice weather pattern.
In an alternative embodiment, the device further include:
Every the progress of preset duration detection three-dimensional battle, the progress of three-dimensional battle includes in carrying out or having tied
Beam;
At the end of the progress of three-dimensional battle is, weather parameters is sent to corresponding with three-dimensional battle by stopping
Client.
In conclusion picture display device provided in this embodiment, fights for each innings of three-dimensional, by weather
Select the first weather pattern as display weather pattern in typelib, and by corresponding first weather parameters of first weather pattern
It is sent to client, client can show weather display member corresponding with first weather pattern according to first weather parameters
Element enriches the display content of client, avoids the more single problem of display content in client.
Fig. 9 is the picture display device based on three-dimensional virtual environment that another exemplary embodiment of the application provides
Structural block diagram, as shown in figure 9, the picture display device includes: display module 91, receiving module 92, signal transmitting module 93;
Display module 91 shows battle on battle starting image and starts control for showing battle starting image;
Receiving module 92 starts the click signal on control in battle for receiving;
Signal transmitting module 93 starts letter for sending the battle that three-dimensional is fought to server according to click signal
Number, three-dimensional battle is that race in three-dimensional virtual environment according to the mode of playing a game single innings of at least two virtual roles is right
War mode;
Receiving module 92, is also used to receive the first weather parameters of server transmission, and the first weather parameters is and first day
The corresponding parameter of gas type;
Display module 91, for showing the first three-dimensional virtual environment picture corresponding with three-dimensional battle, first is three-dimensional
It include weather display elements corresponding with the first weather pattern in virtual environment picture.In an alternative embodiment, first
It further include the first weather prompting information in three-dimensional virtual environment picture, the first weather prompting information is used to indicate three-dimensional empty first
First weather pattern corresponding to weather display elements in the picture of near-ring border.
It in an alternative embodiment, further include the second weather prompting information in the first three-dimensional virtual environment picture, the
Two weather prompting information are used to predict the weather display elements shown after the first weather pattern.
In an alternative embodiment, receiving module 92 are also used to receive the second weather parameters of server transmission, the
Two weather parameters are parameters corresponding with the second weather pattern;
Display module 91, is also used to show corresponding with three-dimensional battle the second three-dimensional virtual environment picture, the two or three
Dimension virtual environment picture is picture corresponding with the second weather prompting information, includes and second in the second three-dimensional virtual environment picture
The corresponding weather display elements of weather pattern.
In conclusion picture display device provided in this embodiment, fights for each innings of three-dimensional, by weather
Select the first weather pattern as display weather pattern in typelib, and by corresponding first weather parameters of first weather pattern
It is sent to client, client can show weather display member corresponding with first weather pattern according to first weather parameters
Element enriches the display content of client, avoids the more single problem of display content in client.
Present invention also provides a kind of server, which includes processor and memory, be stored in memory to
A few instruction, at least one instruction is loaded by processor and executed to be shown with the picture for realizing that above-mentioned each embodiment of the method provides
Show method.It should be noted that the server can be server provided by following Figure 10.
Referring to FIG. 10, the structural schematic diagram of the server provided it illustrates one exemplary embodiment of the application.Tool
For body: server 100 includes central processing unit (CPU) 1001 including random access memory (RAM) 1002 and read-only deposits
The system storage 1004 of reservoir (ROM) 1003, and the system of connection system storage 1004 and central processing unit 1001
Bus 1005.Server 100 further includes the basic input/output that information is transmitted between each device helped in computer
(I/O system) 1006, and large capacity for storage program area 1013, application program 1014 and other program modules 1015 are deposited
Store up equipment 1007.
Basic input/output 1006 includes display 1008 for showing information and inputs information for user
Such as mouse, keyboard etc input equipment 1009.Wherein display 1008 and input equipment 1009 are all by being connected to
The input and output controller 1010 of system bus 1005 is connected to central processing unit 1001.Basic input/output 1006 is also
May include input and output controller 1010 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its
The input of his equipment.Similarly, input and output controller 1010 also provides output to display screen, printer or other kinds of defeated
Equipment out.
Mass-memory unit 1007 is connected by being connected to the bulk memory controller (not shown) of system bus 1005
It is connected to central processing unit 1001.Mass-memory unit 1007 and its associated computer-readable medium are server 100
Non-volatile memories are provided.That is, mass-memory unit 1007 may include such as hard disk or CD-ROI driver
Etc computer-readable medium (not shown).
Without loss of generality, computer-readable medium may include computer storage media and communication media.Computer storage
Medium includes any of the information such as computer readable instructions, data structure, program module or other data for storage
The volatile and non-volatile of method or technique realization, removable and irremovable medium.Computer storage medium include RAM,
ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, cassette, magnetic
Band, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that computer storage medium is not limited to
It states several.Above-mentioned system storage 1004 and mass-memory unit 1007 may be collectively referred to as memory.
Memory is stored with one or more programs, and one or more programs are configured to by one or more central processings
Unit 1001 executes, and one or more programs include the instruction for realizing above-mentioned picture display process, central processing unit
1001, which execute the one or more program, realizes the picture display process that above-mentioned each embodiment of the method provides.
According to various embodiments of the present invention, server 100 can also pass through the network connections such as internet to network
On remote computer operation.Namely server 100 can be by the Network Interface Unit that is connected on system bus 1005
1011 are connected to network 1012, in other words, Network Interface Unit 1011 also can be used be connected to other kinds of network or
Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs include for carrying out in picture display process provided in an embodiment of the present invention
The step as performed by server.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is loaded by the processor 1010 and is executed to realize the picture display process as described in Fig. 2 to Fig. 7 is any.
Present invention also provides a kind of computer program products to make when computer program product is run on computers
It obtains computer and executes the picture display process that above-mentioned each embodiment of the method provides.
Figure 11 shows the structural block diagram of the terminal 1100 of an illustrative embodiment of the invention offer.The terminal 1100 can
To be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer
III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio
Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1100 is also
Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1100 includes: processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1101 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1101 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1101 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1102 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1102 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1101 for realizing this Shen
Please in embodiment of the method provide picture display process.
In some embodiments, terminal 1100 is also optional includes: peripheral device interface 1103 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 1101, memory 1102 and peripheral device interface 1103.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1103.Specifically, peripheral equipment includes:
In radio circuit 1104, touch display screen 1105, camera 1106, voicefrequency circuit 1107, positioning component 1108 and power supply 1109
At least one.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery
Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory
1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1104 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution
Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network
(2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations
In example, radio circuit 1104 can also include that NFC (Near Field Communication, wireless near field communication) is related
Circuit, the application are not limited this.
Display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text,
Icon, video and its their any combination.When display screen 1105 is touch display screen, display screen 1105 also there is acquisition to exist
The ability of the touch signal on the surface or surface of display screen 1105.The touch signal can be used as control signal and be input to place
Reason device 1101 is handled.At this point, display screen 1105 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press
Button and/or soft keyboard.In some embodiments, display screen 1105 can be one, and the front panel of terminal 1100 is arranged;Another
In a little embodiments, display screen 1105 can be at least two, be separately positioned on the different surfaces of terminal 1100 or in foldover design;
In still other embodiments, display screen 1105 can be flexible display screen, is arranged on the curved surface of terminal 1100 or folds
On face.Even, display screen 1105 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1105 can be with
Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1106 is for acquiring image or video.Optionally, CCD camera assembly 1106 includes front camera
And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.?
In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively
As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide
Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle
Shooting function.In some embodiments, CCD camera assembly 1106 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light
Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for
Light compensation under different-colour.
Voicefrequency circuit 1107 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1101 and handled, or be input to radio circuit 1104 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1100 to be multiple.
Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1101 or radio frequency will to be come from
The electric signal of circuit 1104 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking
Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action
Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1107 may be used also
To include earphone jack.
Positioning component 1108 is used for the current geographic position of positioning terminal 1100, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 1108 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 1109 is used to be powered for the various components in terminal 1100.Power supply 1109 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can be line charge
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1100 further includes having one or more sensors 1110.One or more sensing
Device 1110 includes but is not limited to: acceleration transducer 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensing
Device 1114, optical sensor 1115 and proximity sensor 1116.
Acceleration transducer 1111 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1100
Size.For example, acceleration transducer 1111 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 1101 acceleration of gravity signals that can be acquired according to acceleration transducer 1111, control touch display screen 1105 with transverse views
Or longitudinal view carries out the display of user interface.Acceleration transducer 1111 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 1112 can detecte body direction and the rotational angle of terminal 1100, gyro sensor 1112
Acquisition user can be cooperateed with to act the 3D of terminal 1100 with acceleration transducer 1111.Processor 1101 is according to gyro sensors
The data that device 1112 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped
Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1105 in terminal 1100 can be set in pressure sensor 1113.When
When the side frame of terminal 1100 is arranged in pressure sensor 1113, user can detecte to the gripping signal of terminal 1100, by
Reason device 1101 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1113 acquires.Work as pressure sensor
1113 when being arranged in the lower layer of touch display screen 1105, is grasped by processor 1101 according to pressure of the user to touch display screen 1105
Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control,
At least one of icon control, menu control.
Fingerprint sensor 1114 is used to acquire the fingerprint of user, is collected by processor 1101 according to fingerprint sensor 1114
Fingerprint recognition user identity, alternatively, by fingerprint sensor 1114 according to the identity of collected fingerprint recognition user.Knowing
Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1101, which grasps
Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1114 can be set
Set the front, the back side or side of terminal 1100.When being provided with physical button or manufacturer Logo in terminal 1100, fingerprint sensor
1114 can integrate with physical button or manufacturer Logo.
Optical sensor 1115 is for acquiring ambient light intensity.In one embodiment, processor 1101 can be according to light
The ambient light intensity that sensor 1115 acquires is learned, the display brightness of touch display screen 1105 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1105 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1105 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1101 can also be acquired according to optical sensor 1115, is moved
The acquisition parameters of state adjustment CCD camera assembly 1106.
Proximity sensor 1116, also referred to as range sensor are generally arranged at the front panel of terminal 1100.Proximity sensor
1116 for acquiring the distance between the front of user Yu terminal 1100.In one embodiment, when proximity sensor 1116 is examined
When measuring the distance between the front of user and terminal 1100 and gradually becoming smaller, by processor 1101 control touch display screen 1105 from
Bright screen state is switched to breath screen state;When proximity sensor 1116 detect the distance between front of user and terminal 1100 by
When gradual change is big, touch display screen 1105 is controlled by processor 1101 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1100 of structure shown in Figure 11
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter
Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It can also be with
It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to
Few an instruction, at least a Duan Chengxu, code set or instruction set, it is at least one instruction, an at least Duan Chengxu, described
Code set or instruction set are loaded by the processor and are executed to realize the picture display process as described in Fig. 2 to Fig. 7 is any.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned
Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (13)
1. a kind of picture display process based on three-dimensional virtual environment, which is characterized in that the described method includes:
The battle commencing signal of the three-dimensional battle of the first client transmission is received, the three-dimensional battle is at least two
The single innings of battle mode that virtual role is raced in three-dimensional virtual environment using virtual firearms, first client are to use
In the client for controlling the first virtual role at least two virtual role;
According to the battle commencing signal, select the first weather pattern as display weather pattern in weather pattern library, it is described
Show that weather pattern includes at least in the weather pattern library for determining weather parameters corresponding with three-dimensional battle
One weather pattern;
Corresponding first weather parameters of first weather pattern is sent to client corresponding with three-dimensional battle,
First weather parameters is used to indicate the client and shows including weather corresponding with first weather pattern display member
First three-dimensional virtual environment picture of element;
Select the second weather pattern as advance notice weather pattern from the weather pattern library, the advance notice weather pattern is for true
Fixed next weather parameters corresponding with three-dimensional battle;
When exiting the quantity of client of three-dimensional battle in nearest preset duration and reaching preset threshold, by described the
Two weather patterns are determined as the display weather pattern;
Corresponding second weather parameters of second weather pattern is sent to client corresponding with three-dimensional battle,
Second weather parameters is used to indicate the client and shows including weather corresponding with second weather pattern display member
Second three-dimensional virtual environment picture of element.
2. the method according to claim 1, wherein described select the first weather pattern to make in weather pattern library
To show weather pattern, comprising:
A weather pattern is randomly choosed in the weather pattern library as first weather pattern;
First weather pattern is determined as the display weather pattern.
3. the method according to claim 1, wherein described select the first weather pattern to make in weather pattern library
To show weather pattern, comprising:
Obtain the current time of the three-dimensional battle;
Select weather pattern corresponding with the current time as first weather according to default weather corresponding time relationship
Type, the default weather corresponding time relationship are used to indicate the corresponding relationship between time and weather pattern;
First weather pattern is determined as the display weather pattern.
4. the method according to claim 1, wherein described select the first weather pattern to make in weather pattern library
To show weather pattern, comprising:
It determines that the three-dimensional fights the map used, includes at least one landform in the map;
Selective aggregation has the landform of most virtual roles as vital ground from least one described landform;
According to default weather landform corresponding relationship, select the corresponding weather pattern of the vital ground as the first weather class
Type, the default weather landform corresponding relationship are used to indicate the corresponding relationship between landform and weather pattern;
First weather pattern is determined as the display weather pattern.
5. method according to any one of claims 1 to 4, which is characterized in that first weather pattern includes maximum display
Duration;
It is described that corresponding first weather parameters of first weather pattern is sent to visitor corresponding with three-dimensional battle
After the end of family, further includes:
The duration that has been displayed of first weather pattern is obtained, the duration that has been displayed refers to the client is shown described
It include the duration of weather display elements corresponding with first weather pattern in one three-dimensional virtual environment picture;
When it is described duration have been displayed reach the maximum display duration when, second weather pattern is determined as the display day
Gas type;
Corresponding second weather parameters of second weather pattern is sent to client corresponding with three-dimensional battle.
6. according to the method described in claim 5, it is characterized in that, the method, further includes:
When second weather pattern is determined as the display weather pattern, third is selected again from the weather pattern library
Weather pattern is as the advance notice weather pattern.
7. a kind of picture display process based on three-dimensional virtual environment, which is characterized in that the described method includes:
Starting image is fought in display, shows that battle starts control on the battle starting image;
Receive the click signal started on control in the battle;
The battle commencing signal that the three-dimensional is fought, the three-dimensional pair are sent to server according to the click signal
War is the single innings of battle mode that at least two virtual roles are raced in three-dimensional virtual environment using virtual firearms;
The first weather parameters that the server is sent is received, first weather parameters is ginseng corresponding with the first weather pattern
Number;
Show the first three-dimensional virtual environment picture corresponding with three-dimensional battle, the first three-dimensional virtual environment picture
In include weather display elements corresponding with first weather pattern, further include in the first three-dimensional virtual environment picture
Two weather prompting information, the second weather prompting information are used to predict the weather shown after first weather pattern and show
Element;
The second weather parameters that the server is sent is received, second weather parameters is ginseng corresponding with the second weather pattern
Number, second weather parameters are that the quantity for the client that the three-dimensional battle is exited in preset duration reaches default threshold
The server is sent when value;
Show the second three-dimensional virtual environment picture corresponding with three-dimensional battle, the second three-dimensional virtual environment picture
For picture corresponding with the second weather prompting information, include and described second day in the second three-dimensional virtual environment picture
The corresponding weather display elements of gas type.
8. the method according to the description of claim 7 is characterized in that further including first in the first three-dimensional virtual environment picture
Weather prompting information, it is aobvious that the first weather prompting information is used to indicate the weather in the first three-dimensional virtual environment picture
Show first weather pattern corresponding to element.
9. a kind of picture display device based on three-dimensional virtual environment, which is characterized in that described device includes:
Receiving module, the battle commencing signal of the three-dimensional battle for receiving the transmission of the first client, the three-dimensional
Battle is the single innings of battle mode that at least two virtual roles are raced in three-dimensional virtual environment using virtual firearms, described
First client is the client for controlling the first virtual role at least two virtual role;
Selecting module, for selecting the first weather pattern as display in weather pattern library according to the battle commencing signal
Weather pattern, the display weather pattern is for determining weather parameters corresponding with three-dimensional battle, the weather class
It include at least one weather pattern in type library;
Sending module is fought for being sent to corresponding first weather parameters of first weather pattern with the three-dimensional
Corresponding client, first weather parameters are used to indicate the client and show including corresponding with first weather pattern
Weather display elements the first three-dimensional virtual environment picture;
The selecting module is also used to select the second weather pattern as advance notice weather pattern, institute from the weather pattern library
Advance notice weather pattern is stated for determining next weather parameters corresponding with three-dimensional battle;
Second determining module, for reaching pre- when the quantity for the client for exiting the three-dimensional battle in nearest preset duration
If when threshold value, second weather pattern is determined as the display weather pattern;
The sending module is also used to for corresponding second weather parameters of second weather pattern being sent to and the three-dimensional void
The corresponding client of quasi- battle, second weather parameters be used to indicate the client show including with the second weather class
Second three-dimensional virtual environment picture of the corresponding weather display elements of type.
10. a kind of picture display device based on three-dimensional virtual environment, which is characterized in that described device includes:
Display module shows battle on the battle starting image and starts control for showing battle starting image;
Receiving module, for receiving the click signal started on control in the battle;
Signal transmitting module starts letter for sending the battle that the three-dimensional is fought to server according to the click signal
Number, the three-dimensional battle is the list that at least two virtual roles are raced in three-dimensional virtual environment using virtual firearms
Office's battle mode;
The receiving module, is also used to receive the first weather parameters that the server is sent, first weather parameters be with
The corresponding parameter of first weather pattern;
The display module, for showing corresponding with three-dimensional battle the first three-dimensional virtual environment picture, described the
It include weather display elements corresponding with first weather pattern, first three-dimensional in one three-dimensional virtual environment picture
It further include the second weather prompting information in environment picture, the second weather prompting information is for predicting first weather pattern
The weather display elements shown later;
The receiving module, is also used to receive the second weather parameters that the server is sent, second weather parameters be with
The corresponding parameter of second weather pattern, second weather parameters are that the visitor of the three-dimensional battle is exited in preset duration
The quantity at family end reaches what server when preset threshold was sent;
The display module is also used to show the second three-dimensional virtual environment picture corresponding with three-dimensional battle, described
Second three-dimensional virtual environment picture is picture corresponding with the second weather prompting information, and second three-dimensional virtual environment is drawn
It include weather display elements corresponding with second weather pattern in face.
11. a kind of server, which is characterized in that the server includes processor and memory, is stored in the memory
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
State code set or instruction set loaded by the processor and executed with realize as described in claim 1 to 6 is any based on three-dimensional
The picture display process of virtual environment.
12. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory
One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation
Code collection or instruction set are loaded by the processor and are executed a method as claimed in any one of claims 7 to 8 based on three-dimensional to realize
The picture display process of environment.
13. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is loaded by processor and is executed to realize that the picture as described in any of the claims 1 to 8 based on three-dimensional virtual environment is shown
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810238450.2A CN108492351B (en) | 2018-03-22 | 2018-03-22 | Picture display process, device and readable medium based on three-dimensional virtual environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810238450.2A CN108492351B (en) | 2018-03-22 | 2018-03-22 | Picture display process, device and readable medium based on three-dimensional virtual environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108492351A CN108492351A (en) | 2018-09-04 |
CN108492351B true CN108492351B (en) | 2019-06-18 |
Family
ID=63318968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810238450.2A Active CN108492351B (en) | 2018-03-22 | 2018-03-22 | Picture display process, device and readable medium based on three-dimensional virtual environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108492351B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109499066A (en) * | 2018-09-21 | 2019-03-22 | 苏州蜗牛数字科技股份有限公司 | A kind of method of the variable field scape conservation of matter |
CN110780954B (en) * | 2019-09-03 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Virtual article sending method and device |
CN113457145A (en) * | 2021-06-28 | 2021-10-01 | 网易(杭州)网络有限公司 | Weather control method, device and equipment for game scene and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600705A (en) * | 2016-12-12 | 2017-04-26 | 福州众衡时代信息科技有限公司 | Method for mutually simulating virtual environment and real environment in VR |
CN107349603A (en) * | 2017-06-27 | 2017-11-17 | 苏州蜗牛数字科技股份有限公司 | A kind of method that Changes in weather is simulated in VR scenes |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1494452A (en) * | 2001-02-06 | 2004-05-05 | Integration of real-time data into gaming application | |
CN101945115A (en) * | 2010-09-25 | 2011-01-12 | 德信互动科技(北京)有限公司 | Method for interacting real weather information and game |
CN102542583A (en) * | 2010-12-24 | 2012-07-04 | 北京金山软件有限公司 | Method and device for displaying ambient effect in two-dimensional image |
CN206198659U (en) * | 2016-08-18 | 2017-05-31 | 深圳市凯木金科技有限公司 | Visualization outdoor scene simulation fighting system |
US10007452B2 (en) * | 2016-08-19 | 2018-06-26 | International Business Machines Corporation | Self-expiring data in a virtual tape server |
-
2018
- 2018-03-22 CN CN201810238450.2A patent/CN108492351B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106600705A (en) * | 2016-12-12 | 2017-04-26 | 福州众衡时代信息科技有限公司 | Method for mutually simulating virtual environment and real environment in VR |
CN107349603A (en) * | 2017-06-27 | 2017-11-17 | 苏州蜗牛数字科技股份有限公司 | A kind of method that Changes in weather is simulated in VR scenes |
Also Published As
Publication number | Publication date |
---|---|
CN108492351A (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107959860B (en) | The method and apparatus of display live streaming list | |
CN109603151A (en) | Skin display methods, device and the equipment of virtual role | |
CN109621413A (en) | Rendering indication method, device, terminal and the storage medium of game picture | |
CN110244998A (en) | Page layout background, the setting method of live page background, device and storage medium | |
CN108671545A (en) | Control the method, apparatus and storage medium of virtual objects and virtual scene interaction | |
CN110276840A (en) | Control method, device, equipment and the storage medium of more virtual roles | |
CN110193198A (en) | Object jump control method, device, computer equipment and storage medium | |
CN110141859A (en) | Virtual object control method, device, terminal and storage medium | |
CN108492351B (en) | Picture display process, device and readable medium based on three-dimensional virtual environment | |
CN109917910B (en) | Method, device and equipment for displaying linear skills and storage medium | |
CN109525883A (en) | Interact Special display effect method, apparatus, electronic equipment, server and storage medium | |
CN107982918A (en) | Game is played a game methods of exhibiting, device and the terminal of result | |
WO2019184782A1 (en) | Method for controlling object in virtual scene, device, and computer apparatus | |
CN108965922A (en) | Video cover generation method, device and storage medium | |
CN111589167A (en) | Event fighting method, device, terminal, server and storage medium | |
CN110393916A (en) | Method, apparatus, equipment and the storage medium of visual angle rotation | |
JP7224459B2 (en) | Method, apparatus, equipment and program for constructing a building in a virtual environment | |
CN108174275A (en) | Image presentation method, device and computer readable storage medium | |
CN109646944A (en) | Control information processing method, device, electronic equipment and storage medium | |
CN113058264A (en) | Virtual scene display method, virtual scene processing method, device and equipment | |
CN109346111A (en) | Data processing method, device, terminal and storage medium | |
CN109275013A (en) | Method, apparatus, equipment and the storage medium that virtual objects are shown | |
CN109821237A (en) | Method, apparatus, equipment and the storage medium of visual angle rotation | |
CN110833695B (en) | Service processing method, device, equipment and storage medium based on virtual scene | |
CN112915538A (en) | Method and device for displaying game information, terminal and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231225 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |