A system, method, and apparatus is disclosed for creating a three-dimensional visual representation of an object having multiple resolutions by retrieving a vertex list for the object, determining a collapse order for the vertices identified in the vertex list, reordering the vertices identified in the vertex list responsive to the determined collapse, order, and creating a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex to collapse to. The vertex list may comprise 3D coordinates of vertices without referring to other vertex attributes or, in alternate embodiments, the vertex list may refer to other vertex attributes such as colors or normals. A runtime manager is disclosed which dynamically manages the polygon counts for objects and frames based upon the location, velocity, and area of the object. Polygon counts are also adjusted based upon a target frame rate and a target polygon count. A system is also disclosed for continuous transfer of data across a remote connection in which different levels of resolution are transmitted individually.
|
23. A method for transferring data across a remote connection, in a system in which a minimal resolution of an object is stored and separate packets of information comprising data for creating higher resolutions of the object are stored, comprising the steps of:
receiving as input to a processing device a request for a transmission of an the object to be displayed at a target resolution version of the object;
transmitting, using the processing device, via a remote connection, a minimal resolution version of the object responsive in response to receiving the received request; and
selectively transmitting, using the processing device, via the remote connection, a separate, successive packet of information comprising data for creating a comprising the vertices required to increase a collapse level of the object to a respective, predetermined, next higher resolution version of the object in response to a respective determination that the target resolution version of the object has not been met;
determining whether a target resolution of the object has been met; and
responsive to a target resolution of the object not being met, repeating the transmitting a packet of information comprising data for creating a next higher resolution version of the object step.
0. 31. An apparatus for creating a three-dimensional visual representation of an object, comprising:
a processing device configured to:
determine a collapse order for vertices of a vertex list for the object, across all levels of detail of the object;
order the vertices in the vertex list responsive to the determined collapse order;
create a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
receive input specifying a level of detail at which the object is to be rendered; and
responsive to the received input, render a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
1. A method for creating a three-dimensional visual representation of an object having multiple resolutions, comprising the steps of:
retrieving coordinates of vertices for the object;
determining, using a processing device, a collapse order for the vertices identified in the of a vertex list for the object, across all levels of detail of the object;
reordering ordering the vertices identified in the vertex list responsive to the determined collapse order;
creating, using the processing device, a vertex collapse list responsive to the collapse order, where wherein the vertex collapse list specifies, for a each target vertex, a neighbor vertex of the object to which the target vertex collapse to collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
specifying a level of detail at which the object is to be rendered;
using the vertex collapse list and a level of detail to identify at least one display vertex of the object; and
rendering the display vertex to produce a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
0. 32. A non-transient computer-readable storage medium having stored thereon computer executable instructions, execution of which by a processing device causes the processing device to perform operations for creating a three-dimensional visual representation of an object, the operations comprising:
determining a collapse order for vertices of a vertex list for the object, across all levels of detail of the object;
ordering the vertices in the vertex list responsive to the determined collapse order;
creating a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
specifying a level of detail at which the object is to be rendered; and
rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
0. 33. An apparatus for creating a three-dimensional visual representation of an object, comprising:
a processing device configured to:
determine a collapse order for vertices of the object, including:
determining a set of collapse paths available at a level of detail, including:
selecting a first target vertex;
identifying a number of neighbor vertices, responsive to a received input; and
determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices;
computing a visual distortion factor for each collapse path in the set of collapse paths; and
responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
order the vertices of the object in a vertex list responsive to the determined collapse order;
create a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
receive input specifying a level of detail at which the object is to be rendered; and
in response to the received input, automatically render a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
0. 30. A method for creating a three-dimensional visual representation of an object, comprising:
determining, using a processing device, a collapse order for vertices of the object, wherein said determining the collapse order comprises:
determining a set of collapse paths available at a level of detail, including:
selecting a first target vertex;
identifying a number of neighbor vertices, responsive to a received input; and
determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices;
computing a visual distortion factor for each collapse path in the set of collapse paths; and
responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
ordering the vertices of the object in a vertex list responsive to the determined collapse order;
creating, using the processing device, a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
specifying a level of detail at which the object is to be rendered; and
automatically rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
19. A method for displaying an object, wherein a vertex list and a neighbor list is stored for the object, and vertices in the vertex list are identified by a collapse priority, and the neighbor list identifies the path of a collapse for the vertices, comprising the steps of:
performing a collapse of the object responsive to the vertex list and neighbor list;
storing vertex in memory information for each collapse level, wherein the vertex information regarding a collapse of the object,
wherein the object includes a vertex list and a neighbor list,
wherein vertices in the vertex list are arranged in a collapse priority, across all resolutions of the object,
wherein the neighbor list specifies, for each target vertex in the vertex list, a neighbor vertex of the object to which the target vertex collapses, for at least one resolution of the object, and wherein each vertex collapse operation at a respective resolution of the object collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective resolution of the object, and
wherein the information indicates which vertices of the vertex list exist in the object in the at a collapse level immediately higher and lower than the a current collapse level of the object;
analyzing the object using a processing device to determine a the current collapse level of the object; and
responsive to the determined collapse level a determination requiring the object to be rendered at a resolution higher than a resolution of the current collapse level, adding vertices to a vertex from the vertex list for the object responsive to the vertex list and stored vertex information; and
responsive to the determined collapse level a determination requiring the object to be rendered at a resolution lower than the resolution of the current collapse level, collapsing vertices a vertex in the vertex list for the object responsive to the vertex list and stored vertex information; and
automatically rendering the vertices in the vertex list for the required resolution to produce a three-dimensional visual representation of the object.
0. 34. A non-transitory computer-readable storage medium having stored thereon computer executable instructions, execution of which by a processing device causes the processing device to perform operations for creating a three-dimensional visual representation of an object, the operations comprising:
determining a collapse order for vertices of the object, wherein said determining the collapse order comprises:
determining a set of collapse paths available at a level of detail, including:
selecting a first target vertex;
identifying a number of neighbor vertices, responsive to a received input; and
determining a plurality of collapse paths responsive to coordinates of the first target vertex and the identified number of neighbor vertices;
computing a visual distortion factor for each collapse path in the set of collapse paths; and
responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
ordering the vertices of the object in a vertex list responsive to the determined collapse order;
creating a vertex collapse list responsive to the collapse order, wherein the vertex collapse list specifies, for each target vertex, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail;
specifying a level of detail at which the object is to be rendered; and
automatically rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex list and the vertex collapse list.
17. A method for displaying an object, wherein a vertex list and a neighbor list is stored for the object, and vertices in the vertex list are identified by a collapse priority and the neighbor list identifies the path of a collapse for the vertices, comprising the steps of:
performing, using a processing device, a collapse of the object responsive to the a vertex list and a neighbor list for the object,
wherein vertices in the vertex list for the object are arranged in a collapse priority, across all levels of detail of the object,
wherein the neighbor list specifies, for each target vertex in the vertex list, a neighbor vertex of the object to which the target vertex collapses, for at least one level of detail of the object, and wherein each vertex collapse operation at a respective level of detail collapses a respective target vertex to a neighbor vertex directly connected to the target vertex at the respective level of detail, and
wherein following the collapse the object is in a first collapse level;
storing vertex, in memory associated with the processing device, information for each collapse level relating to the collapse, wherein the vertex information indicates which vertices exist in of the object exist in the a second collapse level immediately higher and lower having at least one more vertex than the current first collapse level and in a third collapse level having at least one fewer vertex than the first collapse level;
receiving input requesting a collapse level for the object;
responsive to the requested a request for a collapse level requiring a higher resolution more vertices than a current the first collapse level, automatically adding vertices to a vertex from the vertex list for the object responsive to the vertex list and the stored vertex information;
responsive to the requested a request for a collapse level requiring a lower resolution fewer vertices than a current the first collapse level, automatically collapsing vertices a vertex in the vertex list of for the object responsive to the vertex list and the stored vertex information; and
automatically rendering the vertices in the vertex list for each requested collapse level to produce a three-dimensional visual representation of the object.
2. The method of
determining a set of collapse paths available at a level of detail;
selecting a collapse path from the set of collapse paths;
computing a visual distortion factor factors for the selected each collapse path in the set of collapse paths; and
responsive to the computed visual distortion factors, determining a collapse value for the selected each collapse path in the set of collapse paths;
repeating selecting a collapse path, computing visual distortion factors, determining a collapse value for each collapse path;
selecting a next vertex to be collapsed as a vertex having a collapse path causing the least visual distortion to the object;
collapsing the next vertex to be collapsed along the corresponding collapse path; and
repeating the above steps until a minimum resolution level is attained.
3. The A method of
determining, using a processing device, a collapse order for vertices of the object, comprising:
determining a set of collapse paths;
computing a visual distortion factors comprises the steps of factor for each collapse path in the set of collapse paths, including:
computing an area change factor for the selected each collapse path;
computing an angular deviation factor for the selected each collapse path; and
computing a local volume change factor for the selected each collapse path; and
responsive to the computed visual distortion factors, determining a collapse value for each collapse path in the set of collapse paths;
ordering the vertices in a vertex list responsive to the determined collapse order;
creating, using the processing device, a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex of the object to which the target vertex collapses;
specifying a level of detail at which the object is to be rendered; and
rendering a three-dimensional visual representation of the object at the specified level of detail using the vertex collapse list.
4. The method of
computing an area of the object after collapsing the a first target vertex along the a first collapse path; and
subtracting the computed area from an area of the object prior to the collapse.
5. The method of
computing a volume of the object after collapsing the a first target vertex along the a first collapse path; and
subtracting the computed volume from a volume of the object prior to the collapse.
6. The method of
selecting the first target vertex to be an apex for a pyramid;
forming a base of the pyramid from a triangle connecting three consecutive neighbor vertices to the first target vertex;
computing a volume of the pyramid;
constructing a next pyramid from a next set of three consecutive neighbor vertices;
computing a volume of the next pyramid;
repeating the constructing a next pyramid and computing a volume steps for all unique three consecutive neighbor vertex sets; and
summing the volumes of the pyramids to obtain a volume of the object.
7. The method of
0. 8. The method of
9. The method of
selecting a first target vertex;
receiving input specifying a maximum number of neighbor vertices for a target vertex;
identifying a number of neighbor vertices, responsive to the a received input; and
determining a plurality of collapse path paths responsive to coordinates of the first target vertex and an identified neighbor vertex;
repeating the determining step for all the identified number of neighbor vertices;
repeating the selecting a target vertex, identifying, determining, and repeating steps for a plurality of vertices.
0. 10. The method of
responsive to selecting a collapse path, displaying the object prior to collapsing the object along the selected path;
collapsing the object along the specified path;
displaying the object after being collapsed along the specified path;
responsive to receiving an input selecting the collapse path, storing the collapse path and corresponding vertex on the collapse order list as the next vertex to be collapsed.
11. The method of
12. The method of
ordering the resolution levels from highest to lowest resolution;
selecting a highest resolution level for collapsing; and
the wherein determining a collapse order step comprises determining a collapse order for vertices of the highest selected resolution level, wherein vertices in the next lowest resolution level are not collapsed; and
repeating the selecting and determining steps for each resolution level.
13. The method of
14. The method of claim 2 13 wherein each of the vertices have coordinates in a has texture map, further comprising the steps of coordinates, and the rendering comprises:
responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the texture map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the texture map coordinates of the second vertex after collapsing the first vertex into the new second vertex;
responsive to the first and second vertex being on an edge of a texture discontinuity, identifying the collapse path as a collapse path not to be used.
15. The method of claim 2 13 wherein each of the vertices have coordinates in a has normal map, further comprising the steps of coordinates, and the rendering comprises:
responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the normal map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the normal map coordinates of the second vertex after collapsing the first vertex into the new second vertex.
16. The method of claim 2 13 wherein each of the vertices have coordinates in a has color map, further comprising the steps of coordinates, and the rendering step comprises:
responsive to a selected collapse path collapsing a first vertex into a second vertex to create a new vertex, and assigning the color map coordinates of the second vertex to prior to collapsing the first vertex into the second vertex as the color map coordinates of the second vertex after collapsing the first vertex into the new second vertex; and
responsive to the first and second vertex being on an edge of a color discontinuity, identifying the collapse path as a collapse path not to be used.
18. The method of
storing extended collapse information, wherein the extended collapse information includes triangle connectivity information for the at least some of the vertices.
20. The method of
determining a velocity of the object; and
determining a projected area of the object.
21. The method of claim 20 19 wherein the step of analyzing the object further comprises:
determining the number of polygons currently being displayed;
comparing the determined number of polygons to a predefined target number of polygons; and
responsive to a determination that the number of polygons currently being displayed being is less than the predefined target number, adding polygons to the object a vertex from the vertex list for the object.
22. The method of
determining a current frame rate;
comparing the current frame rate to a predefined frame rate; and
responsive to a determination that the current frame rate being is less than the predefined frame rate, collapsing vertices in the object a vertex in the vertex list for the object.
0. 24. The method of claim 2, wherein computing a visual distortion factor comprises:
computing an area change factor for each collapse path;
computing an angular deviation factor for each collapse path; and
computing a local volume change factor for each collapse path.
0. 25. The method of claim 24, wherein computing an area change factor for each collapse path further comprises:
computing an area of the object after collapsing a first target vertex along a first collapse path; and
subtracting the computed area from an area of the object prior to the collapse.
0. 26. The method of claim 24, wherein computing a volume change factor for each collapse path comprises:
computing a volume of the object after collapsing a first target vertex along a first collapse path; and
subtracting the computed volume from a volume of the object prior to the collapse.
0. 27. The method of claim 26, wherein computing a volume further comprises:
selecting the first target vertex to be an apex for a pyramid;
forming a base of the pyramid from a triangle connecting three consecutive neighbor vertices to the first target vertex;
computing a volume of the pyramid;
constructing a next pyramid from a next set of three consecutive neighbor vertices;
computing a volume of the next pyramid;
repeating the constructing a next pyramid and computing a volume for all unique three consecutive neighbor vertex sets; and
summing the volumes of the pyramids to obtain a volume of the object.
0. 28. The method of claim 23, further comprising:
storing the minimal resolution version of the object and the separate packets of information in memory.
0. 29. The method of claim 23, wherein the target resolution version of the object is intermediate of the minimal resolution version of the object and a maximum resolution version of the object.
0. 35. The method of claim 1, wherein, in said determining a collapse order, each vertex of the object has a fixed coordinate offset relative to each other vertex of the object across all levels of detail of the object.
|
This application is a continuation of U.S. patent application Ser. No. 09/243,099, filed on Feb. 2, 1999, which claims priority under 35 U.S.C. §119(e) from U.S. provisional patent application serial No. 60/089,794, filed on Jun. 18, 1998.
1. Field of the Invention
This invention relates to the field of generating three-dimensional graphics; more specifically, to the field of generating multiple resolutions of an object in a three-dimensional environment.
2. Background of the Invention
Realistic three-dimensional object rendering for use in games and other software applications has been the goal for software and hardware makers in the computer industry for years. However, numerous problems prevent the achievement of realistic three-dimensional object rendering on a typical user's home computer.
Three-dimensional graphics use polygons to create the object to be rendered. These polygons are created and manipulated to portray curvature and details of the object. The more polygons used to create an object, the more detailed and realistic an object will appear. However, the more polygons used to create an object, the more computations required to render the object, thus slowing down the speed at which the object is rendered. Thus, there is a tradeoff from the developer's standpoint between speed and realism.
The resolution of this problem is not easy. As most users do not have the latest, most powerful personal computer, the developer must design the objects for the lowest common denominator if the developer wants to reach the greatest number of potential users for the product. Thus, the developer must assume the user's processor is slow and is therefore capable of only rendering a small number of triangles per second. Therefore, the developer, when making the tradeoff described above, must favor the speed side of the equation, and design objects with fewer triangles than if faster machines were being used by all users. This solution, however, pleases neither the user with a low-end computer nor the user with the high-end computer. The user with the low-end computer will most likely still have images which are slow and choppy, because the developers are unwilling to completely sacrifice realism, and the user with a high-end computer will have images which appear artificial and robotic because the application is not designed to take advantage of the high-end machine's greater processing power. In fact, on some high-end systems, the application will be too fast to play or interact with because the polygon count is too low.
Another problem facing the developer is the fact that the same object requires more detail when closer to the screen than it requires if it is in the background. When an object is closer to the screen, the angles and straight edges of the polygons comprising the object can be seen more clearly. At this point, more polygons are needed to smooth the angles and continue the realistic rendering of the object. However, the most detailed version of the object cannot always be used to render the object because the application will require too much computing power to quickly and smoothly render images on the screen. In order to achieve smooth 3D animation, the processor must render 3D objects at 20 to 60 frames per second. If too many polygons are used for each object, thus providing the necessary realism for the object when it is close to the screen, then the processor will not be able to achieve the above minimum frame rate required for smooth rendering.
One solution to allow realistic rendering of three-dimensional objects while also limiting the number of polygons on the screen is to use Level of Detail mapping. Level of Detail mapping provides different levels of resolutions of an object based upon the distance of the object to the screen. In order to create the different levels of detail, the developer must create different versions of the object for each level required. Typically, only three or four levels are used because storage of multiple versions of each object to be rendered can consume too much of the user's system resources.
There are several drawbacks to the level of detail methodology. First, this method has a large impact on system resources, as described above. Each object now requires three or four times more storage space than previously required to store each version of the object. Each level requires a separate vertex list as well as a separate data structure. Second, when transitioning from one level to another, an effect known as object popping occurs. The higher detailed version of an object is abruptly rendered as the object moves towards the screen, and “pops” out at the viewer, ruining the 3D immersive qualities of the application. The level of detail method also requires extra authoring of each version of the object, requiring more time from the developer. Level of Detail also does not address the lowest common denominator problem described above. The highest level of detail of each object must be created in consideration of the user with an inefficient computer who will be using the application. Thus, the highest level of detail cannot contain too many polygons or the image will appear slow and choppy on the low-end user's computer. Again, this image will also appear angular and robotic on the high-end user's computer, as it does not take advantage of the high-end computer's greater processing power.
In accordance with the present invention, an apparatus, system, and method is disclosed for producing realistic rendering of a 3D object while minimizing the use of user system resources and maximizing fidelity without sacrificing speed. The invention produces a continuous level of detail of an object using vertex merging responsive to the location of the object on the screen and other factors, thus eliminating the object popping effect. As the object moves towards the background, and therefore requires less polygons in order to provide a realistic rendering, vertices of the object are merged together in a manner designed to cause the least visual distortion. As the vertices are merged, polygons within the object are eliminated, thus lowering the polygon count of the object continuously as it moves farther and farther away from the screen. As an object moves towards the screen, vertices are added to the object, adding polygons to the object and thus providing a more realistic representation of the object as it grows close to the user and fine details become necessary. Thus, at any given moment, every object on the screen only has as many polygons as is required to provide a realistic rendering of the object. No polygons are being unnecessarily drawn, and thus optimum use is being made of the user's system. No object-popping effects are created as polygons are added or removed from the object on a continual basis based on the object's movement in the 3D environment.
Additionally, the invention requires only one version of the object to be authored and stored on the user's system, thus minimizing the impact on system resources. One vertex list is used which preferably specifies the highest level of detail, and the system in accordance with the present invention is able to then generate the continuous level of detail of the object for display on the screen. Also, the system advantageously increases and decreases the resolution of the objects on the fly. Thus, as only the current level of detail being displayed is stored, minimal use of memory is required. By storing certain minimum information which is determined prior to run-time to guide the resolution changes, the resolution changing is performed at run time at optimal speed. Another benefit of the present invention is its ability to allow a developer to tweak the vertex merging in accordance with the developer's own preferences. Finally, the invention automatically adjusts the amount of polygons in a screen responsive to the capabilities of a user's system, providing an optimal image for every user. In one embodiment, the invention monitors the system to determine the frame rate at which the frames are being rendered, and adjusts the total amount of polygons allowable on the screen at one time accordingly.
Additionally, a target frame rate may be set, which allows the user to specify the speed at which the scenes should be rendered. The present invention then dynamically adjusts the total amount of polygons to ensure the frame rate is maintained. Alternatively, the invention allows a polygon count to be specified, and then ensures that this amount of polygons is always on the screen, regardless of the frame rate.
In a preferred embodiment, a three-dimensional visual representation of an object having multiple resolutions is created by retrieving a vertex list for the object, determining a collapse order for the vertices identified in the vertex list, reordering the vertices identified in the vertex list responsive to the determined collapse order, and creating a vertex collapse list responsive to the collapse order, where the vertex collapse list specifies, for a target vertex, a neighbor vertex to collapse to. The vertex list may comprise 3D coordinates of vertices without referring to other vertex attributes or, in alternate embodiments, the vertex list may refer to other vertex attributes such as colors or normals.
More specifically, in a preferred embodiment, the collapse order of the object is determined by determining an optimal collapse path from the set of collapse paths, computing visual distortion factors for the selected collapse path, determining a collapse value for the selected collapse path, repeating for each path in the set of collapse paths, comparing the collapse values to determine a collapse path causing a least visual distortion to the object, selecting a next vertex to be collapsed, collapsing the object along the selected path, and repeating until a minimum resolution level is attained.
In
The data source 196 stores the original vertex list for processing. Data sources include the application requesting the object modeling, or a secondary source which stores objects requiring modeling in accordance with the present invention. In one embodiment, the modules 138, 142, 146, 150 are implemented as a set of Field Programmable Gate Arrays, and are programmed to perform the separate functions described above. By compartmentalizing the separate functions in a distributed architecture, faster and more robust processing is achieved.
The vertex list 158 may specify a maximum set of vertices used in the object, or a maximum and a minimum set of vertices in the object. The minimum set of vertices is specified by the developer 166 to define a minimum quality level the object may not be collapsed beyond. As more vertices are collapsed in an object, the less realistic the object appears if examined closely. Therefore, for some objects the developer 166 may decide that there is a point beyond which the object is no longer recognizable as its true shape, even though the object at that point is very small on the screen and therefore does not require many polygons to specify sufficient detail. For these objects, the developer 166 specifies a minimum set of vertices to which the object may be collapsed. The system identifies these vertices during its processing, and does not collapse those vertices in the object. The vertex list 158 may also specify a nested set of vertex sets that represent progressively lower resolutions of the object. In this case the system generates a collapse list that interpolates between the nested vertex sets.
After the vertex list has been retrieved, the system proceeds to determine 204 a collapse order. The collapse order of an object is specifies the order in which individual vertices are merged into other vertices. Vertices are collapsed along collapse paths, with the goal of causing the least visual distortion possible for the object. For example, as shown in
After determining a collapse order for the object, the vertex list 158 is reordered 208 into the order specified by the collapse order. The vertex to be collapsed first is identified and the other vertices are sequenced accordingly based on their collapse priority. The system advantageously minimizes its footprint in memory by using the existing vertex list 158, instead of using another construct to store this information. Next, the system creates 212 a vertex collapse list 154. This list specifies the vertex to which the target vertex is to be collapsed; alternatively, the list specifies the vertices to which to connect an added vertex. When collapsing vertices in an object to achieve a lower resolution, the system may simply eliminate vertices as ordered in the vertex list until the desired resolution is obtained. However, in order to increase the resolution of the object by adding vertices, more information is needed. In each case, a correct triangle list must be generated by the system at the desired resolution. The triangle list specifies connectivity information regarding all of the triangles which must be rendered to achieve a given resolution.
For example, as shown in
Next, a collapse path from the set of collapse paths is selected 304. Visual distortion factors are computed 308 for the selected collapse path. Visual distortion factors are measurements of the effect of a given collapse on the object. Some collapse paths will have a much greater visual effect on the user than others. For example, if V1 is collapsed to V2, the object will appear to shrink noticeably in width. However, if V8 is collapsed to V11, the object will not appear as distorted to the user. The system preferably captures these distinctions by computing several visual distortion factors, including area change, angular deviation, and local volume change, described in greater detail below.
Each collapse path is given 312 a collapse value as a function of the computed visual distortion factors for that path. The collapse value is preferably a weighted combination of the visual distortion factors for the path. Weighting the different factors allows the developer 166 to specify the importance of the factors as applied in the particular application being developed.
The system determines 316 whether there are more collapse paths. If there are more collapse paths, a next path is selected 304 and the process described above is repeated. If there are no more collapse paths, the system compares the collapse values of the collapse paths to determine 220 a collapse path which causes the least visual distortion to the object.
The vertex to be collapsed is identified 324 responsive to the determined collapse path, and a collapse priority is assigned 326 to the vertex to be used upon reordering the vertex list. The object is collapsed 328 along the collapse path. The system determines 332 if there are more than one vertex not in the minimum point set remaining. If there are not, the system then moves to reordering the vertex list 158. If there are more than.one vertex remaining, the system repeats the above process, treating the collapsed object as a new object to be processed. The system processes the object until a set of collapse paths are determined which cause the least visual distortion to the object, and reduce the object from a maximum resolution to a minimum resolution. For each collapse path stored, the vertices to which the target vertex is connected, and the change in connectivity as expressed by the triangle list are stored. When the vertex is added to the object, this allows the system to know which other vertices are connected to the added vertex by which triangles. This information is stored in the vertex collapse list 154, as described above.
Next, a neighbor vertex is identified 408. A neighbor vertex is a vertex connected along an edge to the target vertex. A neighbor vertex would include any vertex directly connected to the target vertex, as well as any vertex which is connected to the target vertex through another vertex or vertices. As can be imagined, this list may grow very large if every vertex is processed. However, as described above, a maximum number of neighbor vertices may be specified to minimize processing.
After identifying a neighbor vertex, a collapse path is determined 412 between the target vertex and the neighbor vertex. The system determines 416 whether the maximum number of collapse paths have been reached. If it has, the system determines 420 whether there are more vertices. If there are more vertices, the collapse paths for the other vertices are computed as described above. If there are no more vertices, the system selects 304 a collapse path from the set of collapse paths.
For example, in
Thus, as shown in
In one embodiment, collapse values are calculated for each path and the paths are prioritized as described above. The path designated to be collapsed first is chosen as the first path to be collapsed and displayed to the developer 166. If the developer 166 selects this path, the path retains its priority. A new set of collapse paths is generated and the highest prioritized path from the new set selected for display to the developer 166. If the developer 166 does not select the path, the next highest prioritized path is selected and displayed to the developer 166. Of course, the developer 166 may specify at any time a particular path the developer 166 sees in the object the developer 166 wants collapsed. Such a selection by the developer 166 overrides any previous prioritization by the system.
In another embodiment, texture maps are indexed by the vertices. Texture maps provide texture for the mapped area, giving an object a realistic appearance. Textures for different triangles may be quite different. Therefore, when a triangle is collapsed, the system must determine the affect of the loss of the texture of the triangle on the appearance of the object. Vertices which are on the edges of texture discontinuities are not collapsed, because of the affect the collapse will have on the appearance of the object. Thus, when collapse paths are selected, the vertices in the path are examined to determine if they are located on the edge of a texture discontinuity. If they are, the collapse path is not selected.
In one embodiment, the extended tables for each object are already created in the development stage, and the tables are simply loaded into data memory for easy access when the application is initiated. The runtime manager awaits a request from the application for a collapse level from an object. The original appearances of each object are represented in a default resolution. When the application or the graphics program requests 1008 an increased or decreased resolution from the runtime manager, the runtime manager determines 1012 whether the requested resolution requires a collapse level greater than the current collapse level of the object. The current collapse level is known because the current collapse level of the object is the only version of the object which is stored in memory. If the requested resolution requires a greater collapse level for the object, vertices are added to the object in accordance with the vertex collapse information in the table until the requested collapse level is met. This continuous addition of vertices provides for a smooth rendering of the object, and eliminates the object-popping problem discussed above. Similarly, if the requested resolution requires a collapse level which is less than the current collapse level, vertices are collapsed 1016 until the proper resolution of the object is achieved. The table allows for instantaneous addition and subtraction of polygons to the object upon request. The table also allows for a minimal memory footprint by the present invention as entire versions of the objects are not required to be stored. The continual addition or subtraction of polygons to an object eliminates the object-popping artifacts. Thus, in accordance with the present invention, an efficient, high-speed object modeling process is disclosed which provides multiple levels of resolution while minimizing resource use.
The projected area of an object is another factor which is used by the runtime manager to determine an optimal collapse level for an object. The projected area of an object is the area which the object will occupy as rendered on the display. The greater the projected area of an object, the higher the resolution that is required. The system determines 1208 the current projected area of the object, and compares 1212 the projected area to a table which correlates projected area and collapse levels. The polygon count is then adjusted 1232 accordingly.
The present invention also provides for global polygon count management. In this embodiment, the user selects a target polygon count for each frame. In this embodiment, the system determines 1216 the number of polygons currently being displayed in a frame. The total number of polygons displayed in a frame may be calculated by determining which objects are on screen and totaling the number of polygons in each object, or by having the renderer keep an internal tally of how many triangles it drew on screen in one frame. This number is compared 1220 to the predefined target polygon count. If the runtime manager determines 1232 that the current polygon count is less than the target polygon count, more polygons are added 1236. If the current polygon count is greater than the target polygon count, polygons are subtracted 1240 away. The determination of which objects to add and subtract polygons to and from may be made in a number of ways. Polygons may be added and removed uniformly to and from all polygons. Alternatively, objects may be individually analyzed and polygons added and subtracted on an individual basis.
Alternatively, the user 170 is able to select a target frame rate. The manager determines 1224 a current frame rate by monitoring the processor clock and determining how long it is taking to render frames. The current frame rate is then compared 1228 to the target frame rate. If runtime manager determines 1232 that the current frame rate is faster than the target frame rate, polygons are added 1236 to the frame to slow the frame rate down. If the current frame rate is slower than the target frame rate, polygons are subtracted 1240 from the frame to speed the frame rate up. Thus, the runtime manager allows for dynamic global polygon management requiring minimal input from the user 170. This management process allows the present invention to be platform universal, as if the invention is used on a system with a slower processor, the target frame rate or polygon count may be set lower, and the benefits described above are still provided. However, a system with a faster processor can be set to have a higher frame rate or polygon count, and the higher processing power of the system is maximized by the present invention.
The present invention may also be used to transmit data through remote connections, as illustrated in
As shown in
Patent | Priority | Assignee | Title |
9396585, | Dec 31 2013 | Nvidia Corporation | Generating indirection maps for texture space effects |
Patent | Priority | Assignee | Title |
5428717, | Dec 30 1991 | Xerox Corporation | Methods for converting concave polyhedra to their convex hulls |
5715384, | Feb 02 1994 | Canon Kabushiki Kaisha | Real-time image display method and apparatus displaying two different visual resolutions |
5870307, | Apr 18 1988 | 3D Systems, Inc. | Method and apparatus for production of high resolution three-dimensional objects by stereolithography |
5886702, | Oct 16 1996 | CERBERUS BUSINESS FINANCE, LLC, AS COLLATERAL AGENT | System and method for computer modeling of 3D objects or surfaces by mesh constructions having optimal quality characteristics and dynamic resolution capabilities |
5903272, | Feb 15 1993 | Canon Kabushiki Kaisha | Apparatus and method for determining a rendering order between first and second object surface primitives |
5929860, | Jan 11 1996 | Microsoft Technology Licensing, LLC | Mesh simplification and construction of progressive meshes |
5963209, | Jan 11 1996 | Microsoft Technology Licensing, LLC | Encoding and progressive transmission of progressive meshes |
5966133, | Jan 11 1996 | Microsoft Technology Licensing, LLC | Geomorphs and variable resolution control of progressive meshes |
5966140, | Jun 20 1997 | Microsoft Technology Licensing, LLC | Method for creating progressive simplicial complexes |
6009435, | Nov 21 1997 | GOOGLE LLC | Progressive compression of clustered multi-resolution polygonal models |
6018347, | Feb 12 1996 | COMPUTER ASSOCIATES INTERNATIONAL, INC | Methods and apparatus for rendering three-dimensional images |
6031548, | Jun 13 1997 | IBM Corporation | Progressive multi-level transmission and display of triangular meshes |
6046744, | Jan 11 1996 | Microsoft Technology Licensing, LLC | Selective refinement of progressive meshes |
6108006, | Apr 03 1997 | Microsoft Technology Licensing, LLC | Method and system for view-dependent refinement of progressive meshes |
6130673, | Apr 18 1997 | AUTODESK, Inc | Editing a surface |
6137492, | Apr 03 1997 | Microsoft Technology Licensing, LLC | Method and system for adaptive refinement of progressive meshes |
6139433, | Nov 22 1995 | NINTENDO CO , LTD | Video game system and method with enhanced three-dimensional character and background control due to environmental conditions |
6169549, | Jan 07 1998 | Oracle International Corporation | Method and apparatus for providing continuous level of detail |
6175365, | Nov 01 1996 | PENDRAGON NETWORKS LLC | Surface simplification preserving error tolerances |
6184897, | Jan 15 1997 | International Business Machines Corporation; IBM Corporation | Compressed representation of changing meshes and method to decompress |
6198486, | Sep 23 1998 | Intel Corporation | Method of using a hybrid error metric for multi-resolution mesh generation |
6256041, | Aug 04 1995 | Oracle America, Inc | Decompression of three-dimensional geometry data representing a regularly tiled surface portion of a graphical object |
6262737, | Jan 30 1998 | University of Southern California | 3D mesh compression and coding |
6285372, | May 08 1998 | WSOU Investments, LLC | Multiresolution adaptive parameterization of surfaces |
6307551, | Jan 15 1997 | IBM Corporation | Method for generating and applying changes in the level of detail of a polygonal surface |
6362833, | Apr 08 1998 | Intel Corporation | Method and apparatus for progressively constructing a series of morphs between two-dimensional or three-dimensional models |
6396490, | Dec 04 1998 | Intel Corporation | Efficient representation of connectivity information in progressive mesh update record |
6414683, | Nov 01 1996 | PENDRAGON NETWORKS LLC | Surface simplification preserving a solid volume |
6421051, | Jun 18 1998 | HANGER SOLUTIONS, LLC | Multi-resolution geometry |
6426750, | Jul 14 1998 | Microsoft Technology Licensing, LLC | Run-time geomorphs |
6529207, | Apr 08 1998 | Microsoft Technology Licensing, LLC | Identifying silhouette edges of objects to apply anti-aliasing |
6538652, | Jun 18 1998 | HANGER SOLUTIONS, LLC | Multi-resolution geometry |
6611267, | Oct 16 1996 | SIZMEK TECHNOLOGIES, INC | System and method for computer modeling of 3D objects or surfaces by mesh constructions having optimal quality characteristics and dynamic resolution capabilities |
6750864, | Nov 15 1999 | POLYVISTA, INC | Programs and methods for the display, analysis and manipulation of multi-dimensional data implemented on a computer |
6771261, | Aug 30 2001 | Intel Corporation | Error metric for mesh simplification processing |
6825839, | Jul 27 2000 | National University of Singapore, The | Method and apparatus for generating atomic parts of graphic representation through skeletonization for interactive visualization applications |
6879324, | Jul 14 1998 | Microsoft Technology Licensing, LLC | Regional progressive meshes |
6940505, | May 20 2002 | MATROX GRAPHICS, INC | Dynamic tessellation of a base mesh |
6982715, | Jul 26 2002 | Intel Corporation | Mesh compression process |
20020130867, | |||
20040012587, | |||
20040249617, | |||
EP784295, | |||
EP99111741, | |||
JP10198823, | |||
JP11086032, | |||
JP11144089, | |||
JP11209685, | |||
JP5290145, | |||
JP9231401, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 20 1999 | KATO, SAUL S | SVEN TECHNOLOGIES, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020695 | /0372 | |
Oct 24 2001 | SVEN TECHNOLOGIES, INC | Spatial Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020695 | /0380 | |
Sep 22 2003 | Spatial Corporation | Sugarloaf Acquisitions, LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020695 | /0390 | |
Mar 25 2005 | Sugarloaf Acquisitions, LLC | (assignment on the face of the patent) | / | |||
Aug 26 2015 | SUGARLOAF ACQUISITIONS LLC | RATEZE REMOTE MGMT L L C | MERGER SEE DOCUMENT FOR DETAILS | 037249 | /0122 | |
Nov 26 2019 | RATEZE REMOTE MGMT L L C | INTELLECTUAL VENTURES ASSETS 161 LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051949 | /0145 | |
Dec 06 2019 | INTELLECTUAL VENTURES ASSETS 161 LLC | HANGER SOLUTIONS, LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 052159 | /0509 |
Date | Maintenance Fee Events |
Aug 25 2014 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
May 31 2014 | 4 years fee payment window open |
Dec 01 2014 | 6 months grace period start (w surcharge) |
May 31 2015 | patent expiry (for year 4) |
May 31 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 31 2018 | 8 years fee payment window open |
Dec 01 2018 | 6 months grace period start (w surcharge) |
May 31 2019 | patent expiry (for year 8) |
May 31 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 31 2022 | 12 years fee payment window open |
Dec 01 2022 | 6 months grace period start (w surcharge) |
May 31 2023 | patent expiry (for year 12) |
May 31 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |