Defining surface normals in a 3D surface mesh
AssigneeIntel Corporation
InventorStephen Junkins
Life of this patent
Estimating the term…
Abstract
In rendering an image of a 3D surface, a computer system obtains a digital model that includes data points defining vertices for triangles that represent 2D faces of the 3D surface. The computer also obtains a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices. The computer applies an algorithm, such as, Loop's Equation, to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles. The computer applies the same algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices.
Claims24
A computer-implemented method for use in rendering an image of a 3D surface, the method comprising:
- obtaining a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtaining a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- applying a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- applying the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices,
- wherein applying the computer-implemented algorithm includes applying the following equation:
- mk+1=½(z1k+z2k)+2w(z3k+z4k)−w(z5k+z6k+z7k+z8k),
- where each Zn represents one of the data points or vectors, where k indicates how many times the digital model of the 3D surface has been subdivided, and where w is a constant.
A computer-implemented method for use in rendering an image of a 3D surface, the method comprising:
- obtaining a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtaining a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- applying a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- applying the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices;
- wherein applying the computer-implemented algorithm to the data points and to the vectors includes applying the algorithm to both data points and to vectors at one time;
- and
- creating supervectors, each representing both one of the data points and one of the vectors, wherein applying the computer-implemented algorithm includes inserting the supervectors into a predetermined equation to calculate new supervectors for the new vertices.
A storage medium that stores executable instructions to render an image of a 3D surface, the instructions causing a computer to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices,
- wherein, in applying the computer-implemented algorithm, the computer applies the following equation:
- mk+1=½(z1k+z2k)+2w(z3k+z4k)−w(z5k+z6k+z7k+z8k),
- where each zn represents one of the data points or vectors, where k indicates how many times the digital model of the 3D surface has been subdivided, and where w is a constant.
A storage medium that stores executable instructions to render an image of a 3D surface, the instructions causing a computer to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices
- wherein, in applying the computer-implemented algorithm to the data points and to the vectors, the computer applies the algorithm to both data points and to vectors at one time;
- and
- wherein the computer creates supervectors, each representing both one of the data points and one of the vectors, and wherein, in applying the computer-implemented algorithm, the computer inserts the supervectors into a predetermined equation to calculate new supervectors for the new vertices.
A computer system comprising:
- a processor and a memory device coupled to a system bus;
- a display device operable to display a rendered image of a 3D surface;
- a graphics controller configured to receive data from the system bus and use the data in rendering the image of the 3D surface on the display device;
- and
- a 3D graphics program loaded into the memory device to assist the processor in delivering the data to the graphics controller, the 3D graphics program comprising executable instructions that cause the processor to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply a same computer-implemented algorithm that was applied to the data points to the vectors using values of the vectors in place of vertex values in the computer-implemented algorithm to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices;
- wherein, in applying the computer-implemented algorithm to the data points, the processor (i) obtains coordinates for a group of the vertices that together define a neighborhood of triangles, and (ii) inserts the coordinates into a predetermined equation to calculate coordinates for a new vertex.
A computer system comprising:
- a processor and a memory device coupled to a system bus;
- a display device operable to display a rendered image of a 3D surface;
- a graphics controller configured to receive data from the system bus and use the data in rendering the image of the 3D surface on the display device;
- and
- a 3D graphics program loaded into the memory device to assist the processor in delivering the data to the graphics controller, the 3D graphics program comprising executable instructions that cause the processor to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices,
- wherein, in applying the computer-implemented algorithm, the processor applies the following equation:
- mk+1=½(z1k+z2k)+2w(z3k+z4k)−w(z5k+z6k+z7k+z8k),
- where each zn represents one of the data points or vectors, where k indicates how many times the digital model of the 3D surface has been subdivided, and where w is a constant.
A computer system comprising:
- a processor and a memory device coupled to a system bus;
- a display device operable to display a rendered image of a 3D surface;
- a graphics controller configured to receive data from the system bus and use the data in rendering the image of the 3D surface on the display device;
- and
- a 3D graphics program loaded into the memory device to assist the processor in delivering the data to the graphics controller, the 3D graphics program comprising executable instructions that cause the processor to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm to the vectors to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices;
- wherein, in applying the computer-implemented algorithm to the data points and to the vectors, the processor applies the algorithm to both data points and to vectors at one time;
- and
- wherein the processor creates supervectors, each representing both one of the data points and one of the vectors, and wherein, in applying the computer-implemented algorithm, the processor inserts the supervectors into a predetermined equation to calculate new supervectors for the new vertices.
A computer system comprising:
- a processor and a memory device coupled to a system bus;
- a display device operable to display a rendered image of a 3D surface;
- a graphics controller configured to receive data from the system bus and use the data in rendering the image of the 3D surface on the display device;
- and
- a 3D graphics program loaded into the memory device to assist the processor in delivering the data to the graphics controller, the 3D graphics program comprising executable instructions that cause the processor to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices:
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm that was applied to the data points to the vectors using values of the vectors in place of vertex values in the computer- implemented algorithm to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices;
- wherein the vectors define the surface normals in rectangular coordinates.
A computer system comprising:
- a processor and a memory device coupled to a system bus;
- a display device operable to display a rendered image of a 3D surface;
- a graphics controller configured to receive data from the system bus and use the data in rendering the image of the 3D surface on the display device;
- and
- a 3D graphics program loaded into the memory device to assist the processor in delivering the data to the graphics controller, the 3D graphics program comprising executable instructions that cause the processor to:
- obtain a digital model of the 3D surface, where the digital model includes data points defining vertices for triangles that represent 2D faces of the 3D surface;
- obtain a plurality of vectors, each defining a surface normal for the 3D surface at a corresponding one of the vertices;
- apply a computer-implemented algorithm to the data points to create new data points defining new vertices that subdivide the triangles into smaller triangles;
- and
- apply the same computer-implemented algorithm that was applied to the data points to the vectors using values of the vectors in place of vertex values in the computer-implemented algorithm to calculate new vectors, each defining a surface normal at a corresponding one of the new vertices;
- wherein the vectors define the surface normals in spherical coordinates.
Dependencies are inferred from the claim text.