CN101873882B - Image generation device, image generation method, information recording medium, and program - Google Patents

Image generation device, image generation method, information recording medium, and program Download PDF

Info

Publication number
CN101873882B
CN101873882B CN2009801011034A CN200980101103A CN101873882B CN 101873882 B CN101873882 B CN 101873882B CN 2009801011034 A CN2009801011034 A CN 2009801011034A CN 200980101103 A CN200980101103 A CN 200980101103A CN 101873882 B CN101873882 B CN 101873882B
Authority
CN
China
Prior art keywords
camera
barrier
role
image
performance
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
CN2009801011034A
Other languages
Chinese (zh)
Other versions
CN101873882A (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.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment 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 Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Publication of CN101873882A publication Critical patent/CN101873882A/en
Application granted granted Critical
Publication of CN101873882B publication Critical patent/CN101873882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/45Controlling the progress of the video game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/63Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by the player, e.g. authoring using a level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • A63F2300/6661Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera

Abstract

An object position management unit (230) stores position information on each of objects including a leading character. A camera position management unit (240) stores position information on a plurality of representation cameras directed to the leading character from different directions. An obstacle judgment unit (250) judges whether an obstacle is present between each of the representation cameras and the leading character according to the stored position information on the respective representation cameras and position information on the respective objects, so as to store information on the representation camera which is not disturbed by an obstacle. A camera selection unit (270) selects one of the representation cameras stored in a camera list. A camera control unit (280) controls the selected representation camera and causes the representation camera to perform an imaging operation for representation. An image plot unit (290) generates an image captured by the controlled representation camera.

Description

Video generation device and image generating method
Technical field
Even the present invention relates to exist under the situation of barrier, also can generate video generation device, image generating method, information recording carrier and the program of having taken rightly the image of gazing at the role.
Background technology
In the past, developed the game device (video game apparatus etc.) of the home-use and commercial action game that carries out 3 dimension demonstrations and RPG etc.In action game that such 3 dimensions show etc., for example generate and show and utilize the virtual camera that becomes viewpoint to take the image of (having seen) hero role.
In the Virtual Space, due to except hero role, also dispose various objects, so, can appear at the situation that has other objects between hero role and camera.For example, when having the trees object between hero role and camera, this trees object becomes the barrier that blocks camera lines of sight.
If generate the image of directly taking from camera under this state, become hero role and blocked the image of (can't see all or part of) by this barrier, thereby can hinder player's operation.
Countermeasure as the such unfavorable condition of reply, exploitation has a kind of in the situation that hero role is blocked by barrier, improve the transparency of barrier and draw, thereby can see more easily hero role's technology (for example with reference to patent documentation 1) clearly.
Patent documentation 1: Japanese kokai publication hei 11-42370 communique (the 5-12 page, Fig. 8)
In action game that 3 dimensions as described above show etc., when wishing when any one occurrence has occured etc. further to pay close attention to hero role, switch to the performance camera (performance virtual camera) of having predesignated camera positions from the camera that becomes before viewpoint, move with photography by such performances such as trucking up or pan, take hero role, thereby demonstrate such performance image.
Due in this performance camera, the most important thing is to show the performance image for the sight that attracts the player, so can't stand the situation that the hero role that becomes reference object is blocked by barrier.Therefore, generally be only limited under the situation that does not have other objects that can become barrier around hero role (such as the broad place that there is no building, trees etc. etc.) in the past, just used such performance camera.
However, nearest development trend according to the player, game content (scene and situation etc.) changes various game and also increases gradually, even produced in the situation that there is such barrier, has also wished to have used this requirement of demonstration of performance camera.In order to satisfy such requirement, for example can consider to be confirmed whether to exist barrier, in the situation that there is barrier before utilization performance camera is photographed, to perform camera movement to than barrier more near hero role's side, carry out the shooting of not blocked by barrier.
But, if merely will perform camera movement to than barrier more near hero role's a side, according to the position of barrier, also can occur performing camera from hero role the situation close to too.
In this situation, hero role's (by pushing away too closely) shown too much causes giving full play to the effect of performance camera.
Therefore, wish a kind of barrier of both having considered, the technology that can utilize again the performance camera to photograph rightly.
Summary of the invention
The present invention proposes in order to solve such problem, its purpose is, exist under the situation of barrier even provide a kind of, also can generate video generation device, image generating method, information recording carrier and the program of having taken rightly the image of gazing at the role.
The video generation device that the 1st viewpoint of the present invention relates to, be used for generating by the virtual camera that becomes viewpoint the role that gazes at who is configured in the Virtual Space has been carried out the image of taking, it has: object's position storage part, position of camera storage part, barrier detection unit, camera selection portion, camera control part and image production part.
At first, the object's position storage portion stores comprises the position of a plurality of objects in the Virtual Space of gazing at the role.And the position of camera storage portion stores is in order to take from different directions the position of a plurality of cameras of gazing at the role and configuring.The barrier detection unit is according to the position of each camera of storing and the position of each object, differentiates respectively to have or not to become block at each camera and gaze at the object of the barrier between the role.The camera selection portion is from being differentiated for selecting any 1 camera the camera that there is no barrier.The camera control part is controlled selected camera, carries out moving with photography such as such performances such as trucking up, pan.Then, image production part generates the image by controlled this camera.
That is, owing to using a plurality of cameras of photography from different directions, and therefrom select do not blocked by barrier and can take the camera of gazing at the role, photograph, so, even exist under the situation of barrier, also can take and gaze at the role.
As a result, even exist under the situation of barrier, also can generate and take rightly the image of gazing at the role.
For whole cameras, barrier is arranged in the situation that above-mentioned barrier detection unit is differentiated, above-mentioned camera selection portion selects to gaze at the distance camera farthest of role and barrier,
Above-mentioned camera control part with selected camera movement to than barrier near gazing at the role rear flank, for example perform the photography action of use.
In this situation, even under the situation that whole cameras is blocked by barrier, also select from the camera of gazing at role's barrier farthest, camera movement is photographed to the front (viewpoint clears the jumps and can take the position of gazing at the role) near this barrier.Therefore, camera can too not approach gazes at the role, thereby can generate appropriate image.
Also can be after above-mentioned camera control part have for example begun the photography action of performance use, above-mentioned barrier detection unit differentiate successively have unobstructed in photography camera and gaze at barrier between the role,
In the situation that differentiate for barrier being arranged and gaze at the role with the distance of barrier is more than a reference value, above-mentioned camera control part can with camera movement to than barrier close gaze at role's side after, proceed for example to perform the photography of use and move.
In this situation, even after selected camera has begun the photography action, under the situation that has occured to be blocked by new barrier, also can be further with camera movement to proceeding photography near the front of this barrier (viewpoint clear the jumps and can take the position of gazing at the role).Therefore, can continue to generate appropriate image.
Begun the photography action of performance use at above-mentioned camera control part after, above-mentioned barrier detection unit differentiate successively have unobstructed at each camera and gaze at barrier between the role,
Block at the camera of photographing and gaze at barrier between the role differentiating for having, and gaze at the distance of role and this barrier than in the short situation of a reference value, above-mentioned camera selection portion is when selecting any 1 camera from differentiated for the camera of clear, from being differentiated for other cameras of clear, reselect any 1 camera
Above-mentioned camera control part is controlled the camera that is reselected out, proceeds for example to perform the photography action of use.
In this situation, after selected camera has begun photography action, even the situation of being blocked by new barrier (approaching the barrier of gazing at the role) has occured, also can switch to by reselecting of camera other camera.Therefore, can continue to generate appropriate image.
the image generating method that the 2nd viewpoint of the present invention relates to, it is the image generating method of carrying out in video generation device, this video generation device is used for generating by the virtual camera that becomes viewpoint to being configured in the image that the role has carried out shooting of gazing in the Virtual Space, described video generation device has storage part, operational part and draw section, above-mentioned storage portion stores comprises the position of a plurality of objects in the Virtual Space of gazing at the role, position with a plurality of cameras that configure for the role is gazed in shooting from different directions, described image generating method comprises: the barrier determination step, camera is selected step, step controlled by camera and image generates step.
In the barrier determination step, according to the position of each camera of storing in described storage part and the position of each object, differentiate respectively to have or not to become and block at each camera and gaze at the object of the barrier between the role.Select in step at camera, from being differentiated for selecting any 1 camera the camera that there is no barrier.Control in step at camera, control selected camera, for example perform the photography action of use.Generate in step at image, generate the image by this camera of controlling.
That is, owing to using a plurality of cameras of photography from different directions, and therefrom select do not blocked by barrier and can take the camera of gazing at the role, photograph, so, even exist under the situation of barrier, also can take and gaze at the role.
As a result, even exist under the situation of barrier, also can generate and take rightly the image of gazing at the role.
The information recording carrier that the 3rd viewpoint of the present invention relates to stores and makes computer (comprising electronic equipment) as the program of above-mentioned server performance function.
The program that the 4th viewpoint of the present invention relates to makes computer (comprising electronic equipment) as above-mentioned video generation device performance function.
Program of the present invention can be recorded in the recording medium of the embodied on computer readable such as compact disk, floppy disk, hard disk, photomagneto disk, digital video disc, tape, semiconductor memory.
Said procedure can be independent of the computer of carrying out this program and issue, sells by computer communication network.In addition, above-mentioned information recording carrier can be independent of this computer and issues, sells.
According to the present invention, even exist under the situation of barrier, also can generate and take rightly the image of gazing at the role.
Description of drawings
Fig. 1 means the schematic diagram of the Sketch of the information processor that embodiments of the present invention relate to.
Fig. 2 means the schematic diagram of the Sketch of the video generation device that embodiments of the present invention relate to.
Fig. 3 is the schematic diagram for the performance camera that configures of explanation and hero role's relation.
Fig. 4 A blocks the schematic diagram of the barrier of the sight line of performing camera for explanation.
Fig. 4 B blocks the schematic diagram of the barrier of the sight line of performing camera for explanation.
Fig. 5 A means the schematic diagram of the relation of performance camera and barrier.
Fig. 5 B means the schematic diagram of an example of camera list.
Fig. 6 A is the schematic diagram for the relation of explanation performance camera and each barrier.
Fig. 6 B is the schematic diagram for the relation of explanation performance camera and each barrier.
Fig. 7 A is the schematic diagram of the control of the performance camera in the situation of being blocked by barrier for all performance cameras of explanation.
Fig. 7 B is the schematic diagram of the control of the performance camera in the situation of being blocked by barrier for all performance cameras of explanation.
Fig. 8 A is the schematic diagram for explanation performance camera and hero role's relation.
Fig. 8 B means the schematic diagram of an example of the game image that generates.
Fig. 8 C means the schematic diagram of an example of the game image that generates.
Fig. 9 means the flow chart of an example of the image generation processing that embodiments of the present invention relate to.
In figure: the 100-game device; 101-CPU; 102-ROM; 103-RAM; The 104-interface; The 105-controller; The 106-external memory storage; The 107-DVD-ROM driver; The 108-image processing part; 109-acoustic processing section; 110-NIC; The 200-video generation device; 210-object information storage part; Section is accepted in the 220-operation; 230-object's position management department; 240-position of camera management department; 250-differentiating obstacle section; The list of 260-camera; 270-camera selection portion; 280-camera control part; The 290-image is drawn section.
The specific embodiment
Below, embodiments of the present invention are described.Below, although for the ease of understanding, the embodiment that the present invention is applied to game device describes, and in the information processors such as various computers, PDA, mobile phone, can use the present invention too.That is, below the embodiment of explanation just is used for describing, and does not consist of limitation of the scope of the invention.Therefore, the art personnel can adopt with these each key elements or all key element be replaced as the embodiment of the key element impartial with it, these embodiments also belong to scope of the present invention.
(embodiment 1)
Fig. 1 means the schematic diagram of Sketch of the typical game device of the video generation device that can realize that embodiments of the present invention relate to.Below, describe with reference to this figure.
Game device 100 has: CPU (Central Processing Unit) 101, ROM (ReadOnly Memory) 102, RAM (Random Access Memory) 103, interface 104, controller 105, external memory storage 106, DVD-ROM (Digital Versatile Disk)-ROM driver 107, image processing part 108, acoustic processing section 109 and NIC (NetworkInterface Card) 110.
Wherein, be encased in DVD-ROM driver 107 by the DVD-ROM that will store game program and data, and connect the power supply of game device 100, this program is performed, thereby can realize the video generation device of present embodiment.
CPU101 controls the action of game device 100 integral body, is connected with each inscape, mutually exchanges control signal and data.
Record the IPL (Initial ProgramLoader) that carries out immediately in ROM102 after switching on power, by carrying out this program, the program that is recorded in DVD-ROM is read into RAM103, begun to carry out by CPU101.And, record the necessary operating system program of action control and the various data of game device 100 integral body in ROM102.
RAM103 is used for temporary transient save data and program, and it keeps the program of reading from DVD-ROM and data and necessary data the carrying out of game and conversational communication.
Controller 105 accepted users of realizing by interface 104 connecting are in the operation input of playing and carrying out when carrying out.For example, controller 105 is according to operation input, accepts the input of character string (information) etc.
In the external memory storage 106 of realizing freely connecting by interface 104 plug, can preserve the data etc. of the daily record (record) of the data of carrying out state of expression game and conversational communication with rewriting.The user can be recorded to these data in external memory storage 106 rightly by using controller 105 to indicate input.
In the DVD-ROM that is loaded into DVD-ROM driver 107, record for the program that realizes game and subsidiary view data and the voice data of game.Under the control of CPU101, DVD-ROM driver 107 carries out reading necessary program and data to being loaded into the processing of reading of wherein DVD-ROM, and they are temporarily stored in RAM103 etc.
Image processing part 108 has carried out processing to the data of reading from DVD-ROM at the image operation processor (not shown) that is possessed by CPU101 and image processing part 108 process after, it is recorded in the frame memory (not shown) that image processing part 108 possesses.The image information that records in frame memory is converted to vision signal by the synchronization timing with regulation, then is output to the display (not shown) that is connected with image processing part 108.Thus, can carry out various images shows.
Wherein, the overlapping computing, α that can carry out at a high speed 2 dimension images of image operation processor such as mixes at perspective computing and the various saturation arithmetic.
And, can also carry out at a high speed the polygon information that will be configured in virtual 3 dimension spaces and added various texture informations, adopt the Z buffer method to play up, to obtain having looked down from the viewpoint position of regulation the computing that is configured in the polygonal rendering image in virtual 3 dimension spaces.
And, by CPU101 and image operation processor interoperation, can according to the font information of definition word shape, character string be drawn to frame memory as 2 dimension images, or draw to each polygon surface.Although font information is recorded in ROM102, also can utilize the font information that is recorded in the special use in DVD-ROM.
Acoustic processing section 109 will convert analoging sound signal to from the voice data that DVD-ROM reads, and export from connected loudspeaker (not shown).And, under the control of CPU101, be created on effect sound and the music data that should occur in process of carrying out of game, and from the loudspeaker output sound corresponding with it.
NIC110 is used for the computer communication networks (not shown) such as game device 100 and internet are connected, it is by the equipment in accordance with 10base-T/100BASE-T specification that uses when consisting of LAN (Local Area Network), or for the analog modem that uses telephone line to be connected with the internet, ISDN (Integrated Services Digital Network) modem, ADSL (Asymmetric Digital Subscriber Line) modem, be used for to use cable modem that catv line is connected with the internet etc., and carry out them and consist of with the interface that is connected (not shown) between CPU101.
In addition, game device 100 also can constitute large volume, external storage devices such as using hard disk, realizes with ROM102, RAM103, external memory storage 106, is contained in the identical function such as DVD-ROM in DVD-ROM driver 107.
And, also can adopt connect to be used for accepting from the user to the keyboard of editor's input of character string and be used for the mode of the mouse accepting the appointment of various positions and select input etc.
In addition, also can replace the game device 100 of present embodiment and use general computer (general purpose personal computer etc.) as video generation device.For example, general computer and above-mentioned game device 100 are same, have CPU, RAM, ROM, DVD-ROM driver and NIC, and has the easy image processing part of function ratio game device 100, as external memory, except can utilizing hard disk, also can utilize floppy disk, photomagneto disk, tape etc.In addition, also can not use controller, and keyboard and mouse are used as input unit.And, after games have been installed, by carrying out this program, as video generation device performance function.
(summary results of video generation device)
Fig. 2 means the schematic diagram of the Sketch of the video generation device that present embodiment relates to.As an example, this video generation device is when the event of regulation has occured in the action game that 3 dimensions show or RPG etc. etc., want to pay close attention in hero role's situation, switch to performance camera (performance virtual camera) from the virtual camera that becomes before viewpoint, to gazing at role's (want gaze at hero role), carry out performance as truck up (zoom up) or pan (pan) etc. with the device of photography action.Below, describe with reference to this figure.
As shown in the figure, video generation device 200 has: object information storage part 210, operation are accepted section 220, object's position management department 230, position of camera management department 240, differentiating obstacle section 250, camera list 260, camera selection portion 270, camera control part 280 and image and are drawn section 290.
At first, 210 storages of object information storage part are configured in the information of the various objects such as hero role's (player characters), enemy role, trees, rock and building in the Virtual Space.Particularly, each object has been stored information such as 3 dimension models and texture.
Wherein, RAM103 etc. can be used as such object information storage part 210 performance functions.
Operation is accepted section 220 and is accepted the player to operated hero role's the operation inputs such as action indication.For example, operation accept section 220 the player supress with move, use daggers and swords weapon (open fire or wave daggers and swords) to prescribed direction, pick up article, a plurality of buttons that the action such as squat down, drop to the ground is corresponding are (as an example, be configured in directionkeys on controller 105, A key, B key, X key, Y key etc.) any one the time, accept the operation input to hero role.
Wherein, controller 105 is accepted section's 220 performance functions as such operation.
The positional information of the objects that the position changes in the Virtual Space such as the management hero roles of object's position management department 230 or enemy role (current location and towards etc.).For example, according to being accepted mobile indication that section 220 accepts etc. by operation, the position its Virtual Space in and towards changing is so manage its positional informations by object's position management department 230 due to hero role.In addition, because enemy role also according to the rules logic appropriately moves, the position in its Virtual Space etc. changes, so, by same management position information.
In addition, object's position management department 230 positional information of also managing such immovable object in position in the Virtual Space such as building, trees, stone.
Wherein, RAM103 and CPU101 are as such object's position management department 230 performance functions.
The position of a plurality of performance cameras of hero role is faced in 240 storages of position of camera management department from different directions.
Particularly, position of camera management department 240 as shown in Figure 3, management is configured in the positional information of 3 performance camera EC1~EC3 in hero role SC the place ahead.Wherein, the direction (photography direction) of each performance camera EC1~EC3 is managed into when photography towards hero role SC.In addition, in Fig. 3, for convenience of explanation, the top view that utilization is looked down from the top represents the hero role SC the Virtual Space.In following accompanying drawing, also suitably utilize such top view to describe.
Positional informations of these performances camera EC1~EC3 can be the absolute positions that determines according to event, can be also the relative positions that the position according to hero role SC determines.
As an example of absolute position, in the situation that by the weapon that it is special that hero role picks up (acquisition), event occurs, be to be decided to be respectively with initial position (position of originally placing etc.) opposed 3 positions of this weapon etc.
In addition, as an example of relative position, in the situation that through the stipulated time (a time bomb exploded etc. such as set), event has occured, be to leave predetermined distance and opposed 3 positions etc. from hero role's current location.
Wherein, RAM103 and CPU101 are as such position of camera management department 240 performance functions.
Turn back to Fig. 2, differentiating obstacle section 250 is according to the positional information of each performance camera of storage in the positional information of each object of storage in object's position management department 230 and position of camera management department 240, differentiates respectively having or not of the barrier that blocks between each performance camera and hero role.
That is, differentiating obstacle section 250 is differentiated (whether EC1~EC3) exists the object that becomes barrier on the sight line VL of hero role SC from performance camera EC as shown in Fig. 4 A.
In addition, differentiating obstacle section 250 also can as basic point, use a plurality of auxiliary line of sight HL that consist of predetermined angular θ with sight line VL with performance camera EC as shown in Figure 4B, differentiates respectively on each auxiliary line of sight HL whether have object.Wherein, for convenience of explanation, represented the appearance that auxiliary line of sight HL only expands to horizontal direction in this Fig. 4 B, but in fact, auxiliary line of sight HL expands to vertical direction too.
In the situation that so used auxiliary line of sight HL, can also determine the situation etc. that barrier has blocked hero role's a part.
Wherein, CPU101 can be used as such differentiating obstacle section 250 performance functions.
Turn back to Fig. 2, camera list 260 records the information of being differentiated for the performance camera that there is no barrier by differentiating obstacle section 250.
For example, as shown in Fig. 5 A, in the situation that the barrier SB (situation that sight line VL1, VL3 are not blocked) of the sight line VL2 that has blocked performance camera EC2 is arranged, as shown in Fig. 5 B, store the information of performance camera EC1, EC3 in camera list 260.
That is, store the information that can not be subjected to barrier to take hero role's performance camera in camera list 60 with blocking.
Wherein, RAM103 can be used as such camera list 260 performance functions.
Turn back to Fig. 2, in the performance camera that camera selection portion 270 records, for example select at random 1 camera from camera list 260.That is, from being differentiated for selecting any 1 camera the camera that there is no barrier.
In addition, whole performance cameras also can occur differentiated for there being barrier, do not store the situation of any performance camera in camera list 260.In this situation, the distance of camera selection portion 270 selection hero roles and barrier is the corresponding performance camera of distance farthest.
For example, as shown in Figure 6A, supposed to occur the situation that sight line VL1~VL3 is all blocked respectively by barrier SB1~SB3 of performance camera EC1~EC3.In this situation, camera selection portion 270 as shown in Fig. 6 B, obtain respectively hero role SC and barrier SB1 apart from d1, hero role SC and barrier SB2 apart from d2, hero role SC and barrier SB3 apart from d3.Then, select and the performance camera EC3 corresponding apart from d3 that becomes maximum (far) distance.
In addition, also can occur in the situation that has a plurality of barriers on the sight line of performing camera.In this situation, the barrier close to hero role becomes the object of asking for distance.
Wherein, CPU101 can be used as such camera selection portion 270 performance functions.
Turn back to Fig. 2, camera control part 280 is controlled selecteed performance camera, performs with the photography action.
For example, camera control part 280 performance such as trucks up, pans, shakes with the photography action, takes to make the player gaze at hero role's the sporty image of tool.
Wherein, whole performance cameras is being differentiated for there being barrier, and in the situation of the distance of having selected hero role and barrier by above-mentioned camera selection portion 270 for farthest performance camera, camera control part 280 is performed the photography action of use making selected performance camera movement to than the rear flank of barrier near hero role.
For example, as shown in Fig. 7 A, under the state that performance camera EC1~EC3 is blocked by barrier SB1~SB3, selected distance performance camera EC3 farthest.In this situation, camera control part 280 is as shown in Fig. 7 B, to actual viewpoint (camera lens part in the figure) SB3 that clears the jumps, after can taking the position of hero role SC, perform the photography action of use at the position movement that will perform camera EC3.That is, performance camera EC3 is moved to the position of blocking and take as far as possible from afar hero role SC that is not subjected to barrier SB3.Then, begin to perform action from this shift position.
Wherein, CPU101 can be used as such camera control part 280 performance functions.
Turn back to Fig. 2, image is drawn section 290 according to the object information of storage in object information storage part 210 with by the role's of object's position management department 230 management positional information etc., draw the performance camera controlled with common virtual camera or by above-mentioned camera control part 280 as viewpoint, taken the game image of the object of (in the visual field) in the Virtual Space.
Particularly, in the situation that occured regulation event, selected 1 performance camera by above-mentioned camera selection portion 270, image is drawn section 290 and is drawn this performance camera that will be controlled by camera control part 280 as the image of viewpoint.
For example, in the situation that the performance that camera control part 280 is controlled is to truck up with the photography action, the viewpoint of virtual camera EC moves to position Y from position X as shown in Fig. 8 A.Therefore, image is drawn section 290 and is drawn the game image that the performance camera EC as shown in Fig. 8 B takes at X place, position, then, EC moves from X-direction position, position Y along with the performance camera, hero role SC is amplified (by trucking up gradually) gradually, finally draws the game image that the performance camera EC as shown in Fig. 8 C takes at Y place, position.
In addition, be pan or shake etc. in situation in performance action, also with above-mentioned same, image is drawn section 290 and is drawn with the position of performing camera with towards image corresponding to (viewpoint position and sight line).
Wherein, image processing part 108 can be used as such image and draws section's 290 performance functions.
(action of video generation device)
Fig. 9 means that the image of carrying out generates the flow chart of the flow process of processing in the video generation device 200 of said structure.Below, with reference to this figure, the action of video generation device 200 is described.This image generation processing for example in the implementation of game, when having satisfied the event occurrence condition of regulation, was carried out before this event handling.Wherein, when image generated the processing beginning, camera list 260 was cleared (without any record).
In game, when having satisfied the event occurrence condition of regulation, at first, video generation device 200 is set the position (step S301) of performance camera.
That is, set in position of camera management department 240 from the position of 3 different directions in the face of a plurality of performance cameras of hero role.That is, set and manage such and positional information opposed each performance camera of hero role EC1~EC3 as shown in Figure 3 above in position of camera management department 240.Wherein, the position of these performances camera EC1~EC3 as described above, can be the absolute position that determines according to event, can be also the relative position that the position according to hero role SC determines.
Video generation device 200 is differentiated respectively unobstructed barrier between each performance camera and hero role, will not have the performance camera of barrier to sign in to (step S302) in camera list 260.
Namely, differentiating obstacle section 250 is according to the positional information of each performance camera of storage in the positional information of each object of storage in object's position management department 230 and position of camera management department 240, and differentiating respectively has unobstructed each performance camera towards the barrier of hero role's sight line.Then, information registration for the performance camera of clear will be differentiated in camera list 260 by differentiating obstacle section 250.
That is, record the information that can not be subjected to barrier to take hero role's performance camera in camera list 260 with blocking.In addition, blocked by barrier for whole performance cameras in the situation that differentiate, not login the information of any performance camera in the camera list 260.
Video generation device 200 is differentiated the information (step S303) of whether having logined the performance camera in camera list 260.That is, whether differentiation has been logined in camera list 260 and can be subjected to barrier to take the information of hero role's performance camera more than 1 with blocking.
Video generation device 200 is (step S303: be) when in camera list 260, login has the information of performing camera differentiating, and makes to process to enter into step S305 described later.
On the other hand, in the situation that differentiate for not logining the information (step S303: no) of performance camera, video generation device 200 is obtained the distance (step S304) of hero role and each barrier.Namely, because whole performance cameras is blocked by barrier, so, shown in video generation device 200 Fig. 6 B described above like that, obtain respectively hero role SC and barrier SB1 apart from d1, hero role SC and barrier SB2 apart from d2, hero role SC and barrier SB3 apart from d3.
Video generation device 200 is selected 1 performance camera (step S305).
At first, in the situation that in camera list 260, login has the information of performing camera, camera selection portion 270 is 1 performance camera of random selection from this list.That is, from being differentiated for the performance camera of clear, select any one performance camera.In addition, in the situation that in camera list 260, the performance camera of login only has 1, automatically select this performance camera.
And in the situation that the information of login performance camera in camera list 260, camera selection portion 270 select with the distance of obtaining in the step S304 distance of each barrier (the hero role with) in maximum (far) apart from corresponding performance camera.For example, in the situation that shown in above-mentioned Fig. 7 A, select and the hero role performance camera EC3 that is blocked by barrier SB3 farthest.
Video generation device 200 generates the game image (step S306) by this performance camera when making the performance camera perform the photography action of use.
That is, camera control part 280 is controlled selecteed performance camera, and beginning is such as the photography action of performance use such as trucking up.Wherein, do not login the information of performance camera in camera list 260, and selected in the situation of distance performance camera farthest of hero role and barrier, camera control part 280 with selected performance camera movement to than barrier near hero role's side after, begin to perform the photography action of use.For example, like that, clear the jumps and after can taking the position of hero role SC, perform the photography action of use to actual viewpoint (camera lens part in figure) at the position movement that will perform camera EC3 shown in Fig. 7 B described above.
Then, image is drawn section 290 and is drawn the game image of controlled performance camera as viewpoint.
Video generation device 200 is differentiated unobstructed barrier (step S307) between selected performance camera (the performance camera of the action of photographing) and hero role.
That is, in the performance action of selected performance camera, differentiate whether there is new barrier between this performance camera and hero role.
In the situation that differentiate for there is no barrier (step S307: no), video generation device 200 makes to process and enters into step S310 described later.
On the other hand, in the situation that differentiate for there being barrier (step S307: be), whether the distance that video generation device 200 is differentiated hero role and this barrier is a reference value following (step S308).
For example, in the situation that the reference range in the Virtual Space is set as 1.5m, whether the distance of differentiating hero role and barrier is that this is below 1.5m.In addition, this reference range can be according to suitably changes such as the situations in game.
The distance that video generation device 200 is being differentiated for hero role and this barrier is not below a reference value, namely than a reference value large (far) (step S308: no), makes processing enter into step S310 described later.That is, control this performance camera, keep the photography action of performance use.
At this moment, camera control part 280 the position movement that will perform camera to just in the front of this barrier (viewpoint clear the jumps and can take hero role's position) afterwards, proceed the performance action.In addition, under the situation of being blocked for the moment moving due to barrier etc., also can not change the position of performance camera, proceed the performance action.Namely, when obtaining this barrier (object) in reference object location management section 230 and being motive objects and speed according to the rules (amount of movement) mobile (situations that the moving direction of barrier is different with the direction of visual lines of performance camera), the ground, position that camera control part 280 does not change the performance camera is proceeded to perform and is moved.
On the other hand, in the situation that the distance of differentiating for hero role and this barrier is (step S308: be) below a reference value, video generation device 200 is again performed the selection of camera and is processed (step S309).
That is, video generation device 200 carries out the processing identical with above-mentioned steps S302~S305, reselects the performance camera.
Whether the photography action that video generation device 200 is differentiated performance use finishes (step S310).
That is whether, differentiate trucking up of camera control part 280 waits performance to move to complete.
Under differentiating for the unclosed situation of photography action (step S310: no), video generation device 200 makes to process and turns back to step S306, repeatedly carries out the processing of above-mentioned step S306~S310.
On the other hand, be the photography action (step S310: be) that is through with in the situation that differentiate, video generation device 200 finishes the image generation to be processed.
Generate by such image and process, even exist under the situation of barrier, also can be from the performance camera of 3 directions, select rightly the performance camera that is not blocked by barrier and can take hero role and photograph.
In addition, even for example in the situation that whole performance cameras blocked by barrier, also select from the performance camera of hero role's barrier farthest, the performance camera movement to just in the front of this barrier (viewpoint clear the jumps and can take hero role's position), is taken hero role.Therefore, the performance camera can too near hero role, can not generate appropriate image.
As a result, even exist under the situation of barrier, also can generate and take rightly the image of wanting the hero role that gazes at.
(other embodiments)
In the above-described embodiment, illustrated that usually (with in the same manner) perform the situation that trucking up of camera waits performance to move in the past, but in the situation that the amount of movement of performance camera is greater than setting, also position-based interpolation etc. is not gently moved, and carries out instantaneous movement.
For example, in the situation that the amount of movement of performance camera that (for example 1/60 second) has moved certain distance within a certain period of time is above, make to perform that camera does not carry out that interpolation is moved and moment moves.Thus, can draw the image that image is switched as shearing switching.
In the above-described embodiment, illustrated that the role that will want to gaze at as an example is as hero role, situation by this hero role of performance camera, but also can be with the role beyond the hero role object of NPC etc. or other motions (can be etc.) as the role who wants to gaze at, by performing this role of camera.
For example, when the event that the partner's that hero role has occured to become role X comes on stage, the situation of action can occur also this role X is performed.In this situation, also can as above-mentioned same, will perform camera arrangement and become from 3 directions in the face of role X.Then, select not blocked by barrier and any performance camera that can photograph etc., by this performance camera perform action on one side, one side generates the image of captured role X.
In this situation, exist under the situation of barrier, also can generate and take rightly the image of wanting the role that gazes at.
In the above-described embodiment, illustrated 3 performance camera arrangement are become the situation of can any direction from 3 directions taking, but the quantity of performance camera is not limited to such 3, so long as more than 2, just can suitably use.
As described above, according to the present invention, even exist under the situation of barrier, also can generate and take rightly the image of gazing at the role.
Wherein, the present patent application advocates take No. 2008-065473 priority for the basis of Japan's patent application Patent, and quoted the full content of should the basis applying in the application's book.
Industrial utilizability
As described above, according to the present invention, exist under the situation of barrier even can provide a kind of, also can generate video generation device, image generating method, information recording carrier and the program of having taken rightly the image of gazing at the role.

Claims (4)

1. a video generation device, be used for generating by the virtual camera that becomes viewpoint the role that gazes at who is configured in the Virtual Space carried out the image of taking, and it is characterized in that having:
Object's position storage part (230), its storage comprise the position of a plurality of objects in the Virtual Space of gazing at the role;
Position of camera storage part (240), its storage is in order to take from different directions the position of a plurality of cameras of gazing at the role and configuring;
Barrier detection unit (250), it is according to the position of each camera of storing and the position of each object, differentiates respectively to have or not to become block at each camera and gaze at the object of the barrier between the role;
Camera selection portion (270), it is from being differentiated for selecting any 1 camera the camera that there is no barrier;
Camera control part (280), it controls selected camera, the photography of stipulating action; With
Image production part (290), it generates the image by this camera of controlling,
For whole cameras, barrier is arranged in the situation that above-mentioned barrier detection unit (250) is differentiated, above-mentioned camera selection portion (270) selects to gaze at the distance camera farthest of role and barrier,
Above-mentioned camera control part (280) is being gazed at the role rear flank with selected camera movement to relying on than barrier, the action of photographing.
2. video generation device according to claim 1, is characterized in that,
After above-mentioned camera control part (280) has begun photography action, above-mentioned barrier detection unit (250) differentiate successively have unobstructed in photography camera and gaze at barrier between the role,
In the situation that differentiate for barrier being arranged and gaze at the role with the distance of barrier is more than a reference value, above-mentioned camera control part (280) with camera movement to rely on than barrier gaze at role's side after, proceed to photograph and move.
3. video generation device according to claim 1, is characterized in that,
After above-mentioned camera control part (280) has begun photography action, above-mentioned barrier detection unit (250) differentiate successively have unobstructed at each camera and gaze at barrier between the role,
Block at the camera of photographing and gaze at barrier between the role differentiating for having, and gaze at the distance of role and this barrier than in the short situation of a reference value, above-mentioned camera selection portion (270) is from being differentiated for not have other cameras of barrier, reselect any 1 camera
Above-mentioned camera control part (280) is controlled the camera that is reselected out, proceeds the photography action.
4. image generating method, it is the image generating method of carrying out in video generation device, this video generation device has storage part, operational part and draws section, be used for generating by the virtual camera that becomes viewpoint the role that gazes at who is configured in the Virtual Space has been carried out the image of taking, described image generating method is characterised in that
Above-mentioned storage portion stores comprise gaze at the role a plurality of objects in the Virtual Space the position and in order to take from different directions the position of a plurality of cameras gaze at the role and to configure,
The method comprises:
The barrier determination step (S302) that described operational part carries out according to the position of each camera of storing in described storage part and the position of each object, is differentiated respectively to have or not to become and is blocked at each camera and gaze at the object of the barrier between the role;
The camera that described operational part carries out is selected step (S305), from being differentiated for selecting any 1 camera the camera that there is no barrier;
The camera that described operational part carries out is controlled step (S306), controls selected camera, the photography action of stipulating; With
The image that the described section of drawing carries out generates step (S306), generates the image by this camera of controlling,
Select in step (S305) at above-mentioned camera, for whole cameras, barrier arranged in the situation that differentiated by above-mentioned barrier determination step (S302), select to gaze at the distance camera farthest of role and barrier,
Control in step (S306) at above-mentioned camera, selected camera movement is being gazed at the role rear flank to relying on than barrier, the action of photographing.
CN2009801011034A 2008-03-14 2009-03-10 Image generation device, image generation method, information recording medium, and program Active CN101873882B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008065473A JP4425963B2 (en) 2008-03-14 2008-03-14 Image generating apparatus, image generating method, and program
JP2008-065473 2008-03-14
PCT/JP2009/054555 WO2009113547A1 (en) 2008-03-14 2009-03-10 Image generation device, image generation method, information recording medium, and program

Publications (2)

Publication Number Publication Date
CN101873882A CN101873882A (en) 2010-10-27
CN101873882B true CN101873882B (en) 2013-06-26

Family

ID=41065215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009801011034A Active CN101873882B (en) 2008-03-14 2009-03-10 Image generation device, image generation method, information recording medium, and program

Country Status (5)

Country Link
JP (1) JP4425963B2 (en)
KR (1) KR101195765B1 (en)
CN (1) CN101873882B (en)
TW (1) TWI379699B (en)
WO (1) WO2009113547A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5677050B2 (en) * 2010-11-26 2015-02-25 株式会社カプコン GAME PROGRAM AND GAME DEVICE
CN103988227B (en) * 2011-12-16 2017-08-04 诺基亚技术有限公司 The method and apparatus locked for image capturing target
CN103884332B (en) * 2012-12-21 2017-03-01 联想(北京)有限公司 A kind of barrier decision method, device and mobile electronic device
BR112019019060B1 (en) 2017-03-17 2021-01-19 Unity IPR ApS method and system for automated camera collision and composition preservation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000288248A (en) * 1999-04-05 2000-10-17 Namco Ltd Game device and information storage medium
US6283857B1 (en) * 1996-09-24 2001-09-04 Nintendo Co., Ltd. Three-dimensional image processing apparatus with enhanced automatic and user point of view control
JP2002360920A (en) * 2001-06-05 2002-12-17 Atlus Co Ltd Game image control device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3696216B2 (en) * 2003-03-05 2005-09-14 株式会社スクウェア・エニックス Three-dimensional video game apparatus, control method of virtual camera in three-dimensional video game, program and recording medium
JP2004341572A (en) 2003-05-12 2004-12-02 Namco Ltd Image generation system, program, and information storage medium
JP5042651B2 (en) * 2007-01-31 2012-10-03 株式会社バンダイナムコゲームス PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6283857B1 (en) * 1996-09-24 2001-09-04 Nintendo Co., Ltd. Three-dimensional image processing apparatus with enhanced automatic and user point of view control
JP2000288248A (en) * 1999-04-05 2000-10-17 Namco Ltd Game device and information storage medium
JP2002360920A (en) * 2001-06-05 2002-12-17 Atlus Co Ltd Game image control device

Also Published As

Publication number Publication date
CN101873882A (en) 2010-10-27
TW200950856A (en) 2009-12-16
JP4425963B2 (en) 2010-03-03
JP2009219584A (en) 2009-10-01
KR20100055517A (en) 2010-05-26
KR101195765B1 (en) 2012-11-05
WO2009113547A1 (en) 2009-09-17
TWI379699B (en) 2012-12-21

Similar Documents

Publication Publication Date Title
US6500069B1 (en) Image processor, image processing method, game machine and recording medium
JP4489800B2 (en) Image generating apparatus and method, program, and recording medium
JP4180065B2 (en) Image generation method, image generation apparatus, and image generation program
EP2075041A1 (en) Game device, message display method, information recording medium and program
JP2007229204A (en) Image generating method, image generator, and image generating program
CN112891943B (en) Lens processing method and device and readable storage medium
CN101873882B (en) Image generation device, image generation method, information recording medium, and program
CN113952720A (en) Game scene rendering method and device, electronic equipment and storage medium
CN112206517B (en) Rendering method, rendering device, storage medium and computer equipment
JP7216493B2 (en) game system and program
CN101529474A (en) Image processing device, control method for image processing device and information recording medium
US20230048826A1 (en) Virtual scene display method and apparatus, device, storage medium, and program product
JP4714231B2 (en) Image generating apparatus, wide-field image generating method, and program
WO2022156490A1 (en) Picture display method and apparatus in virtual scene, device, storage medium, and program product
WO2023284470A1 (en) Method and apparatus for controlling virtual character, and device and storage medium
JP3523228B2 (en) VIDEO GAME DEVICE, CHARACTER DISPLAY METHOD, PROGRAM, AND RECORDING MEDIUM FOR VIDEO GAME
CN114053693B (en) Object control method and device in virtual scene and terminal equipment
WO2024001504A1 (en) Picture display method and apparatus, device, storage medium, and program product
WO2024067168A1 (en) Message display method and apparatus based on social scene, and device, medium and product
WO2024078225A1 (en) Virtual object display method and apparatus, device and storage medium
CN112316419B (en) Application program running method, device and equipment and readable storage medium
WO2024055865A1 (en) Task platform display method and apparatus, device, and computer program product
JP6892545B1 (en) Game program, game method and server
JP2004008762A (en) Communication game system, recording medium and program
CN116109737A (en) Animation generation method, animation generation device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant