摘要 |
The invention relates to a method for estimating the opacity at a point (13) of a scene lit by an area light source (10) and comprising an object (11) defined by a mesh and occluding some of the emitted light. In order to optimize the calculations for live estimation of the opacity, the method comprises the steps of: - sampling of said area light source (10) in a plurality of samples (101, 102, 103), - for at least one sample of the plurality of samples (101, 102, 103) and for at least one first mesh element of the occluding object (11) visible from the at least one sample, generation of one shadow plane per edge of the at least one first mesh element, - estimation of a opacity level depending on coefficients of projection in a function base from values representative of the opacity for a set of intersection points (210, 211, 212) between at least one ray (21) having for origin a viewpoint (20) of the scene and shadow planes crossed by said at least one ray (21), depending on an angle formed by the normal associated with each shadow plane crossed and by said at least one ray (21). The invention also relates to a corresponding device. |