Virtual space determination device and program

The virtual space determination device and program allow users to create desired virtual spaces by identifying surface shapes and textures, addressing the limitation of existing technologies to only real-world representations, enhancing user experience with aligned light sources and shadows.

JP2026020667APending Publication Date: 2026-02-10NTT DOCOMO INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024122116
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing technologies, such as those described in Patent Document 1, allow users to create virtual spaces that correspond to the real world but fail to facilitate the creation of virtual spaces that do not exist in reality, such as fantasy worlds, limiting user experience.

Method used

A virtual space determination device and program that identify the shape and positional relationship of surfaces in a three-dimensional space, extract corresponding textures, and determine a virtual space by pasting these textures onto a base space, allowing users to create desired virtual environments.

Benefits of technology

Enables users to easily construct virtual spaces they desire, aligning light sources and shadows for improved user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026020667000001_ABST
    Figure 2026020667000001_ABST
Patent Text Reader

Abstract

To enable a user to easily obtain a virtual space in which the user wants to spend time.SOLUTION: The virtual-space determining device 10 includes a first specifying unit 130a, an extracting unit 130c, and a first determining unit 130d. The first specifying unit 130a specifies a shape and a positional relationship of each of a plurality of surfaces partitioning the base space on the basis of a first space image representing the three dimensional base space in two dimensions. The extraction unit 130c extracts a plurality of textures having a one to-one correspondence with a plurality of surfaces of a base space from a virtual reality image on the basis of the virtual reality image representing a three dimensional virtual reality space corresponding to the base space in a two dimensional manner and shapes and a positional relationship of the plurality of surfaces. The first determination unit 130d determines virtual spaces by attaching each of the plurality of textures extracted by the extraction unit 130c to a corresponding surface in the base space.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to a virtual space determination device and a program. [Background technology]

[0002] With the expansion of use of virtual spaces such as the Metaverse, various technologies for constructing virtual spaces have been proposed. For example, Patent Document 1 discloses constructing a virtual space using a 3D model synthesis technology. The 3D model synthesis technology displays a foreground three-dimensional model defined by three-dimensional modeling data together with a background three-dimensional model to which a background image has been attached. The foreground three-dimensional model is data representing walls and the like that divide the virtual space. Patent Document 1 also lists street views as background images. Street views are 360-degree panoramic images taken from various points on roads in the real world. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2021 / 132237 Summary of the Invention [Problem to be solved by the invention]

[0004] The technology disclosed in Patent Document 1 makes it possible to easily generate a virtual space that corresponds to the real world. However, a user cannot always create the virtual space in which they want to spend time using the technology disclosed in Patent Document 1. For example, if the virtual space in which a user wants to spend time corresponds to a world that does not exist in reality, such as a fantasy world, there is no street view of that world.

[0005] The present disclosure has been made in consideration of the above-described problems, and aims to provide a technology that enables users to easily obtain a virtual space in which they would like to spend time. [Means for solving the problem]

[0006] A virtual space determination device according to one embodiment of the present disclosure includes a first identification unit that identifies the shape of each of a plurality of surfaces that partition a three-dimensional first space and the positional relationship of each of the plurality of surfaces based on a first space image that represents the three-dimensional first space in two dimensions; an extraction unit that extracts from the virtual space image the shape of each of the plurality of surfaces, the positional relationship of each of the plurality of surfaces, and a plurality of textures that correspond one-to-one to the plurality of surfaces; and a first determination unit that determines the virtual space by pasting each of the plurality of textures extracted by the extraction unit onto a corresponding surface in the base space.

[0007] In addition, a payment program according to one embodiment of the present disclosure causes a computer to perform the following: based on a first space image that represents a three-dimensional first space in two dimensions, identify the shape of each of a plurality of surfaces that partition the first space and the positional relationship of each of the plurality of surfaces; extract from the virtual space image a virtual space image that represents a three-dimensional virtual space corresponding to the first space in two dimensions, the shape of each of the plurality of surfaces, the positional relationship of each of the plurality of surfaces, and a plurality of textures that correspond one-to-one to the plurality of surfaces; and determine the virtual space by pasting each of the extracted plurality of textures onto a corresponding surface in the base space. [Effects of the Invention]

[0008] According to the present disclosure, users can easily obtain the virtual space in which they would like to spend time. [Brief explanation of the drawings]

[0009] [Figure 1] 1 is a block diagram showing an example of the configuration of a virtual space determination device 10 according to the present disclosure. [Figure 2] FIG. 2 is a diagram illustrating an example of a virtual space image according to the present embodiment. [Figure 3]FIG. 2 is a diagram illustrating an example of a base space image in the present embodiment. [Figure 4] FIG. 10 is a diagram for explaining the processing executed by a third determination unit 130f. [Figure 5] 10 is a flowchart showing the flow of processing in a determination method executed by the processing device 130 operating according to the program PR1. DETAILED DESCRIPTION OF THE INVENTION

[0010] (A. Embodiment) FIG. 1 is a block diagram showing an example configuration of a virtual space determination device 10 according to an embodiment of the present disclosure. In addition to the virtual space determination device 10, FIG. 1 also shows a user terminal 20 that communicates with the virtual space determination device 10 via a communication network NW. The user terminal 20 in this embodiment is a smartphone used by a user U. Note that the user terminal 20 may also be a tablet terminal or a personal computer. Although FIG. 1 shows only one user terminal 20, multiple user terminals 20 may communicate with the virtual space determination device 10.

[0011] In this embodiment, user U can have the virtual space determination device 10 construct a three-dimensional virtual space (hereinafter referred to as the target space) in which he or she wishes to spend time by transmitting from user terminal 20 to the virtual space determination device 10 a plurality of keywords relating to the characteristics of each surface that defines an object present in the space, first image data that represents in two dimensions the base space that forms the basis of the virtual space, and position data that indicates the position of a light source relative to the virtual space.

[0012] A base space is a three-dimensional space obtained by omitting surface details (e.g., protrusions, depressions, texture, color, etc.) of each face that defines an object in a target space. In other words, the base space can be considered the skeleton or model of the target space. For example, as shown in FIG. 2, the target space may include an arched stone gate OB1 and a brick castle wall OB2 connected to the gate. Note that in FIG. 2, the differences in the surface texture of the gate OB1 and the castle wall OB2 are indicated by different hatching. In this case, the base space is a space in which a cube OB3 corresponding to the gate OB1 and a cube OB4 corresponding to the castle wall OB2 are arranged, as shown in FIG. 3. Hereinafter, an image that represents the three-dimensional base space in two dimensions will be referred to as a base space image. The base space is an example of a first space in the present disclosure. An image represented by the first image data, i.e., an image that represents the base space in two dimensions, is an example of a first space image in the present disclosure. In the following description, an image that represents the target space in two dimensions will be referred to as a virtual space image.

[0013] In this embodiment, the base space is created in advance by the user U using, for example, 3DCG software. The base space is a space in which the surface features of each face that partitions the objects to be placed in the target space are omitted, and cubes or the like corresponding to each object are placed. Therefore, even if the user U is not familiar with 3DCG software, the base space can be constructed more easily than the target space.

[0014] Furthermore, although details will be described later, in this embodiment, the virtual space determination device 10 generates a virtual space image based on the first image data and a plurality of keywords received from the user terminal 20. Then, the virtual space determination device 10 extracts textures to be applied to each surface in the base space from the virtual space image and applies them to the corresponding surfaces in the base space, thereby constructing the virtual space.

[0015] As shown in FIG. 1, the virtual space determination device 10 includes a communication device 110, a storage device 120, a processing device 130, and a bus 160 interconnecting these devices.

[0016] The communication device 110 includes, for example, a communication interface. The communication device 110 communicates with other devices wirelessly via a communication network NW. Specific examples of other devices that communicate with the communication device 110 include a user terminal 20 and servers that function as various AIs (Artificial Intelligences) described below.

[0017] The storage device 120 is a recording medium readable by the processing device 130. The storage device 120 includes, for example, a nonvolatile memory and a volatile memory. The nonvolatile memory is, for example, a ROM (Read Only Memory), an EPROM (Erasable Programmable Read Only Memory), and an EEPROM (Electrically Erasable Programmable Read Only Memory). The volatile memory is, for example, a RAM (Random Access Memory). A program PR1 is pre-stored in the storage device 120. The storage device 120 also stores first image data D1 received from the user terminal 20 and second image data D2 representing a virtual space image.

[0018] The processing device 130 includes one or more central processing units (CPUs). The one or more CPUs are an example of one or more processors. Each of the processor and the CPU is an example of a computer. The processing device 130 reads the program PR1 from the storage device 120 when the virtual space determination device 10 is powered on. The processing device 130 then executes the program PR1 read from the storage device 120. By executing the program PR1, the processing device 130 functions as a first identification unit 130a, a second identification unit 130b, an extraction unit 130c, a first determination unit 130d, a second determination unit 130e, and a third determination unit 130f.

[0019] The first identification unit 130a analyzes the first image data D1 to identify the shape of each of the multiple faces that define the surface of the object in base space and the positional relationship between the faces. More specifically, the first identification unit 130a performs region division on the base space image represented by the first image data D1 to identify regions in the base space image that correspond to each of the multiple faces that define the object. Identifying a region refers to identifying the positions of multiple points on the contour that defines the region in a three-dimensional coordinate system that defines the position in base space. Next, the first identification unit 130a identifies the shape and relative positional relationship of each region corresponding to each of the multiple faces based on the shape and positional relationship of each region. For example, if the image represented by the first image data D1 is the image shown in FIG. 3, the first identification unit 130a identifies the shape and positional relationship of each face that defines the cube OB3 and the shape and positional relationship of each face that defines the cube OB4.

[0020] The third determination unit 130f communicates with the user terminal 20 using the communication device 110, and determines a virtual space image based on multiple keywords and the first image data D1 acquired from the user terminal 20. FIG. 4 is a diagram for explaining the processing executed by the third determination unit 130f. As shown in FIG. 4, the third determination unit 130f inputs multiple keywords acquired from the user terminal 20 to an AI functioning as a large-scale language model, thereby converting the multiple keywords into multiple prompts (prompts indicating features related to surfaces included in the target space) suitable for input to the image generation AI. The image generation AI is an AI that receives input of prompts and image data and generates image data of a new image by making changes to the image represented by the image data in accordance with the prompts. Existing technologies may be used as appropriate for the large-scale language model and the image generation AI.

[0021] Next, the third determination unit 130f determines a virtual space image by inputting the first image data D1 and a prompt obtained from multiple keywords acquired from the user terminal 20 into the image generation AI. While it is difficult to directly generate a three-dimensional target space using the image generation AI based on the prompt, a virtual space image that represents the target space in two dimensions can be accurately generated using a well-known image generation AI. The third determination unit 130f stores second image data D2 representing the virtual space image determined using the image generation AI in the storage device 120. For example, if keywords related to surfaces included in the virtual space, such as "stone gate with an arch" and "stone castle wall connected to the gate," are acquired from the user terminal 20, and first image data D1 representing the base space shown in FIG. 3 is acquired, the third determination unit 130f generates a virtual space image representing the target space shown in FIG. 2.

[0022] Returning to FIG. 1, the second identification unit 130b inputs the second image data D2 into the object recognition AI to identify areas corresponding to each of the various objects appearing in the virtual space image, the type of the object, and the area corresponding to the object's shadow. The object recognition AI is an AI that identifies the type of object appearing in the image represented by the input image data, the area occupied by the image of the object, etc. Existing technologies may also be used as appropriate for the object recognition AI. Next, the second identification unit 130b identifies the position of the light source in the three-dimensional coordinate system for each object in the virtual space based on the positional relationship between the area corresponding to the object and the area corresponding to the object's shadow. The position of the light source can be identified, for example, by determining the apex of an oblique cone whose base is in the area of ​​the object's shadow and crosses the area corresponding to the object.

[0023] The extraction unit 130c extracts from the virtual space image multiple textures to be applied to multiple surfaces in the base space in a one-to-one correspondence based on the shapes of each of the multiple surfaces that define the base space, the positional relationships of each of the multiple surfaces, and the virtual space image. More specifically, the extraction unit 130c performs region division on the virtual space image to identify the shape and positional relationship of each region corresponding to each of the multiple surfaces that define each object in the virtual space. Next, the extraction unit 130c associates the multiple regions in the base space with the multiple regions in the virtual space in a one-to-one correspondence based on the degree of identity or similarity of their shapes and positional relationships. In this embodiment, each face of the gate OB1 in the virtual space image is associated one-to-one with each face of the cube OB3 in the base space image, and each face of the castle wall OB2 in the virtual space image is associated one-to-one with each face of the cube OB4 in the base space image.

[0024] Then, for each region corresponding to each of the multiple surfaces that partition the base space, the extraction unit 130c extracts an image of the region in the virtual space image that corresponds one-to-one to the region as a texture to be applied to the corresponding surface. In this embodiment, images of regions corresponding to the faces of the gate OB1 in the virtual space image are extracted as textures corresponding to the faces of the cube OB3. Also, in this embodiment, images of regions corresponding to the faces of the castle wall OB2 in the virtual space image are extracted as textures corresponding to the faces of the cube OB4. More specifically, in this embodiment, the extraction unit 130c extracts multiple textures from the virtual space image from which the shadow identified by the second identification unit 130b has been removed. Removing the shadow from the virtual space image means increasing the brightness of pixels belonging to the region corresponding to the shadow so that the brightness of the image of the region corresponding to the shadow is approximately the same as the brightness of the surrounding area. The purpose of extracting texture from the virtual space image from which the shadow has been removed is to prevent inconsistencies between the position of the light source set by the user U and the position of the shadow.

[0025] The second determination unit 130e determines the position in the three-dimensional coordinate system of a light source to be newly installed in the virtual space, in accordance with position data provided from the user terminal 20 communicating via the communication device 110.

[0026] The first determination unit 130d determines the virtual space by pasting each of the multiple textures extracted by the extraction unit 130c onto a corresponding surface in the base space while adjusting the shape and size. This creates a three-dimensional virtual space represented by a virtual space image. A user U who enters the virtual space can move within the virtual space, move their viewpoint, and so on, without feeling any discomfort. In this embodiment, the first determination unit 130d determines the virtual space by adding a shadow corresponding to the light emitted from the light source whose position is determined by the second determination unit. Adding a shadow refers to lowering the brightness of pixels belonging to the area corresponding to the shadow so that the brightness of the image in the area corresponding to the shadow is lower than the brightness of the surrounding area.

[0027] Furthermore, the processing device 130, operating according to the program PR1, begins executing a virtual space determination method emphasizing the features of the present disclosure upon receiving from the user terminal 20 a plurality of keywords related to the characteristics of the target space, image data representing a base space image, and position data indicating the position of a light source relative to the target space. FIG. 5 is a flowchart showing the processing flow of this determination method. As shown in FIG. 5, the processing device 130, operating according to the program PR1, first executes the processing of step SA110. In this step SA110, the processing device 130 stores the received image data as first image data D1 in the storage device 120 and functions as a third determination unit 130f. That is, in step SA110, the processing device 130 determines a virtual space image based on the received plurality of keywords and the first image data D1. Then, the processing device 130 stores second image data D2 representing the determined virtual space image in the storage device 120.

[0028] In step SA120 following step SA110, the processing device 130 functions as a first identification unit 130a. In step SA120, the processing device 130 analyzes the first image data D1 to identify the shape and positional relationship of each of a plurality of faces that define the surface of the object in the base space.

[0029] In step SA130 following step SA120, processing device 130 functions as second identification unit 130b. In step SA130, processing device 130 identifies, for each object appearing in the virtual space image, the area corresponding to the object, the type of the object, and the area corresponding to the object's shadow. Next, processing device 130 identifies the position of the light source relative to the virtual space based on the positional relationship between the area corresponding to the object in the virtual space and the area corresponding to the object's shadow.

[0030] In step SA140 following step SA130, processing device 130 functions as second determination unit 130e. In step SA140, processing device 130 determines the position of a light source to be newly installed in the virtual space, in accordance with the position data received from user terminal 20.

[0031] In step SA150 following step SA140, the processing device 130 functions as an extraction unit 130c. In step SA140, the processing device 130 extracts, from the virtual space image, a plurality of textures to be applied one-to-one to a plurality of surfaces in the base space, based on the shapes of each of the plurality of surfaces that partition the base space, the positional relationships between each of the plurality of surfaces, and the virtual space image. In this embodiment, the processing device 130 extracts a plurality of textures from the virtual space image from which the shadows identified in step SA130 have been removed.

[0032] In step SA160 following step SA150, the processing device 130 functions as a first determination unit 130d. In step SA150, the processing device 130 determines the virtual space by pasting each of the multiple textures extracted in step SA140 onto a corresponding surface in the base space. In this embodiment, the processing device 130 determines the virtual space by adding a shadow according to the light emitted from the light source whose position was determined in step SA140.

[0033] As described above, according to this embodiment, a user can easily create a virtual space that he or she desires. Furthermore, according to this embodiment, the position of the light source and the direction of the shadow of an object in the virtual space are aligned, thereby improving the quality of the virtual space. It goes without saying that when a user U enters the virtual space using an avatar, the position of the light source and the direction of the avatar's shadow are aligned.

[0034] (B: Transformation) The above embodiment can be modified as follows. (B-1: Variation 1) If it is not necessary to install a new light source in the virtual space, the second determination unit 130e may be omitted. In an aspect in which the second determination unit 130e is omitted, the first determination unit 130d may determine the virtual space by pasting each of the plurality of textures extracted from the virtual space image from which shadows have been removed onto the corresponding surfaces in the base space. Furthermore, if it is not necessary to remove shadows from the textures to be pasted onto the surfaces in the base space, the second identification unit 130b may be omitted. In this case, the extraction unit 130c may extract, from the virtual space image, a plurality of textures that correspond one-to-one to the plurality of surfaces in the base space based on the shapes of each of the plurality of surfaces that partition the base space, the positional relationships between each of the plurality of surfaces, and the virtual space image.

[0035] (B-2: Variation 2) In the above embodiment, a virtual space image was generated based on multiple keywords specified by user U. However, the virtual space image may be an image such as an illustration of the target space viewed from any point within the target space, or, if the target space is a real space that actually exists, a photograph of the real space. In this case, image data representing an illustration or photograph of the target space is transmitted from the user terminal 20 to the virtual space determination device 10, and the extraction unit 130c extracts a texture from the image data. In this embodiment, the third determination unit 130f can be omitted, but the user must prepare a base space in which cubes or the like corresponding to each object are arranged with shapes and positional relationships identical or similar to those of the objects in the target space.

[0036] (B-3: Variation 3) In the above embodiment, the program PR1 is pre-stored in the storage device 120 of the virtual space determination device 10, but the program PR1 may be manufactured or sold separately. When selling the program PR1, the program PR1 may be provided to a purchaser by writing it to a computer-readable recording medium such as a flash ROM and distributing it, or by downloading it via a telecommunications line.

[0037] (C:Other) (1) In the above-described embodiment, ROM, RAM, etc. are exemplified as storage device 120, but storage device 120 may also be a flexible disk, a magneto-optical disk (e.g., a compact disk, a digital versatile disk, a Blu-ray (registered trademark) disc), a smart card, a flash memory device (e.g., a card, a stick, a key drive), a CD-ROM (Compact Disc-ROM), a register, a removable disk, a hard disk, a floppy (registered trademark) disk, a magnetic strip, a database, a server, or other suitable storage medium.

[0038] (2) In the above-described embodiments, the described information, signals, etc. may be represented using any of a variety of different technologies. For example, data, instructions, commands, information, signals, bits, symbols, chips, etc. that may be referred to throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, optical fields or photons, or any combination thereof.

[0039] (3) In the above-described embodiment, input and output information may be stored in a specific location (for example, memory) or may be managed using a table. Input and output information may be overwritten, updated, or added to. Output information may be deleted. Input information may be transmitted to another device.

[0040] (4) In the above-described embodiment, the determination may be made based on a value represented by one bit (0 or 1), a Boolean value (true or false), or a comparison of numerical values ​​(e.g., comparison with a predetermined value).

[0041] (5) The order of the process procedures, sequences, flowcharts, etc. illustrated in the above-described embodiments may be rearranged unless inconsistent. For example, the methods described in this disclosure present elements of various steps using an example order, and are not limited to the particular order presented.

[0042] (6) Each function illustrated in FIG. 1 is realized by any combination of at least one of hardware and software. Furthermore, the method for realizing each functional block is not particularly limited. That is, each functional block may be realized using a single device that is physically or logically coupled, or may be realized using two or more physically or logically separated devices that are connected directly or indirectly (for example, by wire, wirelessly, etc.) and these multiple devices. A functional block may also be realized by combining software with the single device or the multiple devices.

[0043] (7) The programs exemplified in the above-described embodiments should be broadly construed to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software modules, applications, software applications, software packages, routines, subroutines, objects, executable files, threads of execution, procedures, functions, etc., regardless of whether they are called software, firmware, middleware, microcode, hardware description language, or by other names.

[0044] Software, instructions, information, etc. may also be transmitted or received over a transmission medium. For example, if software is transmitted from a website, server, or other remote source using wired technologies (such as coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL)), and / or wireless technologies (such as infrared, microwave), then these wired and / or wireless technologies are included within the definition of transmission media.

[0045] (8) In each of the foregoing embodiments, the terms "system" and "network" are used interchangeably.

[0046] (9) The information, parameters, etc. described in this disclosure may be expressed using absolute values, relative values ​​from a predetermined value, or corresponding other information.

[0047] (10) In the above-described embodiments, the terms "connected," "coupled," or any variation thereof refers to any direct or indirect connection or coupling between two or more elements, and may include the presence of one or more intermediate elements between two elements that are "connected" or "coupled" to each other. The coupling or connection between elements may be physical, logical, or a combination thereof. For example, "connected" may be read as "access." As used in this disclosure, two elements may be considered to be "connected" or "coupled" to each other using at least one of one or more wires, cables, and printed electrical connections, as well as electromagnetic energy having wavelengths in the radio frequency range, microwave range, and optical (both visible and invisible) range, as some non-limiting and non-exhaustive examples.

[0048] (11) In the above embodiments, the phrase "based on" does not mean "based only on," unless otherwise specified. In other words, the phrase "based on" means both "based only on" and "based at least on."

[0049] (12) As used in this disclosure, the terms "determining" and "determining" may encompass a wide variety of actions. "Determining" and "determining" may include, for example, judging, calculating, computing, processing, deriving, investigating, looking up, searching, inquiring (e.g., searching in a table, database, or other data structure), ascertaining, and the like. "Determining" and "determining" may also include receiving (e.g., receiving information), transmitting (e.g., sending information), input, output, accessing (e.g., accessing data in memory), and the like. Furthermore, "judgment" and "decision" can include regarding resolving, selecting, choosing, establishing, comparing, etc. as having been "judgment" or "decision." In other words, "judgment" and "decision" can include regarding some action as having been "judgment" or "decision." Furthermore, "judgment (decision)" can be interpreted as "assuming," "expecting," "considering," etc.

[0050] (13) In the above embodiments, when "include," "including," and variations thereof are used, these terms are intended to be inclusive, similar to the term "comprising." Furthermore, the term "or" as used in this disclosure is not intended to be an exclusive or.

[0051] (14) In this disclosure, where articles are added by translation, such as a, an, and the in English, the disclosure may include that the nouns following these articles are plural.

[0052] (15) In this disclosure, the term "A and B are different" may mean "A and B are different from each other." The term may also mean "A and B are each different from C." Terms such as "separate" and "combined" may also be interpreted in the same way as "different."

[0053] (16) Each aspect / embodiment described in this disclosure may be used alone, in combination, or switched depending on the implementation. Notification of predetermined information (e.g., notification that "X is true") is not limited to explicit notification, but may be implicit (e.g., not notifying the predetermined information).

[0054] (D: Aspects understood from the above-described embodiments or modifications) Although the present disclosure has been described in detail above, it is clear to those skilled in the art that the present disclosure is not limited to the embodiments described herein. The present disclosure can be implemented in modified and altered forms without departing from the spirit and scope of the present disclosure as defined by the claims. Therefore, the description of the present disclosure is intended to be illustrative and does not have any limiting meaning on the present disclosure. The following aspects can be understood from at least one of the above-described embodiments or modifications.

[0055] A virtual space determination device according to a first aspect of the present disclosure includes: a first identification unit that identifies, based on a first space image that two-dimensionally represents a three-dimensional first space, the shape of each of a plurality of surfaces that partition the first space and the positional relationship between each of the plurality of surfaces; a virtual space image that two-dimensionally represents a three-dimensional virtual space corresponding to the first space, and an extraction unit that extracts from the virtual space image a plurality of textures that correspond one-to-one to the plurality of surfaces based on the shape of each of the plurality of surfaces and the positional relationship between each of the plurality of surfaces; and a first determination unit that determines the virtual space by pasting each of the plurality of textures extracted by the extraction unit onto a corresponding surface in the first space. According to this aspect, a virtual space can be constructed based on the first space image that two-dimensionally represents the three-dimensional first space and the virtual space image that two-dimensionally represents the three-dimensional virtual space corresponding to the first space, so that a user can easily construct a desired virtual space by preparing a virtual space image and a first space image related to the virtual space.

[0056] A virtual space determination device according to a second aspect (an example of the first aspect) of the present disclosure includes a second identification unit that identifies a first light source in the virtual space and a shadow cast by light emitted from the first light source by analyzing the virtual space image, and the extraction unit extracts the plurality of textures based on an image in which the shadow identified by the second identification unit has been removed from the virtual space image. According to this aspect, a virtual space can be constructed using textures from which the shadows included in the virtual space image have been removed.

[0057] A virtual space determination device according to a third aspect (an example of the second aspect) of the present disclosure includes a second determination unit that determines a position of a second light source in the virtual space, and the first determination unit determines the virtual space by adding a shadow corresponding to light irradiated from the second light source whose position has been determined by the second determination unit. According to this aspect, a virtual space to which a shadow corresponding to the second light source has been added can be constructed.

[0058] A virtual space determination device according to a fourth aspect (an example of the third aspect) of the present disclosure further includes a third determination unit that determines the virtual space image based on the first space image and a prompt that indicates characteristics of a surface included in the virtual space. According to this aspect, a virtual space image can be easily generated.

[0059] A program according to a fifth aspect of the present disclosure causes a computer to execute the following steps: based on a first space image that represents a three-dimensional first space in two dimensions, identify the shape of each of a plurality of surfaces that partition the first space and the positional relationship between each of the plurality of surfaces; extract from the virtual space image a plurality of textures that correspond one-to-one to the plurality of surfaces based on a virtual space image that represents a three-dimensional virtual space corresponding to the first space in two dimensions, the shape of each of the plurality of surfaces, and the positional relationship between each of the plurality of surfaces; and determine the virtual space by pasting each of the extracted plurality of textures onto a corresponding surface in the first space. As in the first aspect, this aspect also allows a virtual space to be constructed based on the first space image that represents the three-dimensional first space in two dimensions and a virtual space image that represents the three-dimensional virtual space corresponding to the first space in two dimensions, so that a user can easily construct a desired virtual space by preparing a virtual space image and a first space image related to the virtual space. [Explanation of symbols]

[0060] 10...virtual space determination device, 20...user terminal, NW...communication network, 110...communication device, 120...storage device, 130...processing device, 160...bus, 130a...first identification unit, 130b...second identification unit, 130c...extraction unit, 130d...first determination unit, 130e...second determination unit, 130f...third determination unit, PR1...program.

Claims

1. a first identification unit that identifies, based on a first space image that two-dimensionally represents a three-dimensional first space, the shape of each of a plurality of surfaces that partition the first space and a positional relationship between each of the plurality of surfaces; an extraction unit that extracts, from the virtual space image, a plurality of textures that correspond one-to-one to the plurality of surfaces based on a virtual space image that two-dimensionally represents a three-dimensional virtual space corresponding to the first space, the shape of each of the plurality of surfaces, and a positional relationship between each of the plurality of surfaces; a first determination unit that determines the virtual space by attaching each of the plurality of textures extracted by the extraction unit to a corresponding surface in the first space; A virtual space determination device comprising:

2. a second identification unit that identifies a first light source in the virtual space and a shadow created by light emitted from the first light source by analyzing the virtual space image; the extraction unit extracts the plurality of textures based on an image obtained by removing the shadow identified by the second identification unit from the virtual space image; The virtual space determination device according to claim 1 .

3. a second determination unit that determines a position of a second light source in the virtual space; the first determination unit determines the virtual space by adding a shadow according to light emitted from a second light source whose position is determined by the second determination unit. The virtual space determination device according to claim 2 .

4. The virtual space determination device according to claim 1 , further comprising a third determination unit that determines the virtual space image based on the first space image and a prompt that indicates characteristics related to a surface included in the virtual space.

5. On the computer, Identifying the shape of each of a plurality of surfaces that partition a three-dimensional first space and the positional relationship of each of the plurality of surfaces based on a first space image that two-dimensionally represents the three-dimensional first space; extracting, from the virtual space image, a plurality of textures corresponding one-to-one to the plurality of surfaces based on a virtual space image that two-dimensionally represents a three-dimensional virtual space corresponding to the first space, the shapes of the plurality of surfaces, and the positional relationships of the plurality of surfaces; determining the virtual space by attaching each of the extracted textures to a corresponding surface in the first space; A program that executes the following.

Citation Information

Patent Citations

  • Rod body and cylindrical body

    WO2021132237A1