Automatic level-of-detail for physically-based materials
AssigneeNVIDIA Corporation
InventorsLutz Kettner, Jan Jordan
Life of this patent
Estimating the term…
Abstract
A method, computer readable medium, and system are disclosed for implementing automatic level-of-detail for physically-based materials. The method includes the steps of identifying a declarative representation of a material to be rendered, creating a reduced complexity declarative representation of the material by applying one or more term rewriting rules to the declarative representation of the material, and returning the reduced complexity declarative representation of the material.
Claims28
A method comprising:
- identifying a declarative representation of a material to be rendered, the declarative representation including expressions representing a structural part in the material as one or more functions defining a distribution of light as it interacts with the material;
- creating a reduced complexity declarative representation of the material by:
- traversing the expressions, and
- applying one or more term rewriting rules to the expressions during the traversing of the expressions,
- wherein at least one term rewriting rule of the one or more term rewriting rules includes a pattern that when matched to a sub-expression of one of the expressions replaces the one of the expressions with a replacement expression determined at least in part from the term rewriting rule;
- and
- returning the reduced complexity declarative representation of the material.
A system comprising:
- a processor that is configured to:
- identify a declarative representation of a material to be rendered, the declarative representation including expressions representing a structural part in the material as one or more functions defining a distribution of light as it interacts with the material;
- create a reduced complexity declarative representation of the material by:
- traversing the expressions, and
- applying one or more term rewriting rules to the expressions during the traversing of the expressions,
- wherein at least one term rewriting rule of the one or more term rewriting rules includes a pattern that when matched to a sub-expression of one of the expressions replaces the one of the expressions with a replacement expression determined at least in part from the term rewriting rule;
- and
- return the reduced complexity declarative representation of the material.
A computer-readable storage medium storing instructions that, when executed by a processor, causes the processor to perform steps comprising:
- identifying a declarative representation of a material to be rendered, the declarative representation including expressions representing a structural part in the material as one or more functions defining a distribution of light as it interacts with the material;
- creating a reduced complexity declarative representation of the material by:
- traversing the expressions, and
- applying one or more term rewriting rules to the expressions during the traversing of the expressions,
- wherein at least one term rewriting rule of the one or more term rewriting rules includes a pattern that when matched to a sub-expression of one of the expressions replaces the one of the expressions with a replacement expression determined at least in part from the term rewriting rule;
- and
- returning the reduced complexity declarative representation of the material.
Dependencies are inferred from the claim text.