CN105335996B - A kind of computational methods and device of light radiation response - Google Patents

A kind of computational methods and device of light radiation response Download PDF

Info

Publication number
CN105335996B
CN105335996B CN201410308013.5A CN201410308013A CN105335996B CN 105335996 B CN105335996 B CN 105335996B CN 201410308013 A CN201410308013 A CN 201410308013A CN 105335996 B CN105335996 B CN 105335996B
Authority
CN
China
Prior art keywords
irradiation
light source
point
virtual scene
secondary light
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.)
Active
Application number
CN201410308013.5A
Other languages
Chinese (zh)
Other versions
CN105335996A (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.)
Beijing Changyou Tianxia Network Technologies Co Ltd
Original Assignee
Beijing Changyou Tianxia Network Technologies 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 Beijing Changyou Tianxia Network Technologies Co Ltd filed Critical Beijing Changyou Tianxia Network Technologies Co Ltd
Priority to CN201410308013.5A priority Critical patent/CN105335996B/en
Publication of CN105335996A publication Critical patent/CN105335996A/en
Application granted granted Critical
Publication of CN105335996B publication Critical patent/CN105335996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Generation (AREA)

Abstract

The present invention provides a kind of computational methods and device of light radiation response.The described method includes:Record the irradiation attribute of the first light source direct projection first point of irradiation of first object object into virtual scene;A secondary light source in the virtual scene is used as using each first point of irradiation, the secondary light source is calculated according to the irradiation attribute of first point of irradiation and carries out the light source attributes of light reflection, and each secondary light source is respectively divided in more sub-regions of the virtual scene;According to the light source attributes of the secondary light source, calculate the secondary light source carry out light propagation successively in each sub-regions after, be irradiated to the second destination object in the virtual scene the second point of irradiation irradiation attribute;By the irradiation attribute of second point of irradiation, direct irradiation effect of the secondary light source to the destination object is calculated, the indirect irradiation effect as first light source to second destination object.

Description

A kind of computational methods and device of light radiation response
Technical field
The present invention relates to field of Computer Graphics, more particularly to a kind of computational methods of light radiation response, and, A kind of computing device of light radiation response.
Background technology
In existing virtual scene, in scene the irradiation of object be generally done directly by the light source in scene, computer There are the computational methods of direct lighting effect under many simulated scenarios in graphics field.For example, for the moon in game modeling interface Shadow, is generally adopted by the mode of echo, and this drafting mode needs two steps for rendering for shade scene Into.
The first step is to produce echo in itself, i.e., position renders to carry out depth to scene from light source, these Distance of the point that depth registration light source is irradiated to light source;Second step is that echo is applied in scene, i.e., from player Observation position scene is rendered.Each pixel seen for player, this point is calculated in tinter and is arrived The distance t0 of light source, and the distance t1 from inquiring about the light source recorded in this direction from the texture of previous step generation.
Further, if t1=t0, in one's power, i.e., this sees the sight that this point is observed by player visual angle and light source at the same time The point seen is illuminated by light source;If t1<T0, then this point can be seen by player, but it cannot be irradiated to by light source, this Point is in the shadow that light source cannot be irradiated to, so as to find out the shadow region in scene and illuminated area, further completes direct Radiation response renders.
And in the case of reality, the object that light source is irradiated in scene can reflect, and the light of reflection is irradiated to surrounding Other objects on, play indirect irradiation effect, therefore such scheme only calculates the direct irradiation effect of light source, have ignored field The reflecting effect of light in scape, excessively simplifies irradiation relation of the light source to object, and therefore, the program imitates the light of virtual scene Fruit emulator is not high, also, the program is also not used to the calculating of reflection light in virtual scene.
It is desirable to when calculating this indirect irradiation effect, since its calculating is extremely complex, calculation amount is huge, Its calculating is completed by off-line calculation in general virtual scene, can not generate the indirect irradiation effect of reflection light in real time.
The content of the invention
The present invention provides a kind of computational methods and device of light radiation response, to generate the indirect of reflection light in real time Radiation response.
The present invention provides a kind of computational methods of light radiation response, including:
Record the irradiation attribute of the first light source direct projection first point of irradiation of first object object into virtual scene;
Using each first point of irradiation as a secondary light source in the virtual scene, according to first point of irradiation Irradiate attribute and calculate the light source attributes that the secondary light source carries out light reflection, and each secondary light source is respectively divided described In more sub-regions of virtual scene;
According to the light source attributes of the secondary light source, calculate the secondary light source and carry out light successively in each sub-regions After propagation, be irradiated to the second destination object in the virtual scene the second point of irradiation irradiation attribute;
By the irradiation attribute of second point of irradiation, calculate the secondary light source and the direct irradiation of the destination object is imitated Fruit, the indirect irradiation effect as first light source to second destination object.
Preferably, the irradiation attribute of first point of irradiation includes the positional information of first light source, first light The direction of illumination in source, the depth of shine of first point of irradiation, the normal direction of first point of irradiation and first mesh Object is marked in the material color and material of the first point of irradiation position to the attenuation parameter of light;
The light source attributes of the secondary light source include positional information of first point of irradiation in the virtual scene, institute State the direction of illumination of secondary light source and the light color and light intensity of the secondary light source.
Preferably, the irradiation attribute according to the first point of irradiation calculates the light source attributes that secondary light source carries out light reflection The step of include:
The sum of the positional information of first light source and the depth of shine of first point of irradiation are calculated, as described first Positional information of the point of irradiation in the virtual scene;
The secondary light source is determined according to the normal direction of the direction of illumination of first light source and first point of irradiation Direction of illumination;
Light after first point of irradiation is decayed in irradiation process is calculated by the depth of shine of first point of irradiation Intensity, is multiplied by material color of the first object object in the first point of irradiation position by the light intensity, obtains institute The light color of secondary light source is stated, the light intensity is multiplied by the first object object in the first point of irradiation position Material obtains the light intensity of the secondary light source to the attenuation parameter of light.
Preferably, the method further includes:
The virtual scene is divided into more sub-regions, is further comprised:
World coordinates or in place with first light source institute centered on the observation position of the virtual scene from It is set on the world coordinates at center, the virtual scene is divided into the size of predetermined number in the way of axis aligned bounding box Uniform more sub-regions;
Or, the virtual scene is divided into the size inequality of predetermined number in the way of Octree or k- dimension binary trees Even more sub-regions;
Or, the density of the subregion is changed according to the degree adaptive of the secondary light source, and according to the institute after adjustment The virtual scene is divided into the non-uniform more sub-regions of size of predetermined number by the density for stating subregion.
Preferably, the secondary light source is using sphere of the irradiation attribute of secondary light source described in three-D grain as parameter Harmonic function represents.
Preferably, the light source attributes according to secondary light source, calculate secondary light source and are carried out successively in each sub-regions Light propagate after, the irradiation attribute of the second point of irradiation for being irradiated to the second destination object in virtual scene includes:
By the spherical harmonics for iterating to calculate the secondary light source of secondary light source and its adjacent six direction in each sub-regions Function, obtain light of the secondary light source in each sub-regions propagate after, be irradiated to the second destination object in virtual scene The second point of irradiation irradiation attribute;
Wherein, the iterative calculation is carried out every frame or the iterations is less than default iterations.
Present invention also offers a kind of computing device of light radiation response, including:
Attribute record module is irradiated, for recording the first photograph of the first light source direct projection first object object into virtual scene The irradiation attribute of exit point;
Light source attributes computing module, for being used as second light in the virtual scene using each first point of irradiation Source, the light source attributes of the secondary light source progress light reflection are calculated according to the irradiation attribute of first point of irradiation;
Light source division module, for each secondary light source to be respectively divided in more sub-regions of the virtual scene;
Attribute computing module is irradiated, for the light source attributes according to the secondary light source, calculates the secondary light source each After carrying out light propagation in sub-regions successively, be irradiated to the second destination object in the virtual scene the second point of irradiation photograph Penetrate attribute;
Radiation response computing module, for the irradiation attribute by second point of irradiation, calculates the secondary light source to institute The direct irradiation effect of destination object is stated, the indirect irradiation effect as first light source to second destination object.
Preferably, the irradiation attribute of first point of irradiation includes the positional information of first light source, first light The direction of illumination in source, the depth of shine of first point of irradiation, the normal direction of first point of irradiation and first mesh Object is marked in the material color and material of the first point of irradiation position to the attenuation parameter of light;
The light source attributes of the secondary light source include positional information of first point of irradiation in the virtual scene, institute State the direction of illumination of secondary light source and the light color and light intensity of the secondary light source.
Preferably, the light source attributes computing module includes:
Positional information calculation submodule, for calculating the positional information of first light source and the photograph of first point of irradiation The sum of depth is penetrated, as positional information of first point of irradiation in the virtual scene;
Direction of illumination calculating sub module, the method for the direction of illumination according to first light source and first point of irradiation Line direction determines the direction of illumination of the secondary light source;
First light intensity calculating sub module, for calculating first irradiation by the depth of shine of first point of irradiation Light intensity of the point in irradiation process after decay;
Light color calculating sub module, shines for the light intensity to be multiplied by the first object object described first The material color of exit point position, obtains the light color of the secondary light source;
Second light intensity calculating sub module, for the light intensity to be multiplied by the first object object described The material of one point of irradiation position obtains the light intensity of the secondary light source to the attenuation parameter of light.
Preferably, described device further includes:
Region division module, for the virtual scene to be divided into more sub-regions, further comprises:
First division submodule, for from from the virtual scene observation position centered on world coordinates or with On world coordinates centered on the first light source position, the virtual scene is drawn in the way of axis aligned bounding box It is divided into more sub-regions of uniform size of predetermined number;
Or, the second division submodule, for the virtual scene to be divided in the way of Octree or k- dimension binary trees For the non-uniform more sub-regions of size of predetermined number;
Or, the 3rd division submodule, for changing the close of the subregion according to the degree adaptive of the secondary light source Degree, and the size that the virtual scene is divided into according to the density of the subregion after adjustment predetermined number is non-uniform more Sub-regions.
Preferably, the secondary light source is using sphere of the irradiation attribute of secondary light source described in three-D grain as parameter Harmonic function represents.
Preferably, the irradiation attribute computing module includes:
Iteration submodule, for by iterating to calculate the second of secondary light source in each sub-regions and its adjacent six direction The spherical harmonics function of light source, obtain light of the secondary light source in each sub-regions propagate after, be irradiated to virtual scene In the second destination object the second point of irradiation irradiation attribute;
Wherein, the iterative calculation is carried out every frame or the iterations is less than default iterations.
Compared with background technology, the present invention includes advantages below:
By the embodiment of the present invention, made with the first point of irradiation of the first light source direct projection first object object into virtual scene For secondary light source, for showing the indirect lighting situation of reflection light temporarily, the is calculated according to the irradiation attribute of the first point of irradiation Two light sources carry out the light source attributes of light reflection, and light is iterated to calculate in each sub-district according to the light source attributes of each secondary light source The propagation in domain, obtains irradiation attribute of the secondary light source to the second point of irradiation of the second destination object, and further calculates the second light The radiation response in source, since secondary light source is the point of irradiation of the first light source direct irradiation, the light of secondary light source irradiation is For the reflection light of the direct projection light of the first light source, it is known that, the radiation response of secondary light source that is to say the first indirect light source irradiation Effect, an embodiment of the present invention provides a kind of computational methods of reflection light indirect irradiation effect in virtual scene, and it is possible to Realize the real-time calculating of indirect irradiation effect.
On the other hand, in the embodiment of the present invention, can also iterative calculation secondary light source in each sub-regions successively into The irradiation attribute of the second point of irradiation after the propagation of row light, can adjust iterations according to the actual requirements, obtain the meter of higher Calculate precision, the number of iterative calculation according to the calculated performance of current device, can also be controlled, to avoid current device is caused compared with Other work and equipment performance that big load pressure and influence currently carries out.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the computational methods of light radiation response described in the embodiment of the present invention 1;
Fig. 2 a, Fig. 2 b and Fig. 2 c are the schematic diagrames that spherical harmonics function is iterated to calculate in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of the computational methods of light radiation response described in the embodiment of the present invention 2;
Fig. 4 a, Fig. 4 b, Fig. 4 c, Fig. 4 d and Fig. 4 e be the embodiment of the present invention an example in light radiation response calculating Process schematic;
Fig. 5 is a kind of structure diagram of the computing device of light radiation response described in the embodiment of the present invention 1
Fig. 6 is a kind of structure diagram of the computing device of light radiation response described in the embodiment of the present invention 2.
Embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
Flow, which is described in detail, to be realized to the method for the invention below by embodiment.
With reference to Fig. 1, it illustrates a kind of computational methods flow chart of light radiation response described in the embodiment of the present invention 1.
Step 11, the irradiation category for recording the first light source direct projection first point of irradiation of first object object into virtual scene Property.
In the embodiment of the present invention, shone directly into by the first light source in virtual scene, first object object can be virtual Some object in scene, in the first object object in being irradiated to virtual scene, produces multiple first points of irradiation, these photographs Exit point is the point for the light direct irradiation that the first light source is sent, and point of irradiation possesses corresponding irradiation attribute.
During direct irradiation, while calculating the depth map for producing shade, generate and record each first irradiation The corresponding irradiation attribute of point, specifically, from being carried out from the visual angle of the first light source to scene, and from position to field Scape carries out rendering for depth, and generates the irradiation normal map and material parameters figure at light source visual angle at the same time, joins from normal map and material The associated illumination attribute of point of irradiation can be further extracted in number figure.When in this way, normal map and material parameters figure Shared time overhead very little is rendered, can be generated at the same time with traditional shade depth figure, equivalent to having deposited two parts of scenes more Information, although committed memory space relative increase, from concrete practice, still within the acceptable range.
In concrete implementation, the irradiation attribute of first point of irradiation can include first light source positional information, The direction of illumination of first light source, the depth of shine of first point of irradiation, first point of irradiation normal direction and The first object object the first point of irradiation position material color and material to attenuation parameter of light etc..
For example, the positional information of the first light source is denoted as Pos(l1), the direction of illumination of first light source is denoted as Dir(l1), institute State the depth of shine Depth of the first point of irradiation(l1-xy), wherein, xy refers to the point arrived for the radiation exposure of XY positions on depth map Away from light source distance, the position for being irradiated to point xy is exactly Pos(xy in world)=Pos(l1)|Dir(l1)*Depth(l1-xy), normal side To being Normal(xy in world), can directly be calculated according to body surface normal.If during the intensity of illumination of the first light source I(l1), then the intensity on its position xy for being irradiated to is exactly f (I(l1), Depth(l1-xy)), wherein, f (x, y) is declining for light Subtract parameter, be the intensity after the light source decay that a y illumination at a distance is x.
Step 12, using each first point of irradiation as a secondary light source in the virtual scene, according to described first The irradiation attribute of point of irradiation calculates the light source attributes that the secondary light source carries out light reflection.
After first light source shines directly into first object object, light can reflect, and reflection light is irradiated to virtual sky Between other objects (being denoted as the second destination object) on, launch transmitting light equivalent to the first pip, shine directly into On two destination objects.
In the embodiment of the present invention, when calculating reflection light is irradiated to the effect of the second destination object, by the first point of irradiation It is considered as a small point light source, i.e. secondary light source, the relevant parameter that secondary light source shines is light source attributes, according to the first point of irradiation Relevant parameter can calculate the first point of irradiation as secondary light source carry out light reflection light source attributes.
In the embodiment of the present invention, the light source attributes can include first point of irradiation position in the virtual scene The light color and light intensity of confidence breath, the direction of illumination of the secondary light source and the secondary light source.
For example, the direction that the point being irradiated to carries out mirror-reflection to light is Reflect(xy)=Normal(xy in world)+ Dir(l1), g (x, y, Dir-in, Dir-out, I) is defined as the reflective function of the material for the point being irradiated to, wherein xy is The position on irradiated object surface, Dir-in are the directions that light shines in, and Dir-out is the side that light is reflected away To I is incident ray intensity.In the case of assuming that mirror-reflection is most strong, using mirror-reflection direction as the principal direction reflected, It is located at Pos in such previous step(l1), direction Dir(l1), brightness I(l1)Main light source, be illuminated by out a prescription to for Reflect(xy), intensity be g light source.
Preferably, the step 12 can include:
The sum of depth of shine of sub-step 121, the positional information for calculating first light source and first point of irradiation, makees For positional information of first point of irradiation in the virtual scene;
Sub-step 122, according to the direction of illumination of first light source and the normal direction of first point of irradiation determine institute State the direction of illumination of secondary light source;
Sub-step 123, calculate first point of irradiation by the depth of shine of first point of irradiation and decline in irradiation process Light intensity after subtracting, material face of the first object object in the first point of irradiation position is multiplied by by the light intensity Color, obtains the light color of the secondary light source, and the light intensity is multiplied by the first object object shines described first The material of exit point position obtains the light intensity of the secondary light source to the attenuation parameter of light.
Position of the secondary light source in virtual scene is the first point of irradiation on first object object in virtual scene Position, can be the first light source positional information plus the first point of irradiation depth value Pos(xy in world)=Pos(l1)+ Dir(l1)*Depth(l1-xy).The direction of illumination of secondary light source can be according to the direction of illumination of the first light source and the first point of irradiation Normal direction determines Reflect(xy)=Normal (xy in world)+Dir(l1)
The light that first light source is sent reaches the mistake of the first point of irradiation on first object object from the position of the first light source Cheng Zhonghui produces decay, can calculate actual light intensity after decay, the first light according to the depth of shine of the first point of irradiation When the light in source is irradiated to the first point of irradiation of first object object, its material can influence the color and intensity of reflection light, i.e., Influence the color and intensity for the light that secondary light source is sent.Specifically, the light color of secondary light source irradiation is the light after decay The material color of the first point of irradiation is multiplied by according to intensity, the exposure intensity of secondary light source is multiplied by the first photograph for the intensity of illumination after decay Attenuation parameter of the material of exit point position to light.
For example, for positioned at Pos(l1), direction Dir(l1), intensity of illumination I(l1)Main light source, cast out in the scene X*Y point, by taking wherein x, y point as an example, it is Depth away from light source distance(l1-xy), the normal direction of itself is Normal(xy in world), be so irradiated to x, y this point light intensity be f (I(l1), Depth(l1-xy)), mainly consider mirror The situation of face reflection, its reflection light is Reflect(xy)On direction, size is g (x, y, Dir(l1), Reflect(xy), f (I(l1), Depth(l1-xy))), it will be a new light source from the point of view of this that can be naturally, position Pos(xy in world), direction Reflect(xy), light intensity g (x, y, Dir(l1), Reflect(xy), f (I(l1), Depth(l1-xy)))。
It should be noted that calculating the sequencing of each light source attributes above can be set according to specific demand, on The sequence for stating step is only the example of one of which sequence.
Step 13, each secondary light source is respectively divided in more sub-regions of the virtual scene.
After the point light source that these are located in the world space of virtual scene is obtained, there are the problem of be these light The quantity in source is very big, corresponding just to have 262144 for example, use the texture dimensions of 512*512 in the virtual scene Two light sources, therefore, it is necessary to select suitable mode to manage these light source points.In the embodiment of the present invention, virtual scene is divided For more sub-regions, the position according to where secondary light source is divided into each sub-regions, this is recorded using world coordinates During the position in a little region, subregion can also be referred to as world's grid, for example by these 512*512 point light source, be put into 16* In world's grid of 16*16.
In concrete implementation, three-D grain can be used to record the light source attributes of each secondary light source in the zone.
Step 14, the light source attributes according to the secondary light source, calculate the secondary light source in each sub-regions successively Carry out light propagation after, be irradiated to the second destination object in the virtual scene the second point of irradiation irradiation attribute.
After using the first point of irradiation as secondary light source, the second destination object for being further irradiated in virtual scene, and There are multiple second points of irradiation on second destination object, the photograph of the second point of irradiation can be calculated as the light source attributes of light source according to it Penetrate attribute.
Multiple secondary light sources have been distributed in more sub-regions by the embodiment of the present invention, and multiple secondary light sources are being irradiated to During two destination objects, the light of transmitting can interact it is understood that if subregion in have illumination, its adjacent son Also illumination is had in the grid in region, therefore, when calculating the second point of irradiation of multiple secondary light sources, first by multiple second light The light in source is propagated in more sub-regions, obtains the result of multiple light sources superposition irradiation.
In the embodiment of the present invention, it is preferable that the secondary light source can use the photograph of secondary light source described in three-D grain Penetrate spherical harmonics function representation of the attribute as parameter, can practical less parameter show the light environment of complexity.So Secondary light source can be just indicated by the data of this group of three-D grain, so as to reduce the complexity of calculating.Calculating institute When stating secondary light source and carrying out light propagation successively in each sub-regions, it can be carried out according to the spherical harmonics function of secondary light source Calculate.
Preferably, the step 14 can include:
Sub-step 141, by iterating to calculate the secondary light source of secondary light source and its adjacent six direction in each sub-regions Spherical harmonics function, obtain light of the secondary light source in each sub-regions propagate after, be irradiated in virtual scene the The irradiation attribute of second point of irradiation of two destination objects.
The propagation of light is, it is necessary to which the process of iteration calculates in these subregions.During iteration, use Six calculate the transmission of illumination between subregion to the spherical harmonics function in adjacent subarea domain, that is, iterate to calculate each sub-regions The spherical harmonics function of the secondary light source of middle secondary light source and its adjacent six direction, it is humorous according to the sphere obtained after iterative calculation Wave function can obtain the irradiation attribute of second point of irradiation of the secondary light source on the second destination object.
Spheric harmonic function is the angle part of the spherical coordinate system formal solution of Laplace's equation, can be near using spherical harmonic coefficient Like the light conditions for representing environment, i.e. simple statistics for illumination in environment, using this statistics knot in rendering afterwards Fruit carries out simple illumination calculation.Specifically, the illumination condition of each point is encoded (i.e. using sphere hamonic function Obtained coefficient), light environment during these code restorations coding is recycled, utilizes the integral and calculating illumination, irradiates attribute For the parameter of the spherical harmonics function.
As shown in Fig. 2 a, Fig. 2 b and Fig. 2 c, the signal that spherical harmonics function is iterated to calculate in the embodiment of the present invention is given Figure.Calculating is iterated between grid, wherein, SH0 represents first pass iterative calculation as a result, SH1 represents second time iterative calculation As a result, SH2 represents the 3rd time iterative calculation result.
It should be noted that in the embodiment of the present invention, can also iterative calculation secondary light source in each sub-regions according to The irradiation attribute of the second point of irradiation after secondary progress light propagation, can adjust iterations according to the actual requirements, obtain higher Computational accuracy, the number of iterative calculation can also be controlled according to the calculated performance of current device, for example, the iterative calculation Carried out every frame or the iterations be less than default iterations, to avoid current device is caused larger load pressure and Influence other work and the equipment performance currently carried out.
Step 15, the irradiation attribute by second point of irradiation, calculate the secondary light source to the straight of the destination object Radiation response is connect, the indirect irradiation effect as first light source to second destination object.
Due to the point of irradiation that secondary light source is the first light source direct irradiation, the light of secondary light source irradiation is the The reflection light of the direct projection light of one light source, it is known that, the radiation response of secondary light source that is to say the first indirect light source irradiation effect, An embodiment of the present invention provides a kind of computational methods of light radiation response, and it is possible to realize the real-time of indirect irradiation effect Calculate.
With reference to Fig. 3, it illustrates a kind of computational methods flow chart of light radiation response described in the embodiment of the present invention 2.
Step 21, the irradiation category for recording the first light source direct projection first point of irradiation of first object object into virtual scene Property.
Step 22, using each first point of irradiation as a secondary light source in the virtual scene, according to described first The irradiation attribute of point of irradiation calculates the light source attributes that the secondary light source carries out light reflection.
Step 23, by the virtual scene be divided into more sub-regions.
Step 24, each secondary light source is respectively divided in more sub-regions of the virtual scene.
Step 25, the light source attributes according to the secondary light source, calculate the secondary light source in each sub-regions successively Carry out light propagation after, be irradiated to the second destination object in the virtual scene the second point of irradiation irradiation attribute.
Step 26, the irradiation attribute by second point of irradiation, calculate the secondary light source to the straight of the destination object Radiation response is connect, the indirect irradiation effect as first light source to second destination object.
It was with last embodiment difference, the embodiment of the present invention gives is divided into multiple sub-districts by virtual scene The step of domain, also, it is further preferred that the step 23 can include:
Sub-step 231, from from the virtual scene observation position centered on world coordinates or with described first On world coordinates centered on light source position, the virtual scene is divided into the way of axis aligned bounding box default More sub-regions of uniform size of number;
Or, sub-step 232, the virtual scene is divided into predetermined number in the way of Octree or k- dimension binary trees The non-uniform more sub-regions of size;
Or, sub-step 233, the density according to the degree adaptive of the secondary light source change subregion, and according to The virtual scene is divided into the non-uniform more sub-regions of size of predetermined number by the density of the subregion after adjustment.
Rectangular box can be also referred to as according to the model split subregion of axis aligned bounding box, axis aligned bounding box, usually referred to as For AABB, i.e. Axis Aligned Bounding Box.The AABB of one 3D is exactly a simple hexahedron, per one side all Parallel to a coordinate plane, rectangular bounding box differs, and to establish a capital be cube, and length can also be different from each other.It is of the invention real Apply in example, when dividing subregion, can by observe the virtual scene observation position centered on world coordinates on, It can be divided on the world coordinates centered on the first light source position.
The mode of binary tree (K-D trees) can also be tieed up according to non-uniform space dividing mode, such as Octree, k-, by institute State virtual scene and be evenly dividing more sub-regions for predetermined number.
Can also change the density of the subregion according to the degree adaptive of the secondary light source, and according to adjustment after The virtual scene is divided into the non-uniform more sub-regions of size of predetermined number by the density of the subregion.
The mode of above-mentioned a variety of division subregions can make choice according to specific environment and demand.
In order to make those skilled in the art be better understood from the embodiment of the present invention, below by way of a specific example to institute A kind of computational methods for the light radiation response stated illustrate.Fig. 4 a, Fig. 4 b, Fig. 4 c, Fig. 4 d and Fig. 4 e are implementation of the present invention The calculating process schematic diagram of light radiation response in one example of example.
During Fig. 4 a represent that the first light source of first step light shines directly into vertical metope, shade is being produced While depth map, the normal map and material parameters figure at generation light source visual angle, map parameter are referred to illustration above.
Fig. 4 b represent second step, each point that the first light source is irradiated to by the first step is transformed into virtual field under world space A small light source in scape, ringlet represents these point light sources, i.e. secondary light source in figure.
Fig. 4 c-Fig. 4 e are to start to calculate light propagation SH, the similar iterative step with Fig. 2 according to grid division.
Fig. 4 c represent point light source is put into grid to manage, but the problem of being clearly present is the lattice only shone in the first step There is illumination in son, and there is no illumination in adjacent grid, it is therefore desirable to further propagation of the iterative calculation light between grid.
Fig. 4 d and Fig. 4 e illustrate a process of illumination iteration, and the process that a light is propagated, the in schematic diagram Two destination object level grounds have been illuminated a part, these transmission so can be utilized when rendering in horizontal component The Lighting information come is rendered.
It should be noted that the decay with intensity of illumination is understood in actual conditions, in the communication process of light, the light source in figure Point only include the situation of light propagation, the decay of intensity of illumination is not shown according to specific transmission situation.
By the embodiment of the present invention, made with the first point of irradiation of the first light source direct projection first object object into virtual scene For secondary light source, for showing the indirect lighting situation of reflection light temporarily, the is calculated according to the irradiation attribute of the first point of irradiation Two light sources carry out the light source attributes of light reflection, and light is iterated to calculate in each sub-district according to the light source attributes of each secondary light source The propagation in domain, obtains irradiation attribute of the secondary light source to the second point of irradiation of the second destination object, and further calculates the second light The radiation response in source, since secondary light source is the point of irradiation of the first light source direct irradiation, the light of secondary light source irradiation is For the reflection light of the direct projection light of the first light source, it is known that, the radiation response of secondary light source that is to say the first indirect light source irradiation Effect, an embodiment of the present invention provides a kind of computational methods of light radiation response, and it is possible to realize indirect irradiation effect Calculate in real time.
On the other hand, in the embodiment of the present invention, can also iterative calculation secondary light source in each sub-regions successively into The irradiation attribute of the second point of irradiation after the propagation of row light, can adjust iterations according to the actual requirements, obtain the meter of higher Calculate precision, the number of iterative calculation according to the calculated performance of current device, can also be controlled, to avoid current device is caused compared with Other work and equipment performance that big load pressure and influence currently carries out.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement, because according to According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Based on the explanation of above method embodiment, the computing device present invention also offers corresponding light radiation response is real Example is applied, to realize the content described in above method embodiment.
With reference to Fig. 5, it illustrates a kind of computing device structure block diagram of light radiation response described in the embodiment of the present invention 1.
Irradiate attribute record module 31, for record the first light source direct projection into virtual scene first object object first The irradiation attribute of point of irradiation;
Light source attributes computing module 32, for being used as second light in the virtual scene using each first point of irradiation Source, the light source attributes of the secondary light source progress light reflection are calculated according to the irradiation attribute of first point of irradiation;
Light source division module 33, for each secondary light source to be respectively divided to more sub-regions of the virtual scene In;
Attribute computing module 34 is irradiated, for the light source attributes according to the secondary light source, the secondary light source is calculated and exists After carrying out light propagation in each sub-regions successively, it is irradiated to the second point of irradiation of the second destination object in the virtual scene Irradiate attribute;
Radiation response computing module 35, for the irradiation attribute by second point of irradiation, calculates the secondary light source pair The direct irradiation effect of the destination object, the indirect irradiation effect as first light source to second destination object.
In the embodiment of the present invention, it is preferable that the irradiation attribute of first point of irradiation includes the position of first light source Information, the direction of illumination of first light source, the depth of shine of first point of irradiation, the normal direction of first point of irradiation And the first object object the first point of irradiation position material color and material to the attenuation parameter of light;
The light source attributes of the secondary light source include positional information of first point of irradiation in the virtual scene, institute State the direction of illumination of secondary light source and the light color and light intensity of the secondary light source.
In the embodiment of the present invention, it is preferable that the light source attributes computing module includes:
Positional information calculation submodule, for calculating the positional information of first light source and the photograph of first point of irradiation The sum of depth is penetrated, as positional information of first point of irradiation in the virtual scene;
Direction of illumination calculating sub module, the method for the direction of illumination according to first light source and first point of irradiation Line direction determines the direction of illumination of the secondary light source;
First light intensity calculating sub module, for calculating first irradiation by the depth of shine of first point of irradiation Light intensity of the point in irradiation process after decay;
Light color calculating sub module, shines for the light intensity to be multiplied by the first object object described first The material color of exit point position, obtains the light color of the secondary light source;
Second light intensity calculating sub module, for the light intensity to be multiplied by the first object object described The material of one point of irradiation position obtains the light intensity of the secondary light source to the attenuation parameter of light.
In the embodiment of the present invention, it is preferable that the secondary light source uses the irradiation category of secondary light source described in three-D grain Spherical harmonics function representation of the property as parameter.
In the embodiment of the present invention, it is preferable that the irradiation attribute computing module includes:
Iteration submodule, for by iterating to calculate the second of secondary light source in each sub-regions and its adjacent six direction The spherical harmonics function of light source, obtain light of the secondary light source in each sub-regions propagate after, be irradiated to virtual scene In the second destination object the second point of irradiation irradiation attribute;
Wherein, the iterative calculation is carried out every frame or the iterations is less than default iterations.
By the embodiment of the present invention, made with the first point of irradiation of the first light source direct projection first object object into virtual scene For secondary light source, for showing the indirect lighting situation of reflection light temporarily, the is calculated according to the irradiation attribute of the first point of irradiation Two light sources carry out the light source attributes of light reflection, and light is iterated to calculate in each sub-district according to the light source attributes of each secondary light source The propagation in domain, obtains irradiation attribute of the secondary light source to the second point of irradiation of the second destination object, and further calculates the second light The radiation response in source, since secondary light source is the point of irradiation of the first light source direct irradiation, the light of secondary light source irradiation is For the reflection light of the direct projection light of the first light source, it is known that, the radiation response of secondary light source that is to say the first indirect light source irradiation Effect, an embodiment of the present invention provides a kind of computational methods of light radiation response, and it is possible to realize indirect irradiation effect Calculate in real time.
On the other hand, in the embodiment of the present invention, can also iterative calculation secondary light source in each sub-regions successively into The irradiation attribute of the second point of irradiation after the propagation of row light, can adjust iterations according to the actual requirements, obtain the meter of higher Calculate precision, the number of iterative calculation according to the calculated performance of current device, can also be controlled, to avoid current device is caused compared with Other work and equipment performance that big load pressure and influence currently carries out.
With reference to Fig. 6, it illustrates a kind of computing device structure block diagram of light radiation response described in the embodiment of the present invention 2.
Irradiate attribute record module 41, for record the first light source direct projection into virtual scene first object object first The irradiation attribute of point of irradiation;
Light source attributes computing module 42, for being used as second light in the virtual scene using each first point of irradiation Source, the light source attributes of the secondary light source progress light reflection are calculated according to the irradiation attribute of first point of irradiation;
Region division module 43, for the virtual scene to be divided into more sub-regions;
Light source division module 44, for each secondary light source to be respectively divided to more sub-regions of the virtual scene In;
Attribute computing module 45 is irradiated, for the light source attributes according to the secondary light source, the secondary light source is calculated and exists After carrying out light propagation in each sub-regions successively, it is irradiated to the second point of irradiation of the second destination object in the virtual scene Irradiate attribute;
Radiation response computing module 46, for the irradiation attribute by second point of irradiation, calculates the secondary light source pair The direct irradiation effect of the destination object, the indirect irradiation effect as first light source to second destination object.
In the embodiment of the present invention, it is preferable that the region division module further comprises:
First division submodule, for from from the virtual scene observation position centered on world coordinates or with On world coordinates centered on the first light source position, the virtual scene is drawn in the way of axis aligned bounding box It is divided into more sub-regions of uniform size of predetermined number;
Or, second division submodule, for by Octree or k- dimension binary tree in the way of the virtual scene is uniform It is divided into the non-uniform more sub-regions of size of predetermined number;
Or, the 3rd division submodule, for changing the close of the subregion according to the degree adaptive of the secondary light source Degree, and according to the density of the subregion after adjustment be evenly dividing the virtual scene uneven for the size of predetermined number More sub-regions.
By the embodiment of the present invention, made with the first point of irradiation of the first light source direct projection first object object into virtual scene For secondary light source, for showing the indirect lighting situation of reflection light temporarily, the is calculated according to the irradiation attribute of the first point of irradiation Two light sources carry out the light source attributes of light reflection, and light is iterated to calculate in each sub-district according to the light source attributes of each secondary light source The propagation in domain, obtains irradiation attribute of the secondary light source to the second point of irradiation of the second destination object, and further calculates the second light The radiation response in source, since secondary light source is the point of irradiation of the first light source direct irradiation, the light of secondary light source irradiation is For the reflection light of the direct projection light of the first light source, it is known that, the radiation response of secondary light source that is to say the first indirect light source irradiation Effect, an embodiment of the present invention provides a kind of computational methods of light radiation response, and it is possible to realize indirect irradiation effect Calculate in real time.
On the other hand, in the embodiment of the present invention, can also iterative calculation secondary light source in each sub-regions successively into The irradiation attribute of the second point of irradiation after the propagation of row light, can adjust iterations according to the actual requirements, obtain the meter of higher Calculate precision, the number of iterative calculation according to the calculated performance of current device, can also be controlled, to avoid current device is caused compared with Other work and equipment performance that big load pressure and influence currently carries out.
For the computing device embodiment of above-mentioned light radiation response, since it is substantially similar to embodiment of the method, So description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as:Personal computer, service Device computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set Box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including any of the above system or equipment Distributed computing environment etc..
The present invention can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, by Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with In the local and remote computer-readable storage medium including storage device.
In the present invention, " component ", " device ", " system " etc. refer to the related entities applied to computer, such as hardware, firmly Combination, software or executory software of part and software etc..In detail, for example, component can with but be not limited to run on place The process of reason device, processor, object, executable component, execution thread, program and/or computer.In addition, run on server On application program or shell script, server can be component.One or more assemblies can be in the process and/or line of execution Cheng Zhong, and component can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by Various computer-readable medium operations.Component can also be according to the signal with one or more data packets, for example, from one Pass through signal and other systems with another component interaction in local system, distributed system, and/or network in internet and hand over The signal of mutual data is communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or order.Moreover, term " comprising ", "comprising", not only including those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or equipment institute inherently Key element.In the absence of more restrictions, the key element limited by sentence " including ... ", it is not excluded that including described Also there are other identical element in the process of key element, method, article or equipment.
Moreover, "and/or" above represent both to have contained herein " and " relation, also contains the relation of "or", its In:If option A and option b be " and " relation, then it represents that option A and option b can be included in certain embodiment at the same time;If Option A and the relation that option b is "or", then it represents that can individually include option A in certain embodiment, or individually include option b.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.
Above to a kind of computational methods and device of light radiation response provided by the present invention, it is described in detail, Specific case used herein is set forth the principle of the present invention and embodiment, and the explanation of above example is simply used Understand the method and its core concept of the present invention in help;Meanwhile for those of ordinary skill in the art, according to the present invention's Thought, there will be changes in specific embodiments and applications, in conclusion this specification content should not be construed as Limitation of the present invention.

Claims (8)

  1. A kind of 1. computational methods of light radiation response, it is characterised in that including:
    Record the irradiation attribute of the first light source direct projection first point of irradiation of first object object into virtual scene;Wherein, first The irradiation attribute of point of irradiation is during the first light source direct irradiation, is extracted from the depth map for calculating generation shade;
    Using each first point of irradiation as a secondary light source in the virtual scene, according to the irradiation of first point of irradiation Attribute calculates the light source attributes that the secondary light source carries out light reflection, and each secondary light source is respectively divided described virtual In more sub-regions of scene;
    According to the light source attributes of the secondary light source, calculate the secondary light source and carry out light propagation successively in each sub-regions Afterwards, it is irradiated to the irradiation attribute of the second point of irradiation of the second destination object in the virtual scene;Wherein, the secondary light source is adopted Spherical harmonics function representation of the irradiation attribute of the secondary light source described in three-D grain as parameter;
    Including:By the spherical harmonics for iterating to calculate the secondary light source of secondary light source and its adjacent six direction in each sub-regions Function, obtain light of the secondary light source in each sub-regions propagate after, be irradiated to the second destination object in virtual scene The second point of irradiation irradiation attribute;The iterative calculation is carried out every frame or the iterations is less than default iterations;
    By the irradiation attribute of second point of irradiation, direct irradiation effect of the secondary light source to the destination object is calculated, Indirect irradiation effect as first light source to second destination object.
  2. 2. according to the method described in claim 1, it is characterized in that, the irradiation attribute of first point of irradiation includes described first The positional information of light source, the direction of illumination of first light source, the depth of shine of first point of irradiation, first point of irradiation Material color and material in the first point of irradiation position of normal direction and the first object object decline to light Subtract parameter;
    The light source attributes of the secondary light source include positional information of first point of irradiation in the virtual scene, described the The light color and light intensity of the direction of illumination of two light sources and the secondary light source.
  3. 3. according to the method described in claim 2, it is characterized in that, described calculate second according to the irradiation attribute of the first point of irradiation The step of light source attributes of light source progress light reflection, includes:
    The sum of the positional information of first light source and the depth of shine of first point of irradiation are calculated, as the described first irradiation Positional information of the point in the virtual scene;
    The photograph of the secondary light source is determined according to the normal direction of the direction of illumination of first light source and first point of irradiation Penetrate direction;
    Light intensity after first point of irradiation is decayed in irradiation process is calculated by the depth of shine of first point of irradiation, The light intensity is multiplied by material color of the first object object in the first point of irradiation position, obtains described second The light color of light source, material pair of the first object object in the first point of irradiation position is multiplied by by the light intensity The attenuation parameter of light, obtains the light intensity of the secondary light source.
  4. 4. according to the method described in claim 1, it is characterized in that, further include:
    The virtual scene is divided into more sub-regions, is further comprised:
    From from the virtual scene observation position centered on world coordinates or using the first light source position as On the world coordinates at center, the virtual scene is divided into the uniform in size of predetermined number in the way of axis aligned bounding box More sub-regions;
    Or, the virtual scene is divided into the way of Octree or k- dimension binary trees predetermined number size it is non-uniform More sub-regions;
    Or, the density of the subregion is changed according to the degree adaptive of the secondary light source, and according to the son after adjustment The virtual scene is divided into the non-uniform more sub-regions of size of predetermined number by the density in region.
  5. A kind of 5. computing device of light radiation response, it is characterised in that including:
    Attribute record module is irradiated, for recording the first point of irradiation of the first light source direct projection first object object into virtual scene Irradiation attribute;Wherein, the irradiation attribute of the first point of irradiation is during the first light source direct irradiation, and shade is produced from calculating Depth map in extract;
    Light source attributes computing module, for being used as a secondary light source in the virtual scene, root using each first point of irradiation The light source attributes of the secondary light source progress light reflection are calculated according to the irradiation attribute of first point of irradiation;
    Light source division module, for each secondary light source to be respectively divided in more sub-regions of the virtual scene;
    Attribute computing module is irradiated, for the light source attributes according to the secondary light source, calculates the secondary light source in each height After carrying out light propagation in region successively, be irradiated to the second destination object in the virtual scene the second point of irradiation irradiation category Property;Wherein, the secondary light source is using spherical harmonics letter of the irradiation attribute of secondary light source described in three-D grain as parameter Number represents;
    Including:Iteration submodule, for by iterating to calculate the of secondary light source in each sub-regions and its adjacent six direction The spherical harmonics function of two light sources, obtain light of the secondary light source in each sub-regions propagate after, be irradiated to virtual field The irradiation attribute of second point of irradiation of the second destination object in scape;The iterative calculation is carried out every frame or the iterations is less than Default iterations;
    Radiation response computing module, for the irradiation attribute by second point of irradiation, calculates the secondary light source to the mesh Mark the direct irradiation effect of object, the indirect irradiation effect as first light source to second destination object.
  6. 6. device according to claim 5, it is characterised in that the irradiation attribute of first point of irradiation includes described first The positional information of light source, the direction of illumination of first light source, the depth of shine of first point of irradiation, first point of irradiation Material color and material in the first point of irradiation position of normal direction and the first object object decline to light Subtract parameter;
    The light source attributes of the secondary light source include positional information of first point of irradiation in the virtual scene, described the The light color and light intensity of the direction of illumination of two light sources and the secondary light source.
  7. 7. device according to claim 6, it is characterised in that the light source attributes computing module includes:
    Positional information calculation submodule, the positional information and the irradiation of first point of irradiation for calculating first light source are deep The sum of degree, as positional information of first point of irradiation in the virtual scene;
    Direction of illumination calculating sub module, the normal side for the direction of illumination according to first light source and first point of irradiation To the direction of illumination for determining the secondary light source;
    First light intensity calculating sub module, exists for calculating first point of irradiation by the depth of shine of first point of irradiation Light intensity after decaying in irradiation process;
    Light color calculating sub module, for the light intensity to be multiplied by the first object object in first point of irradiation The material color of position, obtains the light color of the secondary light source;
    Second light intensity calculating sub module, shines for the light intensity to be multiplied by the first object object described first The material of exit point position obtains the light intensity of the secondary light source to the attenuation parameter of light.
  8. 8. device according to claim 5, it is characterised in that further include:
    Region division module, for the virtual scene to be divided into more sub-regions, further comprises:
    First division submodule, for the world coordinates centered on the observation position of the virtual scene from or with described On world coordinates centered on first light source position, the virtual scene is divided into the way of axis aligned bounding box More sub-regions of uniform size of predetermined number;
    Or, the second division submodule, it is pre- for being divided into the virtual scene in the way of Octree or k- dimension binary trees If the non-uniform more sub-regions of the size of number;
    Or, the 3rd division submodule, for changing the density of the subregion according to the degree adaptive of the secondary light source, and The virtual scene is divided into the non-uniform more height of size of predetermined number according to the density of the subregion after adjustment Region.
CN201410308013.5A 2014-06-30 2014-06-30 A kind of computational methods and device of light radiation response Active CN105335996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410308013.5A CN105335996B (en) 2014-06-30 2014-06-30 A kind of computational methods and device of light radiation response

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410308013.5A CN105335996B (en) 2014-06-30 2014-06-30 A kind of computational methods and device of light radiation response

Publications (2)

Publication Number Publication Date
CN105335996A CN105335996A (en) 2016-02-17
CN105335996B true CN105335996B (en) 2018-05-01

Family

ID=55286498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410308013.5A Active CN105335996B (en) 2014-06-30 2014-06-30 A kind of computational methods and device of light radiation response

Country Status (1)

Country Link
CN (1) CN105335996B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228599B (en) * 2016-06-24 2019-04-05 长春理工大学 Approximate soft shadows method for drafting based on two-stage visibility smothing filtering
KR101888963B1 (en) * 2017-03-06 2018-08-17 (주)오앤드리메디컬로봇 Area grouping method for laser therapy, laser therapy method and apparatus thereof
CN111260766B (en) * 2020-01-17 2024-03-15 网易(杭州)网络有限公司 Virtual light source processing method, device, medium and electronic equipment
CN112802170B (en) * 2021-02-07 2023-05-16 抖音视界有限公司 Illumination image generation method, device, equipment and medium
CN113827960B (en) * 2021-09-01 2023-06-02 广州趣丸网络科技有限公司 Game view generation method and device, electronic equipment and storage medium
CN114419240B (en) * 2022-04-01 2022-06-17 腾讯科技(深圳)有限公司 Illumination rendering method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074041A (en) * 2010-12-21 2011-05-25 长春理工大学 Method for drawing planar caustic effect of 3D virtual scene produced by specular reflection
CN101458823B (en) * 2008-12-19 2011-08-31 北京航空航天大学 Real-time lighting drawing method under virtual stage environment
CN102298792A (en) * 2011-08-08 2011-12-28 长春理工大学 Approximate drawing method for 3D (three-dimensional) virtual scene comprising surface caustic effect generated by mirror reflection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458823B (en) * 2008-12-19 2011-08-31 北京航空航天大学 Real-time lighting drawing method under virtual stage environment
CN102074041A (en) * 2010-12-21 2011-05-25 长春理工大学 Method for drawing planar caustic effect of 3D virtual scene produced by specular reflection
CN102298792A (en) * 2011-08-08 2011-12-28 长春理工大学 Approximate drawing method for 3D (three-dimensional) virtual scene comprising surface caustic effect generated by mirror reflection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于谐波图片的重光照技术研究;毕田力;《中国优秀硕士学位论文全文数据库 信息科技辑》;20101015(第10期);第I138-723页 *

Also Published As

Publication number Publication date
CN105335996A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN105335996B (en) A kind of computational methods and device of light radiation response
Ebert et al. Texturing and modeling: a procedural approach
Pirk et al. Plastic trees: interactive self-adapting botanical tree models
CN113781626B (en) Techniques to traverse data used in ray tracing
Ritschel et al. Micro-rendering for scalable, parallel final gathering
US7212207B2 (en) Method and apparatus for real-time global illumination incorporating stream processor based hybrid ray tracing
CN113808245B (en) Enhanced techniques for traversing ray tracing acceleration structures
Li et al. [Retracted] Multivisual Animation Character 3D Model Design Method Based on VR Technology
CN113808241B (en) Hardware acceleration of ray traced primitives sharing vertices
CN112396684A (en) Ray tracing method, ray tracing device and machine-readable storage medium
Yao et al. Multi‐image based photon tracing for interactive global illumination of dynamic scenes
Iwasaki et al. Real‐time rendering of dynamic scenes under all‐frequency lighting using integral spherical gaussian
CN103514624A (en) Method for estimating quantity of light received by participating media, and corresponding device
Klehm et al. Property and lighting manipulations for static volume stylization using a painting metaphor
CN105023289A (en) Graphic image three-dimensional processing platform
Camporesi et al. Computing shortest path maps with GPU shaders
Papaefthymiou et al. A fast and robust pipeline for populating mobile AR scenes with gamified virtual characters
US9396580B1 (en) Programmable system for artistic volumetric lighting
Mortensen et al. Real-time global illumination for vr applications
Sdegno et al. Advanced Simulation of Frank Lloyd Wright’s Fallingwater: Digital Reconstruction and Virtual Reality
Liu et al. scheme of dynamic clouds generation for 3d real time flight simulation
CN117745915B (en) Model rendering method, device, equipment and storage medium
Vaillancourt et al. Placeholders beyond static art replacement
Hyvärinen Surface Reconstruction of Point Clouds Captured with Microsoft Kinect
Johansson et al. From BIM to VR

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant