CN101878489B - Image processing device, image processing method - Google Patents

Image processing device, image processing method Download PDF

Info

Publication number
CN101878489B
CN101878489B CN200980101134.XA CN200980101134A CN101878489B CN 101878489 B CN101878489 B CN 101878489B CN 200980101134 A CN200980101134 A CN 200980101134A CN 101878489 B CN101878489 B CN 101878489B
Authority
CN
China
Prior art keywords
polygonal region
shape
texture image
image
polygonal
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN200980101134.XA
Other languages
Chinese (zh)
Other versions
CN101878489A (en
Inventor
野村武宽
龟井智之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment Co Ltd
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 Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Publication of CN101878489A publication Critical patent/CN101878489A/en
Application granted granted Critical
Publication of CN101878489B publication Critical patent/CN101878489B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • G06T13/603D [Three Dimensional] animation of natural phenomena, e.g. rain, snow, water or plants

Landscapes

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

Abstract

In an image processing device (200), a storage unit (201) stores first paste area data (251) that show the position and shape of a first polygonal area to which a first texture image will be pasted, and second paste area data (252) that show the position and shape of a second polygonal area to which a second texture image will be pasted. An updater (202) disposes the shape of the first polygonal area and the second polygonal area in a virtual space so that a specified edge of the first polygonal area and a specified edge of the second polygonal area are present on the same straight line, and transforms the shape of the first polygonal area and the shape of the second polygonal area using an affine transformation. A generation and display unit (203) generates and displays an image in which the first texture image is pasted in the first polygonal area and the second texture image is pasted in the second polygonal area. The updater (202) repeats processing to transform the shape of the first polygonal area in a first period, and repeats processing to transform the shape of the second polygonal area in a second period.

Description

Image processing apparatus, image processing method
Technical field
The present invention relates to be used for showing simply image processing apparatus, image processing method, information recording carrier and the program of rocking action.
Background technology
In fields such as recreation,, various researchs have been carried out in order to watch the image of performance Virtual Space more realistically.For example, in patent documentation 1, the shape through making water surface object shows the appearance that water surface ripple ripples, thereby shows ripple more realistically along with the process of time is out of shape.And, for example in patent documentation 2, produce the distortion corresponding with the distance of relative fixed point through making object images, show the appearance that the mobile and vegetation etc. of water waves with the wind.
Patent documentation 1: TOHKEMY 2002-216159 communique
Patent documentation 2: TOHKEMY 2005-346165 communique
But, according to the prior art of above-mentioned that kind,, then it has been pasted texture image owing to make the object distortion that is covered by countless polygons, so, must correspondence wave and recomputate polygonal summit, exist the heavier problem of bearing of handling.
Summary of the invention
The present invention proposes in order to solve such problem, and its purpose is, image processing apparatus, image processing method, information recording carrier and the program that can show rocking action simply are provided.
In order to achieve the above object, according to principle of the present invention, open following invention.
The image processing apparatus that the 1st viewpoint of the present invention relates to has: storage part, update portion and generation display part.
Storage portion stores is pasted the 1st polygonal region of the 1st texture image and is pasted the 2nd polygonal region position and the shape separately of the 2nd texture image.
Update portion is upgraded the shape of storing in the storage part; So that in the vertex position beyond the end points on the 1st polygonal region and the 2nd polygonal region regulation one side separately; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations; The position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations.
Generate display part according to position of storing in the storage part and shape, generate and show the 1st polygonal region has been pasted the 1st texture image, the 2nd polygonal region has been pasted the image of the 2nd texture image.
Image processing apparatus of the present invention generates and is presented on the polygonal region that is disposed in the Virtual Space has pasted texture image, the image of the appearance of viewpoint position in direction of visual lines has been observed the Virtual Space that comprises this polygonal region in the Virtual Space.Polygonal region for example is shapes such as rectangle, square, parallelogram, quadrilateral such as trapezoidal or triangle.Image processing apparatus can be set polygonal region in the optional position in the Virtual Space.In texture image, drawing becomes the pattern that shows the object that waves.For example, under the situation of the appearance that hope performance leaf waves with the wind, draw the pattern of leaf, under the situation of the appearance that hope performance pasture and water wave with current, in texture image, draw the pattern of pasture and water as static picture.
The 1st polygonal region and the 2nd polygonal region are arranged, shape variable separately in the polygonal region.Image processing apparatus makes the shape of the 1st polygonal region according to being out of shape with the mode of the 1st periodic oscillations, and the shape that makes the 2nd polygonal region is according to being out of shape with the mode of the 2nd periodic oscillations.The 1st cycle can be identical with the 2nd cycle, also can be different.And the amplitude of swing can be identical, also can be different.Then, 1st polygonal region of image processing apparatus after distortion pasted the 1st texture image, and the 2nd polygonal region after distortion is pasted the 2nd texture image.The 1st texture image can be identical with the 2nd texture image, also can be different.
For example; If with regular opportunitys such as vertical synchronization interruptions; The shape that makes the 1st polygonal region and the 2nd polygonal region changes according to the mode of swing, then can show to the pattern (the for example pattern of leaf or pasture and water etc.) drawn in the 1st texture image and the 2nd texture image to the left and right, go up the animation that inferior appearance of waving is represented.According to the present invention,, can show the action of waving as long as image processing apparatus is handled the figure deformation in the smaller UV space of this calculated load of change in shape of polygonal region of stickup object of texture image.
Update portion can make the 1st polygonal region and the 2nd polygonal region this regulation position consistency on one side separately, the 1st texture image is carried out affine conversion make its distortion, the 2nd texture image is carried out affine conversion make its distortion.
That is, as the deformation method of the 1st polygonal region and the 2nd polygonal region, image processing apparatus can adopt and make figure through moving, rotate, reverse, amplify or dwindling the affine conversion of being out of shape, used the affine matrix of regulation.As long as change each ranks key element of affine matrix, just can realize the method for various distortion.
The 1st polygonal region may reside on the same plane in the Virtual Space with the 2nd polygonal region.
And update portion can change the shape of the 1st polygonal region and this shape of the 2nd polygonal region through making the 2nd polygonal region to being out of shape with the direction in the opposite direction of the 1st polygonal region distortion.
For example; The 1st polygonal region under the original state (state before waving) and the shape of the 2nd polygonal region all are made as rectangle; Through making the 1st polygonal region tilt to make it be deformed into parallelogram, tilt to make it be deformed into parallelogram to the direction opposite with prescribed direction through making the 2nd polygonal region to prescribed direction.And, the shape that makes the 1st polygonal region and the 2nd polygonal region along with the time through together swingingly changing.So, can show as such rocking action that swings back and forth at same position.That is, a plurality of through the pattern of 1 object is specially drawn out with the mode of image retention, can wave or mobile appearance to visual and understandable ground of user represented object.But, shape is not limited to rectangle and parallelogram.
The image processing apparatus that other viewpoints of the present invention relate to has: storage part, update portion and generation display part.
Storage portion stores is pasted the position and the shape of the polygonal region of one or more texture images.
Update portion is upgraded the shape of storing in the storage part, so that swing with the direction that the cycle of regulation extends to this regulation on one side the position on the regulation of this polygonal region end points on one side summit in addition.
Generate display part generation and demonstration according to position of storing in the storage part and shape, pasted the image of one or more these texture images to this polygonal region.
The shape variable of polygonal region.Constitute regulation one side of the figure of polygonal region, constant at the shape variation front and back position.This regulation is called fixed edge on one side.The mode that image processing apparatus makes the shape of polygonal region swing according to the direction of extending to fixed edge with the cycle of regulation is out of shape.Then, the polygonal region of image processing apparatus after distortion pasted the texture image of regulation.Texture image can be 1, also can be a plurality of.
For example; If with regular opportunitys such as vertical synchronization interruptions; The shape that makes polygonal region changes according to the mode of swing slowly, then can show to the pattern (the for example pattern of leaf or pasture and water etc.) drawn in the texture image to the left and right, go up the animation that inferior appearance of waving is represented.According to the present invention, as long as image processing apparatus is handled the figure deformation in the smaller UV space of this calculated load of change in shape of polygonal region of stickup object of texture image, just can show the action of waving.
The shape that update portion is further stored in the updated stored portion is so that the position on summit that should be beyond the regulation end points on one side, to the vertical direction of direction of extending on one side with this regulation, with the periodic oscillations of this regulation.
That is, the shape of polygonal region is in the direction distortion of extending to fixed edge, also to being out of shape with the vertical direction of direction that fixed edge extends.For example, can avoid seeing that the pattern of drawing in the texture image is flexible artificially.According to the present invention, can show more natural rocking action simply.
The shape that update portion is stored in can updated stored portion, so as fixing should regulation on one side, and with the periodic oscillations of this regulation.
In the present invention, the 1st polygonal region and the 2nd polygonal region are configured to, on one side represent polygonal regulation one side of the 1st polygonal region and represent that the polygonal regulation of the 2nd polygonal region is present on the same straight line.That is, represent the polygonal fixed edge of the 1st polygonal region and represent that the polygonal fixed edge of the 2nd polygonal region is configured on the same straight line.
For example, under the situation of the appearance that hope performance leaf waves with the wind, the position that in the direction of the branch of the leaf of having grown, promptly comprises the root of leaf is provided with fixed edge.For example, under the situation of the appearance that hope performance pasture and water wave with current, the position that in the direction on the ground of the pasture and water that grown, promptly comprises the root of pasture and water is provided with fixed edge.Through fixed edge so is set, the appearance of can more understandable ground represented object waving.Wherein, preferably at the 1st polygonal region and the 2nd polygonal region distortion front and back separately, the invariant position of fixed edge.
The image processing method that other viewpoints of the present invention relate to is carried out by the image processing apparatus with storage part, update portion and generation display part, and it comprises step of updating and generates step display.
In storage part, store the 1st polygonal region of pasting the 1st texture image and the 2nd polygonal region position and the shape separately of pasting the 2nd texture image.
In step of updating; By update portion the shape of storing in the storage part is upgraded; So that in the position on the 1st polygonal region and the 2nd polygonal region regulation separately end points on one side summit in addition; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations, and the position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations.
In generating step display, by generating the display part generation and showing, the 1st polygonal region has been pasted the 1st texture image according to position of storing in the storage part and shape, the 2nd polygonal region has been pasted the image of the 2nd texture image.
According to the present invention, as long as the figure deformation in the smaller UV space of this calculated load of change in shape of polygonal region of stickup object of texture image is handled, just can show the action of waving simply.
The information recording carrier that other viewpoints of the present invention relate to makes computing machine as storage part, update portion and generation display part performance function.
Storage portion stores is pasted the 1st polygonal region of the 1st texture image and is pasted the 2nd polygonal region position and the shape separately of the 2nd texture image.
Update portion is upgraded the shape of storing in the storage part; So that in the position on the 1st polygonal region and the 2nd polygonal region regulation separately end points on one side summit in addition; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations; The position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations.
Generate display part generation and demonstration according to position of storing in the storage part and shape, the 1st polygonal region has been pasted the 1st texture image, the 2nd polygonal region has been pasted the image of the 2nd texture image.
According to the present invention, can make computing machine as the image processing apparatus performance function of as above-mentioned, moving.
The program that other viewpoints of the present invention relate to makes computing machine as storage part, update portion and generation display part performance function.
Storage portion stores is pasted the 1st polygonal region of the 1st texture image and is pasted the 2nd polygonal region position and the shape separately of the 2nd texture image.
Update portion is upgraded the shape of storing in the storage part; So that in the position on the 1st polygonal region and the 2nd polygonal region regulation separately end points on one side summit in addition; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations; The position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations.
Generate display part generation and demonstration according to position of storing in the storage part and shape, the 1st polygonal region has been pasted the 1st texture image, the 2nd polygonal region has been pasted the image of the 2nd texture image.
According to the present invention, can make computing machine as the image processing apparatus performance function of as above-mentioned, moving.
In addition, program of the present invention can be recorded in the recording medium of embodied on computer readable such as compact disk, floppy disk, hard disk, photomagneto disk, digital video disc, tape, semiconductor memory.
Said procedure can be independent of the computing machine of this program of execution and issue, sells through computer communication network.In addition, above-mentioned information recording carrier can be independent of computing machine and issues, sells.
According to the present invention, a kind of image processing apparatus, image processing method, information recording carrier and program that is used for showing simply rocking action can be provided.
Description of drawings
Fig. 1 is the figure of summary structure that expression can realize the typical signal conditioning package of game device of the present invention.
Fig. 2 is the figure that is used to explain the functional structure of image processing apparatus.
Fig. 3 A is the structure example of the 1st texture image.
Fig. 3 B is the structure example of the 2nd texture image.
Fig. 4 is the figure that is used to explain the 1st polygonal region, the 2nd polygonal region.
Fig. 5 A is the figure of the 1st polygonal region before the expression distortion.
Fig. 5 B is the figure of the 1st polygonal region after the expression distortion.
Fig. 5 C is the figure of the 1st polygonal region after the expression distortion.
Fig. 6 A is the figure of the 2nd polygonal region before the expression distortion.
Fig. 6 B is the figure of the 2nd polygonal region after the expression distortion.
Fig. 6 C is the figure of the 2nd polygonal region after the expression distortion.
Fig. 7 A is used for the figure of explanation with the processing of tetragonal the 1st polygonal region (or the 2nd polygonal region) distortion.
Fig. 7 B is used for the figure of explanation with the processing of leg-of-mutton the 1st polygonal region (or the 2nd polygonal region) distortion.
Fig. 8 A is used for the key diagram picture to generate the figure that handles.
Fig. 8 B is used for the key diagram picture to generate the figure that handles.
Fig. 9 A is expression generates the example of handling the image that generates through image figure.
Fig. 9 B is expression generates the example of handling the image that generates through image figure.
Fig. 9 C is expression generates the example of handling the image that generates through image figure.
Figure 10 A is expression generates the example of handling the image that generates through image figure.
Figure 10 B is expression generates the example of handling the image that generates through image figure.
Figure 11 is used for the key diagram picture to generate the process flow diagram of handling.
Figure 12 A is used for explanation at embodiment 2,1 polygonal region is pasted the figure that in the past handled of 1 texture image.
Figure 12 B is the example of the image retention performance in caricature etc., used.
Figure 12 C is the figure that is used for explaining the texture image that the present invention's the 1st polygonal region and the 2nd polygonal region is shared.
Figure 12 D is used to explain that image of the present invention generates the figure that handles.
Figure 13 is illustrated in the embodiment 2, the figure of the example of the relation of effluxion and angle θ.
Figure 14 A is used for explanation at embodiment 3, with the figure of the processing of the 1st polygonal region and the 2nd polygonal region distortion.
Figure 14 B is used for explanation at embodiment 3, with the figure of the processing of the 1st polygonal region and the 2nd polygonal region distortion.
Figure 15 A is used for explanation at embodiment 4, with the figure of the processing of the 1st polygonal region distortion.
Figure 15 B is used for explanation at embodiment 4, with the figure of the processing of the 1st polygonal region distortion.
Figure 15 C is used for explanation at embodiment 4, with the figure of the processing of the 1st polygonal region distortion.
Figure 16 is illustrated in the embodiment 4, the figure of the example of the relation of height of elapsed time and the 1st polygonal region.
Among the figure: the 100-signal conditioning package; 101-CPU; 102-ROM; 103-RAM; The 104-interface; The 105-controller; The 106-external memory storage; The 107-DVD-ROM driver; The 108-image processing part; 109-acoustic processing portion; 110-NIC; The 200-image processing apparatus; The 201-storage part; The 202-update portion; 203-generates display part; 251-the 1st sticking area information; 252-the 2nd sticking area information; 310-the 1st texture image; 311~314-summit; The 315-transparent region; The 316-zone of opacity; 320-the 2nd texture image; 321~324-summit; The 325-transparent region; The 326-zone of opacity; The 400-picture; 410-the 1st polygonal region; 420-the 2nd polygonal region; The 510-fixed edge; 511~514-summit; Zone of opacity on the 515-fixed edge; The 610-fixed edge; 611~614-summit; Zone of opacity on the 615-fixed edge; 701~703-track; The 1201-polygonal region; The 1202-texture image; The 1203-straight line; The 1st polygonal region (or the 2nd polygonal region) before the 1400-distortion; 1401~1404-summit; The 1405-fixed edge; Zone of opacity on the 1406-fixed edge; The 1st polygonal region after the 1410-distortion; The 2nd polygonal region after the 1420-distortion.
Embodiment
(embodiment 1)
Below, embodiment of the present invention is described.Below, for the ease of understanding, realize that with signal conditioning package embodiment of the present invention describes, but following embodiment is used to just describe to utilizing recreation, do not constitute limitation of the scope of the invention.Therefore, present technique field personnel can adopt with these each key elements or all key element be replaced as the embodiment of the key element impartial with it, these embodiments also belong to scope of the present invention.
Fig. 1 be expression through executive routine, bring into play the synoptic diagram of summary structure of typical signal conditioning package 100 of the function of image processing apparatus of the present invention.Describe with reference to this figure below.
Signal conditioning package 100 has: CPU (Central Processing Unit) 101, ROM (Read Only Memory) 102, RAM (Random Access Memory) 103, interface 104, controller 105, external memory storage 106, DVD-ROM (Digital VersatileDisk-Read Only Memory) driver 107, image processing part 108, acoustic processing portion 109 and NIC (Network Interface Card) 110.
Be encased in DVD-ROM driver 107 through the DVD-ROM that will preserve game program and data, and connect the power supply of signal conditioning package 100, this program is performed, thereby can realize the image processing apparatus of this embodiment.
The action of CPU101 control information treating apparatus 100 integral body is connected with each inscape, exchanges control signal and data each other.And; CPU101 can carry out the storage area of high speed access to register (not shown) etc., use ALU (Arithmetic Logic Unit) (not shown) carry out arithmetical operation such as addition subtraction multiplication and division, logic and, logical operations such as logical multiply, logic NOT, position and, bit arithmetics such as the position takes advantage of, bit reversal, displacement, a circulation etc.And, also exist by CPU101 self to constitute or through possessing the device that the collaborative process device is realized, can be used to tackle saturation arithmetics such as addition subtraction multiplication and division that multimedia handles, trigonometric function etc., vector calculus etc. at a high speed.
Record the IPL (Initial ProgramLoader) that after energized, carries out immediately among the ROM102,, the program that is recorded in DVD-ROM is read among the RAM103, begin to carry out by CPU101 through carrying out this program.And, record program and various data that necessary operating system is controlled in signal conditioning package 100 whole actions among the ROM102.
RAM103 is used for temporarily preserving data and program, its program that keeps reading from DVD-ROM and data and necessary data the carrying out that plays and conversational communication.And CPU101 carries out the variable zone is set in RAM103, to being stored in the value in this variable zone; Directly use ALU to carry out computing; The value that maybe will be stored among the RAM103 temporarily is saved in the register, and this register is carried out computing, with the medium processing of operation result write store again.
The operation that controller 105 accepted users that connect through interface 104 carry out when carrying out recreation such as dancing and game or football game is imported.
In connect into plug external memory storage 106 freely through interface 104, can preserve the data etc. of daily record (record) of conversational communication of recreation of the data of carrying out state and use network of data, the expression recreation of the game state (achievement in past etc.) of expression recreation with rewriting.The user indicates input through using controller 105, can these data be recorded in the external memory storage 106 rightly.
In the DVD-ROM that is loaded into DVD-ROM driver 107, record and be used for realizing program view data and the voice data subsidiary of playing with recreation.Under the control of CPU101,107 couples of DVD-ROM that are loaded into wherein of DVD-ROM driver read processing, read necessary programs and data, and they temporarily are saved among RAM103 etc.
Image processing part 108 has carried out after the processed the data of reading from DVD-ROM at the image operation processor (not shown) that is possessed by CPU101 and image processing part 108, and it is recorded in the frame memory (not shown) that image processing part 108 possessed.Images recorded information is converted to vision signal by the synchronization timing with regulation in the frame memory, is outputed to the display (not shown) that is connected with image processing part 108 then.Thus, can carry out various images shows.
The overlapping computing, α that the image operation processor can be carried out 2 dimension images at a high speed such as mixes at perspective computing and various saturation arithmetic.
And; Can also carry out the polygon information that will be configured in virtual 3 dimension spaces and added various texture informations at a high speed; Adopt the Z buffer method to play up, to obtain having looked down the computing that is configured in the polygonal rendering image in virtual 3 dimension spaces to the direction of visual lines of regulation from the viewpoint position of regulation.
And,, can character string be drawn to frame memory as 2 dimension images, or draw according to the font information of definition literal shape to each polygon surface through CPU101 and image operation processor interoperation.
In addition, be kept in advance among the DVD-ROM, and it launched in frame memory through information such as image with recreation, can be in the appearance of screen displayed recreation etc.
Acoustic processing portion 109 will convert analoging sound signal to from the voice data that DVD-ROM reads, and export from connected loudspeaker (not shown).And, under the control of CPU101, be created on the effect sound and the music data that should take place in the process of carrying out of recreation, and from the loudspeaker output sound corresponding with it.
In acoustic processing portion 109, when the voice data that writes down among the DVD-ROM is the MIDI data,, the MIDI data-switching is become the PCM data with reference to its sound source data that has.In addition, being that compressions such as ADPCM (Adaptive Differential Pulse Code Modulation) form or Ogg Vorbis form finish under the situation of voice data,, convert the PCM data to its expansion.Change through the PCM data are carried out D/A (Digital/Analog) with the sequential corresponding with its SF, and, can realize voice output from loudspeaker output.
NIC110 is used for computer communication networks (not shown) such as signal conditioning package 100 and internet are connected, its by the equipment of abideing by 10base-T/100BASE-T standard that when constituting LAN (Local Area Network), uses or the analog modem, ISDN (Integrated Services Digital Network) modulator-demodular unit, ADSL (the Asymmetric Digital Subscriber Line) modulator-demodular unit that are used to use telephone line and Internet connection, interface (not shown) formation that is used to use the cable modem etc. of catv line and Internet connection and carries out the intermediary between these modulator-demodular units and the CPU101.
In addition, signal conditioning package 100 also can constitute high capacity external memories such as using hard disk, realizes with ROM102, RAM103, external memory storage 106, is installed in the identical functions such as DVD-ROM in the DVD-ROM driver 107.
Then, the image processing apparatus 200 performed processing to this embodiment describe.
Fig. 2 is the figure that is used to explain the functional structure of image processing apparatus 200.
Fig. 3 A is the figure that is illustrated in by the example that is disposed at the 1st texture image of pasting in the figured zone in the Virtual Space (below be called " polygonal region ") 310.In this figure,, in the 1st texture image 310, drawn the pattern of leaf as an example.
Fig. 3 B is the figure that is illustrated in the example of the 2nd texture image of pasting in the polygonal region that is disposed in the Virtual Space 320.In this figure,, in the 2nd texture image 320, drawn the leaf pattern different with the 1st texture image 310 as an example.
Fig. 4 is used for figure that the polygonal regions in the picture displayed on the display 400 are described.Have the 1st polygonal region 410 and the 2nd polygonal region 420 in the polygonal region.
The figure of 200 pairs of expressions of the image processing apparatus of this embodiment the 1st polygonal region 410 is implemented image transitions such as affine conversion, changes shape, on the 1st polygonal region 410 after the image transitions, pastes the 1st texture image 310.And the figure of 200 pairs of expressions of image processing apparatus the 2nd polygonal region 420 is implemented image transitions such as affine conversion, changes shape, on the 2nd polygonal region 420 after the image transitions, pastes the 2nd texture image 320.Image processing apparatus 200 will so be played up and the image that obtains is shown in the picture 400.Be elaborated below.
At first, each one to image processing apparatus 200 describes.Image processing apparatus 200 has: storage part 201, update portion 202 and generation display part 203.
Storage part 201 storage the 1st sticking area information 251 and the 2nd sticking area information 252.CPU101 and RAM103 interoperation are as storage part 201 performance functions.
The 1st sticking area information 251 is that the position and the shape of the 1st polygonal region 410 that paste the 1st such shown in Fig. 3 A texture image 310 are carried out specified message.Equally, the 2nd sticking area information 252 is that position and the shape that paste the 2nd polygonal region 420 of the 2nd texture image 320 of that kind shown in Fig. 3 B are carried out specified message.
The position of the 1st polygonal region 410 and the 2nd polygonal region 420 is represented as in picture 400 coordinate figure of the X-Y coordinate system of definition respectively.For example, through the coordinate figure of any summit of the figure that constitutes the 1st polygonal region 410 or focus point etc. is specified, can uniquely confirm the 1st position of polygonal region 410 in picture 400.For the 2nd polygonal region 420 also is same.
The 1st polygonal region 410 and the 2nd polygonal region 420 are configured on the same plane in the Virtual Space.
The shape of the 1st polygonal region 410 and the 2nd polygonal region 420 is respectively triangle, quadrilateral shapes such as (typical situation are a rectangle or trapezoidal).
As after state, CPU101 can change the position and the shape of the 1st polygonal region 410.Equally, CPU101 can change the position and the shape of the 2nd polygonal region 420.
The 1st polygonal region 410 and the 2nd polygonal region 420 can respectively be set 1 respectively in picture 400, also can set a plurality of.Under the situation of setting a plurality of the 1st polygonal regions 410 (or the 2nd polygonal region 420), the 1st sticking area information 251 (or the 2nd sticking area information 252) that storage part 201 storages are represented the position and the shape of each the 1st polygonal region 410 (or the 2nd polygonal region 420).
Wherein, the shape of the 1st polygonal region 410 can also be confirmed as 251 storages of the 1st sticking area information in the position (coordinate figure) on all summits of the figure of storage part 201 through will constituting the 1st polygonal region 410.For example, CPU101 will connect adjacent vertex line segment each other, as one side of the figure of representing the 1st polygonal region 410.CPU101 obtains line segment each other to all adjacent vertexs, and the line segment that connection is obtained and the figure that forms are as the shape of the 1st polygonal region 410.For the 2nd polygonal region 420 too.
And storage part 201 is stored the 1st texture image 310 that the 1st polygonal region 410 is pasted and the 2nd texture image 320 that the 2nd polygonal region 420 is pasted in advance.
Transparent region 315 and zone of opacity 316 are arranged in the 1st texture image 310.Zone of opacity 316 for example is the image-region that the such opaque color of use of above-mentioned leaf pattern is drawn.Transparent region 315 is the zones beyond the zone of opacity 316.Equally, transparent region 325 and zone of opacity 326 are also arranged in the 2nd texture image 320.
Storage part 201 also can store the 1st sticking area information the 251, the 2nd sticking area information the 252, the 1st texture image the 310, the 2nd texture image 320 in other the storer such as external memory storage 106 into.
202 pairs the 1st sticking area information 251 of update portion and the 2nd sticking area information 252 are upgraded; So that the 1st polygonal region 410 and the 2nd polygonal region 420 regulation separately on one side; Consistent at certain time point; And make the vertex position beyond this regulation end points on one side, in the 1st polygonal region 410,, in the 2nd polygonal region 420, swing respectively and change shape with the 2nd cycle with the 1st cycle.CPU101, RAM103, image processing part 108 are through interoperation, as update portion 202 performance functions.
In the 1st polygonal region 410 and in the 2nd polygonal region 420, definition has local coordinate system (U-V coordinate system) respectively.
Fig. 5 A, Fig. 5 B, Fig. 5 C are the figure of the appearance that changes of shape of expression the 1st polygonal region 410.
Fig. 6 A, Fig. 6 B, Fig. 6 C are the figure of the appearance that changes of shape of expression the 2nd polygonal region 420.In order to understand the present invention easily, the shape set that illustrates the 1st polygonal region 410 under the state (original state) before the change shape is rectangular situation.
Wherein, Among Fig. 5 A~Fig. 5 C, Fig. 6 A~Fig. 6 C; In the 1st polygonal region 410, pasted the 1st texture image 310; In the 2nd polygonal region 420, pasted the 2nd texture image 320,, will in the explanation of the structure that generates display part 203, be elaborated about the processing that the 1st polygonal region 410 and the 2nd polygonal region 420 are pasted the 1st texture image 310 and the 2nd texture image 320 respectively.
CPU101 is through having used the affine conversion of the affine matrix of stipulating, with the figure deformation of expression the 1st polygonal region 410.Fig. 5 A has represented the 1st polygonal region 410 under the state (original state) before the affine conversion.Fig. 5 B, Fig. 5 C have represented the 1st polygonal region 410 after the affine conversion.
CPU101 will connect the line segment on adjacent 2 summits 511,512 of the 1st polygonal region 410, as above-mentioned regulation (below be called " fixed edge ") 510 on one side.Fixed edge 510 is constant at affine conversion front and back position.
In following explanation, will, be expressed as " L " to the parameter that the size of the axial amount of movement of U is represented to the opposite side (line segment that connects 2 summits 513,514) of fixed edge 510.To be expressed as " θ " to by the one side of the line segment performance that connects summit 512,513 and the parameter represented by the size of the angle of one side inclination of the line segment performance that is connected summit 511,514.
Equally, will, be expressed as " M " to the parameter that the size of the axial amount of movement of U is represented to the opposite side (line segment that connects 2 summits 613,614) of fixed edge 610.To be expressed as " φ " to by the one side of the line segment performance that connects summit 612,613 and the parameter represented by the size of the angle of one side inclination of the line segment performance that is connected summit 611,614.
After the generation display part 203 stated the 1st texture image 310 is pasted the 1st polygonal region 410; And when the 2nd texture image 320 is pasted the 2nd polygonal region 420, preferably constitute the zone of opacity 515 on the fixed edge 510 in all pixel datas of the 1st texture image 310 the position, with all pixel datas that constitute the 2nd texture image 320 in fixed edge 610 on the position of zone of opacity 615 identical.
For example; Before and after the distortion of carrying out the 1st polygonal region 410 and the 2nd polygonal region 420 in update portion 202; The leaf root part of the leaf of drawing in the 1st texture image 310 all the time with the 2nd texture image 320 in the consistent mode of leaf root part of the leaf drawn, generate the 1st texture image 310 and the 2nd texture image 320.Like this, can show the rocking action of leaf more naturally.
For example; CPU101 is through such shown in Fig. 5 B; Under the state that the position and the direction of fixed edge 510 are fixed; The opposite side (line segment that connects 2 summits 513,514) that makes fixed edge 510 is to the parallel displacement L of the negative direction of U axle, thus the 1st polygonal region 410 is deformed into parallelogram from rectangle.In other words, one side CPU101 is according to the mode by the line segment one side of representing and the tilt angle theta represented by the line segment that is connected summit 511,514 that connect summit 512,513, with 410 distortion of the 1st polygonal region.
Distance L is variable in the scope of 0≤L≤LA.Angle θ is variable in the scope of 0≤θ≤θ A.Distortion shown in this figure is commonly referred to as cuts off distortion.
For example, CPU101 is through such shown in Fig. 5 C, and under the state that fixed edge 510 is fixing, the opposite side that makes fixed edge 510 is to the parallel displacement L of the positive dirction of U axle, thus the 1st polygonal region 410 is deformed into parallelogram from rectangle.In other words, one side CPU101 is according to the mode by the line segment one side of representing and the tilt angle theta represented by the line segment that is connected summit 511,514 that connect summit 512,513, with 410 distortion of the 1st polygonal region.
Distance L is variable in the scope of 0≤L≤LB.Angle θ is variable in the scope of 0≤θ≤θ B.
For example, CPU101 also can make up the distortion shown in the distortion shown in Fig. 5 B and Fig. 5 C.That is, CPU101 makes the opposite side of fixed edge 510, along with the process of time, according to the maximum parallel mobile LA of the negative direction of U axle, to the mode oscillating motion of the maximum parallel mobile LB of positive dirction of U axle.
In other words; CPU101 is according to line segment one side of representing and one side of being represented by the line segment that is connected summit 511,514 by connection summit 512,513; To the negative direction maximum inclination θ of U axle A, the mode to the positive dirction maximum inclination θ of U axle B makes its oscillating motion.Hunting period separately can be identical, also can be different.
CPU101 uses the position of the 1st polygonal region 410 after changing and the information that shape is represented, upgrades the 1st sticking area information 251.
Equally, CPU101 is through having used the affine conversion of the affine matrix of stipulating, with the figure deformation of expression the 2nd polygonal region 420.Fig. 6 A has represented the 2nd polygonal region 420 under the state (original state) before the affine conversion.Fig. 6 B and Fig. 6 C represent the 2nd polygonal region 420 after the affine conversion.
CPU101 will connect the line segment on adjacent 2 summits 611,612 of the 2nd polygonal region 420, as fixed edge 610.Fixed edge 610 is same with fixed edge 510, and is constant at affine conversion front and back position.
For example; CPU101 is through such shown in Fig. 6 B; Under the state that the position of fixed edge 610 and direction is fixing, the opposite side that makes fixed edge 610 is to the parallel displacement M of the negative direction of U axle, thus the 2nd polygonal region 420 is deformed into parallelogram from rectangle.In other words, one side CPU101 is according to the mode by the line segment one side represented and angles of inclination φ that is represented by the line segment that is connected summit 611,614 that connect summit 612,613, with 420 distortion of the 2nd polygonal region.
Variable in the scope of 0≤M≤MA apart from M.Angle φ is variable in the scope of 0≤φ≤φ A.
For example, CPU101 is through such shown in Fig. 6 C, and under the state that fixed edge 610 is fixing, the opposite side that makes fixed edge 610 is to the parallel displacement M of the positive dirction of U axle, thus the 2nd polygonal region 420 is deformed into parallelogram from rectangle.In other words, one side CPU101 is according to the mode by the line segment one side represented and angles of inclination φ that is represented by the line segment that is connected summit 611,614 that connect summit 612,613, with 420 distortion of the 2nd polygonal region.
Distance L is variable in the scope of 0≤M≤MB.Angle φ is variable in the scope of 0≤φ≤φ B.
For example, CPU101 also can make up the distortion shown in the distortion shown in Fig. 6 B and Fig. 6 C.That is, CPU101 makes the opposite side of fixed edge 610, and along with the process of time, according to the maximum parallel mobile MA of the negative direction of U axle, the mode to the maximum parallel mobile MB of positive dirction of U axle makes its oscillating motion.In other words; CPU101 is according to line segment one side of representing and one side of being represented by the line segment that is connected summit 611,614 by connection summit 612,613; To the negative direction maximum inclination φ of U axle A, the mode to the positive dirction maximum inclination φ of U axle B makes its oscillating motion.Hunting period separately can be identical, also can be different.
CPU101 uses the position of the 2nd polygonal region 420 after changing and the information that shape is represented, upgrades the 2nd sticking area information 252.
The 1st polygonal region 410 and the 2nd polygonal region 420 regulation separately is meant that the fixed edge 510 of the 1st polygonal region 410 is present on the identical straight line at certain time point with the fixed edge 610 of the 2nd polygonal region 420 jointly in that certain time point is consistent on one side.Under the typical situation, " certain time point " is meant the original state before the affine conversion.The fixed edge 10 of the 1st polygonal region 410 and the fixed edge 610 of the 2nd polygonal region 420 also can be present on the same straight line all the time.
Wherein, the image that CPU101 waves according to the hope performance from polygonal each limit of representing the 1st polygonal region 410 and the 2nd polygonal region 420, is suitably selected 1 respectively as fixed edge 510,610.For example, if hope the appearance that leaf that performance is hung down from branch waves with the wind, then at direction setting fixed edge 510,610 along the branch of the leaf of having grown.For example, wave mobile appearance along with flowing of seawater, then at direction setting fixed edge 510,610 along the seabed of the sea grass that grown if hope the sea grass such as sea-tangle or marine alga of the marine growth of performance.
Through setting fixed edge 510,610 like this, can more clearly show and be not that object is moving around, but the appearance that object waves under the state that certain part is fixed.
The shape of the 1st polygonal region 410 and the 2nd polygonal region 420 is not limited to rectangle or parallelogram.For example, also can be shown in Fig. 7 A such, be arbitrary quadrilateral with the shape set of the 1st polygonal region 410 before and after the distortion with summit 511~514.CPU101 also can be according to other summits 513,514 beyond the summit 511,512 at fixed edge 510 two ends, and the mode of reciprocally swinging on the track 701,702 of regulation is out of shape the 1st polygonal region 410 respectively.The hunting period on preferred summit 513 is identical with the hunting period on summit 514.
In addition, for example also can be shown in Fig. 7 B such, be arbitrary triangle with the shape set of the 1st polygonal region 410 before and after the distortion with summit 511~513.CPU101 also can be according to the mode of other summits 513 reciprocally swinging on the track 703 of regulation beyond the summit 511,512 at fixed edge 510 two ends, with 410 distortion of the 1st polygonal region.
Equally, the shape of the 2nd polygonal region 420 also can be set at the arbitrary quadrilateral with summit 611~614 or have the arbitrary triangle on summit 611~613.That is, in Fig. 7 A, Fig. 7 B, as long as summit 511~514 is replaced to summit 611~614, fixed edge 510 is replaced to fixed edge 610.
Then; Generate the 1st sticking area information 251 that display part 203 generates according to storage in the storage part 201; On the 1st polygonal region 410, pasted the 1st texture image 310; According to the 2nd sticking area information 252 of storage in the storage part 201, on the 2nd polygonal region 420, pasted the image of the 2nd texture image 320, and the image that generates has been shown on the display.CPU101, RAM103, image processing part 108 interoperations are as generating display part 203 performance functions.
Particularly; Shape at the 1st polygonal region 410 is under the tetragonal situation; Such shown in Fig. 8 A; CPU101 controls image processing part 108, the summit 311 through making the 1st texture image 310 and the summit of the 1st polygonal region 410 be 511 corresponding, make summit 312 and summit 512 corresponding, make summit 313 and summit 513 corresponding, make summit 314 corresponding with summit 514, the 1st texture image 310 is pasted on the 1st polygonal region 410.
Equally; Shape at the 2nd polygonal region 420 is under the tetragonal situation; The summit 321 that CPU101 makes the 2nd texture image 320 and the summit of the 2nd polygonal region 420 be 611 corresponding, make summit 322 and summit 612 corresponding, make summit 323 and summit 613 corresponding, make summit 324 corresponding with summit 614, the 2nd texture image 320 is pasted on the 2nd polygonal region 420.
In following explanation, CPU101 is controlled image processing part 108, generate the 1st texture image 310 and the 2nd texture image 320 are pasted the treatment of picture on the 1st polygonal region 410 and the 2nd polygonal region 420 respectively, be called image and generate processing.
Shape at the 1st polygonal region 410 is under the leg-of-mutton situation; Such shown in Fig. 8 B; CPU101 controls image processing part 108; The summit 311 that makes the 1st texture image 310 and the summit of the 1st polygonal region 410 be 511 corresponding, make summit 312 and summit 512 corresponding, make summit 313 and summit 314 all corresponding with summit 513, the 1st texture image 310 is pasted on the 1st polygonal region 410.
Equally; Shape at the 2nd polygonal region 420 is under the leg-of-mutton situation; The summit 321 that CPU101 makes the 2nd texture image 320 and the summit of the 2nd polygonal region 420 be 611 corresponding, make summit 322 and summit 612 corresponding, make summit 323 and summit 324 all corresponding with summit 613, the 2nd texture image 320 is pasted on the 2nd polygonal region 420.
Fig. 9 A~Fig. 9 C is under the shape of the 1st polygonal region 410 before making distortion and the position, shape of the 2nd polygonal region 420 before the distortion, the big or small identical situation, the example that CPU101 has pasted the 1st texture image 310, the 2nd polygonal region 420 pasted the image of the 2nd texture image 320 the 1st polygonal region 410.Before Fig. 9 A representes the distortion of the 1st polygonal region 410 and the 2nd polygonal region 420, after Fig. 9 B, Fig. 9 C represent distortion.
CPU101 is according to fixing the position and the direction of the fixed edge 510 of the 1st polygonal region 410, and with the 1st hunting period of regulation, the mode of unit interval deformation angle θ is with 410 distortion of the 1st polygonal region.And; CPU101 is according to the position and the direction of the fixed edge 610 of the 2nd polygonal region 420 are fixed; With the 2nd hunting period of regulation, to the mode of the direction unit interval deformation angle φ opposite, with 420 distortion of the 2nd polygonal region with the deformation direction of the 1st polygonal region 410.
If hypothesis is identical with being made as the 1st hunting period (hunting period of the 1st polygonal region 410) and the 2nd hunting period (hunting period of the 2nd polygonal region 420), the image that then generates changes according to the order of Fig. 9 A, Fig. 9 B, Fig. 9 A, Fig. 9 C.Through CPU101 repeatedly carries out image generate to handle, can generate as leaf of in the 1st texture image 310, drawing and the leaf in the 2nd texture image 320, drawn alternately such each other, the wiggly animated image of leaf.
Figure 10 A and Figure 10 B are with the 1st texture image 310 shown in Fig. 3 A and the 2nd texture image 320 shown in Fig. 3 B, and the 1st polygonal region 410 that pastes Fig. 4 respectively is with the 2nd polygonal region 420 and an example of the image of formation.Though in order to understand the present invention easily, represented the edge of the 1st polygonal region 410 and the edge of the 2nd polygonal region 420 with solid line, these edges can not be shown in display.
Shown in Figure 10 A and Figure 10 B; When in picture 400, having a plurality of the 1st polygonal regions 410 (and/or the 2nd polygonal region 420); CPU101 implements affine conversion etc. to each the 1st polygonal region 410 (and/or the 2nd polygonal region 420); Make its change in shape, paste the 1st texture image 310 (and/or the 2nd texture image 320).The deformation method of each the 1st polygonal region 410 (and/or the 2nd polygonal region 420) can be identical, also can be different.
For example; If in picture 400, set a plurality of the 1st polygonal regions 410 (and/or the 2nd polygonal region 420); And use identical affine matrix to make its distortion to the 1st all polygonal region 410 (and/or the 2nd polygonal region 420); Paste the 1st texture image 310 (and/or the 2nd texture image 320), then can generate the image that appearance that the pattern drawn in the 1st texture image 310 (and/or the 2nd texture image 320) is waved about up and down etc. is simultaneously represented identically.
Generally in computerized mapping (CG) field; Use the application software that is called as light and shade maker (shader) to play up mostly; But according to the present invention, only need carry out the deformation process of the figure in the smaller U-V space of calculated load, can show the action of waving.
Below, in conjunction with the process flow diagram of Figure 11, the performed image of above-mentioned each one of this embodiment is generated processing describe.
At first, CPU101 from RAM103, read expression the 1st polygonal region 410 position and shape the 1st sticking area information 251 and represent the position of the 2nd polygonal region 420 and the 2nd sticking area information 252 (step S1101) of shape.
CPU101 uses the affine matrix AM1 of regulation, and the figure (polygon) of representing the 1st polygonal region 410 is carried out affine conversion.And CPU101 uses the affine matrix AM2 of regulation, and the figure of representing the 2nd polygonal region 420 is carried out affine conversion (step S1102).
If will be made as based on the distortion of affine matrix AM1 with based on the opposite direction of the distortion of affine matrix AM2, then can more clearly show the action of waving.For example, such shown in Fig. 9 B, Fig. 9 C, CPU101 makes the 1st polygonal region 410 deformation angle θ, makes the 2nd polygonal region 420 to the direction deformation angle φ opposite with angle θ.Wherein, the direction of distortion is arbitrarily.The size of the size of angle θ and angle φ can be identical, also can be different.
For example, when in the Virtual Space, supposing have wind out-of-date, if wind is more weak, then the deformation direction with the 1st polygonal region 410 and the 2nd polygonal region 420 is made as on the contrary.On the other hand, if wind is more intense, then the deformation direction with the 1st polygonal region 410 and the 2nd polygonal region 420 is made as identical.Like this, can make the rich variation of the action of waving, so that when weak wind, leaf slowly waves, during high wind, leaf is swing strongly with the wind.
CPU101 controls image processing part 108, pastes the 1st texture image 310 to the 1st polygonal region 410, pastes the 2nd texture image 320 (step S1103) to the 2nd polygonal region 420.The processing of this step is commonly referred to as plays up.
Then; CPU101 is according to the position and the shape of the 1st polygonal region 410 that in step S1102, has been out of shape; Upgrade the 1st sticking area information 251; And, upgrade the 2nd sticking area information 252 (step S1104) according to the position and the shape of the 2nd polygonal region 420 that in same step S1102, has been out of shape.
CPU101 controls image processing part 108, and the image that will in step S1103, generate is shown on the display.
Carry out this image repeatedly and generate and handle through for example interrupting, can generate the animation that the rocking action to the object in the Virtual Space shows by each vertical synchronization.
Generally speaking, in image, show scarcely easily the such transparent air of wind move and water in the moving of transparent water.Therefore,, make the figure deformation of the stickup object of texture, paste texture, then can when alleviating image processing load, can show the action of waving simply according to the figure after the distortion if as the present invention.
In this embodiment, in picture 400, set 2 kinds of polygonal regions, but also can set polygonal region more than 3 kinds, and made each polygonal region distortion by CPU101.
(embodiment 2)
Then, other embodiments of the present invention are described.In the above-described embodiment, separately used 2 texture images 310,320, but also can use a shared texture image to paste the 1st polygonal region 410 and the 2nd polygonal region 420.In addition, also can separately use the texture image more than 3.
For example, such shown in Figure 12 A as the most simple existing technique of expression when generation is contained in the image of the pudding on the plate, draw as long as on 1 polygonal region 1201, paste 1 texture image 1202.On the other hand, in the technique of expression that caricature etc. is adopted, a plurality of patterns of use are arranged, 1 object of performance waves or the method for mobile appearance as image retention.For example, several through an identical pudding is specially drawn shown in Figure 12 B when drawing the appearance of the soft rustle vibration of pudding, and draw image retention, show the appearance of vibration.If application the present invention, then can as through employed technique of expression in caricature etc. draw that kind, represent the appearance of object (pudding) vibration.
That is, shown in Figure 12 C, under original state, the 1st polygonal region 410 and the 2nd polygonal region 420 of same position and same shape is set in the picture 400.Be prepared in advance to the shared texture image 1202 of the 1st polygonal region 410 and 420 stickups of the 2nd polygonal region.
Then, shown in Figure 12 D, CPU101 with the 1st polygonal region 410 with specified period TI deformation angle θ.Equally, CPU101 with the 2nd polygonal region 420 with identical cycle T 1 to opposite direction deformation angle θ.In other words, the 1st polygonal region 410 after the distortion and the 2nd polygonal region 420 shape separately after the distortion, straight line 1203 constitutes the relation of lines symmetry relatively.
Then, CPU101 pastes texture images 1202 to the 1st polygonal region 410 after being out of shape and the 2nd polygonal region 420.
CPU101 carries out that kind shown in figure 13 repeatedly and changes along with the process of time makes angle θ, the processing that the 1st polygonal region 410 and the 2nd polygonal region 420 are out of shape.When that kind shown in figure 13 makes angle θ with cycle T 1 swing of regulation, the appearance of can more understandable ground represented object waving.
(embodiment 3)
Below, other embodiments of the present invention are described.CPU101 also can make the 1st polygonal region 410 and 420 distortion of the 2nd polygonal region on the direction vertical with fixed edge 510,610.
For example, such shown in Figure 14 A, 1st polygonal region (or 2nd polygonal region) 1400 of CPU101 before to the distortion with summit 1401~1404 on the basis of having fixed fixed edge 1405, makes its distortion according to the mode of tilt angle theta.At this moment, it is constant to establish the length on each limit.So the height of the 1st polygonal region after the distortion (or the 2nd polygonal region) 1410 is than the low Δ L of the 1st polygonal region (or the 2nd polygonal region) 1400 before the distortion.
Figure 14 B is that expression CPU101 controls image processing part 108, and the 1st polygonal region 1410 after the distortion is pasted the texture image of regulation, the figure of the image that the 2nd polygonal region 1420 same regulation texture images of stickup after the distortion are formed.Because through so yet distortion on the direction vertical with fixed edge 1405, texture image can not expanded (length of tree prolongs) to transverse direction, so can show the appearance of waving more naturally.
Need to prove; When the 1st polygonal region 1410 and the 2nd polygonal region 1420 after the distortion are pasted texture image respectively; If make the invariant position of the zone of opacity 1406 on the fixed edge 1405 in the pixel data that constitutes texture image, then can show the appearance of waving more naturally.
(embodiment 4)
Below, other embodiments of the present invention are described.The difference of this embodiment and above-mentioned embodiment is, setting the 1st polygonal region 410 picture 400 in and do not set the 2nd polygonal region 420.
Figure 15 A, Figure 15 B, Figure 15 C are the figure of the appearance that changes of shape of expression the 1st polygonal region 410.In being pasted on the 1st texture image 310 of the 1st polygonal region 410, draw the pattern of a plurality of objects that are hopeful to show rocking action in advance.For example, in the 1st texture image 310, draw the pattern of a plurality of leaves.
Figure 15 A representes the appearance of having pasted the 1st texture image 310 on the 1st polygonal region 410 of CPU101 before shape conversion.For example, before shape conversion, the shape of the 1st polygonal region 410 is made as rectangle, the length on the V direction (highly) is made as L1.
CPU101 as fixed edge 510, makes 410 distortion of the 1st polygonal region with one side of the 1st polygonal region 410.For example, CPU101 shown in Figure 15 B, with the 1st polygonal region 410 to the negative direction tilt angle theta A of U axle and be deformed into parallelogram.Perhaps, such shown in Figure 15 C, CPU101 is deformed into parallelogram with the 1st polygonal region 410 to the positive dirction tilt angle theta B of U axle.Then, CPU101 pastes the 1st texture image 310 on the 1st polygonal region 410 after the distortion.
CPU101 that kind shown in figure 13 is along with the angle θ that changes inclination through coming of time.That is, CPU101 with cycle T 1 reciprocating mode, changes angle θ according in the scope of θ MIN≤θ≤θ MAX.The 1st polygonal region 410 becomes the shape shown in Figure 15 B from the change in shape shown in Figure 15 A; And then become the shape shown in Figure 15 A from the change in shape shown in Figure 15 B; Become the shape shown in Figure 15 C from the change in shape shown in Figure 15 A then, further become the shape shown in Figure 15 A from the change in shape shown in Figure 15 C.Through carrying out such variation repeatedly, the appearance of coming represented object (being leaf under this situation) to wave.
In addition, also can be with above-mentioned each embodiment combination, CPU101 not only makes angle θ change, and makes the height change of the 1st polygonal region 410.
Figure 16 is the figure of an example of expression elapsed time and relation of height.The variation of the angle θ that CPU101 is corresponding shown in Figure 13 makes the height of the 1st polygonal region 410 change with identical cycle T 1.In other words, the variation delta L of the height of the 1st polygonal region 410 (=L-LA or L-LB) is at LMIN≤L≤LMAX (in=L1) the scope, with cycle T 1 to-and-fro movement.Together change through so making highly, object can not extend to the direction of waving, and waves thereby can show more naturally yet.
According to this embodiment,, handle the appearance that burden ground represented object is waved so can further alleviate owing to can reduce quantity as the polygonal region of the stickup object of texture.
The invention is not restricted to above-mentioned embodiment, can carry out various distortion and application.And, also can be with each inscape independent assortment of above-mentioned embodiment.
Can also make computing machine arrive the recording medium of storage card, CD-ROM, DVD, MO embodied on computer readable such as (Magneto Opticaldisk) as all or part of procedure stores of moving of image processing apparatus 200 with being used for; Issue; Attach it in other computing machines; Unit as above-mentioned moves, or carries out above-mentioned step.
And, also can program be stored in dish device that server unit had on the internet etc. in advance, for example through being superimposed upon in the carrier wave, and download in the computing machine.
Wherein, application of the present invention advocates to be willing to the right of priority that be the basis 2008-119635 number so that Japan's patented claim is special, and in the application's book, quoted the full content of should the basis applying for.
Utilizability in the industry
That kind as described above according to the present invention, can be provided for showing simply image processing apparatus, image processing method, information recording carrier and the program of rocking action.

Claims (6)

1. an image processing apparatus (200) is characterized in that,
Set the 1st polygonal region of pasting the 1st texture image and the 2nd polygonal region of pasting the 2nd texture image on the same plane in the Virtual Space,
This image processing apparatus (200) has:
Storage part (201), it stores the position of said the 1st polygonal region and the position and the shape of shape and said the 2nd polygonal region;
Update portion (202); Its shape to storage in the said storage part (201) is upgraded; So that the regulation separately of said the 1st polygonal region and said the 2nd polygonal region be on one side fixed edge location overlap fix fixed edge separately; And in the position on the summit beyond the end points of the 1st polygonal region and the 2nd polygonal region said fixed edge separately; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations, and the position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations; With
Generate display part (203), its generation also shows according to the position and the shape of storage in the said storage part (201), and the 1st polygonal region has been pasted the 1st texture image, the 2nd polygonal region has been pasted the image of the 2nd texture image.
2. image processing apparatus according to claim 1 (200) is characterized in that,
Said the 1st texture image and the 2nd texture image are made up of transparent region and zone of opacity respectively,
The position of the said zone of opacity on the fixed edge of said the 1st texture image, with the fixed edge of said the 2nd texture image on the position consistency of said zone of opacity,
Said update portion (202) makes the position consistency of said fixed edge of position and the 2nd polygonal region of the said fixed edge of the 1st polygonal region; The 1st texture image is carried out affine conversion make its distortion, the 2nd texture image is carried out affine conversion make its distortion.
3. image processing apparatus according to claim 1 (200) is characterized in that,
Said update portion (202) changes the shape of the 1st polygonal region and this shape of the 2nd polygonal region through making the 2nd polygonal region to being out of shape with the direction in the opposite direction of the 1st polygonal region distortion.
4. according to any described image processing apparatus (200) in the claim 1 to 3, it is characterized in that,
Said update portion (202) is upgraded the shape of storage in the said storage part (201); So that the position on summit beyond the end points of the said fixed edge separately of said the 1st polygonal region and said the 2nd polygonal region, the direction swing of extending to separately said fixed edge.
5. according to any described image processing apparatus (200) in the claim 1 to 3, it is characterized in that,
Said update portion (202) is upgraded the shape of storage in the said storage part (201); So that the position on summit beyond the end points of the said fixed edge separately of said the 1st polygonal region and said the 2nd polygonal region, to the vertical direction swing of direction of extending with separately said fixed edge.
6. an image processing method is carried out by the image processing apparatus (200) with storage part (201), update portion (202) and generation display part (203), it is characterized in that,
Set the 1st polygonal region of pasting the 1st texture image and the 2nd polygonal region of pasting the 2nd texture image on the same plane in the Virtual Space,
In said storage part (201), store the position and the shape of the 1st polygonal region of pasting said the 1st texture image and the position and the shape of pasting the 2nd polygonal region of said the 2nd texture image,
Said image processing method possesses:
Step of updating; By said update portion (202) shape of storage in the said storage part (201) is upgraded; So that the regulation separately of said the 1st polygonal region and said the 2nd polygonal region be on one side fixed edge location overlap fix fixed edge separately; And the 1st polygonal region and the 2nd polygonal region are separately in the position on the summit beyond the end points of said fixed edge; The position on the summit of the 1st polygonal region is with the 1st periodic oscillations, and the position on the summit of the 2nd polygonal region changes this shape with the 2nd periodic oscillations; With
Generate step display; Generate and show position and shape by said generation display part (203) according to storage in the said storage part (201); The 1st polygonal region has been pasted the 1st texture image, the 2nd polygonal region has been pasted the image of the 2nd texture image.
CN200980101134.XA 2008-05-01 2009-04-27 Image processing device, image processing method Expired - Fee Related CN101878489B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008119635A JP4354510B1 (en) 2008-05-01 2008-05-01 Image processing apparatus, image processing method, and program
JP2008-119635 2008-05-01
PCT/JP2009/058296 WO2009133860A1 (en) 2008-05-01 2009-04-27 Image processing device, image processing method, data storage medium, and program

Publications (2)

Publication Number Publication Date
CN101878489A CN101878489A (en) 2010-11-03
CN101878489B true CN101878489B (en) 2012-12-05

Family

ID=41255076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200980101134.XA Expired - Fee Related CN101878489B (en) 2008-05-01 2009-04-27 Image processing device, image processing method

Country Status (5)

Country Link
JP (1) JP4354510B1 (en)
KR (1) KR101137733B1 (en)
CN (1) CN101878489B (en)
TW (1) TW201007612A (en)
WO (1) WO2009133860A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2491688B (en) * 2011-05-05 2014-08-27 Advanced Risc Mach Ltd Method of and apparatus for encoding and decoding data
GB2495301B (en) 2011-09-30 2018-01-17 Advanced Risc Mach Ltd Method of and apparatus for encoding data
GB2503691B (en) 2012-07-04 2019-08-14 Advanced Risc Mach Ltd Methods of and apparatus for encoding and decoding data
US9177415B2 (en) 2013-01-30 2015-11-03 Arm Limited Methods of and apparatus for encoding and decoding data
US10147202B2 (en) 2013-03-15 2018-12-04 Arm Limited Methods of and apparatus for encoding and decoding data
JP6039527B2 (en) * 2013-10-18 2016-12-07 楽天株式会社 Movie generation device, movie generation method, and movie generation program
KR102387390B1 (en) * 2015-05-22 2022-04-19 삼성디스플레이 주식회사 Display device and method for displaying image using display device
CN112132934A (en) * 2020-09-22 2020-12-25 上海米哈游天命科技有限公司 Model element deformation processing method, model element deformation processing device, model element image rendering method, model element image rendering device and model element image rendering medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997024696A2 (en) * 1995-12-26 1997-07-10 Imax Corporation Computer-assisted animation construction system and method and user interface
CN1180438A (en) * 1996-02-20 1998-04-29 世雅企业股份有限公司 Image generator, Image generating method and image recroding medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002042152A (en) 2000-07-25 2002-02-08 Namco Ltd Image processing device, image processing method, and recording medium recording image processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997024696A2 (en) * 1995-12-26 1997-07-10 Imax Corporation Computer-assisted animation construction system and method and user interface
CN1180438A (en) * 1996-02-20 1998-04-29 世雅企业股份有限公司 Image generator, Image generating method and image recroding medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JP特开2002-216159A 2002.08.02
JP特开2002-42152A 2002.02.08
JP特开2005-346165A 2005.12.15

Also Published As

Publication number Publication date
KR20100067680A (en) 2010-06-21
CN101878489A (en) 2010-11-03
TW201007612A (en) 2010-02-16
KR101137733B1 (en) 2012-04-24
JP4354510B1 (en) 2009-10-28
WO2009133860A1 (en) 2009-11-05
JP2009271626A (en) 2009-11-19

Similar Documents

Publication Publication Date Title
CN101878489B (en) Image processing device, image processing method
CN101622647B (en) Character display, character displaying method
US20090023498A1 (en) Voice output device, voice output method, information recording medium and program
CN100550060C (en) Image processing apparatus and image processing method
CN101023449A (en) Image processing device, image processing method, information recording medium, and program
JP3777288B2 (en) GAME SYSTEM AND INFORMATION STORAGE MEDIUM
CN110400366A (en) A kind of real-time flood disaster visual simulating method based on OpenGL
JP2002216158A (en) Image generation system, program and information storage medium
JP2004062676A (en) Program, recording medium, three-dimensional character group controlling method and game machine
JP2002042152A (en) Image processing device, image processing method, and recording medium recording image processing program
JP4632596B2 (en) Image generation system, program, and information storage medium
JP4367804B2 (en) Image generation system and information storage medium
CN105894560B (en) A kind of method of image procossing, user equipment and system
JP4245356B2 (en) GAME SYSTEM AND INFORMATION STORAGE MEDIUM
JP4717624B2 (en) Image generation system, program, and information storage medium
CN111145324B (en) Animation simulation method and device based on vegetation vertexes and electronic equipment
JP2007087425A (en) Image generation system, program and information storage medium
JP4577968B2 (en) GAME SYSTEM AND INFORMATION STORAGE MEDIUM
JP4210293B2 (en) Simulation apparatus, simulation method, and program
JP2002024858A (en) Game system and information memory medium
JP2003275460A (en) Game device and information storage medium
JP2007087030A (en) Program, information storage medium, and image generation system
JP2010033295A (en) Image generation system, program and information storage medium
JP4113179B2 (en) Simulation apparatus, simulation method, and program
WO2011016362A1 (en) Image generating device, image generating method, information recording medium, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121205

Termination date: 20160427