CN102073498A - Method for constructing virtual scene - Google Patents

Method for constructing virtual scene Download PDF

Info

Publication number
CN102073498A
CN102073498A CN2010106225674A CN201010622567A CN102073498A CN 102073498 A CN102073498 A CN 102073498A CN 2010106225674 A CN2010106225674 A CN 2010106225674A CN 201010622567 A CN201010622567 A CN 201010622567A CN 102073498 A CN102073498 A CN 102073498A
Authority
CN
China
Prior art keywords
mishap
sight
event
trigger condition
inlet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010106225674A
Other languages
Chinese (zh)
Inventor
额尔德尼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Pixel Software Technology Co Ltd
Original Assignee
Beijing Pixel Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pixel Software Technology Co Ltd filed Critical Beijing Pixel Software Technology Co Ltd
Priority to CN2010106225674A priority Critical patent/CN102073498A/en
Publication of CN102073498A publication Critical patent/CN102073498A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The invention discloses a method for constructing a virtual scene, which comprises the following steps: decomposing the scene into small events, organizing and operating in the stream way, using an editor to generate an inlet against possible trigger conditions of each small event, inserting the corresponding small event and the corresponding trigger conditions into each inlet, and further linking all the small events with corresponding resources. With the adoption of the method disclosed by the invention, the construction efficiency of the virtual scene can be improved.

Description

Virtual sight construction method
Technical field
The present invention relates to the 3D game technology, particularly a kind of virtual sight construction method.
Background technology
In network or single-play game, the structure of virtual sight is the important component part of the explanation story of a play or opera and world outlook, and in online game, and the structure of virtual sight is relative complex and the very high work of cost especially.For the purpose of simple, hereinafter use " sight " replacement " virtual sight ".In the prior art, the structure of the sight in the recreation generally all is to write sight or record animation by script.
For example, sight structures a large amount of in " seeking celestial being " this recreation are to utilize script directly to write, and are one section below and seek the script example that allows non-player role (NPC) set off fireworks in the celestial being:
Figure BSA00000411383100011
Above-mentioned script has directly specified NPC to use the technical ability of putting fireworks, and the form of expression of fireworks may be " smiling face ", " footprint ", " diplocardia " or " sincerity ", and in the technical ability cooling problem of having finished aftertreatment.
In addition, recording cartoon method may comprise pre-rendering animation and record this dual mode of real-time animation.Pre-rendering animation is a kind of sight form of expression that the recreation industry occurs very early, the benefit of pre-rendering animation is to show the picture that exceeds this machine function limit, that use it the earliest on a large scale is the Square of recreation manufacturer of Japan, it has been extensive use of pre-rendering animation in " final illusion ", makes the recreation performance exceed most of at that time recreation.The cost of pre-rendering animation is very high, and is also very high to the requirement of hardware, but the expressive ability of sight is very outstanding.The recreation of early stage a large amount of use real-time animation recording technologies is " metal gear solid " series, and its real-time 3D animation can well show the story of a play or opera.And now because the greatly developing of 3D technology, the expressive ability of real-time animation is very nearly the same with pre-rendering animation.
Yet, all there is defective in sight construction method of the prior art, for example, utilize script to carry out sight separately and make up and but to lack versatility, can't transplant, directly carry out animation and record and then be difficult to expansion, the cost of recording animation is also very high, adopt simultaneously and record cartoon method and also have another defective, promptly lack the interactivity with the player, animation player when playing can't participate.It is emphasized that especially all there is following common defects in above-mentioned several sight construction methods in the prior art: development efficiency is low, utilize game scripts make or recorded video all can't play apace in the structure of sight.
Summary of the invention
In view of this, the invention provides a kind of virtual sight construction method, can improve the structure efficient of virtual sight.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of virtual sight construction method, this method comprises:
A, set up a plurality of flows of event, the corresponding sight of each flow of event, each flow of event comprises one or more mishaps of arranging in order, before each mishap, also comprise a prerequisite group, each prerequisite group is used to trigger mishap thereafter, a plurality of flows of event of being set up are added in the editing machine, and in described editing machine, add and the mutual interface of player;
B, editing machine generate inlet at the possible trigger condition of each mishap, the possible trigger condition of each mishap is one or more, the corresponding inlet of each trigger condition inserts corresponding mishap and corresponding trigger condition then in each inlet;
C, set up the resource corresponding with each mishap, editing machine links all mishaps with corresponding resource.
This method further comprises:
The flow of event of each sight correspondence is tested and preview, if can triggered as normal also show predetermined sight, then process ends; Otherwise, return steps A.
Described prerequisite group comprises one or more prerequisites;
When comprising a prerequisite,
Then trigger thereafter mishap as long as satisfy this prerequisite,
When comprising a plurality of prerequisite,
Satisfy these a plurality of prerequisites and then trigger thereafter mishap.
According to technical scheme provided by the present invention, sight is resolved into mishap one by one, and with stream mode organize and operate, editing machine generates inlet at the possible trigger condition of each mishap, and in each inlet, insert the trigger condition of corresponding mishap and correspondence, again all mishaps are linked with corresponding resource.As seen, development efficiency height of the present invention can improve the structure efficient of virtual sight.
Adopt technical scheme of the present invention, the exploitation of various sights and incident in can playing apace, with low cost, the project staff also can develop on the basis that seldom relies on the program personnel.Liberated the program work person simultaneously, allowed them can be engaged in more other important process.From the situation of the project implementation, it is nearly 70% that shell script person's workload has reduced, and it is nearly 50% that project staff's development efficiency has then improved, and it is very obvious to produce effects.
Description of drawings
Fig. 1 is the process flow diagram of a kind of virtual sight construction method provided by the present invention.
Fig. 2 is the synoptic diagram that adds the embodiment of flow of event in the editing machine.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Core concept of the present invention is: sight is resolved into mishap one by one, and with stream mode organize and operate, editing machine generates inlet at the possible trigger condition of each mishap, and in each inlet, insert the trigger condition of corresponding mishap and correspondence, again all mishaps are linked with corresponding resource, can improve the structure efficient of virtual sight.
Fig. 1 is the process flow diagram of a kind of virtual sight construction method provided by the present invention.As shown in Figure 1, this method may further comprise the steps:
Step 101, set up a plurality of flows of event, the corresponding sight of each flow of event, each flow of event comprises one or more mishaps of arranging in order, before each mishap, also comprise a prerequisite group, each prerequisite group is used to trigger mishap thereafter, a plurality of flows of event of being set up is added in the editing machine, and adds and the mutual interface of player in described editing machine.
In this step, putting in order of described mishap is the possible execution sequence of mishap.
A prerequisite group can comprise one or more prerequisites, when comprising a prerequisite, then triggers thereafter mishap as long as satisfy this prerequisite, when comprising a plurality of prerequisite, satisfies these a plurality of prerequisites and then triggers thereafter mishap.
The information that can be used for receiving the player by described interface.
Fig. 2 is the synoptic diagram that adds the embodiment of flow of event in the editing machine.As shown in Figure 2, added a plurality of flows of event in the editing machine, each flow of event comprises one or more mishaps.
Step 102, editing machine generates inlet at the possible trigger condition of each mishap, the possible trigger condition of each mishap is one or more, and the corresponding inlet of each trigger condition inserts corresponding mishap and corresponding trigger condition then in each inlet.
This step is illustrated, suppose that mishap 1 possible trigger condition is: trigger condition 1, trigger condition 2, trigger condition 3, then trigger condition 1 is generated inlet 1, in inlet 1, insert corresponding mishap 1 and trigger condition 1, generate inlet 2 at trigger condition 2, in inlet 2, insert corresponding mishap 1 and trigger condition 2, generate inlet 3, in inlet 3, insert corresponding mishap 1 and trigger condition 3 at trigger condition 3.
For example, following code definition enter the inlet of this scene, promptly enter the trigger condition of this scene.
fun_table[120]=″function?ScnInit(scn)\n″
fun_table[121]=″function?ScnPlayerIn(scn,player)\n″
fun_table[122]=″function?ScnPlayerOut(scn,player)\n″
fun_table[123]=″function?ScnPlayerDead(scn,player)\n″
Following code definition enter the inlet in this zone, promptly enter this regional trigger condition
fun_table[140]=″function?AreaPlayerIn(scn,area_id,player)\n″
fun_table[141]=″function?AreaPlayerOut(scn,area_id,player)\n″
After step 102 was finished, editing machine had generated the corresponding script file.
Step 103 is set up the resource corresponding with each mishap, and editing machine links all mishaps with corresponding resource.
For example, suppose mishap 1 for playing sound 1, then the resource of mishap 1 correspondence is the file of sound 1.
The editing machine device can be converted into the form of one group of mishap and the resource of one group of correspondence to the content that fills, and these mishaps and existing resources are linked, and they are organically combined.
At different mishaps different link policy is arranged, as brush out the operation of a NPC.We can generate corresponding row in the strange table of brush, and element (attribute) fill out with in form, afterwards the index of the script of step 102 generation is injected in the script row of the strange form of brush, script and form just have been linked to some like this, when triggering this script, mishap will according to condition take place afterwards.Because the strategy of every kind of mishap is different, only list the generative process of brush strange thing part below:
So far, finished the structure of a plurality of sights.
After above-mentioned steps is finished, also can further test and preview the flow of event of above-mentioned steps 101~103 each sight correspondence, if can triggered as normal also show predetermined sight, show that above-mentioned steps is correct, then process ends; Otherwise, return step 101, revise.
To sum up, in the present invention, sight is resolved into mishap one by one, and with stream mode organize and operate, editing machine generates inlet at the possible trigger condition of each mishap, and in each inlet, insert the trigger condition of corresponding mishap and correspondence, again all mishaps are linked with corresponding resource.As seen, development efficiency height of the present invention can improve the structure efficient of virtual sight.
Adopt technical scheme of the present invention, the exploitation of various sights and incident in can playing apace, with low cost, the project staff also can develop on the basis that seldom relies on the program personnel.Liberated the program work person simultaneously, allowed them can be engaged in more other important process.From the situation of the project implementation, it is nearly 70% that shell script person's workload has reduced, and it is nearly 50% that project staff's development efficiency has then improved, and it is very obvious to produce effects.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. virtual sight construction method is characterized in that this method comprises:
A, set up a plurality of flows of event, the corresponding sight of each flow of event, each flow of event comprises one or more mishaps of arranging in order, before each mishap, also comprise a prerequisite group, each prerequisite group is used to trigger mishap thereafter, a plurality of flows of event of being set up are added in the editing machine, and in described editing machine, add and the mutual interface of player;
B, editing machine generate inlet at the possible trigger condition of each mishap, the possible trigger condition of each mishap is one or more, the corresponding inlet of each trigger condition inserts corresponding mishap and corresponding trigger condition then in each inlet;
C, set up the resource corresponding with each mishap, editing machine links all mishaps with corresponding resource.
2. method according to claim 1 is characterized in that, this method further comprises:
The flow of event of each sight correspondence is tested and preview, if can triggered as normal also show predetermined sight, then process ends; Otherwise, return steps A.
3. method according to claim 2 is characterized in that, described prerequisite group comprises one or more prerequisites;
When comprising a prerequisite, then trigger thereafter mishap as long as satisfy this prerequisite, when comprising a plurality of prerequisite, satisfy these a plurality of prerequisites and then trigger thereafter mishap.
CN2010106225674A 2010-12-28 2010-12-28 Method for constructing virtual scene Pending CN102073498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106225674A CN102073498A (en) 2010-12-28 2010-12-28 Method for constructing virtual scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106225674A CN102073498A (en) 2010-12-28 2010-12-28 Method for constructing virtual scene

Publications (1)

Publication Number Publication Date
CN102073498A true CN102073498A (en) 2011-05-25

Family

ID=44032045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106225674A Pending CN102073498A (en) 2010-12-28 2010-12-28 Method for constructing virtual scene

Country Status (1)

Country Link
CN (1) CN102073498A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530087A (en) * 2012-07-04 2014-01-22 腾讯科技(深圳)有限公司 Plot command executing method and device
CN103679820A (en) * 2013-12-16 2014-03-26 北京像素软件科技股份有限公司 Method for simulating grass body disturbance effect in 3D virtual scene
CN106952508A (en) * 2017-05-11 2017-07-14 厦门优芽网络科技有限公司 Scene animation courseware in kind
CN108171783A (en) * 2018-03-20 2018-06-15 联想(北京)有限公司 Image rendering method, system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281532A (en) * 2008-05-22 2008-10-08 成都普辰瑞通通讯技术有限公司 Expandable rich medium scene operation method
CN101303773A (en) * 2008-06-10 2008-11-12 中国科学院计算技术研究所 Method and system for generating virtual scene
CN101908232A (en) * 2010-07-30 2010-12-08 重庆埃默科技有限责任公司 Interactive scene simulation system and scene virtual simulation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281532A (en) * 2008-05-22 2008-10-08 成都普辰瑞通通讯技术有限公司 Expandable rich medium scene operation method
CN101303773A (en) * 2008-06-10 2008-11-12 中国科学院计算技术研究所 Method and system for generating virtual scene
CN101908232A (en) * 2010-07-30 2010-12-08 重庆埃默科技有限责任公司 Interactive scene simulation system and scene virtual simulation method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530087A (en) * 2012-07-04 2014-01-22 腾讯科技(深圳)有限公司 Plot command executing method and device
CN103530087B (en) * 2012-07-04 2015-02-18 腾讯科技(深圳)有限公司 Plot command executing method and device
TWI488674B (en) * 2012-07-04 2015-06-21 Tencent Tech Shenzhen Co Ltd Method and device for executing drama instructions
US9370719B2 (en) 2012-07-04 2016-06-21 Tencent Technology (Shenzhen) Company Limited Method and apparatus for executing plot instructions to show complex plots
CN103679820A (en) * 2013-12-16 2014-03-26 北京像素软件科技股份有限公司 Method for simulating grass body disturbance effect in 3D virtual scene
CN106952508A (en) * 2017-05-11 2017-07-14 厦门优芽网络科技有限公司 Scene animation courseware in kind
CN108171783A (en) * 2018-03-20 2018-06-15 联想(北京)有限公司 Image rendering method, system and electronic equipment
US10867426B2 (en) 2018-03-20 2020-12-15 Lenovo (Beijing) Co., Ltd. Image rendering method and system

Similar Documents

Publication Publication Date Title
CN101990451B (en) System and method for automated creation of video game highlights
Guttenbrunner et al. Keeping the game alive: Evaluating strategies for the preservation of console video games
CN102520972A (en) Video game development system and method thereof
Dunlop Production pipeline fundamentals for film and Games
CN102073498A (en) Method for constructing virtual scene
Whitson The'console ship is sinking'and what this means for indies
CN110225376B (en) Interactive video production method and device for advertisement putting
CN110841287B (en) Video processing method, apparatus, computer readable storage medium and computer device
CN109710357A (en) A kind of method and system based on Unity3D engine implementation server operation
Kohwalter et al. Capturing game telemetry with provenance
CN103530087B (en) Plot command executing method and device
Machado et al. Seekwhence a retrospective analysis tool for general game design
CN102724445A (en) Method and system for instant generation of competitive game information
CN112587929B (en) Game copy generation method, device and equipment
CN108364351A (en) A kind of edit tool making virtual reality emergency drilling courseware
Lee et al. Changes in Industry Leadership and Catch-up by the Latecomers: Toward a theory of catch-up cycles
JP5393941B2 (en) Game development device and game development method
KR102273160B1 (en) Ledger system of directed acyclic graph - account-wise transaction chain with byzantine fault tolerance
CN117152312A (en) Game scenario animation playing method, device, equipment and storage medium
CN106776056A (en) Game data processing method, device and server
KR20080067892A (en) Apparatus and method of modeling for game
Boeira Lean game development: Apply lean frameworks to the process of game development
WO2021240678A1 (en) Video image processing device, video image processing method, and recording medium
CN113082720A (en) Prompt message determination method and device and electronic equipment
Dominguez et al. Automatic identification and generation of highlight cinematics for 3d games

Legal Events

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

Application publication date: 20110525