Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN1149465 C
Publication typeGrant
Application numberCN 96191193
PCT numberPCT/JP1996/002726
Publication date12 May 2004
Filing date20 Sep 1996
Priority date9 Oct 1995
Also published asCA2205063A1, CA2205063C, CN1166215A, DE69628727D1, DE69628727T2, DE69638186D1, EP0797139A1, EP0797139A4, EP0797139B1, EP1348470A2, EP1348470A3, EP1348470B1, US5897437, US6001015, US6200253, US6239806, US6332840, US6676520, US6917356, US7102618, US20010012802, US20050174328, WO1997014088A1
Publication number96191193.X, CN 1149465 C, CN 1149465C, CN 96191193, CN-C-1149465, CN1149465 C, CN1149465C, CN96191193, CN96191193.X, PCT/1996/2726, PCT/JP/1996/002726, PCT/JP/1996/02726, PCT/JP/96/002726, PCT/JP/96/02726, PCT/JP1996/002726, PCT/JP1996/02726, PCT/JP1996002726, PCT/JP199602726, PCT/JP96/002726, PCT/JP96/02726, PCT/JP96002726, PCT/JP9602726
Inventors西海聪, , 幸岛一雄, , 宫本茂, 西田泰也
Applicant任天堂株式会社
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Stereo image display game computer system and stereo image processing method
CN 1149465 C
Abstract  translated from Chinese
本发明揭示一种三维图像处理系统,包括图像处理装置和与之连接的操作装置。 The present invention discloses a three-dimensional image processing system comprising an image processing apparatus and operating means connected thereto. 操作装置包括模拟操纵杆以及输出模拟操纵杆的倾斜量数据的X计数器和Y计数器。 Operating means comprises an X counter and a Y counter output of the analog joystick and the amount of tilt of the analog joystick data. 将X计数器和Y计数器的计数值变换成UV座标数据。 The count value of the X counter and the Y counter are converted into UV coordinate data. CPU根据该座标数据,求得倾斜量,并同时求得倾斜方向。 CPU based on the coordinate data, calculated the amount of tilt, and the tilt direction is obtained simultaneously. CPU基于该倾斜方向和被看作正在三维空间中摄影物体的视点(摄像角),决定物体的移动方向,基于CPU的倾斜量和最大速度,决定物体在一帧中的移动量、即移动速度。 CPU based on the tilt direction and is regarded as being three-dimensional space viewpoint object to be photographed (camera angle), determines the movement direction of the object, based on the amount of tilt and the maximum speed of the CPU, determines the amount of movement of the object in one frame, i.e., moving speed .
Claims(18)  translated from Chinese
1.一种三维图像显示游戏机系统,包括被连接至显示器并依据程序,产生将存在于三维空间中的物体显示于所述显示器的图像数据的图像处理装置;和包含其基端可以支承转动,其自由端受操作者操作的操作构件,并响应于所述操作构件的动作使引起图像数据变化的操作装置,其特征在于,所述操作装置还包括检测所述操作构件的包括第1方向分量和第2方向分量的倾斜量,并输出倾斜量数据的倾斜量数据输出单元,所述图像处理装置具备基于所述倾斜量数据,相应于所述操作构件倾斜方向决定方向的方向决声单元;基于通过所述的方向决定单元和从摄像机位置观察物体的摄像机视角确定的所述方向,决定三维空间中物体的移动方向的移动方向决定单元;基于所述倾斜量数据,决定显示的一帧中应移动物体的移动量的移动量决定单元;根据由所述移动方向决定单元决定的移动方向和由所述移动量决定单元决定的的移动量,决定三维空间中从所述摄像机位置看到的所述物体位置的物体位置决定单元;以及生成在由所述由移动量决定单元确定的物体位置决定单元所确定的位置上,显示所述物体于所述显示器的图像数据的图像数据生成单元。 1. A three-dimensional image display game system, including a display coupled to and in accordance with the program, to generate three-dimensional space will be present in an object displayed on the image processing apparatus of the display image data; and comprising a base end rotatably supported its free end by the operating member operated by the operator, and in response to operation of said operating member causes the operation device changes the image data, wherein said operating means includes a first direction further comprises detecting said operating member component and the amount of inclination of the second direction component, and the inclination amount data output inclination amount data output means, said image processing means includes a data amount based on the inclination, a direction corresponding to the inclination direction of the operating member determines the direction of sound decision unit ; based on the decision by the unit of the direction determining the direction of the object observed from the perspective of the camera position and the camera, determines the direction of movement of the moving direction of the objects in three-dimensional space determination unit; based on the inclination amount data, determine the display of one frame Should the amount of movement of the moving amount of the moving object determining unit; the decision means determines the moving direction by the moving direction and by the movement amount determining unit determines the amount of movement determines the three-dimensional space seen from the camera position object position of said object position determining means; and generating by the movement amount determined by the position determining unit determines the object position determination unit, the image data is displayed on the display of the object image data generating unit .
2.如权利要求1所述的三维图像显示游戏机系统,其特征还在于,所述移动量决定单元具备:基于所述倾斜量数据计算所述移动量的第1计算单元;用于存储紧前面的所述物体实际移动量的移动存储单元;比较所述移动量存储单元的所述实际移动量和所述第1计算单元的所述移动量的比较单元;以及相应于所述比较单元的比较结果,增减所述计算单元所计算了的移动量的移动量变化单元。 2. The three-dimensional image display according to claim 1, wherein the game system, further characterized in that said moving amount determining means includes: calculating an amount of data based on the inclination of the first movement amount calculating means; means for storing tight The actual amount of movement of the object in front of the removable storage unit; comparing the actual moving amount of the moving amount storing means and the first calculating means of the movement amount comparison unit; and corresponding to said comparison means comparison result, increase or decrease the amount of change in the mobile unit unit of the calculated shift amount calculated.
3.如权利要求2所述的三维图像显示游戏机系统,其特征还在于,所述第1计算单元根据所述倾斜量数据计算移动量,并根据该移动量和所确定的加减速度计算所述移动量。 3. The three-dimensional image display according to claim 2, wherein the game system, further characterized in that said first calculating means calculates the movement amount based on the inclination amount data, and calculates the movement amount based on the determined acceleration and velocity the movement amount.
4.如权利要求2所述的三维图像显示游戏机系统,其特征还在于,所述移动量变化单元依据所述移动量存储单元的移动量的函数,增减所述移动量。 The three-dimensional image display according to claim 2, wherein the game system, further characterized in that the amount of change in the mobile unit based on the movement amount storing unit function of the amount of movement, increase or decrease the amount of movement.
5.如权利要求2所述的三维图像显示游戏机系统,其特征还在于,所述移动量变化单元依据固定值,增减所述移动量。 5. The three-dimensional image display according to claim 2, wherein the game system, further characterized in that the amount of change in the mobile unit based on a fixed value, increase or decrease the amount of movement.
6.如权利要求1至5任一项所述的三维图像显示游戏机系统,其特征还在于,所述移动方向决定单元包括基于所述倾斜量数据,计算所述操作构件的倾斜方向的第2计算单元,并基于所述倾斜方向和摄像角决定所述移动方向。 1 to 6. The three-dimensional image according to any one of claims 5 to display game system, further characterized in that said determining means includes a first moving direction based on the inclination amount data, calculating said operating member in an oblique direction 2 calculating unit, and based on the inclination direction and the angle determines the direction of movement of the imaging.
7.一种三维图像处理方法,在包括连接至显示器,产生将存在于三维空间的物体显示于所述显示器的图像数据的图像处理装置,和包含其基端可以支承转动,其自由端受操作者操作的操作构件及检测所述操作构件的倾斜量,输出倾斜量数据的倾斜量数据输出单元,并可响应于所述操作构件的动作,使所述图像数据发生变化的操作装置的三维图像处理系统中,其特征在于,包括下述步骤:(a)基于所述倾斜量数据,决定三维空间中物体的移动方向;(b)基于所述倾斜量数据,决定在所述显示的一帧中应移动物体的移动量;(c)根据所述移动方向及所述移动量,决定三维空间中物体的位置;(d)输出在所述所决定的位置上显示物体的图像数据。 A three-dimensional image processing method, comprising a display coupled to produce the three-dimensional object present in the image processing apparatus is displayed on the display image data, and comprises a base end rotatably supported, a free end by the operating three-dimensional image and detecting the tilt amount of the operation member of the operation member is operated, the inclination amount data output inclination amount data output means, and in response to an operation of said operation member, so that the image data changes the operating device processing system, characterized by comprising the steps of: (a) based on the inclination amount data, determines the direction of movement of objects in three-dimensional space; (b) based on the inclination amount data, determine a frame in the display Should the amount of movement of the moving object; (c) in accordance with the moving direction and the moving amount, determines the location of objects in three-dimensional space; (d) outputs display image data of the object at the determined position on.
8.如权利要求7所述的三维图像处理方法,其特征还在于,还包含下述步骤:(b1)基于所述倾斜量数据,求出移动量;(b2)比较所述存储单元所存储的实际的移动量和求得的移动量;(b3)相应于比较结果,增减所述求得的移动量。 8. The three-dimensional image processing method according to claim 7, further characterized in that, further comprising the steps of: (b1) based on the inclination amount data, determine the moving amount; (b2) comparing said storage unit, The actual movement amount and the movement amount obtained; (b3) corresponding to the comparison result, increase or decrease the moving amount obtained.
9.如权利要求8所述的三维图像处理方法,其特征还在于,根据基于所述倾斜量数据而计算得到的移动量和所定值,求得所述移动量。 9. The three-dimensional image processing method according to claim 8, further characterized in that, according to the data calculated based on the amount of tilt and the movement amount obtained by a predetermined value, the movement amount is obtained.
10.如权利要求8所述的三维图像处理方法,其特征还在于,根据所述移动量存储单元所存储的移动量的函数,增减所述求得的移动量。 10. The three-dimensional image processing method according to claim 8, further characterized in that the amount of movement of the movement amount storage unit that stores a function, increase or decrease the moving amount obtained.
11.如权利要求8所述的三维图像处理方法,其特征还在于,根据固定值,增减所述求得的移动量。 11. The three-dimensional image processing method according to claim 8, further characterized in that, according to a fixed value, the movement amount change determined.
12.如权利要求7至11任一项所述的三维图像处理方法,其特征还在于,还包含下述步骤:(a1)基于所述倾斜量数据,计算所述操作构件的倾斜方向;(a2)基于所述倾斜方向和摄像头角度,决定所述移动方向。 12. The three-dimensional image processing method of one of claims 7 to any one of claims 11, further characterized in that, further comprising the steps of: (a1) based on the inclination amount data, calculating the inclination direction of the operation member; ( a2) based on the inclination direction and a camera angle, determines the moving direction.
13.一种三维图像处理方法,在包括被连接至显示器并依据程序,产生将存在于三维空间中的物体显示于所述显示器的图像数据的图像处理装置;包含其基端可以支承转动,其自由端受操作者操作的操作构件的操作装置;确定包括第1方向分量和第2方向分量的倾斜量,输入倾斜量数据,使根据所述操作构件引起图像数据变化的倾斜量数据输入单元的三维图像显示游戏机系统中,其特征在于,包含下述步骤:(a)基于倾斜量数据,确定相应于倾斜方向的方向;(b)基于在所述步骤(a)中确定的方向和从摄像机位置观察物体的摄像机视角确定三维空间中物体的移动方向;(c)基于倾斜量,决定在所述显示的一帧中移动物体的移动量;(d)根据所述步骤(b)确定的移动方向和所述步骤(c)确定的移动量,决定三维空间中从摄像机位置看到的物体的位置;(e)生成在所述步骤(d)所决定的位置上显示物体的图像数据。 13. A three-dimensional image processing method, including a basis and being connected to the monitor program, generating three-dimensional space will be present in an object displayed on the image processing apparatus of the display image data; may comprise a base end rotatably supported, which operation means for operating an operation member operated by a free end; determining inclination amount including a first directional component and a second directional component, the input inclination amount data, so that the amount of tilt of the operating member in accordance with image data changes caused by the data input unit three-dimensional image display game system, characterized by comprising the steps of: (a) based on the inclination amount data, determine a direction corresponding to the inclination direction; (b) based on the determined in said step (a) and in the direction from angle of the camera look at an object position of the camera to determine the direction of movement of objects in three-dimensional space; (c) based on the inclination amount, determines the amount of movement of the moving object in one frame of said display; (d) determining movement according to said step (b) direction and said step (c) the amount of movement determined, determine the position of objects in three-dimensional space seen from the camera position; (e) generating at the position of the step (d) determined on the display image data of the object.
14.如权利要求13所述的三维图像处理方法,其特征还在于,还包含下述步骤:(c1)基于倾斜量数据,求出移动量;(c2)比较所述存储单元所存储的实际的移动量和求得的移动量;(c3)相应于比较结果,增减所述求得的移动量。 Comparing the actual storage means (c2) the stored; (c1) based on the inclination amount data, determine the amount of movement: 14. The three-dimensional image processing method according to claim 13, further characterized in that, further comprising the steps of The movement amount and the movement amount obtained; (c3) corresponding to the comparison result, increase or decrease the moving amount obtained.
15.如权利要求14所述的三维图像处理方法,其特征还在于,根据基于所述倾斜量数据而计算得到的移动量和所定值,求得所述移动量。 15. The three-dimensional image processing method according to claim 14, further characterized in that, according to the data calculated based on the amount of tilt and the movement amount obtained by a predetermined value, the movement amount is obtained.
16.如权利要求14所述的三维图像处理方法,其特征还在于,根据所述移动量存储单元所存储的移动量的函数,增减所述求得的移动量。 16. The three-dimensional image processing method according to claim 14, further characterized in that the amount of movement of the movement amount storage unit that stores a function, increase or decrease the moving amount obtained.
17.如权利要求14所述的三维图像处理方法,其特征还在于,根据固定值,增减所述求得的移动量。 17. The three-dimensional image processing method according to claim 14, further characterized in that, according to a fixed value, the movement amount change determined.
18.如权利要求13至17任一项所述的三维图像处理方法,其特征还在于,还包含下述步骤:(a1)基于所述倾斜量数据,计算所述倾斜方向;(a2)基于所述倾斜方向和摄像头角度,决定所述移动方向。 18. The three-dimensional image processing method according to any one of claims 13 to 17, further characterized in that, further comprising the steps of: (a1) based on the inclination amount data, calculating the inclination direction; (a2) based on the inclination direction and a camera angle, determines the moving direction.
Description  translated from Chinese
三维图像显示游戏机系统和三维图像处理方法 Three-dimensional image display game systems and three-dimensional image processing method

技术领域 FIELD

本发明涉及三维图像显示游戏机系统和三维图像处理方法。 The present invention relates to a three-dimensional image display game systems and three-dimensional image processing method. 更特别地本发明涉及依据模拟操纵杆那样的操作装置的操作构件的倾斜方向及倾斜量、使显示器上所显示的物体尤如存在于三维空间中那样移动的、视频游戏机那样的三维图像显示游戏机系统和三维图像处理方法。 More particularly the present invention relates to a tilt direction and tilt amount of the operation member in accordance with operation of the apparatus, as an analog joystick, so that the object displayed on the display just like the presence of movement in three-dimensional space as, the video game machine as a three-dimensional image display game system and a three-dimensional image processing method.

背景技术 BACKGROUND

以前的视频游戏机中,通过在控制器上设置十字型键(上下左右四键)、并操作这十字型键来使显示器上所显示的物体移动。 Previous video game machine, by setting the cross key (up and down about four key), and this cross-shaped key operation on the controller to make the object displayed on the display of the mobile. 这样的十字型键是所谓的数字操纵杆,仅能指示物体的移动方向,不能指示物体的移动速度。 Such a cross key is so-called a digital joystick, can only indicate moving direction of the object, can not indicate the moving speed of the object.

另外,也有一种相应于按压这种十字型键的时间长短、使物体的移动速度变化的方法。 In addition, there is a corresponding cross-shaped key is pressed this length of time, the moving speed of the object of the process variants. 采用这种方法,每隔一定按压时间,就以一定的加速度或一定的减速度来加速或减速物体。 In this way, the pressing time intervals, to a certain constant acceleration or deceleration to acceleration or deceleration objects. 若采用这种方法,虽然用数字操纵杆也能控制物体的移动方向和移动速度,但存在下述缺点。 According to this method, although the use of a digital joystick can control the moving direction and the moving speed of the object, but there are the following drawbacks. 即,在这种方法中,由于仅仅只能以由软件方面的计算而确定的一定的加减速度来改变物体速度,所以,不能任意控制物体的移动速度。 That is, in this method, since only a constant deceleration only by the calculation software of the object is determined to change the speed, it can not be arbitrarily control the movement speed of the object. 此外,因为是依据按压时间长短来决定速度的,所以,如果不连续按压十字型超过一定时间,应答性能会不好。 In addition, because it is based on the length of time to decide pushing speed, so if you do not press the cross-shaped continuous over a certain time, the response performance will be bad.

因此,本专利申请者在平成2年(1990年)3月22日公开申请的实开平2-41342号中,提出一个技术方案,该技术是在十字型键的一个方向上设置三个接点,然后利用相应于十字型键的按压时间量来改变所接通的接点这一点,不仅可改变物体的移动方向,而且可改变移动速度。 Accordingly, the present patent applicants in Heisei 2 years (1990) discloses the application on March 22 real-Open No. 2-41342 proposes a technical solution, this technique is three contacts disposed in a direction cross-shaped key, and then use the amount of time corresponding to the pressed key to change the cross-shaped contacts that are turned on, not only can change the moving direction of the object, and may change the moving speed.

然而,采用以前这些技术,移动方向被限定于上下左右四个方向(以及它们的中间方向),移动速度也还只能以三个等级变化。 However, before using these techniques, the moving direction is limited to four directions (and intermediate directions thereof), the moving speed can also change only in three levels. 也就是说,在这些以前的技术中,存在着移动方向及移动速度上的限制。 That is, in these prior art, there is a limit on the moving direction and the moving speed.

此外,大家知道有一种游戏机,它将模拟操纵杆用作飞机的操纵杆来使用,但在这种游戏机中,模拟操纵杆仅仅只能控制飞机的倾斜度,不能控制移动方向和移动速度。 In addition, we know that there is a game machine, it is used as aircraft analog joystick lever to use, but in this game machine, the analog joystick can control only the inclination of the aircraft, can not control the moving direction and the moving speed .

发明内容 SUMMARY

因此,本发明的主要目的在于提供应答性好,并且移动方向和移动速度两方面都可以任意控制的三维图像处理系统和三维图像处理方法。 Therefore, a primary object of the present invention to provide a good response, and the moving direction and moving speed of the two aspects can be any three-dimensional image processing system and method for controlling the three-dimensional image processing.

本发明的三维图像显示游戏机系统,包括被连接至显示器并依据程序,产生将存在于三维空间中的物体显示于所述显示器的图像数据的图像处理装置;和包含其基端可以支承转动,其自由端受操作者操作的操作构件,并响应于所述操作构件的动作使引起图像数据变化的操作装置,其特征在于,所述操作装置还包括检测所述操作构件的包括第1方向分量和第2方向分量的倾斜量,并输出倾斜量数据的倾斜量数据输出单元,所述图像处理装置具备基于所述倾斜量数据,相应于所述操作机构倾斜方向决定方向的方向决定单元;基于通过所述的方向决定单元和从摄像机位置观察物体的摄像机视角确定的所述方向,决定三维空间中物体的移动方向的移动方向决定单元;基于所述倾斜量数据,决定显示的一帧中应移动物体的移动量的移动量决定单元;根据由所述移动方向决定单元决定的移动方向和由所述移动量决定单元决定的的移动量,决定三维空间中从所述摄像机位置看到的所述物体位置的物体位置决定单元;以及生成在由所述由移动量决定单元确定的物体位置决定单元所确定的位置上,显示所述物体于所述显示器的图像数据的图像数据生成单元。 Three-dimensional image display game system of the present invention, comprising a display coupled to and in accordance with the program, to generate three-dimensional space will be present in an object displayed on the image processing apparatus of the display image data; and may comprise a base end rotatably supported, a free end by the operating member operated by the operator, and in response to operation of said operating member causes the operation device changes the image data, wherein said operating means further comprises detecting said operation member comprises a first direction component tilt amount and a second directional component, and the inclination amount data output inclination amount data output means, said image processing device includes data based on the amount of tilt, determine the direction of the corresponding operating mechanism in the direction of the inclination direction determination means; Based determine the direction by means of the direction determined from the angle of the camera position and camera observation of an object, determines the direction of movement of the moving direction of the objects in three-dimensional space determination unit; one-frame data based on the amount of tilt, the decision should be displayed movement amount of the moving amount of the moving object determining unit; the decision means determines the moving direction by the moving direction and by the movement amount determining unit determines the amount of movement determines the three-dimensional space seen from the camera position object position of said object position determining means; and generating by the movement amount determined by the position determining unit determines the object position determination unit, the display of the object in the image data of the display image data generating unit.

本发明的三维图像处理方法,在包括连接至显示器,产生将存在于三维空间的物体显示于所述显示器的图像数据的图像处理装置,和包含其基端可以支承转动,其自由端受操作者操作的操作构件及检测所述操作构件的倾斜量,输出倾斜量数据的倾斜量数据输出单元,并可响应于所述操作构件的动作,使所述图像数据发生变化的操作装置的三维图像处理系统中,其特征在于,包括下述步骤:(a)基于所述倾斜量数据,决定三维空间中物体的移动方向;(b)基于所述倾斜量数据,决定在所述显示的一帧中应移动物体的移动量;(c)根据所述移动方向及所述移动量,决定三维空间中物体的位置;(d)输出在所述所决定的位置上显示物体的图像数据。 Three-dimensional image processing method of the present invention, including a display coupled to produce the three-dimensional object present in the image processing apparatus is displayed on the display image data, and comprises a base end rotatably supported, a free end by the operator three-dimensional image processing and detecting the tilt amount of the operation member is an operation of said operation member, inclination amount data output inclination amount data output means, and in response to an operation of said operation member, so that the image data changes the operating device system, characterized by comprising the steps of: (a) based on the inclination amount data, determines the direction of movement of objects in three-dimensional space; (b) based on the inclination amount data, determine a frame in the displayed shall moving amount of the moving object; (c) in accordance with the moving direction and the moving amount, determines the location of objects in three-dimensional space; (d) the output data of the object image is displayed at a position on said determined.

又,本发明的三维图像处理方法,在包括被连接至显示器并依据程序,产生将存在于三维空间中的物体显示于所述显示器的图像数据的图像处理装置;包含其基端可以支承转动,其自由端受操作者操作的操作构件的操作装置;确定包括第1方向分量和第2方向分量的倾斜量,输入倾斜量数据,使根据所述操作构件引起图像数据变化的倾斜量数据输入单元的三维图像显示游戏机系统中,其特征在于,包含下述步骤:(a)基于倾斜量数据,确定相应于倾斜方向的方向;(b)基于在所述步骤(a)中确定的方向和从摄像机位置观察物体的摄像机视角确定三维空间中物体的移动方向;(c)基于倾斜量,决定在所述显示的一帧中移动物体的移动量;(d)根据所述步骤(b)确定的移动方向和所述步骤(c)确定的移动量,决定三维空间中从摄像机位置看到的物体的位置;(e)生成在所述步骤(d)所决定的位置上显示物体的图像数据。 Further, three-dimensional image processing method of the present invention, including the display and is connected to the basis of the program, to generate three-dimensional space will be present in an object displayed on the image processing apparatus of the display image data; comprising a base end rotatably supported, operation means for operating member is operated by the operator by its free end; determining inclination amount including a first directional component and a second directional component, the input inclination amount data, so that the amount of tilt of the operating member in accordance with image data changes caused by the data input unit The three-dimensional image display game system, characterized by comprising the steps of: (a) based on the inclination amount data, determine a direction corresponding to the inclination direction; (b) based on the determined in said step (a) in the direction and Angle of the object viewed from the camera position of the camera to determine the direction of movement of objects in three-dimensional space; (c) based on the inclination amount, determines a moving amount of the moving object in one frame of the display; (d) (b) in accordance with said step of determining movement amount and movement direction of the step (c) is determined, and determine the position of objects in three-dimensional space seen from the camera position; (e) generating at the position of the step (d) determined on the display image data of the object.

其中,操作装置是一种诸如模拟操纵杆的装置,它包含其基端可支承在一定角度范围内转动,且其自由端可由操作者操作的操作构件,该操作构件依照操作者的操作,被倾斜至任一方向,例如X计数器及Y计数器那样的倾斜量数据输出单元检测操作构件的倾斜量并输出倾斜量数据。 Wherein the operating means is a device such as an analog joystick, which includes a base end may be rotatably supported within a certain angle range, and a free end by the operator member operated by the operator, the operation member in accordance with the operator's operation, is inclined to either direction, for example, the amount of tilt as the tilt quantity X counter and the Y counter data output unit detects and outputs the operation member inclination amount data.

其中,图像处理装置具有程序存储单元,令人满意的是该程序存储单元是一个外部存储装置,它可装卸自在地安装于图像处理装置主体上、遵循这一程序存储单元的程度,由例如CPU所构成的方向决定单元及移动量决定单元分别基于从操作装置得到的倾斜量数据,决定三维空间中的物体的移动方向以及在显示的一帧内应移动物体的移动量。 Wherein, the image processing apparatus having a program storage unit, the program is satisfactory storage unit is an external storage device, which is detachably mounted on the free image processing apparatus main body, to follow the extent of the program storage unit by a CPU direction determining means configured and movement amount determination unit, respectively based on the inclination amount data obtained from the operating means determines the moving direction in three-dimensional space and object to be displayed in one frame movement of the moving amount of the object.

具体地说,将X计数器和Y计数器的计数值归一化后变换至UV座标。 Specifically, the count value of the X counter and the Y counter after normalization transform to the UV coordinates. CPU根据这一UV座标位置(u、v)求得倾斜量(L),与此同时,还求得倾斜方向(tan-1)。 CPU according to this UV coordinate position (u, v) determined inclination amount (L), at the same time, but also to obtain the inclination direction (tan-1). 方向决定单元是例如CPU之类的,它基于该倾斜方向(tan-1)和被看作为正在三维空间中摄影物体的视点(摄像角),决定物体的移动方向。 Direction decision unit, for example, a CPU, which is based on the inclination direction (tan-1) and are considered as being three-dimensional space viewpoint object to be photographed (camera angle), determines the movement direction of the object. 移动量决定单元是例如CPU之类的,它基于倾斜量(L)和最大速度(max-speed),决定物体在一帧中的移动量,即移动速度。 Moving amount determining means is for example a CPU, based on the amount of tilt (L) and maximum speed (max-speed), determines the amount of movement of objects in one frame, i.e., moving speed.

从而,位置决定单元相应于移动方向和移动量,决定三维空间中物体的位置。 Thus, the position determining unit corresponding to the moving direction and moving amount, determines the location of objects in three-dimensional space. 由此,图像数据输出单元输出能在该位置上显示物体的图像数据。 Thus, the image data output unit outputs the image data of the object can be displayed at this position.

采用本发明,则可以通过操作模拟操纵杆那样的一个操作装置来控制物体的移动方向和移动量(移动速度)。 According to the present invention, it is possible by operating the analog joystick as an operation device to control the moving direction and the moving amount (moving speed) of the object.

本发明的上述目的、其它目的、特征及优点,通过参照附图并详细说明下面几个实施例将会更清楚。 The above object, other objects, features and advantages of the present invention, by referring to the accompanying drawings and the following detailed description of several embodiments will become more apparent.

附图说明 Brief Description

图1是表示本发明一实施例的概略图解图。 Figure 1 is a schematic diagram illustrating an embodiment of the present invention.

图2是详细表示图1实施例中的图像处理装置的框图。 Figure 2 is a detailed block diagram showing the image processing apparatus 1 of the embodiment of Fig.

图3是更详细地表示图2实施例中的总线控制电路的框图。 Figure 3 is a more detailed block diagram showing the second embodiment of the bus control circuit of FIG.

图4是表示图2实施例中RAM存储变换的图解图。 4 is a diagram showing a second embodiment of a memory map in the RAM illustrated in FIG.

图5是详细表示图2实施例中的控制器控制电路的框图。 Figure 5 is a detailed block diagram showing the second embodiment of the controller control circuit of FIG.

图6是表示图5的RAM存储变换的图解图。 6 is a memory map of the RAM illustrated in FIG. 5 FIG.

图7是从图2实施例中的控制器的上方看到的立体图。 Figure 7 is above the embodiments of the controller embodiment of FIG. 2 seen from a perspective view.

图8是从图2实施例中的控制器的下方看到的立体图。 FIG 8 is seen in the example below from the controller, FIG. 2 perspective view.

图9是详细表示控制器及扩充装置的框图。 Figure 9 is a block diagram of the controller and the extension unit in detail.

图10是表示控制器的模拟操纵杆及各按钮的数据的图解图。 Figure 10 is an illustrative view showing an analog joystick controller and each button of the data.

图11是表示图2实施例中CPU动作的流程图。 11 is a flowchart showing the operation of CPU 2 embodiment FIG.

图12是表示图2实施例中总线控制电路即图3的RCP(Reality Co-Processor)动作的流程图。 FIG 12 is a flowchart showing bus control circuit of Figure 3 i.e. RCP (Reality Co-Processor) operation of the second embodiment in FIG.

图13是表示图2实施例中控制器控制电路动作的流程图。 FIG 13 is a flowchart showing the operation of the controller control circuit embodiment of FIG. 2.

图14是表示用于变更图2实施例中物体位置的子程序的流程图。 14 is a flowchart showing the object position for the second embodiment of the subroutine of FIG change.

图15是表示模拟操纵杆可倾斜范围与圆形修正的关系的图解图。 15 is a tiltable range of the analog joystick and the circular correction illustrating the relationship between FIG.

图16是表示物体移动方向的图解图。 Figure 16 is an illustrative view showing the moving direction of the object.

具体实施方式 DETAILED DESCRIPTION

下面,参照附图对本发明的实施例进行说明。 Referring to the drawings of embodiments of the present invention will be described.

图1是表示本发明的一实施例的三维图像处理系统的系统构成的外观图。 Figure 1 shows an embodiment of the present invention is an external view of a three-dimensional image processing system according to the system configuration. 图像处理系统是例如视频游戏机系统那样的,它由下述部分构成:图像处理装置主体10、外部存储装置之一例的ROM盒式磁盘20、连接至图像处理装置主体10的显示单元之一例的监视器30、操作单元之一例的控制器40、装卸自由地安装于控制器40上的扩充装置之一例的RAM盒式磁盘50。 The image processing system is a video game system, as for example, it is constituted by: an image processing apparatus main body 10, an example of an external storage device of the ROM cartridge 20, an example of the display unit connected to the image processing apparatus main body 10 of the an example of an example of the monitor 30, the operation unit of the controller 40, is detachably mounted on the controller 40 of the expansion device 50 of the RAM cartridge. 又,外部存储装置在存储用作游戏机等的图像处理的图像数据、程序数据的同时,还相应于需要存储音乐、效果音等声音数据,也可以用CD-ROM或磁盘替代ROM盒式磁盘、当这一实施例的图像处理系统适用于个人计算机时,操作单元采用键盘、鼠标等输入装置。 Further, the external storage device storing the image data in the game machine or the like is used as the image processing, and the program data, also corresponding to the need to store music, sound effects and other sound data, may be replaced with a ROM cartridge or CD-ROM disk , when the image processing system of this embodiment is applicable to a personal computer, the operating unit using a keyboard, mouse and other input apparatus.

图2是这一实施例的图像处理系统的框图。 Figure 2 is a block diagram of this embodiment of the image processing system. 图像处理装置10中,内置有中央处理单元(以下称为“CPU”)11和总线控制电路12。 The image processing apparatus 10, the built-in central processing unit (hereinafter referred to as "CPU") 11 and bus control circuit 12. 总线控制电路12上,连接着盒式磁盘连接器13,用以装卸自由安装ROM盒式磁盘20,与此同时,还连接着RAM14。 Bus control circuit 12 is connected with the cartridge connector 13 for detachably mounting ROM cartridge 20, at the same time, is also connected RAM14. 另外,总线控制电路12上,连接有音乐信号发生电路15及图像信号发生电路16分别用以输出由CPU11处理了的声音信号以及图像信号,还连接有控制器控制电路17,用以串行传送一个或多个控制器40的操作数据和/或ROM盒式磁盘50的数据。 In addition, the bus control circuit 12 is connected to the music signal generating circuit 16, respectively, for processing the output from the CPU11 sound signal and an image signal and an image signal generating circuit 15, is also connected to the controller control circuit 17 for serial transmission Operating data for one or more controllers 40 and / or ROM 50 of the data cartridge. 控制器控制电路17上连接着设在图像处理装置10前面的控制器连接器(以下简称为连接器)181~184。 The controller 17 is connected to the control circuit 10 is provided in front of the image processing apparatus controller connector (hereinafter simply referred to as connector) 181 ~ 184. 控制器40经过连接插孔41及电缆42装卸自由地连接至连接器18上。 The controller 40 through the connecting hole 41 and cable 42 is detachably connected to the connector 18. 这样,通过将控制器40连接至连接器181~184,控制器40就与图像处理装置10实现电连接,并且相互间可发送数据。 Thus, by the controller 40 is connected to the connector 181 to 184, the controller 40 is connected to the image processing apparatus 10 electrically, and can send data to each other.

更具体地说,总线控制电路12经由总线接收CPU11以并行信号方式输出的命令,进行并一串变换,将命令以串行信号方式输出至控制器控制电路17,并将从控制器控制电路17输入的串行信号的数据变换为并行信号,输出至总线。 More specifically, the bus control circuit 12 receives the CPU11 via the bus to a parallel command signal outputted, and perform a series of conversion, the order to output the serial signal to the controller control circuit 17, and control circuit 17 from the controller data input serial signal into parallel signals, output to the bus. 从总线输出的数据,将由CPU11处理,或作存储于RAM等的处理。 Processing the output from the data bus, the processing by the CPU11, as stored in the RAM or the like. 换言之,RAM是用于暂时存储将要由CPU11处理的数据的存储器,使经由总线控制电路12进行数据的读出、写入变为可能。 In other words, RAM is used to temporarily store data to be processed by the memory CPU11 of the data, the read data via the bus 12 the control circuit, writing becomes possible.

包含于图2图像处理装置10中的总线控制电路12,具体地说,如图3所示那样,是作为RISC处理器的RCP(Reality Co-Processor)所构成的,它包含I/O控制121、信号处理器122和绘画处理器123。 Figure 2 is incorporated in the image processing apparatus 10 of the bus control circuit 12, specifically, as shown in Figure 3, as a RISC processor RCP (Reality Co-Processor) constituted, it contains I / O control 121 The signal processor 122 and 123 processors painting. I/O控制121不仅控制CPU11和RAM14间的数据传送,而且控制信号处理器122、绘画处理器123和RAM14、CPU11间的数据流。 I / O control 121 controls not only the data transfer between the CPU11 and RAM14, and the control signal processor 122, processor 123 and drawing data stream RAM14, CPU11 between. 即,CPU11中的数据经由I/O控制121,被送至RAM14,而RAM14中的数据被送至信号处理器122和绘画处理器123进行处理。 That is, the control data CPU11 via I / O 121, is sent to RAM14, RAM14 and the data is sent to the signal processor 122 and the drawing processor 123 for processing. 信号处理器122和绘画处理器123对RAM14送来的音乐信号数据和图像信号数据作处理,再将它存入RAM14中。 The signal processor 122 and the music signal data and image signal processor 123 pairs RAM14 drawing data sent for processing, then it is stored in the RAM14. 然后,I/O控制121依据CPU11的指示,从RAM14读出音乐信号数据和图像信号数据,并传送至音乐信号发生电路(D/A转换器)15及图像信号发生电路(D/A转换器)16。 Then, I / O control 121 based CPU11 instructions read out from the RAM14 the music signal data and image signal data, and transmitted to the music signal generating circuit (D / A converter) 15 and an image signal generating circuit (D / A converter ) 16. 音乐信号通过连接器195传送至包含于TV监视器30上的扬声器31。 Music signal transmitted through the connector 195 to a TV monitor 30 included in the speaker 31. 图像信号通过连接器196传送至包含于TV监视器30上的显示器32。 An image signal transmitted through the connector 196 to a TV monitor 30 included in the display 32.

又,如图3所示那样,也可以将磁盘驱动器21连接至图像处理装置10,该磁盘驱动器21可以取代外部ROM20,或与外部ROM20一起,从光盘或磁盘读出数据或写入数据。 Further, as shown as 21 may be connected to the disk drive 3 to the image processing apparatus 10, the disk drive 21 may be substituted with an external ROM20, ROM20 or together with an external, write data or read data from the optical or magnetic disks. 此时,磁盘驱动器21通过连接器197,被连接至RCP12即I/O控制121。 At this time, the disk drive 21 197, is connected through a connector to RCP12 i.e., I / O control 121.

图4是表示分配给CPU的存储器空间的各存储器区域的图解图。 Figure 4 is a schematic diagram of the CPU memory space allocated to the respective memory area. CPU11经由总线控制电路即RCP12能够访问的RAM14包括图像数据区域201和程序数据区域202,前者是存储必要的图像数据用于在图像处理装置10上产生游戏用的图像信号,后者是存储必要的程序数据用于CPU11进行所定的动作。 CPU11 via the bus control circuit that is able to access the RAM14 RCP12 includes an image data region 201, and program data area 202, the former is necessary to store image data for generating a game image signal used in the image processing apparatus 10, which is necessary to store program data for CPU11 performs a predetermined action. 程序区域202内,固定存储有用来基于图像数据201进行图像显示的图像显示程序、用于进行计时处理的计时程序、用于判断盒式磁盘20与后述的扩充装置50处于所定关系的判断程序。 Within the program area 202, there is fixed storage 201 based on image data for image display image display program, for performing time measuring processing timing program for judging the cartridge 20 and the extension unit 50 described later in a predetermined relationship determination procedure . RAM14还包含有暂时存储区域141和速度数据区域142,前者暂存储表示来自控制垫片的操作状态的数据,后者用于存入物体的移动速度(显示的一帧中物体移动的移动量)的数据。 RAM14 also includes the temporary storage area 141 and the speed data region 142, the former from the control temporarily storing data representing an operation state of the gasket, which is used to deposit the object moving speed (moving amount of the moving object displayed in one frame) data.

控制器控制电路17是为在总线控制电路即RCP12和连接器181~184之间以串行方式发送接收数据而设置的,如图5所示那样,它包括数据传送控制电路171、发送电路172、接收电路173和用于暂时存储发送接收数据的RAM174。 The controller control circuit 17 is i.e. RCP12 and connectors between 181 to 184 transmit and receive data in serial form in the bus control circuit to set, as shown in Figure 5, which includes the data transfer control circuit 171, a transmission circuit 172 , and a receiving circuit 173 for temporarily storing transmission and reception data RAM174. 数据传送控制电路171包括数据传送时用于变换数据格式的并-串变换电路和串-并变换电路,同时还作RAM174的写入读出控制。 When the data transfer control circuit 171 includes a data transmission and for converting data formats - serial converting circuit and a serial - parallel conversion circuit, and also for writing RAM174 readout control. 串-并变换电路把总线控制电路12供给的串行数据变换为并行数据,并传送至RAM174或发送电路172。 Serial - parallel conversion circuit converts serial data supplied from the bus control circuit 12 is converted into parallel data, and transmitted to the transmission circuit 172 or RAM174. 并-串变换电路把RAM174或接收电路173供给的并行数据变换为串行数据,并传送至总线控制电路12。 And - serial conversion circuit converts parallel data converting RAM174 or receiving circuit 173 is supplied as serial data, and transmitted to the bus control circuit 12. 发送电路172将数据传送控制电路171供给的用作控制器40控制信号读入的数据及送至RAM盒式磁盘50的写入数据(并行数据)变换为串行数据,并分别从对应于多个控制器40的通道CH1~CH4发送出去。 The transmission circuit 172 transfers the data supplied from the control circuit 171 is used as the controller 40 a control signal supplied to the read data and write data RAM cartridge (parallel data) 50 is converted into serial data, respectively, from the corresponding multi- 40 controller channels CH1 ~ CH4 sent. 接收电路173以串行方式接收从对应于各控制器40的通道CH1~CH4输入的、表示各控制器40的操作状态的数据及来自RAM盒式磁盘50的读出数据,并变换为并行数据,传送至数据传送控制电路171。 The receiving circuit 173 receives a serial way from the controller 40 corresponds to the channel of each of CH1 ~ CH4 input data representing the operating state of each controller 40 and the read-out data from the RAM cartridge 50, and converted into parallel data , transmitted to the data transfer control circuit 171.

控制器控制电路17中的RAM174包括图6存储变换所示那样的存储区域174a~174h。 The controller control circuit 17 in FIG. 6 RAM174 include memory map of a storage area as shown in 174a ~ 174h. 具体地说,174a区域内存储1通道用的命令,174b区域内存储1通道用的发送数据及接收数据。 Specifically, the area 174a is stored with a command channel, storing the transmission data and the reception data with a channel region of the inner 174b. 174c区域内存储2通道用的命令,174d区域内存储2通道用的发送数据及接收数据。 174c area stores within a 2-channel with the command to send data and receive data storage channel used within 2 174d area. 174e区域内存储3通道用的命令,174f区域内存储3通道用的发送数据及接收数据。 174e area stores within 3 channel with the command to send data and receive data storage channel used within 3 174f area. 174g区域内存储4通道用的命令,174h区域内存储4通道用的发送数据及接收数据。 174g storage area inside with 4-channel command to send data and receive data storage 4 channels used within 174h area.

因此,数据传送控制电路171的作用是将总线控制电路所传送的数据或接收电路173所接收的控制器40的操作状态数据、RAM盒式磁盘50的读出数据控制写入到RAM174,或基于来自总线控制电路12的命令,读出RAM174的数据,并将之传送给总线控制电路12。 Thus, the role of the control circuit 171 is a data transfer bus control circuit operating state data transmitted or received by the receiving circuit 173 of the data controller 40, RAM cartridge 50 is written to the read data control RAM174, or based on command from the bus control circuit 12, the read data RAM174, and transmitted to the bus control circuit 12.

图7和图8是控制器40的表面及里面的外观立体图。 Figures 7 and 8 and the inside surface of the controller is an external perspective view 40. 控制器40是呈两手或单手可掌握的形状,由通过在其外壳外部按压而产生电信号的按钮以及垂直直立的操作部向上突出而形成。 The controller 40 is in the form both hands or with one hand may grasp a shape, through the operation unit by pressing the button on its exterior of the housing and generating electrical signals and the vertical upright projecting upward is formed. 具体地说,控制器40由上外壳和下外壳构成。 Specifically, the controller 40 is composed of upper case and lower case. 控制器40的外壳上,在具有横向较长的平面形状的上面,形成操作部区域。 On the controller housing 40, having a horizontally elongated top planar shape, forming operation region. 在控制器40的操作部区域上,左侧设有十字型的数字方向开关(以下称之为“十字开关”)403,右侧设有多个按钮开关(以下称之为“开关”)404A~404F,在横向的接近中间部位上设有开始开关405,在中间下部处设有可模拟输入的操作杆45。 In the operation region of the controller 40, the left side has a cross-shaped digital direction switch (hereinafter referred to as "cross switch") 403, a plurality of right-hand push-button switch (hereinafter referred to as "switches") 404A ~ 404F, in the transverse direction of the intermediate portion is provided close to the start switch 405, the operation lever 45 may be provided in the middle of the analog input at the lower part. 十字开关403是指示主人公人物或光标的移动方向的方向开关,具有上、下、左、右四个按压点,用于指定四个方向的移动。 Direction of the cross switch 403 is indicative of the hero character or a cursor moving direction of the switch, having upper and lower, left, and right pressing point, specify four directions for moving. 开关404A~404F因游戏软件不同而不同,例如在发射游戏中可用作导弹的发射按钮,在动作游戏中可用于指示跳跃、踢球或取物等各种动作。 Switches 404A ~ 404F because game software differs, for example, can be used as a missile launch button in launching the game in action games can be used to indicate the jump, play or extract other actions. 操纵杆45用来代替十字开关403、指示物体的移动方向和移动速度,它可作360度的全角度范围的方向指示,所以,作为模拟方向指示开关使用。 Joystick 45 is used in place of the cross switch 403, indicating the moving direction and moving speed of the object, which can be used for the whole angular range of the direction of 360 degrees directions, therefore, as an analog direction indicating switch.

控制器40的外壳上,在操作部区域的下方,有三个柄402L、402C及402R,形成三处突出形状。 On the controller housing 40, below the operating region, there are three handles 402L, 402C and 402R, are formed three projecting shape. 柄402L、402C及402R当用手握着的时候,是与手掌、中指、无名指及小指形成的棒状形,其形状是根部较细,中间处变粗,接近柄的端部处(图7的下方侧)又变细。 Handles 402L, 402C and 402R when the hand holding the time, with the palm, middle finger, ring finger and little finger is formed rod-like shape, its shape is relatively fine roots, thicker at the middle, close to the end portion of the shank (Fig. 7 the lower side) also thinner. 控制器40的下外壳的中间上部处有用于装卸自由地安装作为扩充装置的RAM盒式磁盘50的插入口409,它从里面突出形成。 An intermediate upper portion of the lower housing of the controller 40 are used for detachably mounting a RAM disk cartridge insertion port 50 extension unit 409, which protrude from the inside. 在罩壳上部侧面的左右方,在对应于选手伸展了左右食指处的位置上设有按钮开关406L及406R。 In the upper part of the right and left side surface of the housing, corresponding to the player has stretched around the index finger button switch 406L at a position and 406R. 当使用操纵杆45代替十字开关403时,中间的柄402C的根部的里面设有开关407,它作为替代开关406L的功能开关而使用。 When using the joystick 403 in place of the cross switch 45, which in the middle of the base of the handle 402C is provided with a switch 407, which as an alternative to the switching function of the switch 406L is used.

外壳的下半部的背面侧沿底面方向延长,其顶端处形成开口部408。 The lower half of the back side direction of the housing extend along the bottom surface, which is formed at the tip end opening portion 408. 开口部408的里头设有扩充盒式磁盘与之连接的连接器(图上未表示)。 Inside the opening portion 408 is provided with the expansion cartridge connected thereto a connector (not represented in Figure). 另外,在开口部408上,还形成有用于排出插入至开口部408的盒式磁盘50的控制杆409。 Further, in the opening portion 408, is also formed for discharging the cartridge is inserted into the opening portion 408 of the lever 50 of 409. 上述插入盒式磁盘50的开口部408的控制杆409的相对侧上,形成凹口410,使用控制杆409取出扩充盒式磁盘时,该凹口410形成一个空间以拉出扩充盒式磁盘。 On the opposite side of the lever 408 of the opening 409 of the insertion of the cassette 50, recess 410 is formed, when the expansion cartridge, the recess 410 is formed using the control lever 409 pulled out of a space to expand the cartridge.

图9是控制器40及扩充装置的一例的RAM盒式磁盘50的详细电路图。 Figure 9 is a detailed circuit diagram of an example of the controller 40 and the expansion device 50 is a RAM cartridge. 为了检测各开关403~407或操纵杆45等的操作状态、并将该检测数据传送给控制器控制电路,在控制器40的外壳内,内置有操作信号处理电路44等电子电路。 In order to detect the respective switches 403 - 407 or the joystick 45 or the like of the operating state, and the detected data to the controller control circuit in the controller housing 40, there is built an operation signal processing circuit 44 and other electronic circuits. 操作信号处理电路44包含接收电路441、控制电路442、开关信号检测电路443、计算器电路444、发送电路445、操纵杆端口控制电路446、复位电路447及NOR(或非)门448。 Operation signal processing circuit 44 comprises a receiving circuit 441, control circuit 442, a switch signal detecting circuit 443, the calculator circuit 444, a transmission circuit 445, a joystick port control circuit 446, a reset circuit 447 and NOR (NOR) gate 448.

接收电路441将控制器控制电路17送出的控制信号及要送往RAM盒式磁盘50的写入数据等串行信号变换为并行信号,并传送给控制电路442。 Serial signal converting circuit 441 receives the control signal from the controller control circuit 17 and sent to write data sent to RAM cartridge 50 as the parallel signals, and transmitted to the control circuit 442. 控制电路442在控制器控制电路17发出的控制信号是操纵杆45的X、Y座标的复位信号时产生复位信号,并经由NOR门448,使包含于计数器444中的X轴用计数器444X和Y轴用计数器444 Y的计数值复位(O)。 The control circuit 442 in the controller 17 issues a control signal circuit 45 of the control lever is X, Y coordinate generating a reset signal when the reset signal, via the NOR gate 448, so that the counter 444 included in the X-axis counter 444X and Y axis counter reset value 444 Y (O). 操纵杆45包括X轴用和Y轴用的光遮断器,以将控制杆的倾斜方向分解为X轴方向和Y轴方向,产生与倾斜量成比例的脉冲数;并将两类脉冲信号分别送至计数器444X和计数器444Y。 Joystick 45 includes X-axis and Y-axis of the photo-interrupter, in order to control the tilting direction of the lever is decomposed into X-axis direction and the Y-axis direction, the inclination to generate the number of pulses proportional to the amount; and the two types of pulse signals counter to the counter 444X and 444Y. 当操纵杆45倾斜于X轴方向时,计数器444X就对相应于该倾斜量而产生的脉冲数计数。 When the joystick 45 is inclined in the X-axis direction, the counter 444X on the inclination amount corresponding to the number of pulses generated count. 当操纵杆45倾斜于Y轴方向时,计数器444Y就对相应于该倾斜量而产生的脉冲数计数。 When the joystick 45 is inclined in the Y-axis direction, the counter 444Y on the number of pulses corresponding to the amount of inclination generated count. 因此,如同后面将要叙述那样,根据由计数器444X及计数器444Y的计数值而确定的X轴和Y轴的合成矢量,就可决定物体或光标的移动方向和移动速度。 Thus, as will be described later above, according to the resultant vector by the counter value of the counter 444X and 444Y of the determined X-axis and Y-axis, can determine an object or the moving direction and the moving speed of the cursor.

又,计数器444X和计数器444Y依据电源接通时复位信号发生电路447所给予的复位信号,其计数值将置“O”,另外依据操作者同时按预先确定的二个开关信号检测电路443所给予的复位信号,其计数值也将置“O”。 Further, the counter 444X and the counter 444Y based upon power-on reset signal generating circuit 447, the reset signal given, its count value is set "O", in accordance with operator additional pre-determined simultaneously by two switch signal detecting circuit 443 to give reset signal, its count is also set "O".

开关信号检测电路443相应于控制电路442按一定周期(例如电视一帧周期1/30秒的间隔)给出的开关状态输出指令信号,读出因十字开关403、开关404A~404F、405、406L、406R及407的按压状态而变化的信号,并将其传送给控制电路442。 Switch signal detection circuit 443 corresponding to the switching state of the control circuit 442 outputs a command signal by a certain period (e.g., a television frame period of 1/30 sec intervals) given by the cross switch 403 is read out, switches 404A ~ 404F, 405,406L , 406R and 407 are pressed state change signal, and transmits it to the control circuit 442.

控制电路442相应于来自控制器控制电路17的操作状态数据读出指令信号,将各开关403~407的操作状态数据及计数器444X、444Y的计数值按所定的数据格式顺序传送给发送电路445。 The control circuit 442 corresponds to the operation state from the controller control circuit 17 of the read data command signal, the operation state of each switch 403 ~ 407 and the data value of the counter 444X, 444Y is transferred to a predetermined data format according to the order of transmission circuit 445. 发送电路445将这些由控制电路442输出的并行信号变换为串行信号,并经由变换电路43及信号线42,传送给控制器控制电路17。 These transmission circuit 445 controls the output from the parallel signal conversion circuit 442 into a serial signal, and via the conversion circuit 43 and the signal line 42, the control circuit 17 to the controller.

另外,经由地址总线、数据总线及端口连接器46,将端口控制电路连接至控制电路442上。 Further, connected to the control circuit 442 via the address bus, data bus and port connector 46, the port control circuit. 当扩充装置之一例的RAM盒式磁盘50连接至端口连接器46时,端口控制电路446将遵照CPU11的命令进行数据输入输出控制(或发送接收控制)。 As an example of the expansion device of RAM cartridge 50 is connected to the port connector 46, the port control circuit 446 will follow the CPU11 commands for data input-output control (or transmits and receives control). RAM盒式磁盘50内包括RAM51及电池52,由这两者构成,RAM51连接至地址总线和数据总线,电池52用于给RAM51供电。 RAM cartridge 50 includes RAM51 and battery 52, constituted by the two, RAM51 connected to the address bus and data bus, a battery 52 for power supply to the RAM51. RAM51是一个容量在使用地址总线、可访问最大存储器的容量的一半以下的RAM,例如它可由256Kbit的RAM组成。 RAM51 is a less than half the capacity using the address bus, the maximum accessible memory capacity of RAM, for example, it may consist of 256Kbit of RAM. 该RAM51存储为游戏有关的后备数据,即使将RAM盒式磁盘50从端口连接器46拨出,它也可接受电池52的电源供给,以保持存储数据。 The RAM51 is stored as backup data relating to the game, even if the RAM cartridge 50 aside from the port connector 46, it is also acceptable to the power supplied to the battery 52 to maintain the stored data.

图10是表示图像处理装置从控制器读出表示开关403~407及操纵杆45的各操作状态的数据时的数据格式的图解图。 FIG 10 is a diagram showing an image processing apparatus reads out from the controller illustrative view showing a data format of data switches 403 ~ 407 and the respective operating state of the joystick 45 when the. 由控制器40产生的数据由四个字节的数据组成。 Data generated by the controller 40 consists of four bytes of data. 第1字节的数据表示B、A、G、START、上、下、左及右,即开关404B、404A、407、405及十字开关403的上下左右各按压点被按压的状态。 The first one-byte data represents B, A, G, START, upper, lower, left and right, i.e., the switch 404B, 404A, 407, 405 and the cross switch 403 and down around each point to be pressed in the pressing state. 例如,当B按钮即开关404B被按压时,则第1字节的最上一位呈“1”。 For example, when the B button to switch 404B is pressed, then the first byte of the top one was "one." 同样,第2字节表示JSRST、O(实施例中该位末使用)、L、R、E、D、C及F,即开关409、406L、406R、404E、404D、404C。 Similarly, the second byte represents JSRST, O (embodiment of the bit at the end of use), L, R, E, D, C and F, i.e. switch 409,406L, 406R, 404E, 404D, 404C. 404F被按压的状态。 404F is pressed state. 第3字节以二进制数表示对应于操纵杆45的X方向倾斜角度的数值的X座标(X计数器444X的计数值)。 3rd byte binary number that corresponds to the X direction the joystick 45 inclination angle of the X coordinate value (X count of the counter 444X is). 第4字节以二进制数表示对应于操纵杆45的Y方向倾斜角度的数值的Y座标(Y计数器444Y的计数值)。 The first 4 bytes in binary number representation corresponding to the joystick 45 in the Y direction of the inclination angle of the Y coordinate value (Y of count of the counter 444Y). 由于X、Y座标值分别以8位二进制数表示,所以,若将它变换成十进制数时,即可以0~255的数值表示操纵杆45的倾斜角度。 Since the X, Y coordinate values are expressed in 8-bit binary number, so that, if it is converted into a decimal number, which can represent a value from 0 to 255 angle of inclination 45 of the joystick. 另外,如果将最上一位用于表示负值的正负符号差,则可以用-128~127的数值表示操纵杆45的倾斜角度。 Further, if the top bit is used to represent the sign of a negative difference, you can use a value between -128 and 127 represents the inclination angle of the joystick 45.

下面,说明有关图像处理装置10和控制器40间的数据发送接收以及遵循控制器40发来的数据控制物体移动的动作。 The following describes the data controller 10 and 40 relating to the image processing apparatus for transmitting and receiving data controller 40 rounds to follow control object moving action.

首先,参照图11的图像处理装置10中CPU11的流程,作关于图像处理的说明。 First, referring to the image processing apparatus of FIG. 11 CPU11 flow 10, as the image processing instructions. 在步骤S11,CPU11基于图4中程序数据区域202所存储的初始值(未图示)进行初始设定。 Step S11, CPU11 based on the program data in Figure 4 the initial value storage area 202 (not shown) at the initial setting. 举例说,在这一步骤S11中,CPU11将物体移动速度的初始值设定于RAM14的速度数据区域142(图4)上。 For example, in this step S11, CPU11 the initial value is set to the moving speed of the object 142 (FIG. 4) on the velocity data area RAM14.

接着,在步骤S12,CPU11将程序数据区域所存储的控制垫片数据请求命令输出至RCP或控制电路12。 Next, the control data in step gasket S12, CPU11 program data area stored request command is output to the control circuit 12 or RCP. 因而,在步骤S12,CPU11接受此时控制器40发出的如图10所示那样的命令,并将它存入各通道的命令收存场所174a~174d。 Thus, at step S12, CPU11 accepted as like a command issued by the controller 40 at this time 10, and stores it for each channel command accommodating spaces 174a ~ 174d. 这时,X计数器444X及Y计数器444Y的计数值作为XY座标数据被传送至CPU11。 In this case, X count of the counter 444X and the Y counter 444Y as XY coordinate data is transmitted to the CPU11.

接着,在步骤S12a,CPU11相应于各通道的命令收存场所174a~174d(图6)所存入的来自控制器40的操纵杆数据,进行物体位置变更处理。 Next, at step S12a, CPU11 commands corresponding to each channel accommodating spaces 174a ~ 174d (FIG. 6) stored in the joystick data from the controller 40, an object position changing process is performed. 关于这一步骤S12a,后面将参照图14,作详细说明。 On this step S12a, later with reference to FIG. 14, described in detail.

然后,在步骤S13,CPU11基于图4的程序数据区域202所存储的程序及图像数据区域201,进行所定的图像处理。 Then, at step S13, CPU11 based on the program data area 202 of FIG. 4 and a program stored in the image data area 201, performs a predetermined image processing. 另外,CPU11执行步骤S13时,总线控制电路12执行图12所示的步骤S21~S24。 In addition, the steps shown in the bus control circuit 12 executes step S13 in FIG 12 CPU11 when, S21 ~ S24. 接着,在步骤14,CPU11基于图4的控制垫片(控制器)数据区域141所存储的控制垫片数据输出图像数据。 Next, the control data of the output image data gasket 14, CPU11 (controller) to control data based on FIG. 4 of the spacer region 141 in the storage step. 步骤S14结束后,CPU11反复执行步骤S12~步骤S14。 After the end of step S14, CPU11 repeats the steps S12 ~ step S14.

下面,用图来说明RCP或总线控制电路12的动作。 Next, the operation will be described with reference to Fig RCP or the bus control circuit 12. 在步骤21,总线控制电路12判断CPU11有否输出控制器数据请求命令(控制器40的开关数据或扩充装置50的数据等的请求命令)。 In step 21, the bus control circuit 12 determines whether the CPU11 output controller data request command (controller data 40 or the extension unit 50 switches data request command). 若未输出控制器数据请求命令;则待机直至有输出。 If no output controller data request command; it waits until there is output. 在步骤S22,总线控制电路12输出命令用以将控制器40的数据读入控制器控制电路17。 In step S22, the bus control circuit 12 outputs a command to the controller 40. The data is read into the controller control circuit 17. 接着,在步骤23,总线控制电路12判断控制器控制电路12有否从控制器40接收数据并存储至RAM174。 Next, at step 23, the bus control circuit 12 determines whether the controller control circuit 12 receives data from the controller 40 and stores the RAM174. 若控制器控制电路17未从控制器40接收数据并存储至RAM174,则将在步骤S23待机,若控制器控制电路17已从控制器40接收数据并存储至RAM174,则转移至步骤24。 If not the controller control circuit 17 receives data from the controller 40 and stored to the RAM174, will be in the standby step S23, the control circuit 17 when the controller 40 receives data from the controller and stores the RAM174, the process proceeds to step 24. 在步骤24,总线控制电路12将控制器控制电路17中RAM174所存储的控制器40的数据传送给RAM14。 In step 24, the bus control circuit 12 in the controller control circuit 17 transmits the stored data RAM174 controller 40 to the RAM14. 总线控制电路12一结束对RAM14的数据传送,即返回步骤S21,并反复执行步骤S21~步骤S24的动作。 A bus control circuit 12 ends the data transfer to RAM14, i.e., returns to step S21, and the operation of step S21 ~ step S24 is repeatedly executed.

又,在图11和图12的流程图中,表示了总线控制电路12将数据从RAM174传送给RAM14后、CPU11处理RAM14内所存储的数据的一个例子,但也可以由CPU11经过总线控制电路12直接对RAM174的数据作处理。 Further, in the flowchart of FIGS. 11 and 12, shows an example of the bus control circuit 12 after the data is transferred from RAM174 to RAM14, CPU11 processes data stored in the RAM14, but can also be by CPU11 via the bus control circuit 12 directly RAM174 data for processing.

图13是用来说明控制器控制电路17的动作的流程图。 FIG 13 is a flowchart showing operation of the controller control circuit 17 of Fig. 在步骤31,判断有否从总线控制电路12的写入等待,如无写入等待,则数据传送控制电路171一直待机、直至有从总线控制电路12的写入等待。 In step 31, to determine whether there waiting to be written from the bus control circuit 12, without waiting for the write, the data transfer control circuit 171 has been waiting until there waiting to be written from the bus control circuit 12. 如有写入等待,则在下一步骤S32,数据传送控制电路171将对第1~第4通道的命令和/或数据(以下简称“命令/数据”)存储至RAM174。 If waiting for write, then in the next step S32, the data transfer control circuit 171 will be the first to fourth channel commands and / or data (hereinafter referred to as "command / data") is stored to the RAM174. 在步骤S33,发送第1通道的命令/数据至连接器181所连接的控制器40。 In step S33, the transmission of the first channel command / data to the controller 181 is connected to the connector 40. 控制电路442基于命令/数据,进行所定的动作,输出应发送给图像处理装置10的数据。 The control circuit 442 based on the command / data, performs a predetermined operation, output data to be transmitted to the image processing apparatus 10. 该数据的内容下面在介绍控制电路442的动作说明时再叙述。 Contents of the data described below when the operation of the control circuit 442 described further described. 在步骤34,数据传送控制电路174接收控制电路442输出的数据,并使此数据存储至RAM。 In step 34, the data transfer control circuit 174 receives the control data output circuit 442, and this data is stored to the RAM.

以后,与步骤33及步骤34的第1通道的动作相同,在步骤35,第2通道的命令/数据被发送至控制器40。 After the operation in step 33 and step 34 of the first channel with the same, in step 35, the second channel of the command / data is sent to the controller 40. 控制电路442基于该命令/数据,进行所定的动作,并将应发送的数据输出至图像处理装置10。 The control circuit 442 based on the command / data, performs a predetermined operation, and the data to be transmitted to the image processing apparatus 10 outputs. 在步骤36,进行第2通道的数据传送及写入处理。 In step 36, data transfer and write processing of the second channel. 又,在步骤37,将第3通道的命令/数据发送给控制器40,并将应发送的数据输出至图像处理装置10。 Further, in step 37, the third channel is sent a command / data to the controller 40, and outputs data to be transmitted to the image processing apparatus 10. 在步骤38,进行第3通道的数据传送及写入处理。 In step 38, data transfer and writing process of the third channel. 进而,在步骤39,发送第4通道的命令/数据至控制器40,控制器40的控制电路442基于该命令/数据进行所定的动作,将应发送的数据输出至图像处理装置10。 Further, in step 39, sends the first 4 channel commands / data to the controller 40, the controller 442 of the control circuit 40 based on the command / data performs a predetermined operation, output data to be transmitted to the image processing apparatus 10. 在步骤40,进行第4通道的数据传送及写入处理。 In step 40, data transfer and writing process of the fourth channel. 在紧接着的步骤41,数据传送控制电路171将在步骤S34、S36、S38及S40中接收的数据成批传送给总线控制电路12。 Then in step 41, the data transfer control circuit 171 in step S34, S36, S38 and S40, the received data to a bulk transfer bus control circuit 12.

如上所述,第1通道至第4通道的数据,即对连接器181~184所连接的各控制器40的命令以及应从各控制器40读出的操作状态数据,将通过时分处理,在数据传送控制电路171和各控制器40内的控制电路442间传送。 As described above, the first channel to the fourth channel of data, i.e., each controller is connected to the connector 181 and 40 to 184 commands the controller 40 reads out from among the operating state data, by time division processing, the data transfer control circuit 171 and the control circuit 40 within the controllers 442 transmission.

下面,参照图14,详细说明图11中的步骤S12a。 Next, referring to FIG. 14, described in detail in FIG. 11 step S12a. 在图14的最初的步骤S301,CPU11修正来自控制器40的操纵杆数据、即X座标数据和Y座标数据。 The initial step in FIG. 14 S301, CPU11 corrected joystick data from the controller 40, i.e., the X coordinate data and Y coordinate data. 因而操纵杆45(图7)做成如图15所示那样,可以在平面内的八角形范围451内倾斜。 Thus the joystick 45 (Figure 7), as shown in Figure 15 to make, can be tilted in the plane within 451 octagonal range. 所以,在这一步骤301,将八角形倾斜范围的数据变换或修正成图15所示的圆形范围452的数据。 Therefore, in this step 301, the octagonal range of tilt data is converted or corrected into a circular region 15 as shown in FIG. 452 data. 但是,这一修正步骤没有必要特别执行。 However, this particular amendment is not necessary to perform the steps. 也就是说,八角形倾斜范围的数据不作变换、并执行以后的各个步骤也是可以的。 That is, the octagonal inclination range data without conversion, performed after each step and also possible.

而在该步骤301中,如图15所示那样,操纵杆的XY座标数据变换成UV平面内的座标数据(u、v)。 In the step 301, as shown in FIG. 15, the joystick XY coordinate data is converted into coordinate data (u, v) UV plane. 此时,将操作杆45的最大倾斜量归一化为“1”。 In this case, the maximum amount of tilt operating lever 45 is normalized to "1." 也说是说,操纵杆45在图15的UV平面内,在-1.0≤u≤1.0及-1.0≤v≤1.0的范围内被倾斜。 Also be said that the joystick 45 in the UV plane in Figure 15, is tilted in the range of -1.0≤u≤1.0 and -1.0≤v≤1.0. 这是如后面要叙述的那样,由于计算物体移动速度S时使用平方曲线,所以为了要相对地扩大低速区域的缘故。 This is such as to be described later, due to the object is calculated using the squared curve when the moving speed S, so in order to expand the relatively low speed range of the reason. 由此,可以很缓慢地使物体移动。 This makes it possible to make objects move very slowly.

在接着的步骤S302、S303及S304中,CPU11基于修正好的操纵杆数据(u、v)、依据后面的公式(1)、(2)、(3)分别计算或检测操纵杆45的倾斜量L、物体的移动速度S及移动方向α。 In the next step S302, S303 and S304 in, CPU11 good joystick data corrected based on (u, v), based on the back of the formula (1), (2), (3) calculate or detect the amount of tilt the joystick 45 L, moving speed and moving direction of the object S α.

L=u2+V2---(1)]]>S=L2×max-speed …(2)α=tan-1(u/-v)+camera-angle …(3)其中,L:操纵杆的倾斜量u、v:U、V轴的倾斜量(座标位置)S:物体移动速度max-speed:物体自动行走的最大速度(如32cm/帧)α:物体移动方向上式(3)意味着在三维空间中,物体的移动方向α是依据操纵杆45的倾斜方向和摄像头角度的相对关系而确定的。 L = u2 + V2 --- (1)]]> S = L2 × max-speed ... (2) α = tan-1 (u / -v) + camera-angle ... (3) where, L: Joystick tilt amount u, v: U, V axis inclination amount (coordinate position) S: the moving speed of the object max-speed: maximum speed automatic walking object (e.g. 32cm / frame) α: the moving direction of the object (3) means in three-dimensional space, moving direction of the object and α is based on the relative relationship between the inclination direction of the joystick 45 of the camera angle determined.

这样,在步骤S302、S303及S304中,依据式(1)、(2)和(3)分别计算出操纵杆的倾斜量L、物体的移动速度S以及移动方向α后,在步骤S305中,CPU11比较RAM14的速度数据区域142所存入的前一帧的物体实体移动速度S1和步骤303所计算得到的速度S,判断这两者是否相等、或两者不一致(S1≠S),则在下一步骤S306中,CPU11判断是否S1>S。 Thus, in step S302, S303 and S304, according to the formula (1), (2) and (3) were calculated inclination amount of the joystick L, after the moving speed and moving direction of the object S α, in step S305, previous frame moving speed of the object entity CPU11 comparison RAM14 speed data region 142 stored in step S1 and 303 calculated speed S, which determines whether the two are equal, or the two are inconsistent (S1 ≠ S), then the next a step S306, CPU11 determines whether or not S1> S.

若在步骤306判断为“否”,则在步骤S307执行加速处理,若判断为“是”,则在步骤S308执行减速处理。 If the determination in step 306 is "NO", it executes acceleration processing at step S307, if the judgment is "YES", it executes the deceleration processing in step S308. 在步骤S307的加速处理中,遵照式(4),将所定的加速度A加到前一帧实际移动速度S1上。 In the processing step S307 in the acceleration, in accordance with formula (4), the predetermined acceleration A is added to the previous frame the actual moving velocity S1. 其中,加速度A作为一例,由下述式(5)给出。 Wherein, as an example of the acceleration A, is given by the following formula (5).

S=S1+A …(4)A=1.1-S1/43.0 …(5)另外,在步骤S308的减速处理中,遵照式(6),从前一帧实际移动速度S1减去所定的减速度。 S = S1 + A ... (4) A = 1.1-S1 / 43.0 ... (5) Further, in step S308 the deceleration process, in accordance with formula (6), the previous frame by subtracting the actual moving speed S1 of the predetermined deceleration. 其中,减速度B作为一例,由下述式(7)给出。 Wherein the deceleration B as an example, is given by the following formula (7).

S=S1-B …(6)B=2.0 …(7)又,在式(5)中,基于前一帧的速度S1来决定加速度A的理由,是为了回避急速的速度变化的缘故。 Reason S = S1-B ... (6) B = 2.0 ... (7) Furthermore, in the formula (5), the previous frame is determined based on the speed S1 of the acceleration A, is in order to avoid rapid changes in speed's sake. 另外,在式(7),减速度B作为常量设定,但它和加速度A一样,作为前一帧的移动速度S1的函数来处理也是可以的。 In equation (7), the deceleration B is set as a constant, but it, like the acceleration A, as the moving speed S1 in the previous frame function to handle is also possible. 又,也可以把加速度作为常量处理。 Also, it can be treated as a constant acceleration.

在步骤S305判断为“是”时,与执行步骤S307或S308过后时相同,进展至步骤309。 It is determined in step S305 is "YES", the step S307 or S308, after the same time, the procedure advances to step 309. 在步骤S309,将在步骤S303计算得到的移动速度S、在步骤S307求得的移动速度S或在步骤S308求得的移动速度S中的某一个写入RAM14中的速度数据区域142,更新速度数据。 In step S309, the moving speed S calculated at step S303, in step S307, the moving speed S determined at the step S308 or the moving speed S determined in one write RAM14 velocity data area 142, the update rate data.

接着,在步骤S310,基于上述决定了的移动速度S,遵照下述式(8)和(9)计算物体的位置x和z。 Next, in step S310, based on the decision of the moving speed S, in accordance with the following formula (8) and (9) calculating the position of the object x and z. 也就是说,根据矢量值S和矢量角α决定物体位置。 That is, according to the vector values of S and the vector angle α determines the object position.

x=x+S×Sinα …(8)z=z+S×Cosα …(9)在步骤S311,CPU11将由式(8)及式(9)求得的位置数据输出至总线控制电路、即RCP12。 x = x + S × Sinα ... (8) z = z + S × Cosα ... (9) In step S311, (8) and (9) obtained by the formula CPU11 position data output to the bus control circuit, i.e. RCP12 . 作为响应,在RCP12中,依据所得到的物体位置数据,执行信号处理及图像处理,并通过I/O控制12,将图像数据输出至D/A转换器。 In response, in RCP12, the position of the object based on the obtained data, performing signal processing and image processing, and through the I / O control 12, the image data is output to the D / A converter.

这样,在上述实施例中,基于控制器40中的操纵杆45的倾斜量数据,决定物体的移动方向及移动量(移动速度),并由此变化三维空间中物体的位置。 Thus, in the above embodiment, the joystick data in the controller 40 based on the amount of tilt 45 determines the moving direction and the moving amount (moving speed) of the object, and thereby change the position of objects in three-dimensional space. 也就是说,在显示器32(监视器30)的下一帧上,物体显示于该变化后的位置上。 That is, on the display 32 (monitor 30) of the next frame, the object is displayed in the changed position of the upper.

工业上的实用性本发明虽作了详细说明并图示,但这仅仅是用作为图解及一个例子而已,显然不应该被理解为是一种限定。 Industrial Applicability The present invention is explained in detail and illustrated, though, but this is only used as an illustration and example only, obviously should not be construed as a limitation.

Legal Events
DateCodeEventDescription
26 Nov 1997C06Publication
6 Jan 1999C10Entry into substantive examination
12 May 2004C14Grant of patent or utility model
2 Nov 2016EXPYTermination of patent right or utility model