摘要 |
PURPOSE:To increase the speed and to improve the accuracy for decision of the collision of displayed objects by reducing the memory capacity needed for decision of the collision. CONSTITUTION:It is decided whether a moving three-dimensional object which is displayed on the display means of an image processor collided against another displayed three-dimensional object. If the collision is confirmed, the corresponding processing is carried out. At the same time, each displayed object is defined as a set of three-dimensional objects whose shapes are prescribed and each object is approximated by a spherical body. The center coordinates of the i-th spherical body of one of both displayed objects are referred to as xai, yai and zai together with the radius referred to as rai. Meanwhile the center coordinates of the j-th spherical body of the other displayed object is referred to as xbj, ybj and zbj together with the radius as rbj respectively. Thus the fall-in value (m) is calculated as m=(rai+ rbj)-{(xai-xbj)<2>+-(yai-ybj)<2>+(zai-zbj)<2>}<1/2> (S203). The collision is decided between both displayed objects when m>0 is satisfied (S205), and various types of processing are carried out (S205-S211). |