CN109794062B - Method and device for realizing MMO game ground surface applique - Google Patents

Method and device for realizing MMO game ground surface applique Download PDF

Info

Publication number
CN109794062B
CN109794062B CN201910034243.XA CN201910034243A CN109794062B CN 109794062 B CN109794062 B CN 109794062B CN 201910034243 A CN201910034243 A CN 201910034243A CN 109794062 B CN109794062 B CN 109794062B
Authority
CN
China
Prior art keywords
model
applique
processed
creating
module
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
Application number
CN201910034243.XA
Other languages
Chinese (zh)
Other versions
CN109794062A (en
Inventor
赵帅
刘明城
杨明邦
李星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Xishanju Interactive Entertainment Technology Co Ltd
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game Technology Co Ltd
Chengdu Xishanju Interactive Entertainment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Kingsoft Online Game Technology Co Ltd, Chengdu Xishanju Interactive Entertainment Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN201910034243.XA priority Critical patent/CN109794062B/en
Publication of CN109794062A publication Critical patent/CN109794062A/en
Application granted granted Critical
Publication of CN109794062B publication Critical patent/CN109794062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention relates to a method for realizing MMO game ground surface applique, which comprises the following steps: s1, loading preset information; s2, acquiring role positioning information; s3, creating a direction model based on the preset information and the positioning information; s4, acquiring a ground surface model based on the direction model block and the role coordinates; s5, creating a model to be processed based on the direction model and the earth surface model; and S6, rendering the model to be processed and generating the applique. An apparatus for implementing a MMO game floor applique, comprising: the system comprises a loading module, a positioning module, a direction model creating module, a surface model creating module, a model to be processed creating module and a decal generating module. The indicator can better fit the ground surface while achieving the function of normally fulfilling the direction guide in a game scene, shows more natural aesthetic effect and greatly improves the game experience of players.

Description

Method and device for realizing MMO game ground surface applique
Technical Field
The invention relates to a method and a device for realizing MMO game ground surface applique, belonging to the field of game development.
Background
Nowadays, electronic games become an extremely common entertainment mode in our daily lives, and MMO games, i.e. massively multiplayer online games, are an important branch of the games, and also occupy a large number of user groups and market shares. Scene roaming is usually involved in an MMO game, a system needs to prompt the moving direction of a player in the process, and a common technical means for meeting the requirement is to place a planar mesh indicator at the intersection bottom of a player-controlled character and guide the traveling route of the player through the indicator with the direction.
However, the technical means has a great defect that the indicator often has a penetrating effect when facing diversified terrains, the indicator cannot be well attached to the ground and cannot show corresponding artistic effects, even the indicator loses the function of direction guidance in some special scenes, and the game experience of a player is seriously influenced.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method for realizing MMO game ground surface applique, which comprises the following steps:
s1, loading preset information;
s2, obtaining role positioning information;
s3, creating a direction model based on the preset information and the positioning information;
s4, acquiring a ground surface model based on the direction model block and the role coordinates;
s5, creating a model to be processed based on the direction model and the earth surface model;
and S6, rendering the model to be processed and generating the applique.
Further, the preset information comprises the applique material and the applique diameter.
Further, the positioning information includes current coordinates and direction vectors of the role.
Further, the direction vector is a vector set of an x-axis, a y-axis, and a z-axis within a three-dimensional coordinate system.
Further, the direction model is a cube created by taking the current coordinates of the character as an origin, taking the direction vector as an orientation and taking the diameter of the applique as a side length.
Further, the earth surface model is based on the current coordinates and the direction model of the role, and earth surface areas intersected with the cube are selected.
Further, the model to be processed is generated by cutting the corresponding earth surface model through six planes of a cube in the direction model.
Furthermore, when the model to be processed is rendered, the applique material preset in the preset information is used.
An apparatus for implementing an MMO game floor decal, comprising:
the loading module is used for loading preset information;
the positioning module is used for acquiring role positioning information;
the direction model creating module is used for creating a direction model;
the earth surface model creating module is used for acquiring an earth surface model;
the model to be processed establishing module is used for establishing a model to be processed; and
and the applique generation module is used for rendering the model to be processed and generating the applique.
A computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 8.
The invention has the beneficial effects that: the indicator marks can be well attached to the earth surface when the indicator marks normally fulfill the function of direction guiding in a game scene, so that a more natural aesthetic effect is displayed, and the game experience of a player is greatly improved.
Drawings
FIG. 1 is a general flow diagram according to the present invention;
fig. 2 shows a connection diagram of the device according to the invention.
Detailed Description
It should be recognized that embodiments of the present invention can be realized and implemented in computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, according to the methods and figures described in the detailed description. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, the operations of processes described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable interface, including but not limited to a personal computer, mini computer, mainframe, workstation, networked or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and the like. Aspects of the invention may be embodied in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optically read and/or write storage medium, RAM, ROM, or the like, such that it may be read by a programmable computer, which when read by the storage medium or device, is operative to configure and operate the computer to perform the procedures described herein. Further, the machine-readable code, or portions thereof, may be transmitted over a wired or wireless network. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. The invention also includes the computer itself when programmed according to the methods and techniques described herein.
A computer program can be applied to input data to perform the functions described herein to transform the input data to generate output data that is stored to non-volatile memory. The output information may also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including particular visual depictions of physical and tangible objects produced on a display.
It is noted that, as used in this disclosure, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any combination of one or more of the listed items.
It should be understood that the use of any and all examples, or exemplary language ("e.g.," such as, "etc.), provided herein is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
Embodiments of the invention will be further described with reference to the accompanying drawings in which:
referring to fig. 1, a general flow chart according to the present invention specifically includes the following steps:
s1, loading preset information; the preset information comprises the applique material and the applique diameter, but the preset information comprises the applique material and the applique diameter, and developers can properly adjust the information needing to be input in advance in due time according to the requirements of actual development and application environments;
s2, acquiring role positioning information; the positioning information comprises current coordinates and direction vectors of the roles; the direction vector is a vector set of an x axis, a y axis and a z axis in a three-dimensional coordinate system, namely the direction of the game role at the moment or the facing direction can be understood, and the direction of the game role or the facing direction is separated to form a vector set of the x axis, the y axis and the z axis in the three-dimensional coordinate system;
s3, creating a direction model based on the preset information and the positioning information; the direction model is a cube created by taking the current coordinates of the role as the origin, taking a direction vector as the direction and taking the diameter of the applique as the side length;
s4, acquiring a ground surface model based on the direction model block and the role coordinates; the earth surface model is based on the current coordinates and direction model of the role, and earth surface areas intersected with the cube are selected;
s5, creating a model to be processed based on the direction model and the earth surface model; the model to be processed is generated by cutting a corresponding earth surface model through six planes of a cube in the direction model;
s6, rendering the model to be processed and generating the applique; and when the model to be processed is rendered, the preset applique material in the preset information is used.
Referring to fig. 2, there is shown a connection diagram of an apparatus according to the present invention, comprising:
the loading module is connected with the direction model creating module to realize interaction and is used for loading preset information;
the positioning module is connected with the direction model creating module to realize interaction and is used for acquiring role positioning information;
the direction model creating module is connected with the earth surface model creating module to realize interaction and is used for creating a direction model;
the earth surface model creating module is connected with the model creating module to be processed to realize interaction and is used for acquiring an earth surface model;
the model to be processed creating module is connected with the generating module to realize interaction and is used for creating a model to be processed; and
and the applique generation module is used for rendering the model to be processed and generating a corresponding applique.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention.

Claims (8)

1. A method of implementing a MMO game floor applique comprising the steps of:
s1, loading preset information;
s2, acquiring role positioning information;
s3, creating a direction model based on the preset information and the positioning information;
s4, acquiring a ground surface model based on the direction model block and the role coordinates;
s5, creating a model to be processed based on the direction model and the earth surface model;
s6, rendering the model to be processed and generating the applique;
the positioning information comprises the current coordinates and the direction vectors of the roles;
the preset information comprises the applique material and the applique diameter.
2. The method of implementing an MMO game floor decal according to claim 1, wherein said directional vector is a vector set of x-axis, y-axis and z-axis within a three dimensional coordinate system.
3. The method of claim 1, wherein the directional model is a cube created with the current coordinates of the character as the origin, the directional vector as the orientation, and the decal diameter as the side length.
4. The method of claim 1, wherein the surface model is a surface area intersecting a cube selected based on the current coordinates of the character and the orientation model.
5. The method for implementing a MMO game ground decal according to claim 1, wherein said model to be processed is generated by clipping the corresponding ground model through six planes of a cube in the orientation model.
6. The method of claim 1, wherein the material of the applique is preset in the preset information when the model to be processed is rendered.
7. An apparatus for implementing a MMO game floor applique, comprising:
the loading module is used for loading preset information;
the positioning module is used for acquiring role positioning information;
the direction model creating module is used for creating a direction model;
the earth surface model creating module is used for acquiring an earth surface model;
the model to be processed creating module is used for creating a model to be processed; and
the applique generation module is used for rendering the model to be processed and generating an applique;
the positioning information comprises the current coordinates and the direction vectors of the roles;
the preset information comprises the applique material and the applique diameter.
8. A computer-readable storage medium having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
CN201910034243.XA 2019-01-15 2019-01-15 Method and device for realizing MMO game ground surface applique Active CN109794062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910034243.XA CN109794062B (en) 2019-01-15 2019-01-15 Method and device for realizing MMO game ground surface applique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910034243.XA CN109794062B (en) 2019-01-15 2019-01-15 Method and device for realizing MMO game ground surface applique

Publications (2)

Publication Number Publication Date
CN109794062A CN109794062A (en) 2019-05-24
CN109794062B true CN109794062B (en) 2022-08-30

Family

ID=66558919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910034243.XA Active CN109794062B (en) 2019-01-15 2019-01-15 Method and device for realizing MMO game ground surface applique

Country Status (1)

Country Link
CN (1) CN109794062B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111054076B (en) * 2019-11-21 2021-05-04 珠海剑心互动娱乐有限公司 Game character walking animation processing method, terminal and storage medium
CN112598770B (en) * 2020-12-22 2023-08-08 福建天晴数码有限公司 Real-time decal rendering method and system based on model three-dimensional coordinate space

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074039A (en) * 2010-09-29 2011-05-25 深圳市蓝韵实业有限公司 Method for drawing volume rendering cutting surface
CN105469382A (en) * 2014-12-04 2016-04-06 苏州蜗牛数字科技股份有限公司 3D map display method and display system
CN108090945A (en) * 2017-11-03 2018-05-29 腾讯科技(深圳)有限公司 Object rendering intent and device, storage medium and electronic device
CN108109193A (en) * 2017-12-19 2018-06-01 苏州蜗牛数字科技股份有限公司 A kind of variable precision coding and decoding method for being suitable for delay coloring
CN108171784A (en) * 2017-12-22 2018-06-15 福建省天奕网络科技有限公司 A kind of rendering intent and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9358461B2 (en) * 2012-12-26 2016-06-07 Sony Interactive Entertainment America Llc Systems and methods for ranking of cloud executed mini-games based on tag content and social network content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074039A (en) * 2010-09-29 2011-05-25 深圳市蓝韵实业有限公司 Method for drawing volume rendering cutting surface
CN105469382A (en) * 2014-12-04 2016-04-06 苏州蜗牛数字科技股份有限公司 3D map display method and display system
CN108090945A (en) * 2017-11-03 2018-05-29 腾讯科技(深圳)有限公司 Object rendering intent and device, storage medium and electronic device
CN108109193A (en) * 2017-12-19 2018-06-01 苏州蜗牛数字科技股份有限公司 A kind of variable precision coding and decoding method for being suitable for delay coloring
CN108171784A (en) * 2017-12-22 2018-06-15 福建省天奕网络科技有限公司 A kind of rendering intent and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Unity3D 中的贴花效果;互联网;《http://www.360doc.com/content/18/0408/11/110467_743748273.shtml》;20180408;全文 *
UnityDecal——贴花方法总结;互联网;《https://gameinstitute.qq.com/community/detail/124146》;20180423;网页正文第1段-最后1段 *

Also Published As

Publication number Publication date
CN109794062A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
US8882593B2 (en) Game processing system, game processing method, game processing apparatus, and computer-readable storage medium having game processing program stored therein
CN109794062B (en) Method and device for realizing MMO game ground surface applique
CN101477700B (en) Real tri-dimension display method oriented to Google Earth and Sketch Up
CN111882674A (en) Virtual object adjusting method and device, electronic equipment and storage medium
US20190054378A1 (en) Systems and methods for creating a playable video game from a three-dimensional model
EP3525897B1 (en) Game system
CN108245890B (en) Method and device for controlling movement of object in virtual scene
US6756984B1 (en) Object displaying method, a recording medium and game apparatus
CN113382790B (en) Toy system for augmented reality
US20150128104A1 (en) Systems and Methods for Creating a Playable Video Game From A Three-Dimensional Model
CN112927332B (en) Bone animation updating method, device, equipment and storage medium
CN107096223B (en) Movement control method and device in virtual reality scene and terminal equipment
CN111651057A (en) Data display method and device, electronic equipment and storage medium
US8665285B2 (en) Storage medium having stored therein image processing program, image processing apparatus, image processing system, and image processing method
JP2005250800A (en) Game program and game device
CN112870702B (en) Recommendation method, device and equipment for road resources in virtual scene and storage medium
CN114344899A (en) Coordinate axis display method, device, terminal and medium applied to virtual environment
CN111603758A (en) Visual angle adjusting method for game role, electronic equipment and storage medium
JP6832320B2 (en) Systems, methods, and programs for providing content using augmented reality technology
CN109636888B (en) 2D special effect manufacturing method and device, electronic equipment and storage medium
CN101488229B (en) PCI three-dimensional analysis module oriented implantation type ture three-dimensional stereo rendering method
CN109847360A (en) 3D effect processing method, device, electronic equipment and the medium of game item
JP3431522B2 (en) GAME DEVICE AND INFORMATION STORAGE MEDIUM
CN109885783B (en) Loading method and device of three-dimensional building model
US20040243538A1 (en) Interaction with a three-dimensional computer model

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Patentee after: CHENGDU XISHANJU INTERACTIVE ENTERTAINMENT TECHNOLOGY Co.,Ltd.

Address before: Building 3, Jinshan Software Park, 325 Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai, Guangdong 519000

Patentee before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

Patentee before: CHENGDU XISHANJU INTERACTIVE ENTERTAINMENT TECHNOLOGY Co.,Ltd.