Information processing device, drawing method and program

The information processing device addresses the challenge of generating realistic sea surface images in coastal areas by adjusting wave heights based on water depth and wave breaking, effectively rendering accurate coastal wave dynamics.

JP7728203B2Active Publication Date: 2025-08-22KOEI TECMO GAMES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022033225
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2025-08-22
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

Existing image generation systems fail to generate realistic images of sea surfaces in coastal areas due to the influence of wave height changes caused by water depth and wave breaking, which are not adequately represented.

Method used

An information processing device with a wave height calculation unit that adjusts wave heights based on water depth and wave breaking, and a drawing unit that renders images accordingly, using a wave height calculation unit to correct wave heights in coastal areas.

Benefits of technology

Enables the rendering of realistic images of water or liquid surfaces in coastal areas, accurately reflecting wave height changes due to water depth and breaking waves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007728203000008
    Figure 0007728203000008
  • Figure 0007728203000009
    Figure 0007728203000009
  • Figure 0007728203000010
    Figure 0007728203000010
Patent Text Reader

Abstract

To provide a new mechanism capable of drawing a real water surface or liquid level in a coast area.SOLUTION: An information processing device for drawing an image including a water surface or a liquid level is provided. The information processing device includes a wave height calculation part configured so as to calculate the wave heights of a plurality of horizontal plane positions of objects corresponding to the water surface or the liquid level, and a drawing part configured so as to draw the objects whose shape are changed on the basis of the calculated wave heights of the plurality of horizontal plane positions, and the wave height calculation part performs processing for correcting the wave heights of the plurality of horizontal plane positions in a coast area on the basis of wave height change caused by water depth or liquid depth and wave height change due to breaking waves.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to an information processing device, a drawing method, and a program. [Background technology]

[0002] Image generation systems that generate images seen from a virtual camera in a virtual space are known. For example, in a game system that displays an image of the sea surface, it is desirable to represent a more realistic image of the sea surface. Technology aimed at generating realistic images of the water surface from offshore to the shore that change due to the influence of waves has been known for some time (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2007-164728 Summary of the Invention [Problem to be solved by the invention]

[0004] Changes in sea surface caused by waves differ between deep sea areas and coastal areas. Specifically, the waveforms generated on the sea surface in coastal areas are affected by the rise in wave height due to shallower water depth and the breaking of waves. However, it has not been possible to generate realistic images of the sea surface that reflect the effects of these changes in wave height due to water depth and the changes in wave height due to breaking waves.

[0005] An object of the present disclosure is to provide a new mechanism capable of rendering realistic images of water or liquid surfaces in coastal areas. [Means for solving the problem]

[0006] According to one aspect of the present disclosure, there is provided an information processing device that draws an image including a water surface or liquid surface, comprising: a wave height calculation unit configured to calculate wave heights at multiple horizontal plane positions of an object corresponding to the water surface or liquid surface; and a drawing unit configured to draw the object, the shape of which changes based on the calculated wave heights at the multiple horizontal plane positions, wherein the wave height calculation unit performs processing to correct the wave heights at the multiple horizontal plane positions in coastal areas based on wave height changes caused by water depth or liquid depth and wave height changes due to breaking waves. [Effects of the Invention]

[0007] According to one aspect, a new mechanism can be provided that can render realistic images of water or liquid surfaces in coastal areas. [Brief explanation of the drawings]

[0008] [Figure 1] 1 is a configuration diagram of an example of an information processing system according to an embodiment of the present invention. [Figure 2] FIG. 1 is a diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment of the present invention. [Figure 3] FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing apparatus. [Figure 4] 10 is a flowchart of an example of a process for changing the shape of a sea surface object. [Figure 5] 1 is an explanatory diagram of an example of wave height, terrain height, and water depth at a horizontal plane position. FIG. [Figure 6] 10 is a flowchart of an example of a first correction process for wave height. [Figure 7] 10 is a flowchart of an example of a second correction process for wave height. DETAILED DESCRIPTION OF THE INVENTION

[0009] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.

[0010] [First embodiment] [System Configuration] First, a system configuration according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a configuration diagram of an example of an information processing system according to this embodiment. The information processing system according to an embodiment is configured, for example, as shown in Fig. 1(A) or Fig. 1(B). Fig. 1(A) is an example of an information processing system configured by an information processing device 10. Fig. 1(B) is an example of an information processing system configured such that the information processing device 10 and a server device 14 are communicably connected via a network 18.

[0011] The information processing device 10 in Fig. 1A is a computer operated by a user. The information processing device 10 in Fig. 1A accepts operations from a user via a touch panel, a controller, a keyboard, a mouse, or the like, executes information processing according to the operations, and displays the execution results.

[0012] 1(B) are computers similar to those in FIG. 1(A). The server device 14 transmits and receives data to and from the information processing device 10, executes information processing in accordance with an operation received by the information processing device 10 from a user, and provides the execution results to the information processing device 10. The information processing device 10 displays the execution results provided by the server device 14.

[0013] The server device 14 may be realized by a cloud computer. The number of server devices 14 shown in FIG. 1(B) is not limited to one, and two or more may be used for distributed processing. The server device 14 may be used for downloading programs (applications) to the information processing device 10, for user login processing, or for managing various databases. The system configuration in FIG. 1 is an example.

[0014] The information processing system shown in FIG. 1 is applicable to various information processing systems that draw images including a water surface or a liquid surface, such as a game system, a drawing system, and a social networking service system that draw images including a water surface or a liquid surface.

[0015] [Hardware configuration] The information processing device 10 according to this embodiment is configured, for example, as shown in Fig. 2. The configuration of the server device 14 is the same as that of the information processing device 10, and therefore a description thereof will be omitted. Fig. 2 is a diagram showing an example of the hardware configuration of the information processing device according to this embodiment.

[0016] 2 includes, for example, a CPU (Central Processing Unit) 100, a storage device 102, a communication device 104, an input device 106, and an output device 108. The CPU 100 controls the information processing device 10 in accordance with a program. The storage device 102 is, for example, a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory), or a storage such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage device 102 stores programs and data to be executed by the CPU 100.

[0017] The communication device 104 is a communication device such as a network circuit that controls communication. The input device 106 is an input device such as a touchpad, a controller, a mouse, a keyboard, a camera, or a microphone. The output device 108 is an output device such as a display or a speaker. A touch panel is realized by combining a touchpad, which is an example of the input device 106, with a display, which is an example of the output device 108. The hardware configuration in FIG. 2 is an example. For example, the information processing device 10 may be a smartphone, a portable game console, a personal computer, a workstation, a tablet terminal, a home game console, an arcade game console, or the like.

[0018] [Function Configuration] In the following, an example will be described in which the information processing device 10 shown in Fig. 1(A) draws an image including the sea surface, but the functional configuration shown in Fig. 1(A) may be distributed between the information processing device 10 and the server device 14 shown in Fig. 1(B), and the information processing device 10 and the server device 14 may perform processing in cooperation with each other. The sea surface is an example of a water surface or liquid surface.

[0019] Fig. 3 is a diagram showing an example of the functional configuration of an information processing device 10. The information processing device 10 shown in Fig. 3 includes a control unit 20, an operation receiving unit 22, an output control unit 24, a communication unit 26, and a storage unit 28.

[0020] The storage unit 28 stores a program 40 and object information 42. The program 40 causes the information processing device 10 to execute processing related to drawing an image including the sea surface. The object information 42 is an example of data used by the program 40, such as data on an object corresponding to the sea surface, which will be described later. The storage unit 28 may be realized by the storage device 102, or may be realized by a storage device communicatively connected via the communication unit 26.

[0021] The control unit 20 performs overall control of the information processing device 10. The control unit 20 is realized by the CPU 100 executing the processes described in the program 40. The control unit 20 in Fig. 3 includes a virtual space setting unit 50, a wave height calculation unit 52, and a drawing unit 54.

[0022] The virtual space setting unit 50 performs processing to set and place objects representing display objects such as the sea surface in the virtual space. In this embodiment, the position and rotation angle of the object corresponding to the sea surface are adjusted and placed in the virtual space. Note that, although an example in which an object corresponding to the sea surface is placed in the virtual space will be described below, display objects other than the sea surface, such as characters and buildings, may also be placed. Display objects that move or perform actions, such as characters, perform processing to obtain movement information and action information for each frame, for example, and move or perform actions within the virtual space.

[0023] The wave height calculation unit 52 calculates the wave heights of multiple constituent points (multiple horizontal plane positions of the sea water surface object) of an object corresponding to the sea water surface (hereinafter simply referred to as the sea water surface object) for each frame. The multiple horizontal plane positions of the sea water surface object are multiple lattice points (grids) on a certain horizontal plane, for example. The wave height calculation unit 52 adjusts the wave heights of the horizontal plane positions in the coastal part of the sea water surface object based on wave height changes caused by water depth and wave height changes due to breaking waves, as described below. The wave height calculation unit 52 calculates the heights of the multiple horizontal plane positions of the sea water surface object, which change over time, and changes the shape of the sea water surface object in each frame. The processing of the wave height calculation unit 52 will be described in detail later.

[0024] The drawing unit 54 draws, as an image seen from a virtual camera, a seawater surface object whose shape changes based on the wave heights at multiple horizontal plane positions calculated by the wave height calculation unit 52. The drawing unit 54 may draw the gradient of the waveform by simply scaling it using a shallow water coefficient.

[0025] The operation reception unit 22 receives various operations by the user on the input device 106. The output control unit 24 displays various screens on the output device 108 under the control of the control unit 20. The operation reception unit 22 is realized by the CPU 100 controlling the input device 106 under the control of the program 40. The output control unit 24 is realized by the CPU 100 controlling the output device 108 under the control of the program 40. The various operations by the user on the input device 106 refer to operations by the user operating the operation reception unit 22 to cause the CPU 100 to execute processing. The output control unit 24 displays various screens and outputs sounds under the control of the control unit 200.

[0026] The communication unit 26 communicates via the network 18 etc. The communication unit 26 is realized by the CPU 100 executing the program 40 and controlling the communication device 104.

[0027] [process] The information processing device 10 calculates the wave height at the horizontal plane position in the coastal part of the sea water surface object and changes the shape of the sea water surface object, for example, in the procedure shown in Fig. 4. Fig. 4 is a flowchart of an example of a process for changing the shape of the sea water surface object.

[0028] In step S100, the virtual space setting unit 50 of the information processing device 10 sets the time of the frame to be rendered and selects an ocean surface object located in the virtual space at that time. The ocean surface object has multiple components of varying heights arranged in a grid pattern on the horizontal plane to represent a wavy water surface. The multiple components of the ocean surface object represent the horizontal position of the ocean surface object.

[0029] In step S102, the wave height calculation unit 52 selects one horizontal plane position of the sea surface object. In step S104, the wave height calculation unit 52 calculates the wave height h, terrain height, and water depth at the horizontal plane position selected in step S102. The wave height h can be calculated, for example, by superimposing the wave heights using multiple functions. The function calculates the wave height using, for example, the horizontal plane position (x, z) of the object corresponding to the sea surface and time as arguments.

[0030] Figure 5 is an explanatory diagram of an example of wave height, topographical height, and water depth at a horizontal plane position. In Figure 5, the sea surface when no waves are generated is described as the reference wave height. When waves are generated, the sea surface changes in wave height due to the influence of the waves. For example, the wave height h at horizontal plane position a in Figure 5 is a represents the wave height at a position higher than the sea level of the reference wave height. b represents the wave height at a position lower than the sea level of the reference wave height. Water depth is the vertical distance from the sea level of the reference wave height to the ground, which is the seabed. The reference wave height and ground can be expressed by topographical heights such as elevation. Wave height is the height of the wave relative to the sea level of the reference wave height.

[0031] Returning to FIG. 4, in step S106, the wave height calculation unit 52 calculates the shoaling coefficient S and the wave breaking limit H for the horizontal plane position selected in step S102. The shoaling coefficient S can be calculated, for example, using the following equation (3). The wave breaking limit H can be calculated, for example, using the following equation (4). The shoaling coefficient S is a coefficient that represents shoaling water deformation. Shallowing water deformation represents a change in waveform due to a change in water depth. The shoaling coefficient S increases as the water depth becomes shallower. The breaking limit H is the breaking limit wave height corresponding to the water depth. The breaking limit H decreases as the water depth becomes shallower. In coastal areas, when the wave height h exceeds the breaking limit H, waves break and the wave height decreases.

number

[0032] Proceeding to step S108, the wave height calculation unit 52 determines whether the wave height h calculated in step S104 is positive. If the wave height h is positive, the wave height calculation unit 52 performs processing in step S110. In step S110, the wave height calculation unit 52 performs a first correction processing corresponding to a wave height at a position higher than the sea level of the reference wave height. The processing in step S110 will be described in detail later.

[0033] If the wave height h is not positive, the wave height calculation unit 52 performs the process of step S112. In step S112, the wave height calculation unit 52 performs a second correction process corresponding to a wave height at a position lower than the sea level of the reference wave height. The process of step S112 will be described in detail later.

[0034] Following step S110 or step S112, the process proceeds to step S114, where the wave height calculation unit 52 determines whether all horizontal plane positions have been processed. If not, the wave height calculation unit 52 returns to the process of step S102, selects one unprocessed horizontal plane position, and performs the processes of steps S104 to S114.

[0035] If the processing has been completed, the wave height calculation unit 52 proceeds to the processing of step S116. In step S116, if there is a next frame to be drawn, the virtual space setting unit 50 returns to step S100 and continues the processing. If there is no next frame to be drawn, the virtual space setting unit 50 ends the processing of FIG.

[0036] Figure 6 is a flowchart of an example of the first wave height correction process. In step S200, the wave height calculation unit 52 corrects the wave height h calculated in step S104 of Figure 4 to a wave height h' using the following equation (1). The shallower the water depth, the smaller the shoaling coefficient S. Therefore, the shallower the water depth, the larger the corrected wave height h'.

number

[0037] The wave crest coefficient C in equation (1) is a coefficient that determines the wave crest portion by calculating the wave height superposition with a phase shift of π / 2. The correction strength coefficient A is a user parameter that indicates the correction strength.

[0038] In step S202, the wave height calculation unit 52 determines whether or not the wave height h' exceeds the wave breaking limit H. If the wave height h' does not exceed the wave breaking limit H, the wave height calculation unit 52 skips the processes of steps S204 to S208 and ends the process of the flowchart in FIG.

[0039] If the wave height h' exceeds the breaking limit H, the wave height calculation unit 52 proceeds to the processing of step S204. In step S204, the wave height calculation unit 52 measures the topographical height of a horizontal plane position (x', z') shifted in the average wave traveling direction from the horizontal plane position (x, z) selected in step S102, using the wave height h' - breaking limit H as the shift width.

[0040] In step S206, the wave height calculation unit 52 calculates the difference dH between the terrain height at the horizontal plane position (x, z) and the terrain height at the horizontal plane position (x', z'). In step S208, the wave height calculation unit 52 corrects the wave height h' calculated in step S200 to a wave height h" using the following equation (2). The corrected wave height h" is calculated based on the excess wave height scaled to a range not exceeding twice the breaking wave limit H and the difference dH.

number

[0041] In this way, when the wave height h' exceeds the breaking limit H, the information processing device 10 of this embodiment uses the corrected wave height h" to draw the horizontal plane position (x, z) selected in step S102.When the wave height h' does not exceed the breaking limit H, the information processing device 10 of this embodiment uses the wave height h' to draw the horizontal plane position (x, z) selected in step S102.

[0042] 7 is a flowchart of an example of the second wave height correction process. In step S300, the wave height calculation unit 52 calculates the wave height h calculated in step S104 of FIG. 4 as a value lower than the sea level of the reference wave height, and therefore calculates the wave height h using the following equation (5) to avoid the phenomenon of the waves sinking into the ground. s Equation (5) divides the wave height h calculated in step S104 by the shallow water coefficient S.

number

[0043] The wave height calculation unit 52 uses the user parameter D (threshold depth) and the reference water depth D0, which is the water depth at the horizontal plane position (x, z), to calculate (h s +D0)<0 and D0>D. If it is determined that the conditions are met, the wave height calculation unit 52 performs the process of step S304. In step S304, the wave height calculation unit 52 calculates the wave height h s The correction strength coefficient B is a user parameter that indicates the correction strength.

number

[0044] The information processing device 10 and server device 14 of the disclosed embodiment should be considered as illustrative and not restrictive. The above-described embodiment can be modified and improved in various forms without departing from the scope and spirit of the appended claims. Furthermore, the matters described in the above-described embodiments can be configured in other ways as long as they are not inconsistent, and can be combined as long as they are not inconsistent. The water depth described above can be replaced with liquid depth when drawing an image including a liquid surface. [Explanation of symbols]

[0045] 10. Information processing equipment 14 Server equipment 18 Network 20 Control Unit 50 Virtual Space Setting Section 52 Wave height calculation section 54 Drawing section

Claims

1. An information processing device that draws an image including a water surface or a liquid surface, a wave height calculation unit configured to calculate wave heights at a plurality of horizontal plane positions of the water surface or an object corresponding to the liquid surface; a drawing unit configured to draw the object whose shape changes based on the calculated wave heights at the plurality of horizontal plane positions; and The wave height calculation unit corrects the wave heights at the plurality of horizontal plane positions in the coastal area based on changes in wave height caused by water depth or liquid depth and changes in wave height caused by breaking waves, as follows: Based on the relationship between the horizontal plane position where the wave height was calculated and the wave breaking limit at the horizontal plane position, the topographical height of another horizontal plane position shifted in the average wave traveling direction from the horizontal plane position where the wave height was calculated is measured, with the excess wave height exceeding the wave breaking limit at the horizontal plane position as a shift width, calculating a difference between the terrain height at the horizontal plane position at which the wave height is calculated and the terrain height at the other horizontal plane position as a terrain height difference; and correcting the wave height at the horizontal plane position based on the difference in topographical height, the excess wave height, and the wave breaking limit at the horizontal plane position. An information processing device characterized by:

2. When the calculated wave height at the horizontal plane position is lower than the reference wave height in a state where no waves are generated, the wave height calculation unit corrects the wave height at the horizontal plane position in consideration of water depth or liquid depth so that the calculated wave height at the horizontal plane position is not lower than the ground level at the horizontal plane position.

2. The information processing device according to claim 1,

3. the wave height calculation unit corrects the wave height h after the superposition calculation at the horizontal plane position (x, z) using the following formula (1) based on a plurality of functions that calculate the wave height at the horizontal plane position (x, z) using the horizontal plane position (x, z) of the object corresponding to the water surface or liquid surface and time as arguments, to obtain a wave height h′; When the wave height h' exceeds the breaking wave limit H, the difference between the terrain height of the horizontal plane position (x', z') shifted from the horizontal plane position (x, z) in the average wave traveling direction and the terrain height of the horizontal plane position (x, z) is defined as the shift width (h'-H), and the difference dH is defined as the terrain height of the horizontal plane position (x, z), The wave height h″ calculated by the following formula (2) is the wave height at the horizontal plane position (x, z), The shallow water coefficient S is calculated using equation (3), Calculate the breaking wave limit H using equation (4).

3. The information processing device according to claim 1. [Equation 1]

4. When the calculated wave height at the horizontal plane position (x, z) is a negative value indicating that the position is lower than the reference wave height in a state where no waves are generated, the wave height calculation unit corrects the calculated wave height h using the following equation (5) to obtain the wave height h s Let (h s +D 0 ) < 0, and D 0 >D (D is the threshold depth), the wave height at the horizontal plane position (x, z) is corrected by the following equation (6):

4. The information processing device according to claim 3. [Equation 2]

5. A drawing method for an information processing device that draws an image including a water surface or a liquid surface, comprising: calculating wave heights at a plurality of horizontal plane positions of the water surface or an object corresponding to the liquid surface; drawing the object whose shape changes based on the calculated wave heights at the plurality of horizontal plane positions; and The calculating step includes correcting the wave heights at the plurality of horizontal plane positions in the coastal area based on changes in wave height caused by water depth or liquid depth and changes in wave height caused by breaking waves, Based on the relationship between the horizontal plane position where the wave height was calculated and the wave breaking limit at the horizontal plane position, the topographical height of another horizontal plane position shifted in the average wave traveling direction from the horizontal plane position where the wave height was calculated is measured, with the excess wave height exceeding the wave breaking limit at the horizontal plane position as a shift width, calculating a difference between the terrain height at the horizontal plane position at which the wave height is calculated and the terrain height at the other horizontal plane position as a terrain height difference; and correcting the wave height at the horizontal plane position based on the difference in topographical height, the excess wave height, and the wave breaking limit at the horizontal plane position. A drawing method characterized by:

6. An information processing device that draws an image including a water surface or a liquid surface, A procedure for calculating wave heights at a plurality of horizontal plane positions of the water surface or an object corresponding to the liquid surface; a step of drawing the object whose shape changes based on the calculated wave heights at the plurality of horizontal plane positions; Execute The calculation procedure includes a process of correcting wave heights at the plurality of horizontal plane positions in the coastal area based on changes in wave height caused by water depth or liquid depth and changes in wave height caused by breaking waves, Based on the relationship between the horizontal plane position where the wave height was calculated and the wave breaking limit at the horizontal plane position, the topographical height of another horizontal plane position shifted in the average wave traveling direction from the horizontal plane position where the wave height was calculated is measured, with the excess wave height exceeding the wave breaking limit at the horizontal plane position as a shift width, calculating a difference between the terrain height at the horizontal plane position at which the wave height is calculated and the terrain height at the other horizontal plane position as a terrain height difference; and correcting the wave height at the horizontal plane position based on the difference in topographical height, the excess wave height, and the wave breaking limit at the horizontal plane position. A program characterized by.

Citation Information

Patent Citations

  • Image generation system and program and information storage medium

    JP2007164728A

  • Information processing device, information processing method and program

    JP2020184210A

  • Real-time rendering of a parametric breaking wave

    US20070151336A1

  • Wave zones rendering technique

    US20080284783A1