3D rendering and shadow information storing method and apparatus
AssigneeSamsung Electronics Co., Ltd.
InventorsInwoo Ha, Minsu Ahn, Minjung Son, Hyong Euk Lee
Life of this patent
Estimating the term…
Abstract
A shadow information storing method and apparatus is disclosed. The shadow information storing apparatus determines a shadow area through rendering a three-dimensional (3D) model based on light radiated from a reference virtual light source, determines a shadow feature value of a vertex of the 3D model based on a distance between a location of the vertex of the 3D model and the shadow area, and stores the determined shadow feature value.
Claims16
A shadow information storing method, comprising:
- determining, at a processor, a shadow area through rendering a three-dimensional (3D) model;
- determining, at the processor, a shadow feature value of a vertex of the 3D model based on a distance between a location of the vertex and a boundary of the shadow area;
- and
- storing the determined shadow feature value by classifying the shadow feature value based on a location of a reference virtual light source,
- wherein the shadow feature value of the vertex comprises information on whether the vertex is located in the shadow area and information on a distance between the vertex and the boundary of the shadow area, and
- wherein the storing of the shadow feature value comprises:
- classifying, into clusters, a type of a change in a shadow feature value in image frames generated by the rendering of the 3D model;
- and
- storing an index of a cluster corresponding to a change in the shadow feature value of the vertex among the clusters.
A three-dimensional (3D) rendering method to render a 3D model, the method comprising:
- extracting, from shadow information, a shadow feature value of a vertex of the 3D model;
- determining a shadow feature value for each pixel of a polygon by interpolating extracted shadow feature values of vertices forming the polygon;
- and
- determining a shadow area based on the shadow feature value determined for the each pixel,
- wherein the shadow feature value of the vertex comprises information on whether the each vertex is located in the shadow area and information on a distance between the vertex and the boundary of the shadow area, and
- wherein the shadow information is stored by classifying, into clusters, a type of a change in a shadow feature value in image frames generated by rendering of the 3D model and storing an index of a cluster corresponding to a change in the shadow feature value of the vertex among the cluster.
A three-dimensional (3D) rendering apparatus, comprising:
- a processor configured to extract a shadow feature value of a vertex of a 3D model from shadow information, to determine a shadow feature value for each pixel of a polygon by interpolating extracted shadow feature values of vertices forming the polygon, and to determine a shadow area based on the shadow feature value determined for the each pixel,
- wherein the shadow feature value of the vertex comprises information on whether the vertex is located in the shadow area and information on a distance between the vertex and the boundary of the shadow area, and
- wherein the shadow information is stored by classifying, into clusters, a type of change in a shadow feature value in image frames generated by rendering of the 3D model and storing an index of a cluster corresponding to a change in the shadow feature value of the vertex among the clusters.
Dependencies are inferred from the claim text.