WO2007074728A1 - Program for forming concave-convex texture and apparatus for forming concave-convex texture - Google Patents

Program for forming concave-convex texture and apparatus for forming concave-convex texture Download PDF

Info

Publication number
WO2007074728A1
WO2007074728A1 PCT/JP2006/325597 JP2006325597W WO2007074728A1 WO 2007074728 A1 WO2007074728 A1 WO 2007074728A1 JP 2006325597 W JP2006325597 W JP 2006325597W WO 2007074728 A1 WO2007074728 A1 WO 2007074728A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
particle
texture
particles
closed space
Prior art date
Application number
PCT/JP2006/325597
Other languages
French (fr)
Japanese (ja)
Inventor
Kazunori Miyata
Koji Imao
Ryotaro Suzaki
Yoshitake Hatada
Yoshiyuki Sakaguchi
Original Assignee
Digital Fashion Ltd.
Japan Advanced Institute Of Science And Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Fashion Ltd., Japan Advanced Institute Of Science And Technology filed Critical Digital Fashion Ltd.
Priority to JP2007551931A priority Critical patent/JPWO2007074728A1/en
Publication of WO2007074728A1 publication Critical patent/WO2007074728A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour

Definitions

  • the present invention relates to a computer graphics technique.
  • Non-Patent Document 1 the object surface is divided into pseudo Voronois using a particle model for the purpose of automatically generating a detailed shape of the object surface that affects the quality of CG images. Further, a technique for generating a detailed shape of an object surface by generating a subdivision curved surface with fractal noise for each polygon is disclosed.
  • Non-Patent Document 1 does not take into account the growth pattern of biological skin cells, and leaves room for further improvement in order to more realistically represent the characteristics of biological skin.
  • Non-Patent Document 1 Hirota-Tsubaki, Takayuki Ito, Kenji Shimada, “Generation of organic Textures with Controlled Anisotropy and Directionality via pacing rectangular” and EllipticalCells.IEEE CG & A Vol.23 No.3 pp.38-45,2003), IPSJ, 62nd National Convention Special Track (2) Proceedings, Special 2—53-60
  • An object of the present invention is to provide a concavo-convex texture generation program and a concavo-convex texture generation apparatus that realistically represent the characteristics of biological skin.
  • An uneven texture generation program is an uneven texture generation program for generating an uneven texture, which sets a closed space in a virtual three-dimensional space, and has a predetermined mass and a predetermined amount in the set closed space.
  • Virtual particle placement means for placing a plurality of virtual particles having a size, and the growth pattern of biological skin cells, the number of virtual particles placed by the virtual particle placement means and the size of each virtual particle.
  • the uneven texture generating device is an uneven texture generating device for generating an uneven texture, wherein a closed space is set in a virtual three-dimensional space, and a predetermined mass and in the set closed space are set.
  • Virtual particle placement means for placing a plurality of virtual particles having a predetermined size; and a growth pattern of a skin cell of a living organism is simulated, and the number of virtual particles placed by the virtual particle placement means and each virtual particle Particles that increase the size and calculate the interparticle force acting between the virtual particles growing means for growing the virtual particles in the closed space and the virtual particles determined based on the distance between the virtual particles
  • Based position and size of and is characterized in that it comprises a concave-convex texture generating means for generating an uneven texture.
  • the number and size of the virtual particles in the closed space are increased according to the growth pattern of the skin cells of the organism.
  • Each virtual particle in the virtual 3D space The interparticle force determined based on the distance between the virtual particles is acting, and the interparticle force acting on each virtual particle is calculated.
  • the position of each virtual particle is calculated by solving the equation of motion of each virtual particle when an interparticle force is applied as an external force to each virtual particle. Then, an uneven texture is generated based on the position and size of the virtual particles in the closed space.
  • the size and number of virtual particles are determined according to the growth pattern of the skin cells contained in the skin tissue. Based on the position and size of the virtual particles, Since the concavo-convex texture is generated, it is possible to generate an concavo-convex texture that more realistically represents the characteristics of animal skin.
  • FIG. 1 is a block diagram showing a hardware configuration of an uneven texture generating device according to an embodiment of the present invention.
  • FIG. 2 is a functional block diagram of the uneven texture generating device shown in FIG.
  • FIG. 3 is a flowchart showing the operation of the uneven texture generating apparatus.
  • FIG. 4 is a diagram showing a closed space generated in a virtual three-dimensional space.
  • FIG. 5 (a) and (b) are diagrams showing examples of pattern textures.
  • FIG. 6 A graph showing the van der Waals force in equation (1), where the vertical axis indicates f (w) and the horizontal axis indicates w.
  • FIG. 7 is a diagram showing van der Waals forces acting on virtual particles.
  • FIG. 8 is a diagram illustrating the constraint force acting on virtual particles.
  • FIG. 9 A graph of the function shown in equation (4), where the vertical axis indicates the number of newly added virtual particles and the horizontal axis indicates the growth time.
  • FIG. 10 shows a closed space at the end of simulation.
  • FIG. 11 is a diagram illustrating a process for generating uneven texture.
  • FIG. 12 is a diagram showing an example of the uneven texture generated by the uneven texture generating apparatus.
  • (A), (c), and (d) are generated without generating a potential field in a closed space.
  • (B) shows the uneven texture generated when the potential field PF is generated in the closed space CS.
  • FIG. 13 is a diagram showing a rendering result when a bumpy mapping of the uneven texture generated using the uneven texture generating device is performed on a car dashboard and a virtual three-dimensional model of the automobile interior is rendered. .
  • FIG. 1 is a block diagram showing a hardware configuration of the uneven texture generating device according to the embodiment of the present invention.
  • the uneven texture generator is also configured as a normal computer isolator, input device 1, ROM (read only memory) 2, CPU (central processing unit) 3, RAM (random access memory) 4, external storage device 5, display A device 6 and a recording medium driving device 7 are provided.
  • Each block is connected to an internal bus, and various data are input / output through this bus, and various processes are executed under the control of the CPU 3.
  • the input device 1 includes a keyboard, a mouse and the like, and is used by an operator to input various data, operation commands, and the like.
  • ROM2 stores a system program such as BIOS (Basic Input / Output System).
  • BIOS Basic Input / Output System
  • the external storage device 5 is configured with a hard disk drive or the like, and stores a predetermined OS (Operating System), an uneven texture generation program, and the like.
  • the CPU 3 reads the concavo-convex texture generation program from the external storage device 5 and controls the operation of each block.
  • RAM4 is used as a work area for CPU3.
  • the display device 6 is composed of a liquid crystal display device or the like, and displays various images under the control of the CPU 3.
  • the recording medium driving device 7 includes a CD-ROM drive, a flexible disk drive, and the like.
  • the uneven texture generation program is stored in a computer-readable recording medium 8 such as a CD-ROM and distributed to the factory.
  • the user installs the uneven texture generation program in the computer by causing the recording medium driving device 7 to read the recording medium 8.
  • FIG. 2 is a functional block diagram of the uneven texture generating device shown in FIG. Irregularities
  • the texture generation apparatus includes a processing unit 100, a storage unit 200, an input unit 300, and a display unit 400.
  • the processing unit 100 includes functions of a potential field generation unit 101, a virtual particle arrangement unit 102, a simulation execution unit 103, an uneven texture generation unit 104, a rendering unit 105, and a display control unit 106. These functions are realized by the CPU3 executing the uneven texture generation program.
  • the potential field generation unit 101 reads a pattern texture selected by the user by operating the input unit 300 from the pattern texture storage unit 201, and generates a potential field in a closed space according to the read pattern texture.
  • the potential field is a virtual object that gives repulsive force to the virtual particles placed in the virtual 3D space.
  • the pattern texture is image data representing the pattern that is the basis when the potential field is generated, and is two-dimensional and binary image data.
  • the virtual particle placement unit 102 sets a rectangular parallelepiped closed space in the virtual three-dimensional space.
  • the virtual particle placement unit 102 reads the particle data stored in the particle data storage unit 202, performs a predetermined process on the read particle data in accordance with an operation command received by the input unit 300, and performs virtual processing. Deform the shape of the particles and place multiple virtual particles in the closed space.
  • the simulation execution unit 103 includes an external force calculation unit 111, a virtual particle growth unit 112, a position calculation unit 113, and a counter 114, and performs a simulation for growing virtual particles arranged in a closed space according to a growth pattern of skin cells. Execute.
  • the external force calculation unit 111 calculates an external force that acts on each virtual particle arranged in the closed space.
  • the external force includes van der Waals force acting between molecules when one virtual particle is assumed to be one molecule, repulsive force receiving the potential field force described above, and gravity. Further, when the external force acting on a certain virtual particle exceeds a predetermined value, the external force calculation unit 111 erases the virtual particle from the closed space and kills the virtual particle.
  • the virtual particle growth unit 112 assumes one virtual particle as one skin cell, increases the number of each virtual particle according to the growth pattern of the skin cell, and increases the size of each virtual particle. Increase and grow each virtual particle.
  • the position calculation unit 113 solves each virtual particle in a closed space by solving an equation of motion established for each virtual particle when the external force calculated by the external force calculation unit 111 is applied to each virtual particle. The position and velocity of each virtual particle are calculated.
  • the counter 114 is a counter that measures the growth time of virtual particles. When the counter 114 increments the count value by 1, the virtual particle growth time elapses for a predetermined time.
  • the concavo-convex texture generation unit 104 obtains the distance between the virtual particle grown by the simulation execution unit 103 and the surface on one of the six surfaces constituting the closed space, and the virtual particle A projection surface onto the surface is obtained, and height data is given to the surface based on the obtained projection surface, the virtual particles, and the distance between the surfaces to generate an uneven texture. Further, the uneven texture generation unit 104 stores the uneven texture in the uneven texture storage unit 203 as necessary.
  • the rendering unit 105 reads the virtual 3D model stored in advance in the 3D model storage unit 204, and generates the uneven texture or the texture generated by the uneven texture generation unit 104 for the read virtual 3D model. Rendering is executed by using the uneven texture stored in the uneven texture storage unit 203.
  • the display control unit 106 causes the display unit 400 to display the virtual three-dimensional model rendered by the rendering unit 105. Further, the display control unit 106 reads out a plurality of pattern textures from the pattern texture storage unit 201 and causes the display unit 400 to display a list on the display unit 400 so that the user can select a pattern texture. Further, the display control unit 106 reads the particle data stored in the particle data storage unit 202 and causes the display unit 400 to display the virtual particles in order to allow the user to set the shape of the virtual particles. Furthermore, the display control unit 106 causes the display unit 400 to display the uneven texture generated by the uneven texture generation unit 104 or the uneven texture stored in the uneven texture storage unit 203.
  • the storage unit 200 includes the external storage device 5 shown in FIG. 1, and includes the functions of a pattern texture storage unit 201, a particle data storage unit 202, an uneven texture storage unit 203, and a 3D model storage unit 204. ing. These functions are realized by CPU3 executing the uneven texture generation program.
  • the pattern texture storage unit 201 serves as a basis when a potential field is generated. Image data representing the pattern is stored.
  • the particle data storage unit 202 stores particle data representing the default shape of virtual particles. This particle data is 3D shape data.
  • the particle data storage unit 202 stores mass data indicating the mass per unit volume of the virtual particles.
  • the uneven texture storage unit 203 stores one or more uneven textures generated by the uneven texture generation unit 104.
  • the 3D model storage unit 204 stores a virtual 3D model created in advance by a user using known application software for generating a 3D model.
  • the input unit 300 includes the input device 1 shown in FIG. 1, and accepts various operation commands given by the user.
  • the display unit 400 includes the display device 6 shown in FIG. 1, and displays various images under the control of the display control unit 106.
  • virtual particle arrangement unit 102 corresponds to an example of virtual particle arrangement means.
  • the potential field generation unit 101 corresponds to an example of a virtual object generation unit.
  • the external force calculation unit 111 corresponds to an example of an interparticle force calculation unit, a repulsive force calculation unit, and a virtual particle killing unit.
  • the virtual particle growth unit 112 corresponds to an example of virtual particle growth means.
  • the position calculation unit 113 corresponds to an example of a position calculation unit.
  • the potential field corresponds to an example of a virtual object.
  • FIG. 4 is a diagram illustrating a closed space generated in the virtual three-dimensional space by the potential field generation unit 101.
  • X, y and z axes that are orthogonal to each other are set in the virtual three-dimensional space.
  • Virtual gravity is acting in the z direction.
  • the virtual three-dimensional space may be represented by another coordinate system (for example, a polar coordinate system) instead of the orthogonal coordinate system of the X, y, and z axes.
  • the origin O which is the intersection of the X, y, and z axes, is set at the lower left vertex of the closed space CS.
  • Each side constituting the closed space CS is set in parallel with any side of the X, y, and z axes.
  • the length of each side constituting the closed space CS is a predetermined force potential field generation unit 101 in response to an operation command from the user received by the input unit 300. Accordingly, the length of the closed space cs may be changed as appropriate.
  • the potential field generation unit 101 may adopt a shape other than a rectangular parallelepiped, for example, a sphere or a cube as the shape of the closed space CS.
  • the potential field generation unit 101 generates a potential field according to the pattern texture selected by the user.
  • Figures 5 (a) and 5 (b) show examples of pattern textures.
  • the pattern texture is a rectangular image in which long and narrow stripe patterns are represented.
  • the pattern tissue shown in (a) is composed of a single line that snakes in the vertical direction and two lines of force that branch off.
  • the pattern texture shown in (b) also consists of three muscles arranged so as to spread concentrically.
  • the pattern texture shown in FIGS. 5 (a) and 5 (b) is a binary image, and pixels constituting the streaks are represented by, for example, “1”, and pixels constituting the background other than the streaks are, for example, “0”. It is represented by
  • pattern textures shown in FIGS. 5 (a) and 5 (b) are merely examples, and patterns having other patterns may be employed.
  • an image created by a user using drawing software may be adopted as a pattern texture.
  • the potential field generation unit 101 performs a filter process using a filter (for example, a Gaussian filter) for smoothing the image on the pattern texture selected by the user, and converts the pattern texture to, for example, each pattern texture.
  • a filter for example, a Gaussian filter
  • the pattern texture is converted into three-dimensional image data.
  • the potential field generation unit 101 places the pattern texture converted into the three-dimensional image data on the inner side of the surface on the XY plane (hereinafter referred to as the bottom surface BS) of the closed space CS shown in FIG. For example, it is pasted by texture mapping. As a result, as shown in FIG. 4, a potential field PF composed of streaky ridges and a plane parallel to the XY plane is formed on the bottom surface BS.
  • step S3 shown in FIG. 3 the virtual particle placement unit 102 reads shape data representing the default shape of the virtual particles P stored in the particle data storage unit 202, and closes the space according to the operation command of the user. Determine the number and position of virtual particles P to be placed on CS At the same time, the shape of the virtual particle P is deformed to arrange the virtual particle P in the closed space cs.
  • the number of virtual particles P arranged in the closed space CS is determined based on the number of skin cells per unit volume immediately after the birth of an animal such as a human and the volume of the closed space CS, for example. Values can be adopted. However, this value is appropriately changed according to the operation command from the user.
  • the default shape of the virtual particle P is an ellipsoid in which the shorter of the three principal axes has the same length.
  • the three main axes of the ellipsoid one long main axis is called the major axis, and the remaining two main axes having the same length are called the minor axes.
  • Predetermined default values are adopted for the lengths of the major axis and the minor axis of the ellipsoid. However, this default value is appropriately changed according to the operation command from the user.
  • a sphere may be adopted as the default shape of the virtual particle P.
  • the three main axes of the ellipsoid may have different lengths.
  • an ellipsoid and a sphere may be mixed and arranged in the closed space.
  • the virtual particle arrangement unit 102 uses a predetermined probability density function (for example, normal distribution) or a default value of the long axis and the short axis, or the length of the long axis and the short axis changed by the user. Given random variations using random numbers, etc., the short axis and long axis length of each virtual particle P placed in the closed space CS are determined, and the shape of the virtual particle P is changed. When a sphere is used instead of the ellipsoid, the user can change the shape of the virtual particle P by setting the radius of the sphere.
  • a predetermined probability density function for example, normal distribution
  • the virtual particle placement unit 102 is configured so that the virtual particles P do not overlap in the closed space CS, the bottom surface BS is regarded as the skin surface, and the z direction is regarded as the skin depth direction. Place virtual particles P according to the distribution of skin cells.
  • FIG. 4 shows the closed space CS immediately after the virtual particle placement unit 102 places the virtual particles P in the closed space CS. As shown in FIG. 4, it can be seen that the closed space CS is arranged in such a manner that the size of the virtual particles P varies moderately and the virtual particles P do not overlap.
  • the virtual particle arrangement unit 102 may arrange the virtual particles P so that the directions of the major axes of the virtual particles P are parallel, or the virtual particles may be dispersed by appropriately varying the directions of the major axes. P can be placed.
  • step S5 the external force calculation unit 111 calculates the formula (1) Is used to calculate the van der Waals force acting on each virtual particle P.
  • FIG. 6 is a graph showing the van der Waals force of equation (1), where the vertical axis indicates f (w) and the horizontal axis indicates w. As shown in Fig. 6, f (w) takes a positive value when w is between 0 and 1. As shown in Fig. 7 (b), when virtual particles P and P overlap, virtual particle P
  • f (w) takes a value of 0 when w is 1. This shows that when the virtual particles P 1 and P 2 are in contact with each other, as shown in FIG. 7 (c), neither attractive nor repulsive force acts and it is stable.
  • f (w) takes a negative value when w is in the range of 1 to about 1.3. As shown in FIG. 7 (a), when the virtual particles P 1 and P exist within a certain distance range, an attractive force acts on the virtual particles P 1 and P 2. Furthermore, f (w) takes a positive value when w is greater than 1.3. This indicates that the repulsive force acts when the virtual particles P 1 and P 2 are separated by a certain distance or more.
  • step S 6 shown in FIG. 3 the external force calculation unit 111 calculates the constraint force FS of the potential field PF force acting on each virtual particle P.
  • FIG. 8 is a diagram for explaining the constraint force FS acting on the virtual particle P.
  • the diagonal line shown in Fig. 8 shows the cross section of the potential field PF.
  • the external force calculation unit 111 obtains a straight line L 1 that connects the center Ol of the virtual particle P and the potential field PF with the shortest distance, and obtains an intersection 02 between the straight line L 1 and the potential field PF.
  • the normal vector VI of the intersection 02 is obtained, and the obtained normal is obtained.
  • the force obtained by multiplying the vector VI by a predetermined constant is obtained as the constraint force acting on the virtual particle 1 ⁇ .
  • the predetermined constant for example, the mass of the virtual particle ⁇ can be adopted, and the magnitude of the gravitational acceleration can be adopted as the magnitude of the normal vector VI.
  • the virtual particle P is gravity in the z direction FG
  • Virtual particle P is the same as virtual particle P
  • the virtual particle P located near the slope of the raised object on the potential field PF moves away from the raised object due to the constraint force FS. From the potential field PF.
  • step S7 shown in FIG. 3 the external force calculation unit 111 calculates the mass of each virtual particle P and multiplies the calculated mass by the gravitational acceleration acting in the z direction, thereby acting on each virtual particle P.
  • Find gravity FG the external force calculation unit 111 calculates the volume of the virtual particle P from the lengths of the major axis and the minor axis of the virtual particle P, and multiplies this volume by the mass data stored in the particle data storage unit 202, thereby Find the mass of particle P.
  • step S8 the external force calculation unit 111 synthesizes the van der Waals force f that the virtual particle P receives also the other virtual particle P force, the constraint force FS received from the potential field PF, and the gravity FG.
  • the external force Fo acting on the particle P is obtained, and it is determined whether the magnitude of the external force Fo exceeds a predetermined value. Then, the virtual particle P on which the external force Fo exceeding the predetermined value acts is erased from the closed space CS, and the virtual particle P is killed.
  • the predetermined value is a value determined in advance based on the pressure that kills the actual skin cells.
  • step S9 the counter 114 increments the count value i by 1, and advances the virtual particle growth time by a predetermined time.
  • step S10 the position calculation unit 113 obtains the growth time t of the virtual particle P as the count value, and solves the equation of motion shown in Equation (2) using the Rungetta method, so that the growth time t Find the position and velocity of the virtual particle P.
  • the position calculator 113 The position and velocity of the virtual particle P may be calculated using the Euler method or the like instead of the clutter method.
  • x, f, FS, and FG are three-dimensional vectors made up of x, y, and z components, respectively.
  • the viscosity coefficient c is a value determined in advance based on the viscosity coefficient of the actual skin cell cytoplasm.
  • step S11 the virtual particle growth unit 112 uses the function shown in Equation (3) indicating the actual increase in the size of the skin cell, and the long axis of the virtual particle P in the closed space CS and Increase the length of the minor axis and increase the virtual particle P.
  • IS initial—size: Length of short axis and long axis of virtual particle P when placed in closed space CS by virtual particle placement unit 102
  • the growth rate r is a value determined in advance based on the increase rate of the actual skin cell size.
  • the virtual particle growth unit 112 is represented by a sigmoid curve and uses the function shown in Equation (4) that represents the change over time in the actual number of skin cells.
  • NOB a . E -exp (-k (t-to)) (4)
  • NOB number— of— birth
  • FIG. 9 is a graph of the function shown in Equation (4), where the vertical axis indicates the number of newly added virtual particles, and the horizontal axis indicates the growth time. As shown in Fig. 9, it can be seen that the number of newly added virtual particles gradually decreases as the growth time t increases. It can also be seen that an inflection point exists at the time when the growth time t is tO. This to is about half of the growth time until the number of virtual particles P increases to almost zero.
  • step S13 shown in FIG. 3 the counter 114 determines whether or not the force at which the count value i has reached N (N is a positive integer) corresponding to the simulation end time. If it is determined that the value i becomes N (YES in S13), the process proceeds to step S14. On the other hand, if counter 114 determines that count value i is not N (NO in S13), it returns the process to step S5. Here, the value of N is appropriately changed according to the operation command from the user.
  • FIG. 10 shows the closed space CS at the end of the simulation. As shown in Fig. 10, the size and power of the virtual particle P existing in the closed space CS are increased compared to Fig. 4 which shows the closed space CS at the start of the simulation. Therefore, you can grow!
  • the virtual particle P located near the slope of the protuberance of the potential field PF is Temporary field PF force is also constrained by FS.
  • step S14 shown in FIG. 3 the concavo-convex texture generation unit 104 generates concavo-convex texture by projecting the virtual particles P onto the bottom surface BS.
  • FIG. 11 is a diagram illustrating a process in which the uneven texture generation unit 104 generates an uneven texture.
  • the concavo-convex texture generation unit 104 determines the distance H between the center Ol of the virtual particle P and the bottom surface BS as shown in (a).
  • the virtual particle P is projected onto the bottom surface BS, and the projection surface S1 of the virtual particle P formed on the bottom surface BS is obtained.
  • the projection surface S1 and the distance H are connected by a Gaussian curved surface, and height data is given to the projection surface S1, thereby generating an uneven texture.
  • an ellipsoid may be used instead of the Gaussian curved surface.
  • FIG. 12 is a diagram showing an example of the uneven texture generated by the uneven texture generating device, where (a), (c), and (d) generate a potential field PF in the closed space CS.
  • the generated uneven texture is shown here, and (b) shows the generated uneven texture when the potential field PF is generated in the closed space CS.
  • the uneven texture shown in (a) has a larger variation in the size of the wrinkle diameter than the uneven texture shown in (c). This is due to the fact that the virtual particle placement unit 102 places the virtual particles P in the closed space CS by increasing the variation in the shape of the virtual particles P. It can also be seen that the uneven texture shown in (d) has a larger number of textures than the uneven texture shown in (a) to (c). This is because the virtual particle arrangement unit 102 increases the number of virtual particles P and arranges them in the closed space CS, or lengthens the simulation time.
  • the uneven texture shown in (b) forms the potential field PF generated based on the pattern texture shown on the left side in the closed space CS, and the virtual particles P grow! As shown on the right side of (b), avoiding the streak portion indicated by the pattern texture, it can be said that the wrinkles are formed.
  • Fig. 13 is a diagram showing the rendering results when rendering the virtual 3D model of the interior of a car by bump mapping the uneven texture generated using this uneven texture generator to a car dashboard. It is. As shown in Figure 13, this technology By using the 3D model generated by the steam generator and rendering, it can be seen that the texture of the dashboard surface is realistically reproduced.
  • the number and size of the virtual particles P arranged in the closed space CS are increased according to the growth pattern of the animal skin.
  • Each virtual particle P is subjected to van der Waals force f, gravity FG, and constraint force FS, and each time each virtual particle P grows for a fixed time, these forces are calculated.
  • each virtual particle P when van der Waals force f, gravity FG, and constraint force FS are given to each virtual particle P is calculated using the Rungetta method.
  • the position and velocity of each virtual particle P are calculated by solving each time it grows. Then, projections and depressions are generated by projecting the virtual particles P grown for a predetermined time onto the bottom surface BS.
  • the uneven texture generation program is an uneven texture generation program for generating an uneven texture, which sets a closed space in a virtual three-dimensional space, and has a predetermined mass and a predetermined size in the set closed space.
  • Virtual particle placement means for arranging a plurality of virtual particles having a thickness, and a growth pattern of a biological skin cell, and the number of virtual particles placed by the virtual particle placement means and the size of each virtual particle are determined.
  • Virtual particle growth means for increasing each virtual particle in the closed space and an interparticle force for calculating the interparticle force acting between the virtual particles determined based on the distance between the virtual particles.
  • a calculation means for calculating the position of each virtual particle by solving the equation of motion of each virtual particle when the interparticle force acts on each virtual particle; and a virtual calculation in a closed space.
  • the computer is caused to function as an uneven texture generating means for generating an uneven texture based on the position and size of the particles.
  • the uneven texture generating device provides an uneven texture generating means for generating an uneven texture.
  • a steer generation device comprising: a virtual particle arrangement means for setting a closed space in a virtual three-dimensional space, and arranging a plurality of virtual particles having a predetermined mass and a predetermined size in the set closed space; Virtual particle growth means for simulating a growth pattern of skin cells, increasing the number of virtual particles arranged by the virtual particle arrangement means and the size of each virtual particle, and growing each virtual particle in the closed space And an interparticle force calculation means for calculating an interparticle force acting between the virtual particles determined based on the distance between the virtual particles, and an interparticle force when the interparticle force is applied to each virtual particle.
  • Position calculating means for calculating the position of each virtual particle by solving the equation of motion of the virtual particle, and uneven texture generating means for generating an uneven texture based on the position and size of the virtual particle in the closed space. It is characterized by this.
  • the number and size of the virtual particles in the closed space are increased according to the growth pattern of the skin cells of the organism.
  • An interparticle force determined based on the distance between the virtual particles acts on each virtual particle existing in the virtual three-dimensional space, and the interparticle force acting on each virtual particle is calculated.
  • the position of each virtual particle is calculated by solving the equation of motion of each virtual particle when an interparticle force is applied to each virtual particle as an external force. Then, an uneven texture is generated based on the position and size of the virtual particles in the closed space.
  • the size and number of virtual particles are determined according to the growth pattern of the skin cells contained in the skin tissue. Based on the position and size of the virtual particles, Since the concavo-convex texture is generated, it is possible to generate an concavo-convex texture that more realistically represents the characteristics of animal skin.
  • the virtual object generating means for generating a virtual object that applies a repulsive force to each virtual particle in the closed space based on an operation command from a user
  • the virtual particle The computer further functions as a repulsive force calculating means for calculating a repulsive force from the virtual object acting on each virtual particle every time it grows for a certain time, and the position calculating means includes the repulsive force calculated by the repulsive force calculating means and the particles It is preferable to solve the equation of motion by applying an interatomic force to each virtual particle.
  • the virtual particles are moved away from the virtual object by the repulsive force from the virtual object. Since it moves so that it may force, a virtual particle can be disperse
  • the computer further functions as a texture storage unit that stores one or more types of textures representing a predetermined pattern
  • the virtual object generation unit causes the texture storage unit to It is preferable to select one of the textures of the memorized texture according to the user's operation command and generate the virtual object based on the selected texture pattern.
  • the closed space is a hexahedron
  • the uneven texture generating means obtains a distance between one surface of the hexahedron and each virtual particle, and each virtual particle. It is preferable to obtain a projection surface of the particle onto the surface, and provide height data to the surface based on the obtained distance and the projection surface to generate an uneven texture.
  • the virtual particles in which the resultant force of the interparticle force calculated by the interparticle force calculation means and the repulsive force calculated by the repulsive force calculation means are larger than a predetermined value are closed. It is preferable to further provide virtual particle killing means for killing virtual particles by removing them from the space.
  • the virtual particle growth means uses a predetermined function indicating a temporal change in the number of the skin cells represented based on a sigmoid curve. Preferable to increase the number of particles.
  • the change over time in the number of skin cells expressed based on the sigmoid curve Since the number of virtual particles is increased using a predetermined function indicating, the number of virtual particles can be increased according to the actual growth pattern of skin cells. As a result, it is possible to generate an uneven texture that more realistically represents skin characteristics.
  • the virtual particle growth means uses a predetermined function indicating a change with time of the size of the skin cell expressed based on an exponential function. It is preferable to increase the amount of calories.
  • the size of the virtual particle is increased using the predetermined function indicating the change with time of the size of the skin cell expressed based on the exponential function, the size of the virtual particle Can be increased according to the actual skin cell growth pattern. As a result, it is possible to generate an uneven texture that more realistically represents skin characteristics.
  • the interparticle force calculation means calculates the interparticle force using a predetermined function indicating Van der Waals force.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

[PROBLEMS] To form a concave-convex texture which enables the realistic recreation of the characteristics of vital skin. In a virtual particle-locating part (102), a closed space (CS) is formed in a virtual three-dimensional space and multiple virtual particles (P) are located in this closed space. In a virtual particle-growing part (112), virtual particles (P) are grown in accordance with the growth pattern of vital skin cells. In an output computing part (111), the Van der Waals force (f), the force of gravity (FG) and the force of restriction (FS) applied on the virtual particles (P) are computed. In a position computing part (113), dynamic equations of the individual virtual particles (P) are solved to compute the position of each virtual particle. In a concave-convex texture forming part (104), the virtual particles (P) thus grown are projected on the bottom face (BS) and thus the concave-convex texture is formed.

Description

明 細 書  Specification
凹凸テクスチャ生成プログラム、及び凹凸テクスチャ生成装置  Uneven texture generation program and uneven texture generation apparatus
技術分野  Technical field
[0001] 本発明は、コンピュータグラフィクスの技術に関するものである。  The present invention relates to a computer graphics technique.
背景技術  Background art
[0002] 近年、家電製品の筐体表面や自動車のインストルメンタルパネルの表面の模様とし て、微細な凹凸形状力も構成されるシボが広く採用されている。シボの種類としては 様々なものが存在する力 中でも爬虫類などの動物の皮膚の表面形状をモチーフと したものが多く採用されている。一方、家電製品等のデザイナーは、家電製品の筐体 等にシボを形成する場合、予め定められたシボのパターン中力 好みのものを選択 して、デザイン対象物品の表面に施すことが一般的になされている。そのため、デザ イン対象物品にふさわしいシボが存在しない場合は、新しくシボを生成する必要が生 じる。  [0002] In recent years, as a pattern on the surface of a housing of a household electric appliance or the surface of an instrumental panel of an automobile, a wrinkle having a fine uneven shape force has been widely adopted. Among the various types of wrinkles, the ones that use the surface shape of the skin of animals such as reptiles as motifs are often used. On the other hand, designers of home appliances, etc., when forming a wrinkle on a housing of a home electric appliance, generally selects a predetermined wrinkle pattern medium force preference and applies it to the surface of the object to be designed Has been made. For this reason, if there is no wrinkle suitable for the design object, a new wrinkle needs to be generated.
[0003] 一方、非特許文献 1には、 CG映像の質に影響を与える物体表面の詳細形状を自 動的に生成することを目的として、物体表面をパーティクルモデルにより疑似ボロノィ 分割し、分割された各ポリゴンに対してフラクタルノイズを伴ったサブディビジョン曲面 を発生させて、物体表面の詳細形状を生成する技術が開示されている。  [0003] On the other hand, in Non-Patent Document 1, the object surface is divided into pseudo Voronois using a particle model for the purpose of automatically generating a detailed shape of the object surface that affects the quality of CG images. Further, a technique for generating a detailed shape of an object surface by generating a subdivision curved surface with fractal noise for each polygon is disclosed.
[0004] し力しながら、新たなシボを生成する場合、デザイナーは、既存のシボに対して多 少のアレンジを加える、或いは実際に存在する動物の皮膚の模様をアレンジする等 して作成するケースが一般的であり、動物の皮膚をリアルに表すシボを生成するには 一定の限界があった。また、非特許文献 1の技術では、生物の皮膚細胞の成長バタ ーンが加味されておらず、生物の皮膚の特徴をよりリアルに表すために更なる改良の 余地が残されている。  [0004] However, when creating a new wrinkle with force, the designer creates it by adding a little arrangement to the existing wrinkle or arranging the pattern of the animal skin that actually exists. Cases were common, and there were certain limits to creating a grain that realistically represented the skin of an animal. In addition, the technique of Non-Patent Document 1 does not take into account the growth pattern of biological skin cells, and leaves room for further improvement in order to more realistically represent the characteristics of biological skin.
非特許文献 1 :宫田ー乘、伊藤貴之、嶋田憲司、「3次元モデルの表面に対する詳細 形状の自動モデリング手法 有機的な表面形状の自動生成(generation of organic Textures withControlled Anisotropy and Directionality via pac ing rectangular and EllipticalCells.IEEE CG&A Vol.23 No.3. pp.38- 45,2003)」、情報処理学会、第 62回 全国大会特別トラック (2)講演論文集、特 2— 53〜60 Non-Patent Document 1: Hirota-Tsubaki, Takayuki Ito, Kenji Shimada, “Generation of organic Textures with Controlled Anisotropy and Directionality via pacing rectangular” and EllipticalCells.IEEE CG & A Vol.23 No.3 pp.38-45,2003), IPSJ, 62nd National Convention Special Track (2) Proceedings, Special 2—53-60
発明の開示  Disclosure of the invention
[0005] 本発明の目的は、生物の皮膚の特徴をリアルに表す凹凸テクスチャ生成プログラム 、及び凹凸テクスチャ生成装置を提供することである。  [0005] An object of the present invention is to provide a concavo-convex texture generation program and a concavo-convex texture generation apparatus that realistically represent the characteristics of biological skin.
[0006] 本発明による凹凸テクスチャ生成プログラムは、凹凸テクスチャを生成する凹凸テク スチヤ生成プログラムであって、仮想 3次元空間内に閉空間を設定し、設定した閉空 間内に所定の質量及び所定の大きさを有する複数の仮想粒子を配置する仮想粒子 配置手段と、生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子配置 手段により配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮想粒 子を前記閉空間内で成長させる仮想粒子成長手段と、各仮想粒子の距離に基づい て定められる各仮想粒子の相互間で作用する粒子間力を算出する粒子間力算出手 段と、前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程式を 解くことにより各仮想粒子の位置を算出する位置算出手段と、閉空間内の仮想粒子 の位置及び大きさを基に、凹凸テクスチャを生成する凹凸テクスチャ生成手段として コンピュータを機能させることを特徴とするものである。  [0006] An uneven texture generation program according to the present invention is an uneven texture generation program for generating an uneven texture, which sets a closed space in a virtual three-dimensional space, and has a predetermined mass and a predetermined amount in the set closed space. Virtual particle placement means for placing a plurality of virtual particles having a size, and the growth pattern of biological skin cells, the number of virtual particles placed by the virtual particle placement means and the size of each virtual particle The interparticle force that calculates the interparticle force acting between the virtual particles growing means that grows each virtual particle in the closed space and the virtual particles determined based on the distance between the virtual particles A calculating means, position calculating means for calculating the position of each virtual particle by solving the equation of motion of each virtual particle when the interparticle force is applied to each virtual particle, Based on the position and size of the virtual particles, it is characterized in causing a computer to function as uneven texture generating means for generating an uneven texture.
[0007] また、本発明による凹凸テクスチャ生成装置は、凹凸テクスチャを生成する凹凸テク スチヤ生成装置であって、仮想 3次元空間内に閉空間を設定し、設定した閉空間内 に所定の質量及び所定の大きさを有する複数の仮想粒子を配置する仮想粒子配置 手段と、生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子配置手段 により配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮想粒子を 前記閉空間内で成長させる仮想粒子成長手段と、各仮想粒子の距離に基づいて定 められる各仮想粒子の相互間で作用する粒子間力を算出する粒子間力算出手段と 、前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程式を解くこ とにより各仮想粒子の位置を算出する位置算出手段と、閉空間内の仮想粒子の位置 及び大きさを基に、凹凸テクスチャを生成する凹凸テクスチャ生成手段とを備えること を特徴とするものである。  [0007] The uneven texture generating device according to the present invention is an uneven texture generating device for generating an uneven texture, wherein a closed space is set in a virtual three-dimensional space, and a predetermined mass and in the set closed space are set. Virtual particle placement means for placing a plurality of virtual particles having a predetermined size; and a growth pattern of a skin cell of a living organism is simulated, and the number of virtual particles placed by the virtual particle placement means and each virtual particle Particles that increase the size and calculate the interparticle force acting between the virtual particles growing means for growing the virtual particles in the closed space and the virtual particles determined based on the distance between the virtual particles An intermediate force calculating means; a position calculating means for calculating the position of each virtual particle by solving a motion equation of each virtual particle when the interparticle force is applied to each virtual particle; and a virtual particle in a closed space. Based position and size of and is characterized in that it comprises a concave-convex texture generating means for generating an uneven texture.
[0008] これらの構成によれば、生物の皮膚細胞の成長パターンに従って、閉空間内の仮 想粒子の数及び大きさが増加される。仮想 3次元空間内に存在する各仮想粒子には 、仮想粒子同士の距離に基づいて定められる粒子間力が作用しており、この各仮想 粒子に作用する粒子間力が算出される。 [0008] According to these configurations, the number and size of the virtual particles in the closed space are increased according to the growth pattern of the skin cells of the organism. Each virtual particle in the virtual 3D space The interparticle force determined based on the distance between the virtual particles is acting, and the interparticle force acting on each virtual particle is calculated.
[0009] また、各仮想粒子に対して粒子間力を外力として与えたときの各仮想粒子の運動 方程式を解くことにより各仮想粒子の位置が算出される。そして、閉空間内の仮想粒 子の位置及び大きさを基に凹凸テクスチャが生成される。  Further, the position of each virtual particle is calculated by solving the equation of motion of each virtual particle when an interparticle force is applied as an external force to each virtual particle. Then, an uneven texture is generated based on the position and size of the virtual particles in the closed space.
[0010] すなわち、閉空間を皮膚組織と仮定したときに当該皮膚組織に含まれる皮膚細胞 の成長パターンに従って仮想粒子の大きさ及び数が定められ、この仮想粒子の位置 及び大きさを基に、凹凸テクスチャが生成されているため、動物の皮膚の特徴をよりリ アルに表す凹凸テクスチャを生成することができる。  That is, when the closed space is assumed to be skin tissue, the size and number of virtual particles are determined according to the growth pattern of the skin cells contained in the skin tissue. Based on the position and size of the virtual particles, Since the concavo-convex texture is generated, it is possible to generate an concavo-convex texture that more realistically represents the characteristics of animal skin.
図面の簡単な説明  Brief Description of Drawings
[0011] [図 1]本発明の実施の形態による凹凸テクスチャ生成装置のハードウェア構成を示す ブロック図である。  FIG. 1 is a block diagram showing a hardware configuration of an uneven texture generating device according to an embodiment of the present invention.
[図 2]図 1に示す凹凸テクスチャ生成装置の機能ブロック図である。  FIG. 2 is a functional block diagram of the uneven texture generating device shown in FIG.
[図 3]本凹凸テクスチャ生成装置の動作を示すフローチャートである。  FIG. 3 is a flowchart showing the operation of the uneven texture generating apparatus.
[図 4]仮想 3次元空間内に生成される閉空間を示した図である。  FIG. 4 is a diagram showing a closed space generated in a virtual three-dimensional space.
[図 5] (a) , (b)は模様テクスチャの一例を示した図である。  [FIG. 5] (a) and (b) are diagrams showing examples of pattern textures.
[図 6]式(1)のファンデルワールス力を示すグラフであり、縦軸は f (w)を示し、横軸は wを示して ヽる。  [Fig. 6] A graph showing the van der Waals force in equation (1), where the vertical axis indicates f (w) and the horizontal axis indicates w.
[図 7]仮想粒子に作用するファンデルワールス力を示した図である。  FIG. 7 is a diagram showing van der Waals forces acting on virtual particles.
[図 8]仮想粒子に作用する制約力を説明する図である。  FIG. 8 is a diagram illustrating the constraint force acting on virtual particles.
[図 9]式 (4)に示す関数のグラフであり、縦軸は新たに追加する仮想粒子の増加数を 示し、横軸は成長時間を示している。  [FIG. 9] A graph of the function shown in equation (4), where the vertical axis indicates the number of newly added virtual particles and the horizontal axis indicates the growth time.
[図 10]シミュレーション終了時の閉空間を示した図である。  FIG. 10 shows a closed space at the end of simulation.
[図 11]凹凸テクスチャを生成される処理を説明する図である。  FIG. 11 is a diagram illustrating a process for generating uneven texture.
[図 12]本凹凸テクスチャ生成装置によって生成された凹凸テクスチャの一例を示す 図であり、(a)、(c)、(d)は閉空間内にポテンシャルフィールドを生成することなぐ生 成された凹凸テクスチャを示し、 (b)は閉空間 CS内にポテンシャルフィールド PFを生 成した場合に生成された凹凸テクスチャを示して 、る。 [図 13]本凹凸テクスチャ生成装置を用いて生成された凹凸テクスチャを自動車のダッ シュボードにバンプマッピングして、自動車のインテリアの仮想 3次元モデルをレンダ リングしたときのレンダリング結果を示した図である。 FIG. 12 is a diagram showing an example of the uneven texture generated by the uneven texture generating apparatus. (A), (c), and (d) are generated without generating a potential field in a closed space. (B) shows the uneven texture generated when the potential field PF is generated in the closed space CS. FIG. 13 is a diagram showing a rendering result when a bumpy mapping of the uneven texture generated using the uneven texture generating device is performed on a car dashboard and a virtual three-dimensional model of the automobile interior is rendered. .
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0012] 以下、図面を参照しつつ本発明の実施の形態について説明する。図 1は、本発明 の実施の形態による凹凸テクスチャ生成装置のハードウェア構成を示すブロック図で ある。凹凸テクスチャ生成装置は、通常のコンピュータ等力も構成され、入力装置 1、 ROM (リードオンリメモリ) 2、 CPU (中央演算処理装置) 3、 RAM (ランダムアクセスメ モリ) 4、外部記憶装置 5、表示装置 6、及び記録媒体駆動装置 7を備える。各ブロック は内部のバスに接続され、このバスを介して種々のデータ等が入出され、 CPU3の 制御の下、種々の処理が実行される。  Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a hardware configuration of the uneven texture generating device according to the embodiment of the present invention. The uneven texture generator is also configured as a normal computer isolator, input device 1, ROM (read only memory) 2, CPU (central processing unit) 3, RAM (random access memory) 4, external storage device 5, display A device 6 and a recording medium driving device 7 are provided. Each block is connected to an internal bus, and various data are input / output through this bus, and various processes are executed under the control of the CPU 3.
[0013] 入力装置 1は、キーボード、マウス等力 構成され、操作者が種々のデータ及び操 作指令等を入力するために使用される。 ROM2には、 BIOS (Basic Input/Output Sy stem)等のシステムプログラムが記憶される。外部記憶装置 5は、ハードディスクドライ ブ等力 構成され、所定の OS (Operating System)及び凹凸テクスチャ生成プロダラ ム等が記憶される。 CPU3は、外部記憶装置 5から凹凸テクスチャ生成プログラム等 を読み出し、各ブロックの動作を制御する。 RAM4は、 CPU3の作業領域等として用 いられる。  [0013] The input device 1 includes a keyboard, a mouse and the like, and is used by an operator to input various data, operation commands, and the like. ROM2 stores a system program such as BIOS (Basic Input / Output System). The external storage device 5 is configured with a hard disk drive or the like, and stores a predetermined OS (Operating System), an uneven texture generation program, and the like. The CPU 3 reads the concavo-convex texture generation program from the external storage device 5 and controls the operation of each block. RAM4 is used as a work area for CPU3.
[0014] 表示装置 6は、液晶表示装置等から構成され、 CPU3の制御の下に種々の画像を 表示する。記録媒体駆動装置 7は、 CD— ROMドライブ、フレキシブルディスクドライ ブ等から構成される。  The display device 6 is composed of a liquid crystal display device or the like, and displays various images under the control of the CPU 3. The recording medium driving device 7 includes a CD-ROM drive, a flexible disk drive, and the like.
[0015] なお、凹凸テクスチャ生成プログラムは、 CD— ROM等のコンピュータ読み取り可 能な記録媒体 8に格納されて巿場に流通される。ユーザはこの記録媒体 8を記録媒 体駆動装置 7に読み込ませることで、凹凸テクスチャ生成プログラムをコンピュータに インストールする。また、凹凸テクスチャ生成プログラムをインターネット上のサーバに 格納し、このサーノ からダウンロードすることで、凹凸テクスチャ生成プログラムをコン ピュータにインストールしてもよ 、。  [0015] Note that the uneven texture generation program is stored in a computer-readable recording medium 8 such as a CD-ROM and distributed to the factory. The user installs the uneven texture generation program in the computer by causing the recording medium driving device 7 to read the recording medium 8. You can also install the uneven texture generation program on a computer by storing the uneven texture generation program on a server on the Internet and downloading it from this Sano.
[0016] 図 2は、図 1に示す凹凸テクスチャ生成装置の機能ブロック図を示している。本凹凸 テクスチャ生成装置は、処理部 100、記憶部 200、入力部 300、及び表示部 400を 備えている。処理部 100は、ポテンシャルフィールド生成部 101、仮想粒子配置部 1 02、シミュレーション実行部 103、凹凸テクスチャ生成部 104、レンダリング部 105、 及び表示制御部 106の機能を備えている。これらの機能は、 CPU3が凹凸テクスチ ャ生成プログラムを実行することで実現される。 FIG. 2 is a functional block diagram of the uneven texture generating device shown in FIG. Irregularities The texture generation apparatus includes a processing unit 100, a storage unit 200, an input unit 300, and a display unit 400. The processing unit 100 includes functions of a potential field generation unit 101, a virtual particle arrangement unit 102, a simulation execution unit 103, an uneven texture generation unit 104, a rendering unit 105, and a display control unit 106. These functions are realized by the CPU3 executing the uneven texture generation program.
[0017] ポテンシャルフィールド生成部 101は、ユーザが入力部 300を操作して選択した模 様テクスチャを模様テクスチャ記憶部 201から読み出し、読み出した模様テクスチャ に従って、閉空間にポテンシャルフィールドを生成する。ここで、ポテンシャルフィー ルドは、仮想 3次元空間内に配置された仮想粒子に対して、斥力を与える仮想的な 物体である。また、模様テクスチャは、ポテンシャルフィールドが生成される際に基礎 となる模様を表す画像データであり、 2次元かつ 2値の画像データである。  [0017] The potential field generation unit 101 reads a pattern texture selected by the user by operating the input unit 300 from the pattern texture storage unit 201, and generates a potential field in a closed space according to the read pattern texture. Here, the potential field is a virtual object that gives repulsive force to the virtual particles placed in the virtual 3D space. The pattern texture is image data representing the pattern that is the basis when the potential field is generated, and is two-dimensional and binary image data.
[0018] 仮想粒子配置部 102は、仮想 3次元空間内に直方体状の閉空間を設定する。また 、仮想粒子配置部 102は、粒子データ記憶部 202に記憶された粒子データを読み 出し、入力部 300により受け付けられたユーザ力もの操作指令に従って、読み出した 粒子データに所定の処理を施して仮想粒子の形状を変形させ、閉空間内に複数の 仮想粒子を配置する。  [0018] The virtual particle placement unit 102 sets a rectangular parallelepiped closed space in the virtual three-dimensional space. The virtual particle placement unit 102 reads the particle data stored in the particle data storage unit 202, performs a predetermined process on the read particle data in accordance with an operation command received by the input unit 300, and performs virtual processing. Deform the shape of the particles and place multiple virtual particles in the closed space.
[0019] シミュレーション実行部 103は、外力算出部 111、仮想粒子成長部 112、位置算出 部 113、及びカウンタ 114を備え、閉空間に配置された仮想粒子を皮膚細胞の成長 パターンに従って成長させるシミュレーションを実行する。  [0019] The simulation execution unit 103 includes an external force calculation unit 111, a virtual particle growth unit 112, a position calculation unit 113, and a counter 114, and performs a simulation for growing virtual particles arranged in a closed space according to a growth pattern of skin cells. Execute.
[0020] 外力算出部 111は、閉空間に配置された各仮想粒子に作用する外力を算出する。  The external force calculation unit 111 calculates an external force that acts on each virtual particle arranged in the closed space.
ここで、外力としては、 1つの仮想粒子を 1つの分子として仮定したときに分子間同士 に作用するファンデルワールス力と、上述したポテンシャルフィールド力 受ける斥力 と、重力とが含まれる。また、外力算出部 111は、ある仮想粒子に作用する外力が予 め定められた値を超えた場合、その仮想粒子を閉空間から消去して、仮想粒子を死 滅させる。  Here, the external force includes van der Waals force acting between molecules when one virtual particle is assumed to be one molecule, repulsive force receiving the potential field force described above, and gravity. Further, when the external force acting on a certain virtual particle exceeds a predetermined value, the external force calculation unit 111 erases the virtual particle from the closed space and kills the virtual particle.
[0021] 仮想粒子成長部 112は、 1つの仮想粒子を 1つの皮膚細胞として仮定して、皮膚細 胞の成長パターンに従って、各仮想粒子の数を増加させると共に、各仮想粒子の大 きさを増加させ、各仮想粒子を成長させる。 [0022] 位置算出部 113は、外力算出部 111により算出された外力を各仮想粒子に作用さ せたときに、各仮想粒子において成立する運動方程式を解くことにより、各仮想粒子 を閉空間内で移動させ、各仮想粒子の位置及び速度を算出する。カウンタ 114は、 仮想粒子の成長時間を計時するカウンタである。なお、カウンタ 114がカウント値を 1 インクリメントさせると、仮想粒子の成長時間が所定時間経過することとなる。 [0021] The virtual particle growth unit 112 assumes one virtual particle as one skin cell, increases the number of each virtual particle according to the growth pattern of the skin cell, and increases the size of each virtual particle. Increase and grow each virtual particle. [0022] The position calculation unit 113 solves each virtual particle in a closed space by solving an equation of motion established for each virtual particle when the external force calculated by the external force calculation unit 111 is applied to each virtual particle. The position and velocity of each virtual particle are calculated. The counter 114 is a counter that measures the growth time of virtual particles. When the counter 114 increments the count value by 1, the virtual particle growth time elapses for a predetermined time.
[0023] 凹凸テクスチャ生成部 104は、閉空間を構成する 6面のうちの 1つの面に、シミュレ ーシヨン実行部 103により成長された仮想粒子と前記面との距離を求めると共に、仮 想粒子の前記面への投影面を求め、求めた投影面と仮想粒子及び前記面の距離と を基に、前記面に高さデータを与え、凹凸テクスチャを生成する。また、凹凸テクスチ ャ生成部 104は、必要に応じて凹凸テクスチャを凹凸テクスチャ記憶部 203に記憶さ せる。  The concavo-convex texture generation unit 104 obtains the distance between the virtual particle grown by the simulation execution unit 103 and the surface on one of the six surfaces constituting the closed space, and the virtual particle A projection surface onto the surface is obtained, and height data is given to the surface based on the obtained projection surface, the virtual particles, and the distance between the surfaces to generate an uneven texture. Further, the uneven texture generation unit 104 stores the uneven texture in the uneven texture storage unit 203 as necessary.
[0024] レンダリング部 105は、 3次元モデル記憶部 204に予め記憶された仮想 3次元モデ ルを読み出し、読み出した仮想 3次元モデルに対して、凹凸テクスチャ生成部 104に より生成された凹凸テクスチャ又は凹凸テクスチャ記憶部 203に記憶された凹凸テク スチヤを用 、たレンダリングを実行する。  The rendering unit 105 reads the virtual 3D model stored in advance in the 3D model storage unit 204, and generates the uneven texture or the texture generated by the uneven texture generation unit 104 for the read virtual 3D model. Rendering is executed by using the uneven texture stored in the uneven texture storage unit 203.
[0025] 表示制御部 106は、レンダリング部 105によりレンダリングされた仮想 3次元モデル を表示部 400に表示させる。また、表示制御部 106は、ユーザに模様テクスチャを選 択させるために、模様テクスチャ記憶部 201から複数の模様テクスチャを読み出して 表示部 400に一覧表示させる。更に、表示制御部 106は、ユーザに仮想粒子の形状 を設定させるために、粒子データ記憶部 202に記憶された粒子データを読み出し、 仮想粒子を表示部 400に表示させる。更に、表示制御部 106は、凹凸テクスチャ生 成部 104により生成された凹凸テクスチャ又は凹凸テクスチャ記憶部 203に記憶され た凹凸テクスチャを表示部 400に表示させる。  [0025] The display control unit 106 causes the display unit 400 to display the virtual three-dimensional model rendered by the rendering unit 105. Further, the display control unit 106 reads out a plurality of pattern textures from the pattern texture storage unit 201 and causes the display unit 400 to display a list on the display unit 400 so that the user can select a pattern texture. Further, the display control unit 106 reads the particle data stored in the particle data storage unit 202 and causes the display unit 400 to display the virtual particles in order to allow the user to set the shape of the virtual particles. Furthermore, the display control unit 106 causes the display unit 400 to display the uneven texture generated by the uneven texture generation unit 104 or the uneven texture stored in the uneven texture storage unit 203.
[0026] 記憶部 200は、図 1に示す外部記憶装置 5等から構成され、模様テクスチャ記憶部 201、粒子データ記憶部 202、凹凸テクスチャ記憶部 203、及び 3次元モデル記憶 部 204の機能を備えている。これらの機能は、 CPU3が凹凸テクスチャ生成プロダラ ムを実行することで実現される。  The storage unit 200 includes the external storage device 5 shown in FIG. 1, and includes the functions of a pattern texture storage unit 201, a particle data storage unit 202, an uneven texture storage unit 203, and a 3D model storage unit 204. ing. These functions are realized by CPU3 executing the uneven texture generation program.
[0027] 模様テクスチャ記憶部 201は、ポテンシャルフィールドが生成される際に基礎となる 模様を表す画像データを記憶する。粒子データ記憶部 202は、仮想粒子のデフオル トの形状を表す粒子データを記憶して 、る。この粒子データは 3次元の形状データで ある。また、粒子データ記憶部 202は、仮想粒子の単位体積あたりの質量を示す質 量データを記憶している。 [0027] The pattern texture storage unit 201 serves as a basis when a potential field is generated. Image data representing the pattern is stored. The particle data storage unit 202 stores particle data representing the default shape of virtual particles. This particle data is 3D shape data. The particle data storage unit 202 stores mass data indicating the mass per unit volume of the virtual particles.
[0028] 凹凸テクスチャ記憶部 203は、凹凸テクスチャ生成部 104により生成された 1又は 複数の凹凸テクスチャを記憶する。 3次元モデル記憶部 204は、 3次元モデルを生成 する公知のアプリケーションソフトウェアを用いてユーザにより予め作成された仮想 3 次元モデルを記憶する。  The uneven texture storage unit 203 stores one or more uneven textures generated by the uneven texture generation unit 104. The 3D model storage unit 204 stores a virtual 3D model created in advance by a user using known application software for generating a 3D model.
[0029] 入力部 300は、図 1に示す入力装置 1から構成され、ユーザ力 なされる種々の操 作指令を受け付ける。表示部 400は、図 1に示す表示装置 6から構成され、表示制御 部 106の制御の下、種々の画像を表示する。  The input unit 300 includes the input device 1 shown in FIG. 1, and accepts various operation commands given by the user. The display unit 400 includes the display device 6 shown in FIG. 1, and displays various images under the control of the display control unit 106.
[0030] なお、本実施の形態では、仮想粒子配置部 102が仮想粒子配置手段の一例に相 当する。また、ポテンシャルフィールド生成部 101が仮想物体生成手段の一例に相 当する。また、外力算出部 111が粒子間力算出手段、斥力算出手段、及び仮想粒 子死滅手段の一例に相当する。また、仮想粒子成長部 112が仮想粒子成長手段の 一例に相当する。また、位置算出部 113が位置算出手段の一例に相当する。また、 ポテンシャルフィールドが仮想物体の一例に相当する。  In the present embodiment, virtual particle arrangement unit 102 corresponds to an example of virtual particle arrangement means. The potential field generation unit 101 corresponds to an example of a virtual object generation unit. The external force calculation unit 111 corresponds to an example of an interparticle force calculation unit, a repulsive force calculation unit, and a virtual particle killing unit. Further, the virtual particle growth unit 112 corresponds to an example of virtual particle growth means. The position calculation unit 113 corresponds to an example of a position calculation unit. The potential field corresponds to an example of a virtual object.
[0031] 次に、本凹凸テクスチャ生成装置の動作にっ 、て図 3のフローチャートを用いて説 明する。まず、ポテンシャルフィールド生成部 101は、仮想 3次元空間内に直方体状 の閉空間を設定する (ステップ Sl)。図 4は、ポテンシャルフィールド生成部 101によ り仮想 3次元空間内に生成される閉空間を示した図である。図 4に示すように仮想 3 次元空間には、互いに直交する X, y, z軸が設定されている。 z方向には仮想的な 重力が作用している。なお、仮想 3次元空間を X, y, z軸の直交座標系で表すことに 代えて、他の座標系(例えば極座標系)で表しても良い。  Next, the operation of the uneven texture generating device will be described using the flowchart of FIG. First, the potential field generator 101 sets a rectangular parallelepiped closed space in the virtual three-dimensional space (step Sl). FIG. 4 is a diagram illustrating a closed space generated in the virtual three-dimensional space by the potential field generation unit 101. As shown in Fig. 4, X, y and z axes that are orthogonal to each other are set in the virtual three-dimensional space. Virtual gravity is acting in the z direction. Note that the virtual three-dimensional space may be represented by another coordinate system (for example, a polar coordinate system) instead of the orthogonal coordinate system of the X, y, and z axes.
[0032] X, y, z軸の交点である原点 Oは閉空間 CSの左下の頂点に設定されている。また、 閉空間 CSを構成する各辺は、 X, y, z軸のうちいずれかの辺と平行に設定されてい る。ここで、閉空間 CSを構成する各辺の長さは予め定められている力 ポテンシャル フィールド生成部 101は、入力部 300により受け付けられたユーザからの操作指令に 応じて、閉空間 csの長さを適宜変更してもよい。また、ポテンシャルフィールド生成 部 101は、直方体以外の形状、例えば、球体、立方体等を閉空間 CSの形状として 採用してちょい。 [0032] The origin O, which is the intersection of the X, y, and z axes, is set at the lower left vertex of the closed space CS. Each side constituting the closed space CS is set in parallel with any side of the X, y, and z axes. Here, the length of each side constituting the closed space CS is a predetermined force potential field generation unit 101 in response to an operation command from the user received by the input unit 300. Accordingly, the length of the closed space cs may be changed as appropriate. In addition, the potential field generation unit 101 may adopt a shape other than a rectangular parallelepiped, for example, a sphere or a cube as the shape of the closed space CS.
[0033] 図 3に示すステップ S2において、ポテンシャルフィールド生成部 101は、ユーザに より選択された模様テクスチャに従って、ポテンシャルフィールドを生成する。図 5 (a) , (b)は模様テクスチャの一例を示した図である。図 5 (a) , (b)に示すように、模様テ タスチヤは、細長い筋のパターンが表された矩形状の画像である。(a)に示す模様テ タスチヤは、縦方向に向けて蛇行する 1本の筋と、この筋の 2箇所力 枝分かれした 筋とから構成されている。(b)に示す模様テクスチャは、同心円状に広がるように配列 された 3本の筋力も構成されている。なお、図 5 (a) , (b)に示す模様テクスチャは、 2 値画像であり、筋を構成する画素が例えば「1」で表され、筋以外の背景を構成する 画素が例えば「0」で表されて 、る。  In step S2 shown in FIG. 3, the potential field generation unit 101 generates a potential field according to the pattern texture selected by the user. Figures 5 (a) and 5 (b) show examples of pattern textures. As shown in Figs. 5 (a) and 5 (b), the pattern texture is a rectangular image in which long and narrow stripe patterns are represented. The pattern tissue shown in (a) is composed of a single line that snakes in the vertical direction and two lines of force that branch off. The pattern texture shown in (b) also consists of three muscles arranged so as to spread concentrically. Note that the pattern texture shown in FIGS. 5 (a) and 5 (b) is a binary image, and pixels constituting the streaks are represented by, for example, “1”, and pixels constituting the background other than the streaks are, for example, “0”. It is represented by
[0034] なお、図 5 (a)、 (b)に示す模様テクスチャは一例にすぎず、他のパターンのものを 採用してもよい。また、描画ソフトウェアを用いてユーザが作成した画像を模様テクス チヤとして採用してもよい。  Note that the pattern textures shown in FIGS. 5 (a) and 5 (b) are merely examples, and patterns having other patterns may be employed. In addition, an image created by a user using drawing software may be adopted as a pattern texture.
[0035] ポテンシャルフィールド生成部 101は、ユーザにより選択された模様テクスチャに対 して、画像を平滑ィ匕させるフィルタ(例えば、ガウシアンフィルタ)を用いたフィルタ処 理を施し、模様テクスチャを例えば、各画素が 0〜255の 256階調で表される多値画 像に変換した後、各画素に対して階調数に比例する高さデータを与える。これにより 、模様テクスチャは、 3次元の画像データに変換される。  [0035] The potential field generation unit 101 performs a filter process using a filter (for example, a Gaussian filter) for smoothing the image on the pattern texture selected by the user, and converts the pattern texture to, for example, each pattern texture. After the pixel is converted to a multi-value image represented by 256 gradations from 0 to 255, height data proportional to the number of gradations is given to each pixel. As a result, the pattern texture is converted into three-dimensional image data.
[0036] 次いで、ポテンシャルフィールド生成部 101は、 3次元の画像データに変換した模 様テクスチャを、図 4に示す閉空間 CSの XY平面上の面(以下、底面 BSと呼ぶ)の内 側に例えばテクスチャマッピングにより貼り付ける。これにより、図 4に示すように底面 BSには、筋状の隆起物と XY平面と平行な平面とから構成されるポテンシャルフィー ルド PFが形成される。  [0036] Next, the potential field generation unit 101 places the pattern texture converted into the three-dimensional image data on the inner side of the surface on the XY plane (hereinafter referred to as the bottom surface BS) of the closed space CS shown in FIG. For example, it is pasted by texture mapping. As a result, as shown in FIG. 4, a potential field PF composed of streaky ridges and a plane parallel to the XY plane is formed on the bottom surface BS.
[0037] 図 3に示すステップ S3において、仮想粒子配置部 102は、粒子データ記憶部 202 に記憶された仮想粒子 Pのデフォルトの形状を表す形状データを読み出し、ユーザ 力もの操作指令に従って、閉空間 CSに配置する仮想粒子 Pの個数及び位置を定め ると共に、仮想粒子 Pの形状を変形させて閉空間 cs内に仮想粒子 Pを配置する。 [0037] In step S3 shown in FIG. 3, the virtual particle placement unit 102 reads shape data representing the default shape of the virtual particles P stored in the particle data storage unit 202, and closes the space according to the operation command of the user. Determine the number and position of virtual particles P to be placed on CS At the same time, the shape of the virtual particle P is deformed to arrange the virtual particle P in the closed space cs.
[0038] ここで、閉空間 CS内に配置される仮想粒子 Pの個数として、例えば人間等の動物 の生誕直後の皮膚細胞の単位体積あたり個数と、閉空間 CSの体積とに基づいて定 められる値を採用することができる。但し、この値はユーザからの操作指令に応じて 適宜変更される。 [0038] Here, the number of virtual particles P arranged in the closed space CS is determined based on the number of skin cells per unit volume immediately after the birth of an animal such as a human and the volume of the closed space CS, for example. Values can be adopted. However, this value is appropriately changed according to the operation command from the user.
[0039] 仮想粒子 Pのデフォルトの形状は、 3本の主軸のうち短い方の 2本の主軸が同じ長 さを有する楕円体である。以下、楕円体の 3本の主軸のうち、 1本の長い主軸を長軸 、長さが同じである残り 2本の主軸を短軸と呼ぶことにする。この楕円体の長軸及び 短軸の長さは、予め定められたデフォルト値が採用されている。但し、このデフォルト 値は、ユーザからの操作指令に応じて適宜変更される。また、仮想粒子 Pのデフオル トの形状として、球体を採用してもよい。また、楕円体の 3本の主軸を異なる長さにし てもよい。更に、楕円体と球体とを混合して閉空間に配置してもよい。  [0039] The default shape of the virtual particle P is an ellipsoid in which the shorter of the three principal axes has the same length. Below, of the three main axes of the ellipsoid, one long main axis is called the major axis, and the remaining two main axes having the same length are called the minor axes. Predetermined default values are adopted for the lengths of the major axis and the minor axis of the ellipsoid. However, this default value is appropriately changed according to the operation command from the user. Further, a sphere may be adopted as the default shape of the virtual particle P. Also, the three main axes of the ellipsoid may have different lengths. Furthermore, an ellipsoid and a sphere may be mixed and arranged in the closed space.
[0040] 仮想粒子配置部 102は、長軸及び短軸のデフォルト値、又は、ユーザにより変更さ れた長軸及び短軸の長さに対し、所定の確率密度関数 (例えば、正規分布)や乱数 等を用いて一定のバラツキを与えて、閉空間 CSに配置する各仮想粒子 Pの短軸及 び長軸の長さを決定し、仮想粒子 Pの形状を変化させる。なお、楕円体に代えて球 体を採用した場合、ユーザは、球体の半径を設定することで仮想粒子 Pの形状を変 更することができる。  [0040] The virtual particle arrangement unit 102 uses a predetermined probability density function (for example, normal distribution) or a default value of the long axis and the short axis, or the length of the long axis and the short axis changed by the user. Given random variations using random numbers, etc., the short axis and long axis length of each virtual particle P placed in the closed space CS are determined, and the shape of the virtual particle P is changed. When a sphere is used instead of the ellipsoid, the user can change the shape of the virtual particle P by setting the radius of the sphere.
[0041] そして、仮想粒子配置部 102は、閉空間 CS内において、仮想粒子 Pが重ならず、 かつ、底面 BSを皮膚表面と見なし、 z方向を皮膚の深さ方向と見なしたときの皮膚細 胞の分布に従い、仮想粒子 Pを配置する。図 4は、仮想粒子配置部 102が閉空間 C Sに仮想粒子 Pを配置した直後の閉空間 CSを示している。図 4に示すように、閉空間 CS内にお 、て、大きさが適度にばらつ 、た複数の仮想粒子 Pが重ならな 、ように配 置されていることが分かる。ここで、仮想粒子配置部 102は、仮想粒子 Pの長軸の方 向が平行となるように、仮想粒子 Pを配置してもよいし、長軸の方向を適度にばらつ かせて仮想粒子 Pを配置してもよ 、。  [0041] Then, the virtual particle placement unit 102 is configured so that the virtual particles P do not overlap in the closed space CS, the bottom surface BS is regarded as the skin surface, and the z direction is regarded as the skin depth direction. Place virtual particles P according to the distribution of skin cells. FIG. 4 shows the closed space CS immediately after the virtual particle placement unit 102 places the virtual particles P in the closed space CS. As shown in FIG. 4, it can be seen that the closed space CS is arranged in such a manner that the size of the virtual particles P varies moderately and the virtual particles P do not overlap. Here, the virtual particle arrangement unit 102 may arrange the virtual particles P so that the directions of the major axes of the virtual particles P are parallel, or the virtual particles may be dispersed by appropriately varying the directions of the major axes. P can be placed.
[0042] 図 3に示すステップ S4において、カウンタ 114は、カウント値を i=0に設定し、仮想 粒子 Pの成長時間を初期化する。ステップ S5において、外力算出部 111は、式(1) を用いて各仮想粒子 Pに作用するファンデルワールス力を算出する。 In step S4 shown in FIG. 3, the counter 114 sets the count value to i = 0 and initializes the growth time of the virtual particles P. In step S5, the external force calculation unit 111 calculates the formula (1) Is used to calculate the van der Waals force acting on each virtual particle P.
f(w)=K /\ (5/4-w3-19/8-w2+9/8) (1) f (w) = K / \ (5 / 4-w 3 -19 / 8-w 2 +9/8) (1)
0 0  0 0
但し、  However,
f(w):ファンデルワールス力  f (w): Van der Waals force
K:仮想粒子間の引力と斥力を定めるためのパネ係数  K: Panel coefficient for determining attractive and repulsive forces between virtual particles
0  0
w=l/l  w = l / l
0  0
1:仮想粒子 Pの中心と仮想粒子 Pの中心との距離  1: Distance between the center of virtual particle P and the center of virtual particle P
1 (P, P)=l/2(d(P)+d(P))  1 (P, P) = l / 2 (d (P) + d (P))
0 i j i j  0 i j i j
P. :i番目の仮想粒子  P .: i-th virtual particle
P: j番目の仮想粒子  P: jth virtual particle
d(P):仮想粒子 Pの長軸の長さ  d (P): Length of major axis of virtual particle P
[0043] 図 6は、式(1)のファンデルワールス力を示すグラフであり、縦軸は f (w)を示し、横 軸は wを示している。図 6に示すように f(w)は、 wが 0から 1までの範囲内では正の値 をとる。これは、図 7(b)に示すように仮想粒子 P, Pが重なっている場合、仮想粒子 P[0043] FIG. 6 is a graph showing the van der Waals force of equation (1), where the vertical axis indicates f (w) and the horizontal axis indicates w. As shown in Fig. 6, f (w) takes a positive value when w is between 0 and 1. As shown in Fig. 7 (b), when virtual particles P and P overlap, virtual particle P
, Pには斥力が作用することを示している。 , P shows that repulsive force acts.
[0044] また、 f (w)は、 wが 1のとき 0の値をとる。これは、図 7(c)に示すように、仮想粒子 P , Pが接しているときは、引力も斥力も作用せず、安定することを示している。  [0044] f (w) takes a value of 0 when w is 1. This shows that when the virtual particles P 1 and P 2 are in contact with each other, as shown in FIG. 7 (c), neither attractive nor repulsive force acts and it is stable.
j  j
[0045] また、 f (w)は、 wが 1から約 1.3の範囲内では負の値をとる。これは、図 7(a)に示 すように、仮想粒子 P , Pが一定の距離範囲内に存在するときは、仮想粒子 P , Pに は引力が作用することを示している。更に、 f(w)は、 wが 1.3よりも大きい場合、正の 値をとる。これは、仮想粒子 P , Pは一定の距離以上離れると、斥力が作用することを 示している。  [0045] Further, f (w) takes a negative value when w is in the range of 1 to about 1.3. As shown in FIG. 7 (a), when the virtual particles P 1 and P exist within a certain distance range, an attractive force acts on the virtual particles P 1 and P 2. Furthermore, f (w) takes a positive value when w is greater than 1.3. This indicates that the repulsive force acts when the virtual particles P 1 and P 2 are separated by a certain distance or more.
[0046] 図 3に示すステップ S6において、外力算出部 111は、各仮想粒子 Pに作用するポ テンシャルフィールド PF力もの制約力 FSを算出する。図 8は、仮想粒子 Pに作用す る制約力 FSを説明する図である。なお、図 8に示す斜め斜線はポテンシャルフィー ルド PFの断面を示している。外力算出部 111は、仮想粒子 Pの中心 Olと、ポテンシ ャルフィールド PFとを最短距離で結ぶ直線 L 1を求め、直線 L 1とポテンシャルフィー ルド PFとの交点 02を求める。次に、交点 02の法線ベクトル VIを求め、求めた法線 ベクトル VIに所定の定数を乗じた力を、仮想粒子 1^に作用する制約力 として求 める。ここで、所定の定数として、例えば仮想粒子 ^の質量を採用することができ、法 線ベクトル VIの大きさとして重力加速度の大きさを採用することができる。 In step S 6 shown in FIG. 3, the external force calculation unit 111 calculates the constraint force FS of the potential field PF force acting on each virtual particle P. FIG. 8 is a diagram for explaining the constraint force FS acting on the virtual particle P. FIG. Note that the diagonal line shown in Fig. 8 shows the cross section of the potential field PF. The external force calculation unit 111 obtains a straight line L 1 that connects the center Ol of the virtual particle P and the potential field PF with the shortest distance, and obtains an intersection 02 between the straight line L 1 and the potential field PF. Next, the normal vector VI of the intersection 02 is obtained, and the obtained normal is obtained. The force obtained by multiplying the vector VI by a predetermined constant is obtained as the constraint force acting on the virtual particle 1 ^. Here, as the predetermined constant, for example, the mass of the virtual particle ^ can be adopted, and the magnitude of the gravitational acceleration can be adopted as the magnitude of the normal vector VI.
[0047] 仮想粒子 Pの場合、中心とポテンシャルフィールド PFとを最短距離で結ぶ直線の [0047] In the case of virtual particle P, a straight line connecting the center and potential field PF with the shortest distance
k  k
ポテンシャルフィールド PFとの交点は、 XY平面上に存在しているため、仮想粒子 P  Since the intersection with the potential field PF exists on the XY plane, the virtual particle P
k は z方向に制約力 FSを受けることになる。しかし、仮想粒子 Pは z方向に重力 FG  k receives the constraint force FS in the z direction. However, the virtual particle P is gravity in the z direction FG
k k k を受けているため、制約力 FSと重力 FGとは相殺され、他の仮想粒子 Pからのファ  Since k k k is received, the constraint force FS and gravity FG are canceled out, and the phantoms from other virtual particles P
k k  k k
ンデルワールスカ fのみを受けることになる。仮想粒子 Pは、仮想粒子 Pの場合と同  Only Ndelwarska f will be received. Virtual particle P is the same as virtual particle P
j k  j k
様、制約力 FSと重力 FGとが反対方向を向いているため相殺されて、他の仮想粒子  Like, the restraining force FS and gravity FG are offset in the opposite direction, canceling out other virtual particles
j ]  j]
Pからのファンデルヮーノレス力 fのみを受けることになる。  Only van derunore force f from P will be received.
[0048] 従って、ポテンシャルフィールド PF上の隆起物の斜面近傍に位置する仮想粒子 P は、ポテンシャルフィールド PFからの制約力 FS.により隆起物から遠ざかる。  [0048] Therefore, the virtual particle P located near the slope of the raised object on the potential field PF moves away from the raised object due to the constraint force FS. From the potential field PF.
[0049] 図 3に示すステップ S7において、外力算出部 111は、各仮想粒子 Pの質量を算出 し、算出した質量に z方向に作用する重力加速度を乗じることにより、各仮想粒子 P に作用する重力 FGを求める。ここで、外力算出部 111は、仮想粒子 Pの長軸と短軸 の長さから仮想粒子 Pの体積を求め、この体積に粒子データ記憶部 202に記憶され た質量データを乗じることで、仮想粒子 Pの質量を求める。  [0049] In step S7 shown in FIG. 3, the external force calculation unit 111 calculates the mass of each virtual particle P and multiplies the calculated mass by the gravitational acceleration acting in the z direction, thereby acting on each virtual particle P. Find gravity FG. Here, the external force calculation unit 111 calculates the volume of the virtual particle P from the lengths of the major axis and the minor axis of the virtual particle P, and multiplies this volume by the mass data stored in the particle data storage unit 202, thereby Find the mass of particle P.
[0050] ステップ S8において、外力算出部 111は、仮想粒子 Pが他の仮想粒子 P力も受け るファンデルワールス力 fと、ポテンシャルフィールド PFから受ける制約力 FSと、重力 FGとを合成して仮想粒子 Pに作用する外力 Foを求め、この外力 Foの大きさが既定 値を超えるカゝ否かを判定する。そして、既定値を超える外力 Foが作用する仮想粒子 Pを閉空間 CSから消去して、仮想粒子 Pを死滅させる。この既定値は、実際の皮膚 細胞を死滅させる圧力の大きさに基づ 、て予め定められた値が採用されて 、る。  [0050] In step S8, the external force calculation unit 111 synthesizes the van der Waals force f that the virtual particle P receives also the other virtual particle P force, the constraint force FS received from the potential field PF, and the gravity FG. The external force Fo acting on the particle P is obtained, and it is determined whether the magnitude of the external force Fo exceeds a predetermined value. Then, the virtual particle P on which the external force Fo exceeding the predetermined value acts is erased from the closed space CS, and the virtual particle P is killed. The predetermined value is a value determined in advance based on the pressure that kills the actual skin cells.
[0051] ステップ S9において、カウンタ 114は、カウント値 iを 1インクリメントして、仮想粒子 の成長時間を所定時間進める。  [0051] In step S9, the counter 114 increments the count value i by 1, and advances the virtual particle growth time by a predetermined time.
[0052] ステップ S10において、位置算出部 113は、カウント値 も仮想粒子 Pの成長時間 tを求め、式 (2)に示す運動方程式を、ルンゲタッタ法を用いて解くことにより、成長時 間 tにおける仮想粒子 Pの位置と速度とを求める。なお、位置算出部 113は、ルンゲク ッタ法に代えてオイラー法等を用いて仮想粒子 Pの位置と速度とを算出してもよい。 [0052] In step S10, the position calculation unit 113 obtains the growth time t of the virtual particle P as the count value, and solves the equation of motion shown in Equation (2) using the Rungetta method, so that the growth time t Find the position and velocity of the virtual particle P. Note that the position calculator 113 The position and velocity of the virtual particle P may be calculated using the Euler method or the like instead of the clutter method.
[0053]
Figure imgf000014_0001
[0053]
Figure imgf000014_0001
但し  However,
m :仮想粒子 Pの質量  m: Mass of virtual particle P
X:仮想粒子 ^の位置  X: Position of virtual particle ^
c :閉空間 CSの粘性係数  c: Viscosity coefficient of closed space CS
t :成長時間  t: Growth time
f:仮想粒子 Pに作用するファンデルワールス力  f: Van der Waals force acting on virtual particle P
FS:仮想粒子 Pに作用する制約力  FS: Restrictive force acting on virtual particle P
FG :重力  FG: Gravity
[0054] ここで、 x、 f、 FS、 FGはそれぞれ、 x, y, z成分からなる 3次元のベクトルである。  [0054] Here, x, f, FS, and FG are three-dimensional vectors made up of x, y, and z components, respectively.
粘性係数 cは、実際の皮膚細胞の細胞質の粘性係数等を基に予め定められた値が 採用されている。  The viscosity coefficient c is a value determined in advance based on the viscosity coefficient of the actual skin cell cytoplasm.
[0055] ステップ S 11において、仮想粒子成長部 112は、実際の皮膚細胞の大きさの増加 量を示す式(3)に示す関数を用いて、閉空間 CS内の仮想粒子 Pの長軸及び短軸の 長さを増加させ、仮想粒子 Pを大きくする。  [0055] In step S11, the virtual particle growth unit 112 uses the function shown in Equation (3) indicating the actual increase in the size of the skin cell, and the long axis of the virtual particle P in the closed space CS and Increase the length of the minor axis and increase the virtual particle P.
[0056] C S = I S( 1ert ) (3) 但し、 [0056] CS = IS (1e rt) (3) where
CS (current— size):成長時間 tにおける仮想粒子 Pの短軸及び長軸の長さ CS (current—size): Length of short axis and long axis of virtual particle P at growth time t
IS (initial— size):仮想粒子配置部 102により閉空間 CSに配置されたときの仮想粒 子 Pの短軸及び長軸の長さ IS (initial—size): Length of short axis and long axis of virtual particle P when placed in closed space CS by virtual particle placement unit 102
r:成長率  r: Growth rate
t :成長時間  t: Growth time
[0057] ここで、成長率 rは実際の皮膚細胞の大きさの増加率に基づいて予め定められた値 が採用されている。ステップ S12において、仮想粒子成長部 112は、シグモイド曲線 で表され、実際の皮膚細胞の増加数の経時的変化を表す式 (4)に示す関数を用い て、閉空間 csに新たに追加する仮想粒子 Pの数 (仮想粒子 Pの増加数)を求め、追 加する仮想粒子 Pを配置する位置を求め、閉空間 CSに仮想粒子 Pを新たに誕生さ せる。 Here, the growth rate r is a value determined in advance based on the increase rate of the actual skin cell size. In step S12, the virtual particle growth unit 112 is represented by a sigmoid curve and uses the function shown in Equation (4) that represents the change over time in the actual number of skin cells. Thus, the number of newly added virtual particles P in the closed space cs (increase number of virtual particles P) is obtained, the position where the added virtual particles P are arranged is obtained, and a new virtual particle P is born in the closed space CS. Let
[0058] NOB = a. e-exp(-k(t-to)) (4) 但し、 [0058] NOB = a . E -exp (-k (t-to)) (4) However,
NOB (number— of— birth):新たに追加する仮想粒子の数  NOB (number— of— birth): Number of newly added virtual particles
a, k:定数  a, k: constant
t :成長時間  t: Growth time
tO :式 (4)に示す関数の変曲点  tO: Inflection point of function shown in equation (4)
[0059] 図 9は、式 (4)に示す関数のグラフであり、縦軸は新たに追加する仮想粒子の数を 示し、横軸は成長時間を示している。図 9に示すように、新たに追加する仮想粒子の 数は、成長時間 tの増加に伴って、緩やかに減少していることが分かる。また、成長時 間 tが tOの時刻において変曲点が存在していることが分かる。また、この toは、仮想 粒子 Pの増加数がほぼ 0になるまでの成長時間に対して約半分の時間であることが 分かる。 FIG. 9 is a graph of the function shown in Equation (4), where the vertical axis indicates the number of newly added virtual particles, and the horizontal axis indicates the growth time. As shown in Fig. 9, it can be seen that the number of newly added virtual particles gradually decreases as the growth time t increases. It can also be seen that an inflection point exists at the time when the growth time t is tO. This to is about half of the growth time until the number of virtual particles P increases to almost zero.
[0060] 図 3に示すステップ S13において、カウンタ 114は、カウント値 iがシミュレーションの 終了時間に対応するカウント値である N (Nは正の整数)になった力否かを判定し、力 ゥント値 iが Nになったと判定した場合(S 13で YES)、処理をステップ S 14に進める。 一方、カウンタ 114は、カウント値 iが Nになっていないと判定した場合(S13で NO)、 処理をステップ S5に戻す。ここで、 Nの値は、ユーザからの操作指令に応じて適宜変 更される。  [0060] In step S13 shown in FIG. 3, the counter 114 determines whether or not the force at which the count value i has reached N (N is a positive integer) corresponding to the simulation end time. If it is determined that the value i becomes N (YES in S13), the process proceeds to step S14. On the other hand, if counter 114 determines that count value i is not N (NO in S13), it returns the process to step S5. Here, the value of N is appropriately changed according to the operation command from the user.
[0061] 以上、カウント値 iが Nになるまで、ステップ S5〜S13までの処理が繰り返し実行さ れ、閉空間 CS内で仮想粒子 Pを成長させるシミュレーションが実行される。図 10は、 シミュレーション終了時の閉空間 CSを示した図である。図 10に示すように、閉空間 C Sに存在する仮想粒子 Pの大きさ及び数力 シミュレーション開始時の閉空間 CSを 示す図 4に比べて増加しており、仮想粒子 Pが皮膚細胞の成長パターンにしたがつ て成長して!/ヽることが分かる。  [0061] As described above, until the count value i becomes N, the processing from steps S5 to S13 is repeatedly executed, and the simulation for growing the virtual particles P in the closed space CS is executed. Figure 10 shows the closed space CS at the end of the simulation. As shown in Fig. 10, the size and power of the virtual particle P existing in the closed space CS are increased compared to Fig. 4 which shows the closed space CS at the start of the simulation. Therefore, you can grow!
[0062] また、ポテンシャルフィールド PFの隆起物の斜面近傍に位置する仮想粒子 Pはポ テンシャルフィールド PF力もの制約力 FSにより、隆起物から離れるように配置されて 、ることが分力る。 [0062] In addition, the virtual particle P located near the slope of the protuberance of the potential field PF is Temporary field PF force is also constrained by FS.
[0063] 図 3に示すステップ S14において、凹凸テクスチャ生成部 104は、底面 BSに仮想 粒子 Pを投影して凹凸テクスチャを生成する。図 11は、凹凸テクスチャ生成部 104が 凹凸テクスチャを生成する処理を説明する図である。まず、凹凸テクスチャ生成部 10 4は、(a)に示すように仮想粒子 Pの中心 Olと底面 BSとの距離 Hを求める。次に、 (b )に示すように底面 BSに仮想粒子 Pを投影し、底面 BS上に形成される仮想粒子 Pの 投影面 S1を求める。そして、(c)に示すように投影面 S1と距離 Hとをガウシアン曲面 で繋ぎ、投影面 S1に高さデータを付与して、凹凸テクスチャを生成する。ここで、ガウ シアン曲面に代えて、楕円体を用いてもよい。  [0063] In step S14 shown in FIG. 3, the concavo-convex texture generation unit 104 generates concavo-convex texture by projecting the virtual particles P onto the bottom surface BS. FIG. 11 is a diagram illustrating a process in which the uneven texture generation unit 104 generates an uneven texture. First, the concavo-convex texture generation unit 104 determines the distance H between the center Ol of the virtual particle P and the bottom surface BS as shown in (a). Next, as shown in (b), the virtual particle P is projected onto the bottom surface BS, and the projection surface S1 of the virtual particle P formed on the bottom surface BS is obtained. Then, as shown in (c), the projection surface S1 and the distance H are connected by a Gaussian curved surface, and height data is given to the projection surface S1, thereby generating an uneven texture. Here, an ellipsoid may be used instead of the Gaussian curved surface.
[0064] 図 12は、本凹凸テクスチャ生成装置によって生成された凹凸テクスチャの一例を示 す図であり、(a)、(c)、(d)は閉空間 CS内にポテンシャルフィールド PFを生成するこ となぐ生成された凹凸テクスチャを示し、(b)は閉空間 CS内にポテンシャルフィール ド PFを生成した場合に生成された凹凸テクスチャを示している。  [0064] FIG. 12 is a diagram showing an example of the uneven texture generated by the uneven texture generating device, where (a), (c), and (d) generate a potential field PF in the closed space CS. The generated uneven texture is shown here, and (b) shows the generated uneven texture when the potential field PF is generated in the closed space CS.
[0065] (a)に示す凹凸テクスチャは、(c)に示す凹凸テクスチャに比べて、シボの直径のサ ィズのバラツキが大きいことが分かる。これは、仮想粒子配置部 102が、仮想粒子 P の形状のバラツキを大きくして、仮想粒子 Pを閉空間 CSに配置したことに起因してい る。また、(d)に示す凹凸テクスチャは、(a)〜(c)に示す凹凸テクスチャに対して、シ ボの数が多いことが分かる。これは、仮想粒子配置部 102が、仮想粒子 Pの数を多く して閉空間 CSに配置したこと、或いはシミュレーション時間を長くしたことに起因して いる。  [0065] It can be seen that the uneven texture shown in (a) has a larger variation in the size of the wrinkle diameter than the uneven texture shown in (c). This is due to the fact that the virtual particle placement unit 102 places the virtual particles P in the closed space CS by increasing the variation in the shape of the virtual particles P. It can also be seen that the uneven texture shown in (d) has a larger number of textures than the uneven texture shown in (a) to (c). This is because the virtual particle arrangement unit 102 increases the number of virtual particles P and arranges them in the closed space CS, or lengthens the simulation time.
[0066] また、 (b)に示す凹凸テクスチャは、左側に示す模様テクスチャを基に生成された ポテンシャルフィールド PFを閉空間 CSに形成して、仮想粒子 Pが成長されて!ヽるた め、(b)の右側に示すように、模様テクスチャが示す筋の部分を避けるようにして、シ ボが形成されて ヽることが分力ゝる。  [0066] In addition, the uneven texture shown in (b) forms the potential field PF generated based on the pattern texture shown on the left side in the closed space CS, and the virtual particles P grow! As shown on the right side of (b), avoiding the streak portion indicated by the pattern texture, it can be said that the wrinkles are formed.
[0067] 図 13は、本凹凸テクスチャ生成装置を用いて生成された凹凸テクスチャを自動車 のダッシュボードにバンプマッピングして、自動車のインテリアの仮想 3次元モデルを レンダリングしたときのレンダリング結果を示した図である。図 13に示すように、本テク スチヤ生成装置により生成された 3次元モデルを用 、てレンダリングすることで、ダッ シュボード表面の質感がリアルに再現されていることが分かる。 [0067] Fig. 13 is a diagram showing the rendering results when rendering the virtual 3D model of the interior of a car by bump mapping the uneven texture generated using this uneven texture generator to a car dashboard. It is. As shown in Figure 13, this technology By using the 3D model generated by the steam generator and rendering, it can be seen that the texture of the dashboard surface is realistically reproduced.
[0068] 以上説明したように、本凹凸テクスチャ生成装置によれば、閉空間 CS内に配置さ れた仮想粒子 Pが動物の皮膚の成長パターンに従って、その数及びサイズが増加さ れる。各仮想粒子 Pには、ファンデルワールス力 f、重力 FG、及び制約力 FSが作用 しており、各仮想粒子 Pがー定時間成長する毎に、これらの力が算出される。  [0068] As described above, according to the uneven texture generating device, the number and size of the virtual particles P arranged in the closed space CS are increased according to the growth pattern of the animal skin. Each virtual particle P is subjected to van der Waals force f, gravity FG, and constraint force FS, and each time each virtual particle P grows for a fixed time, these forces are calculated.
[0069] また、各仮想粒子 Pに対してファンデルワールス力 f、重力 FG、及び制約力 FSを与 えたときの各仮想粒子 Pの運動方程式を、ルンゲタッタ法を用いて仮想粒子 Pが一定 時間成長する毎に解くことにより各仮想粒子 Pの位置及び速度が算出される。そして 、所定時間成長された仮想粒子 Pを底面 BSに投影して凹凸テクスチャが生成される  [0069] The motion equation of each virtual particle P when van der Waals force f, gravity FG, and constraint force FS are given to each virtual particle P is calculated using the Rungetta method. The position and velocity of each virtual particle P are calculated by solving each time it grows. Then, projections and depressions are generated by projecting the virtual particles P grown for a predetermined time onto the bottom surface BS.
[0070] ここで、底面 BSには仮想粒子 Pが投影される力 この仮想粒子 Pは生物の皮膚の 成長パターンに従って成長されているため、底面 BSの表面に形成されるシボは、生 物の皮膚の特徴が取り入れられたものになる。その結果、生物の皮膚の特徴をリアル に表す凹凸テクスチャを生成することができる。 [0070] Here, the force by which the virtual particle P is projected onto the bottom surface BS. Since this virtual particle P is grown according to the growth pattern of the skin of the living organism, the wrinkles formed on the surface of the bottom surface BS Skin features are incorporated. As a result, it is possible to generate an uneven texture that realistically represents the characteristics of the skin of an organism.
[0071] (本発明の纏め)  [0071] (Summary of the present invention)
(1)本発明による凹凸テクスチャ生成プログラムは、凹凸テクスチャを生成する凹凸 テクスチャ生成プログラムであって、仮想 3次元空間内に閉空間を設定し、設定した 閉空間内に所定の質量及び所定の大きさを有する複数の仮想粒子を配置する仮想 粒子配置手段と、生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子 配置手段により配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮 想粒子を前記閉空間内で成長させる仮想粒子成長手段と、各仮想粒子の距離に基 づいて定められる各仮想粒子の相互間で作用する粒子間力を算出する粒子間カ算 出手段と、前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程 式を解くことにより各仮想粒子の位置を算出する位置算出手段と、閉空間内の仮想 粒子の位置及び大きさを基に、凹凸テクスチャを生成する凹凸テクスチャ生成手段と してコンピュータを機能させることを特徴とするものである。  (1) The uneven texture generation program according to the present invention is an uneven texture generation program for generating an uneven texture, which sets a closed space in a virtual three-dimensional space, and has a predetermined mass and a predetermined size in the set closed space. Virtual particle placement means for arranging a plurality of virtual particles having a thickness, and a growth pattern of a biological skin cell, and the number of virtual particles placed by the virtual particle placement means and the size of each virtual particle are determined. Virtual particle growth means for increasing each virtual particle in the closed space and an interparticle force for calculating the interparticle force acting between the virtual particles determined based on the distance between the virtual particles. A calculation means; a position calculation means for calculating the position of each virtual particle by solving the equation of motion of each virtual particle when the interparticle force acts on each virtual particle; and a virtual calculation in a closed space. The computer is caused to function as an uneven texture generating means for generating an uneven texture based on the position and size of the particles.
[0072] また、本発明による凹凸テクスチャ生成装置は、凹凸テクスチャを生成する凹凸テク スチヤ生成装置であって、仮想 3次元空間内に閉空間を設定し、設定した閉空間内 に所定の質量及び所定の大きさを有する複数の仮想粒子を配置する仮想粒子配置 手段と、生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子配置手段 により配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮想粒子を 前記閉空間内で成長させる仮想粒子成長手段と、各仮想粒子の距離に基づいて定 められる各仮想粒子の相互間で作用する粒子間力を算出する粒子間力算出手段と 、前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程式を解くこ とにより各仮想粒子の位置を算出する位置算出手段と、閉空間内の仮想粒子の位置 及び大きさを基に、凹凸テクスチャを生成する凹凸テクスチャ生成手段とを備えること を特徴とするものである。 [0072] Further, the uneven texture generating device according to the present invention provides an uneven texture generating means for generating an uneven texture. A steer generation device, comprising: a virtual particle arrangement means for setting a closed space in a virtual three-dimensional space, and arranging a plurality of virtual particles having a predetermined mass and a predetermined size in the set closed space; Virtual particle growth means for simulating a growth pattern of skin cells, increasing the number of virtual particles arranged by the virtual particle arrangement means and the size of each virtual particle, and growing each virtual particle in the closed space And an interparticle force calculation means for calculating an interparticle force acting between the virtual particles determined based on the distance between the virtual particles, and an interparticle force when the interparticle force is applied to each virtual particle. Position calculating means for calculating the position of each virtual particle by solving the equation of motion of the virtual particle, and uneven texture generating means for generating an uneven texture based on the position and size of the virtual particle in the closed space. It is characterized by this.
[0073] これらの構成によれば、生物の皮膚細胞の成長パターンに従って、閉空間内の仮 想粒子の数及び大きさが増加される。仮想 3次元空間内に存在する各仮想粒子には 、仮想粒子同士の距離に基づいて定められる粒子間力が作用しており、この各仮想 粒子に作用する粒子間力が算出される。  [0073] According to these configurations, the number and size of the virtual particles in the closed space are increased according to the growth pattern of the skin cells of the organism. An interparticle force determined based on the distance between the virtual particles acts on each virtual particle existing in the virtual three-dimensional space, and the interparticle force acting on each virtual particle is calculated.
[0074] また、各仮想粒子に対して粒子間力を外力として与えたときの各仮想粒子の運動 方程式を解くことにより各仮想粒子の位置が算出される。そして、閉空間内の仮想粒 子の位置及び大きさを基に凹凸テクスチャが生成される。  In addition, the position of each virtual particle is calculated by solving the equation of motion of each virtual particle when an interparticle force is applied to each virtual particle as an external force. Then, an uneven texture is generated based on the position and size of the virtual particles in the closed space.
[0075] すなわち、閉空間を皮膚組織と仮定したときに当該皮膚組織に含まれる皮膚細胞 の成長パターンに従って仮想粒子の大きさ及び数が定められ、この仮想粒子の位置 及び大きさを基に、凹凸テクスチャが生成されているため、動物の皮膚の特徴をよりリ アルに表す凹凸テクスチャを生成することができる。  That is, when the closed space is assumed to be skin tissue, the size and number of virtual particles are determined according to the growth pattern of the skin cells contained in the skin tissue. Based on the position and size of the virtual particles, Since the concavo-convex texture is generated, it is possible to generate an concavo-convex texture that more realistically represents the characteristics of animal skin.
[0076] (2)また、上記構成において、各仮想粒子に斥力を作用させる仮想物体を、ユーザ からの操作指令を基に、前記閉空間内に生成する仮想物体生成手段と、前記仮想 粒子が一定時間成長する毎に、各仮想粒子に作用する前記仮想物体からの斥力を 算出する斥力算出手段として更にコンピュータを機能させ、前記位置算出手段は、 前記斥力算出手段により算出された斥力と前記粒子間力とを各仮想粒子に作用さ せて前記運動方程式を解くことが好ましい。  [0076] (2) In the above configuration, the virtual object generating means for generating a virtual object that applies a repulsive force to each virtual particle in the closed space based on an operation command from a user, and the virtual particle The computer further functions as a repulsive force calculating means for calculating a repulsive force from the virtual object acting on each virtual particle every time it grows for a certain time, and the position calculating means includes the repulsive force calculated by the repulsive force calculating means and the particles It is preferable to solve the equation of motion by applying an interatomic force to each virtual particle.
[0077] この構成によれば、仮想粒子は仮想物体からの斥力によって、仮想物体から遠ざ 力るように移動されるため、仮想粒子を適度に分散させることができる。 [0077] According to this configuration, the virtual particles are moved away from the virtual object by the repulsive force from the virtual object. Since it moves so that it may force, a virtual particle can be disperse | distributed moderately.
[0078] (3)また、上記構成お 、て、所定の模様を表す 1又は複数種類のテクスチャを記憶 するテクスチャ記憶手段として更にコンピュータを機能させ、前記仮想物体生成手段 は、前記テクスチャ記憶手段に記憶されたテクスチャの中力 いずれか 1つのテクス チヤをユーザ力 の操作指令に従って選択し、選択したテクスチャの模様を基に前 記仮想物体を生成することが好まし ヽ。  [0078] (3) In the above configuration, the computer further functions as a texture storage unit that stores one or more types of textures representing a predetermined pattern, and the virtual object generation unit causes the texture storage unit to It is preferable to select one of the textures of the memorized texture according to the user's operation command and generate the virtual object based on the selected texture pattern.
[0079] この構成によれば、ユーザはテクスチャを選択すると、テクスチャが表す模様を基に[0079] According to this configuration, when the user selects a texture, based on the pattern represented by the texture,
、仮想物体が生成され、この仮想物体からの斥力により各仮想粒子が移動されるた め、ユーザにより選択されたテクスチャの模様を表すような凹凸テクスチャを生成する ことができる。 Since the virtual object is generated and each virtual particle is moved by the repulsive force from the virtual object, it is possible to generate an uneven texture that represents the texture pattern selected by the user.
[0080] (4)また、上記構成において、前記閉空間は 6面体であり、前記凹凸テクスチャ生 成手段は、前記 6面体のある 1つ面と各仮想粒子との距離を求めると共に、各仮想粒 子の前記面への投影面を求め、求めた距離と投影面とを基に、前記面に高さデータ を与え、凹凸テクスチャを生成することが好ましい。  [0080] (4) Further, in the above configuration, the closed space is a hexahedron, and the uneven texture generating means obtains a distance between one surface of the hexahedron and each virtual particle, and each virtual particle. It is preferable to obtain a projection surface of the particle onto the surface, and provide height data to the surface based on the obtained distance and the projection surface to generate an uneven texture.
[0081] この構成によれば、 6面体の 1面に仮想粒子が投影されて凹凸テクスチャが生成さ れるため、この面を生物の皮膚表面とみなした場合に、皮膚表面に現れる凹凸を表 すような凹凸テクスチャを生成することができる。  [0081] According to this configuration, an uneven texture is generated by projecting virtual particles onto one surface of the hexahedron. Therefore, when this surface is regarded as the skin surface of a living organism, the unevenness appearing on the skin surface is represented. Such uneven texture can be generated.
[0082] (5)また、上記構成において、前記粒子間力算出手段により算出された粒子間力と 前記斥力算出手段により算出された斥力との合力が、既定値よりも大きな仮想粒子 を前記閉空間から除去することで仮想粒子を死滅させる仮想粒子死滅手段を更に備 えることが好ましい。  [0082] (5) Further, in the above configuration, the virtual particles in which the resultant force of the interparticle force calculated by the interparticle force calculation means and the repulsive force calculated by the repulsive force calculation means are larger than a predetermined value are closed. It is preferable to further provide virtual particle killing means for killing virtual particles by removing them from the space.
[0083] この構成によれば、一定の力を受けると死滅する生物の皮膚の特徴を考慮に入れ て閉空間内に存在する仮想粒子を成長させることができ、皮膚の特徴をよりリアルに 表す凹凸テクスチャを生成することができる。  [0083] According to this configuration, it is possible to grow virtual particles that exist in a closed space in consideration of the characteristics of the skin of a living organism that die when subjected to a certain force, and to express the characteristics of the skin more realistically. Uneven texture can be generated.
[0084] (6)また、上記構成にぉ 、て、前記仮想粒子成長手段は、シグモイド曲線に基づ ヽ て表される前記皮膚細胞の数の経時的変化を示す所定の関数を用いて仮想粒子の 数を増加させることが好ま 、。 [0084] (6) Further, in the above configuration, the virtual particle growth means uses a predetermined function indicating a temporal change in the number of the skin cells represented based on a sigmoid curve. Preferable to increase the number of particles.
[0085] この構成によれば、シグモイド曲線に基づいて表される皮膚細胞数の経時的変化 を示す所定の関数を用いて仮想粒子の数が増加されるため、仮想粒子の数を実際 の皮膚細胞の成長パターンに従って増加させることができる。その結果、皮膚の特徴 をよりリアルに表す凹凸テクスチャを生成することができる。 [0085] According to this configuration, the change over time in the number of skin cells expressed based on the sigmoid curve Since the number of virtual particles is increased using a predetermined function indicating, the number of virtual particles can be increased according to the actual growth pattern of skin cells. As a result, it is possible to generate an uneven texture that more realistically represents skin characteristics.
[0086] (7)また、上記構成において、前記仮想粒子成長手段は、指数関数に基づいて表 される前記皮膚細胞の大きさの経時的変化を示す所定の関数を用いて仮想粒子の 大きさを増カロさせることが好まし 、。  [0086] (7) Further, in the above configuration, the virtual particle growth means uses a predetermined function indicating a change with time of the size of the skin cell expressed based on an exponential function. It is preferable to increase the amount of calories.
[0087] この構成によれば、指数関数に基づいて表される皮膚細胞の大きさの経時的変化 を示す所定の関数を用いて仮想粒子の大きさが増加されるため、仮想粒子の大きさ を実際の皮膚細胞の成長パターンに従って増カロさせることができる。その結果、皮膚 の特徴をよりリアルに表す凹凸テクスチャを生成することができる。  [0087] According to this configuration, since the size of the virtual particle is increased using the predetermined function indicating the change with time of the size of the skin cell expressed based on the exponential function, the size of the virtual particle Can be increased according to the actual skin cell growth pattern. As a result, it is possible to generate an uneven texture that more realistically represents skin characteristics.
[0088] (8)また、上記構成において、前記粒子間力算出手段は、ファンデルワールス力を 示す所定の関数を用いて粒子間力を算出することが好ましい。  (8) In the above configuration, it is preferable that the interparticle force calculation means calculates the interparticle force using a predetermined function indicating Van der Waals force.
[0089] この構成によれば、仮想粒子にファンデルワールス力が作用されるため、皮膚細胞 の成長パターンをよりリアルに表す凹凸テクスチャを生成することができる。  According to this configuration, since the van der Waals force is applied to the virtual particles, it is possible to generate an uneven texture that more realistically represents the growth pattern of the skin cells.

Claims

請求の範囲 The scope of the claims
[1] 凹凸テクスチャを生成する凹凸テクスチャ生成プログラムであって、  [1] An uneven texture generating program for generating an uneven texture,
仮想 3次元空間内に閉空間を設定し、設定した閉空間内に所定の質量及び所定 の大きさを有する複数の仮想粒子を配置する仮想粒子配置手段と、  Virtual particle placement means for setting a closed space in a virtual three-dimensional space, and placing a plurality of virtual particles having a predetermined mass and a predetermined size in the set closed space;
生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子配置手段により 配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮想粒子を前記 閉空間内で成長させる仮想粒子成長手段と、  Virtual particles for simulating a growth pattern of living skin cells, increasing the number of virtual particles arranged by the virtual particle arranging means and the size of each virtual particle, and growing each virtual particle in the closed space Growth means,
各仮想粒子の距離に基づいて定められる各仮想粒子の相互間で作用する粒子間 力を算出する粒子間力算出手段と、  An interparticle force calculating means for calculating an interparticle force acting between the virtual particles determined based on the distance between the virtual particles;
前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程式を解くこ とにより各仮想粒子の位置を算出する位置算出手段と、  Position calculating means for calculating the position of each virtual particle by solving a motion equation of each virtual particle when the interparticle force is applied to each virtual particle;
閉空間内の仮想粒子の位置及び大きさを基に、凹凸テクスチャを生成する凹凸テ タスチヤ生成手段としてコンピュータを機能させることを特徴とする凹凸テクスチャ生 成プログラム。  An uneven texture generating program that causes a computer to function as uneven texture generation means for generating an uneven texture based on the position and size of virtual particles in a closed space.
[2] 各仮想粒子に斥力を作用させる仮想物体を、ユーザ力もの操作指令を基に、前記 閉空間内に生成する仮想物体生成手段と、  [2] Virtual object generating means for generating a virtual object that causes repulsive force on each virtual particle in the closed space based on an operation command of a user force;
前記仮想粒子が一定時間成長する毎に、各仮想粒子に作用する前記仮想物体か らの斥力を算出する斥力算出手段として更にコンピュータを機能させ、  Each time the virtual particles grow for a certain period of time, the computer is further functioned as a repulsive force calculating means for calculating a repulsive force from the virtual object acting on each virtual particle,
前記位置算出手段は、前記斥力算出手段により算出された斥力と前記粒子間力と を各仮想粒子に作用させて前記運動方程式を解くことを特徴とする請求項 1記載の 凹凸テクスチャ生成プログラム。  2. The uneven texture generating program according to claim 1, wherein the position calculating means solves the equation of motion by applying the repulsive force calculated by the repulsive force calculating means and the interparticle force to each virtual particle.
[3] 所定の模様を表す 1又は複数種類のテクスチャを記憶するテクスチャ記憶手段とし て更にコンピュータを機會させ、 [3] As a texture storage means for storing one or more types of textures representing a predetermined pattern, the computer is further motivated,
前記仮想物体生成手段は、前記テクスチャ記憶手段に記憶されたテクスチャの中 力 いずれか 1つのテクスチャをユーザ力 の操作指令に従って選択し、選択したテ タスチヤの模様を基に前記仮想物体を生成することを特徴とする請求項 2記載の凹 凸テクスチャ生成プログラム。  The virtual object generation means selects any one of the textures stored in the texture storage means in accordance with a user power operation command, and generates the virtual object based on the selected texture pattern. The concave / convex texture generation program according to claim 2.
[4] 前記閉空間は 6面体であり、 前記凹凸テクスチャ生成手段は、前記 6面体のある 1つ面と各仮想粒子との距離を 求めると共に、各仮想粒子の前記面への投影面を求め、求めた距離と投影面とを基 に、前記面に高さデータを与え、凹凸テクスチャを生成することを特徴とする請求項 3 記載の凹凸テクスチャ生成プログラム。 [4] The closed space is a hexahedron, The concavo-convex texture generating means obtains a distance between one surface of the hexahedron and each virtual particle, obtains a projection surface of each virtual particle onto the surface, and based on the obtained distance and the projection surface, 4. The uneven texture generating program according to claim 3, wherein height data is given to the surface to generate an uneven texture.
[5] 前記粒子間力算出手段により算出された粒子間力と前記斥力算出手段により算出 された斥力との合力が、既定値よりも大きな仮想粒子を前記閉空間から除去すること で仮想粒子を死滅させる仮想粒子死滅手段としてコンピュータを更に機能させること を特徴とする請求項 2〜4のいずれかに記載の凹凸テクスチャ生成プログラム。  [5] By removing from the closed space virtual particles that the resultant force between the interparticle forces calculated by the interparticle force calculating means and the repulsive force calculated by the repulsive force calculating means is larger than a predetermined value, the virtual particles are removed. The uneven texture generating program according to claim 2, further causing a computer to function as virtual particle killing means for killing.
[6] 前記仮想粒子成長手段は、シグモイド曲線に基づいて表される皮膚細胞の数の経 時的変化を示す所定の関数を用いて、閉空間内の仮想粒子の数を増加させることを 特徴とする請求項 1〜5のいずれかに記載の凹凸テクスチャ生成プログラム。  [6] The virtual particle growth means increases the number of virtual particles in the closed space using a predetermined function indicating a temporal change in the number of skin cells expressed based on a sigmoid curve. The uneven | corrugated texture production | generation program in any one of Claims 1-5.
[7] 前記仮想粒子成長手段は、指数関数に基づ!、て表される皮膚細胞の大きさの経 時的変化を示す所定の関数を用いて仮想粒子の大きさを増カロさせることを特徴とす る請求項 1〜6のいずれかに記載の凹凸テクスチャ生成プログラム。  [7] The virtual particle growth means increases the size of the virtual particles by using a predetermined function indicating a time-dependent change in the size of the skin cell expressed based on an exponential function! The program for generating uneven texture according to any one of claims 1 to 6.
[8] 前記粒子間力算出手段は、ファンデルワールス力を示す所定の関数を用いて粒子 間力を算出することを特徴とする請求項 1〜7のいずれかに記載の凹凸テクスチャ生 成プログラム。  [8] The uneven texture generation program according to any one of [1] to [7], wherein the interparticle force calculation means calculates the interparticle force using a predetermined function indicating van der Waals force. .
[9] 凹凸テクスチャを生成する凹凸テクスチャ生成装置であって、  [9] An uneven texture generating device for generating an uneven texture,
仮想 3次元空間内に閉空間を設定し、設定した閉空間内に所定の質量及び所定 の大きさを有する複数の仮想粒子を配置する仮想粒子配置手段と、  Virtual particle placement means for setting a closed space in a virtual three-dimensional space, and placing a plurality of virtual particles having a predetermined mass and a predetermined size in the set closed space;
生物の皮膚細胞の成長パターンをシミュレートして、前記仮想粒子配置手段により 配置された仮想粒子の数及び各仮想粒子の大きさを増加させ、各仮想粒子を前記 閉空間内で成長させる仮想粒子成長手段と、  Virtual particles for simulating a growth pattern of living skin cells, increasing the number of virtual particles arranged by the virtual particle arranging means and the size of each virtual particle, and growing each virtual particle in the closed space Growth means,
各仮想粒子の距離に基づいて定められる各仮想粒子の相互間で作用する粒子間 力を算出する粒子間力算出手段と、  An interparticle force calculating means for calculating an interparticle force acting between the virtual particles determined based on the distance between the virtual particles;
前記粒子間力を各仮想粒子に作用させたときの各仮想粒子の運動方程式を解くこ とにより各仮想粒子の位置を算出する位置算出手段と、  Position calculating means for calculating the position of each virtual particle by solving a motion equation of each virtual particle when the interparticle force is applied to each virtual particle;
閉空間内の仮想粒子の位置及び大きさを基に、凹凸テクスチャを生成する凹凸テ タスチヤ生成手段とを備えることを特徴とする凹凸テクスチャ生成装置。 An uneven surface that generates uneven texture based on the position and size of virtual particles in a closed space. The uneven | corrugated texture production | generation apparatus provided with a touch production | generation means.
PCT/JP2006/325597 2005-12-26 2006-12-22 Program for forming concave-convex texture and apparatus for forming concave-convex texture WO2007074728A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007551931A JPWO2007074728A1 (en) 2005-12-26 2006-12-22 Uneven texture generation program and uneven texture generation apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005372910 2005-12-26
JP2005-372910 2005-12-26

Publications (1)

Publication Number Publication Date
WO2007074728A1 true WO2007074728A1 (en) 2007-07-05

Family

ID=38217949

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/325597 WO2007074728A1 (en) 2005-12-26 2006-12-22 Program for forming concave-convex texture and apparatus for forming concave-convex texture

Country Status (2)

Country Link
JP (1) JPWO2007074728A1 (en)
WO (1) WO2007074728A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031911A (en) * 2007-07-25 2009-02-12 Dainippon Printing Co Ltd Wrinkle image generation apparatus
WO2010114947A1 (en) * 2009-04-02 2010-10-07 The Gillette Company Skin modeling methods and systems
CN110787445A (en) * 2019-11-13 2020-02-14 山东领信信息科技股份有限公司 Method for generating sandpit sandbag in virtual simulation psychological sand table game

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07254072A (en) * 1994-01-26 1995-10-03 Hitachi Ltd Texture mapping method and device therefor
JP2003057169A (en) * 2001-08-13 2003-02-26 Shiseido Co Ltd Three-dimensional image generation apparatus for skin

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07254072A (en) * 1994-01-26 1995-10-03 Hitachi Ltd Texture mapping method and device therefor
JP2003057169A (en) * 2001-08-13 2003-02-26 Shiseido Co Ltd Three-dimensional image generation apparatus for skin

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009031911A (en) * 2007-07-25 2009-02-12 Dainippon Printing Co Ltd Wrinkle image generation apparatus
WO2010114947A1 (en) * 2009-04-02 2010-10-07 The Gillette Company Skin modeling methods and systems
US8306753B2 (en) 2009-04-02 2012-11-06 The Gillette Company Skin modeling methods and systems
CN110787445A (en) * 2019-11-13 2020-02-14 山东领信信息科技股份有限公司 Method for generating sandpit sandbag in virtual simulation psychological sand table game

Also Published As

Publication number Publication date
JPWO2007074728A1 (en) 2009-06-04

Similar Documents

Publication Publication Date Title
Berndt et al. Efficient surgical cutting with position-based dynamics
US8358310B2 (en) Musculo-skeletal shape skinning
US7983884B2 (en) Water particle manipulation
US7468730B2 (en) Volumetric hair simulation
US10262447B2 (en) Systems and methods for virtual entity animation
WO2008091880A1 (en) System and method for simulating shallow water effects on arbitrary surfaces
CN108245890B (en) Method and device for controlling movement of object in virtual scene
France et al. A layered model of a virtual human intestine for surgery simulation
CN105302972A (en) Metaball model based soft tissue deformation method
Iwamoto et al. Multi‐layer Lattice Model for Real‐Time Dynamic Character Deformation
Shaker et al. Fractals, noise and agents with applications to landscapes
WO2007074728A1 (en) Program for forming concave-convex texture and apparatus for forming concave-convex texture
Liu et al. Deformation of soft tissue and force feedback using the smoothed particle hydrodynamics
JP2009020874A (en) Hair simulation method, and device therefor
KR102187066B1 (en) Method and apparatus of reaction-diffusion modeling based on lattice boltzmann method
Chen et al. Skeleton-driven surface deformation through lattices for real-time character animation
Takamatsu et al. A fast and practical method for animating particle-based viscoelastic fluids
Cirio et al. “Tap, squeeze and stir” the virtual world: Touching the different states of matter through 6DoF haptic interaction
Lei et al. Haptic decorating on the surface of virtual clay model
Lee et al. Development of real time virtual aquarium system
Amarasinghe et al. Fast, believable real-time rendering of burning low-polygon objects in video games
WO2023171413A1 (en) Simulator, simulation data generation method, and simulator system
Prior " On-the-fly" voxelization for 6 degrees-of-freedom haptic virtual sculpting
Dy et al. Collision detection and modeling of rigid and deformable objects in laparoscopic simulator
CN117333612A (en) Method, device, equipment and storage medium for optimizing three-dimensional human body model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007551931

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06843056

Country of ref document: EP

Kind code of ref document: A1