摘要:
Embodiments of the invention provide a renderer-agnostic method for representing materials independently from an underlying rendering engine. Advantageously, materials libraries may be extended with new materials for rendering with an existing rendering engine and implementation. Also, new rendering engines and implementations may be added for existing materials. Thus, at run-time, rather than limiting the rendering to being performed on a pre-determined rendering engine, the rendering application may efficiently and conveniently manage rendering a graphics scene on a plurality of rendering engines or implementations.
摘要:
The present invention relates to a system for interactively moving a hit point within a current triangle of the model, where the hit point defines a location of a brush stamp relative to the model, where a circle with a radius either defines the brush stamp or minimally contains the brush stamp. For each vertex of the current triangle containing the hit point, a sub-neighborhood of vertices of the model is defined by including in the sub-neighborhood vertices of the model that are within a distance of the hit point, the distance being a sum of the radius of the circle added to a length of a longest edge that is attached to the vertex. A sub-parameterization for each sub-neighborhood is then computed. The system then finds a barycentric coordinate of the hit point in the current triangle, where the barycentric coordinate has three barycentric values, each corresponding to a vertex of the current triangle. The system the computes a local parameterization by weighted averaging of the sub-parameterizations, where each sub-parameterization is weighted according to the barycentric value of the vertex of its sub-neighborhood.
摘要:
An original mesh is provided with a bounding surface and a convex hull surface. A first tessellation links the convex hull to the original mesh, and a second tessellation links the bounding surface to the convex hull. Using the tessellations to find a first intersection between a ray and the original mesh by finding a first intersected polygon of the bounding surface, and then traversing adjacent intersected polygons starting from the first intersection until the intersection is found. When the ray is moved, a second ray-surface intersection can be found by finding a polygon locally near the first intersection and containing a first intersection with the moved ray, traversing out from the local polygon through adjacent polygons intersected by the moved ray, and determining whether traversed polygons are unoccluded based on whether they are part of the convex hull surface.
摘要:
A system that implements a “tangent space brush,” allowing a user to paint directly onto a parameterized object, for example a three dimensional object. A tangent space brush projects coordinates from an input device to the world-space point on the surface of the 3D object. A normal is determined at that point and a brush image is projected from that point, along the normal, to the underlying surfaces. The system is implemented by providing a system that implements selecting a selected area of a displayed object, and projecting a brush directly onto a surface of the selected area.
摘要:
Embodiments of the present invention include techniques for reducing artifacts in rendered images. In one embodiment, a dual UV engine generates a dual of the graph defined by an initial UV set associated with a 3D model. The dual UV engine then uses existing flattening and layout engines to generate a dual UV set from this dual graph. Using the dual graph to define the dual UV set ensures that the seams corresponding to the initial UV set and the dual UV set minimally intersect.
摘要:
Embodiments of the present invention include techniques for reducing artifacts in rendered images. In one embodiment, a dual UV engine generates a dual of the graph defined by an initial UV set associated with a 3D model. The dual UV engine then uses existing flattening and layout engines to generate a dual UV set from this dual graph. Using the dual graph to define the dual UV set ensures that the seams corresponding to the initial UV set and the dual UV set minimally intersect.
摘要:
Embodiments of the invention provide a renderer-agnostic method for representing materials independently from an underlying rendering engine. Advantageously, materials libraries may be extended with new materials for rendering with an existing rendering engine and implementation. Also, new rendering engines and implementations may be added for existing materials. Thus, at run-time, rather than limiting the rendering to being performed on a pre-determined rendering engine, the rendering application may efficiently and conveniently manage rendering a graphics scene on a plurality of rendering engines or implementations.
摘要:
A method for generating a user interface within a graphics application for a set of materials, such that each material includes a material definition and is capable of being applied to a geometry in a graphics scene when performing a rendering operation. A GUI generation engine obtains configuration information associated with an environment for a computer system and determines that a first set of materials is associated with the configuration information. The GUI generation selects the first set of materials to be displayed in a graphical user interface, and the graphical user interface is displaying to an end-user. Advantageously, embodiments of the invention provide for a technique for exposing only those materials, user interface objects, editable material parameters, user interface elements, vocabulary, rendering engines, and/or rendering engine implementations that are relevant to the user of a particular rendering application.
摘要:
A method for assigning background pixels an appropriate color to fill all remaining background pixels by a computer after standard paint and overscan techniques to prevent and reduce artifacts. The method includes computing an initial mipmap level and keeping track of which pixels are background pixels. Four pixels at a subsequent mipmap level correspond to a single pixel at a higher level. If the four pixels at the lower level are background pixels, then the single pixel is also a background pixel and a corresponding color is used. Otherwise, the color of the single pixel is the average of non-background pixels.
摘要:
Embodiments of the invention provide a method for extending a graphics rendering framework. A rendering application locates a first file that includes a first implementation involving a first graphics material and compares data associated with the first file to data associated with a second file that includes a second implementation involving a second graphics material. The rendering application compares data associated with the first and second files, determines that the first graphics material matches the second graphics material, and determines that the first implementation is different from the second implementation. The data associated with the first file and the data associated with the second file are then combined into a data structure. Advantageously, new graphics materials, and implementations for existing graphics materials, may be created without access to the source code of the original implementation of the graphics materials and may be installed at a later time without re-shipping the entire library of graphics materials and implementations.