Claims
- 1. A method for performing clipping in a graphic workstation by a multistage technique, wherein said method operates on geometric data in said workstation, said data having size characteristics, said method comprising the steps of:
- establishing a first clipping region larger than a desired field of view;
- defining a virtual viewport which is a mapping transformation of said first clipping region, said virtual viewport being defined for accurately clipping geometric primitives; and
- selecting said first clipping region based on said size characteristics of the data being processed.
- 2. The method of claim 1, further comprising the steps of:
- first clipping said geometric data using said clipping region;
- mapping the clipped geometric data to said virtual viewport; and
- clipping said mapped geometric data to said desired field of view.
- 3. A method according to claim 1 in which said first clipping region is a volume.
- 4. A method according to claim 1 in which said first clipping region is a polyhedron.
- 5. A method for generating pixel data for image display in a graphic display system including the steps of:
- generating geometric data in a world coordinate space;
- selecting a data subset containing geometric data to be displayed, whereby that part of the data outside a first clipping region is eliminated;
- mapping said selected data subset to a virtual viewport;
- eliminating that part of the virtual viewport outside a real viewport; and
- generating pixel data for the image to be displayed.
- 6. A method for performing multistage clipping in a graphics workstation according to claim 5 in which a mapping transformation is applied from said first clipping region to said virtual viewport, said method comprising the further steps of:
- determining said virtual viewport as a function of said real viewport; and
- calculating said first clipping region by applying the inverse of said mapping transformation to said virtual viewport.
- 7. A method according to claim 6 in which said virtual viewport is selected as a function of the real viewport and the graphics primitive being processed.
- 8. A method according to claim 5 in which said first clipping region is a volume.
- 9. A method according to claim 5 in which said first clipping region is a polyhedron.
- 10. A method for generating data for image display from a graphics primitive in a graphics display system, comprising the steps of:
- transforming said graphics primitive from a first to a second coordinate space;
- clipping said transformed graphics primitive against a first clipping region;
- mapping said clipped graphics primitive from said first clipping region to a virtual viewport;
- generating pixels from said mapped graphics primitive; and
- clipping those pixels generated from said mapped graphics primitive that are outside a real viewport.
- 11. A method according to claim 10 wherein said first clipping region has dimensions that are related to dimensions of a viewing region by a function of said graphics primitive.
- 12. A method according to claim 10 in which said virtual viewport is selected as an enlargement of the real viewport such that if the mapped graphics primitive does not enter the virtual viewport, the pixels generated from said graphics primitive do not enter the real viewport.
- 13. A method according to claim 10 in which said virtual viewport is selected as the minimal enlargement of the real viewport such that if the mapped graphics primitive does not enter the virtual viewport, the pixels generated from said graphics primitive do not enter the real viewport.
- 14. A method according to claim 10 in which said first clipping region is a volume.
- 15. A method according to claim 10 in which said first clipping region is a polyhedron.
Parent Case Info
This is a continuation of Application Ser. No. 07/043,067, filed Apr. 27, 1987, now abandoned.
US Referenced Citations (5)
Continuations (1)
|
Number |
Date |
Country |
| Parent |
43067 |
Apr 1987 |
|