WO1998038599A1 - Systems, methods and computer program products for converting image data to nonplanar image data - Google Patents

Systems, methods and computer program products for converting image data to nonplanar image data Download PDF

Info

Publication number
WO1998038599A1
WO1998038599A1 PCT/US1998/003790 US9803790W WO9838599A1 WO 1998038599 A1 WO1998038599 A1 WO 1998038599A1 US 9803790 W US9803790 W US 9803790W WO 9838599 A1 WO9838599 A1 WO 9838599A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
computer system
nonplanar
planar
transformation matrix
Prior art date
Application number
PCT/US1998/003790
Other languages
French (fr)
Other versions
WO1998038599A9 (en
Inventor
Raymond L. Idaszak
Richard W. Zobel, Jr.
David T. Bennett
Original Assignee
Alternate Realities Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alternate Realities Corporation filed Critical Alternate Realities Corporation
Priority to AU63405/98A priority Critical patent/AU6340598A/en
Publication of WO1998038599A1 publication Critical patent/WO1998038599A1/en
Publication of WO1998038599A9 publication Critical patent/WO1998038599A9/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation

Definitions

  • This invention relates to data processing systems, methods and computer program products and more particularly to image processing systems, methods and computer program products.
  • Hemispherical optical projection systems and methods i.e. systems and methods which project images at an angle of at least about 160 degrees, are used to project images onto the inner surfaces of domes.
  • Hemispherical optical projection systems and methods have long been used in planetariums , commercial and military flight simulators! and hemi t; ⁇ hor Lea I Lhe ⁇ Leis such as OMNIMAX ® theaters.
  • hemispherical optical projection systems and methods have been investigated for projecting images which simulate a real environment. Such images are typically computer-generated multimedia images including video, but they may also be generated using film or other media.
  • Home theater has also generated much interest, and hemispherical optical projection systems and methods are also being investigated for home theater applications.
  • planar image graphics computer systems which convert three- dimensional image data to planar image data for display on a planar display.
  • Manufacturers of planar image graphics computer systems include Silicon Graphics Incorporated (the Infinite Reality or Onyx lines of systems), Sun Microsystems (the SPARC Station and Ultra lines of systems) , IBM (the RISC System 6000 Series and Power lines of systems), Hewlett-Packard (the Visualize, Freedom and Pio Vision lanes of sysLems) and many others. These systems process image data for display on a two-dimensional display at speeds which are generally higher than those of general purpose computers or workstations.
  • OpenGL planar image graphics computer systems
  • I hree-d i uieiis Lona 1 graphics on platforms from many manufactureis Over four hundred commands are provided which can be used to display shapes, compose animated three-dimensional scenes, complete with lighting, anti -aliasing and texture-mapping .
  • OpenGL is an industry standard, programs and libraries written on one platform can be ported easily to another.
  • OpenGL architecture is described in publications entitled “3D Graphics Programming wi th OpenGL ® " , Clayton Wallnum, 3995, Que Corporation; "OpenGL (H> Ref rence Manual , The Offi cial Reference Documen t for OpenGL ® Rel ease 1 " , OpenGl ⁇ 10 Architecture Review Board, sponsoring editor David Rogelberg, 1992; and "OpenGL ® Programming Guide, The Official Guide to Learning OpenGL ® , Release 1 " , OpenGL* Architecture Review Board, Jackie Knighter, Don Davis and Nason Woo, 1993, the disclosures of all of which a rn eLeby ncorporated herein by refeience.
  • image data produced by image graphics computer systems which are designed for planar displays will generally be distortion corrected upon projection on a nonplanar display.
  • images are scaled, translated and/or rotated, they generally will become distorted in shape when they are projected on a nonplanar display such as a dome.
  • This distortion can be a majoi" stumbling block in the acceptance of a dome as a replacement for a planar display.
  • Another approach would be to require all content producers to modify their data to accommodate the unique environment of a dome. Unfortunately, this requirement would also likely hinder the acceptance of a dome among content providers.
  • Yet another alternative would be to design and/or port a computer program, which can operate on a general purpose personal computer or workstation, to provide nonplanar image data processing.
  • a program would also likely require large development and/or porting efforts and would likely be slower than state-of-the-art image processing systems using planai image yi phics coinputei sysLeins such as OpenGL systems.
  • Still another alternative would be to divide the nonplanar display into a large number of approximately planai segments and use a plurality of planar image display systems to produce the nonplanar display.
  • Such a solution is often referred to as "tiling", and is often used in flight simulators and wide-angle theaters. Unf rtunately, multiple projection systems may be costly and difficult to set up and align and may still include distortions because the display surfaces are not truly planar.
  • a planar image data processing system generally employs a transformation matrix which is generally a 4 x 4 matrix which is used to transform vectors and other fundamental geometric primitives corresponding to vertices of objects using matrix multiplication.
  • a transformation matrix is generated and obtained from the planar image graphics computer system.
  • a plurality of vertices of the image data is then matrix multiplied by the obtained transformation matrix, to produce transformed image data.
  • the transformed image data is then nonplanarly distortion corrected to produce nonplanar image data.
  • a passthrough transformation mat ix is provided to the planar imag: graphics computer system. For example, an identity matrix may be provided.
  • the nonplanar image data is then input to the planar image graphics computer system fot futther processing by the planar image graphics computer system .
  • the matrix multiplication is performed outside the planar image graphics computer system using a transformation matrix which is generated by the planar image data computer system.
  • remaining graphics processing is preferably performed using the high-speed hardware and software of the planar image graphics computer system.
  • the power of the planar image graphics computer system is thereby used, without requiring content providers to modify their image data.
  • the transformation matrix is generally a 4 x 4 matrix, each element of which is generally a floating point number. Accordingly, the obtaining of transformation atrices from the planar image graphics computer system, using subroutine calls or other conventional techniques, may slow down processing speed dramatically. According to an aspect of the invention, it has been found that the transformation matrix need only be obtained once for each object in the image data.
  • the transformation matrix need only be obtained once for a plurality of objects in the image data. Accordingly, high speed processing may be provided.
  • a pair of flags are used to govern the obtaining of the transformation matrix.
  • a first flag keeps track of which transformation matrix is being operated upon.
  • Each of these matrices is generally a 4x4 matrix.
  • the projection_view matrix is used to perform planar graphical operations which project images onto a planar display.
  • the modelview matrix is used when the projection is the same but the viewpoint of the observer is varying.
  • Other transformation matrices may also be used.
  • the second flag is used to keep track of when a new transformation matrix is calculated.
  • a new transformation matrix is preferably not calculated more often than it needs to be calculated. Accordingly, if the transformation matrix is being applied to a single object, the transformation matrix may be used for all vertices of that object. Thus, for example, if a single object is being rotated, the transformation matrix may be used for all vertices of that object, as determined by the second flag. Moreover, if a plurality of objects are being rotated, for example due to rotation of the viewpoint, the transformation matrix may be used for all vertices of all of the objects.
  • the transformation matrix is preferably not recalculated, since recalculation of the trans ormation matrix may involve replacing the existing transformation matrix in the planar image graphics computer system, recalculating the new matrix and then obtaining the recalculated matrix from the planar image graphics system.
  • the operations of fetching, storing and matrix multiplying of double floating point numbers may be time consuming.
  • the present invention can thus provide high speed processing of coplanar images, using standard planar image processing systems.
  • Figure 1 is a block diagram of systems, methods and computer program products for converting image data to nonplanar image data according to the invention .
  • Figure 2 is a more detailed block diagram of the graphics work station of Figure 1.
  • Figure 3 is a high level description of image processing operations for converting image data to nonplanar Linage data using a planar Linage graphics computer system, according to the invention.
  • FIGS. 4A-4E which together form Figure 4, illustrate detailed image processing operations for methods, systems and computer program products which convert image data to nonplanar image data using a pl.an.cir image graphics computer system, according to the i nvention .
  • the present invention may be embodied as a method, data processing system or program product.
  • the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
  • the present invention may take the form of a computer program product on a computer-readable storage medium having computer- readable program code means embodied in the medium. Any suitable computer-readable medium may be utilized including hard disks, CD-ROMs, optical storage devices, or magnetic storage devices.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer- readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
  • the computer program instructions may also be loaded onto a computer or other programmable data pi oeess i ⁇ g apparatus lo cause a si • I As ⁇ >l op ⁇ - ⁇ . ⁇ l iou l steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
  • a planar image graphics computer system 120 such as an OpenGL computer system, receives commands from a nonplanar image graphics computer system 110.
  • the image data from the planar image graphics computer system 120 is then projected onto a nonplanar display such as dome 130 using nonplanar projection system 140.
  • Nonplanar image graphics computer system 110 and planar image graphics computer system 120 may be separate and distinct computer systems. However, preferably, nonplanar image graphics computer system 110 and planar image graphics computer system 120 are both contained in a graphics workstation 100, such as an OpenGL or other industry standard planar image graphics computer system.
  • planar Image graphics computer system is generally embodied as hardware
  • nonplanar image graphics computer system is generally embodied as a software system which generally operates using the central processing unit (CPU) or coprocessor of the planar image graphics 5 computer system.
  • CPU central processing unit
  • Figure 2 illustrates details of the graphics workstation 100 of Figure 1.
  • Figure 2 is a modification of the figure on Page 4 of the above- identified OpenGL ® Reference Manual.
  • planar 0 image graphics computer system 120 is implemented by interconnected hardware components, while nonplanar image graphics computer system 110 is a software component which runs on the CPU or coprocessor of the graphics workstation 100 or microcode of the graphics 5 hardware.
  • a nonplanar image graphics computer system 110 may be implemented as a computer 0 program which maps one for one the names and arguments of subroutines which are available in the 3D graphics library upon which it is built. This is sometimes referred to as a "wrapper" library, because it sits on top of and emulates the actual commands which are being 5 made to the 3D graphics library. It will also be understood, however, that nonplanar image graphics computer system 110 may be implemented using hardware or combinations of hardware and software.
  • a transformation matrix is evaluated. This operation preferably takes place in the planar image graphics computer station 120 using the hardware of the planar image graphics computer system which is designed for this matrix evaluation. Matrix evaluation may take place in response to a command to rotate scale, translate or other similar matrix transformation operations .
  • Block 220 the transformation matrix is obtained from the planar image graphics computer system and the vet ices of the object or objects are multiplied by the transformation matrix to obtain transformed vertices.
  • the multiplication operation of Block 220 preferably takes place in nonplanar image graphics computer system 110. Since this multiplication operation typically multiplies a vector by a 4x4 matrix, it can be performed at high speed using a general purpose computer CPU or coprocessor .
  • Distortion correction is then applied to the transformed vertices.
  • Distortion correction is also preferably applied in the nonplanar image graphics computer system 110 of Figure 1.
  • the distortion correction which is applied will depend upon the type of nonplanar display. For example, for a hemispherical optical projection system, the distance formula is used to calculate nev; x and y coordinates, as will be described below.
  • the distortion corrected vertices are then input into the planar image graphics computer system 120 with a
  • NOP being applied to the transformation matrix.
  • a NOP is a value or set of values which is set such that their inclusion in a formula or operation has the effect of leaving the output result the same as the input operation.
  • a NOP matrix might refer to an identity matrix.
  • a NOP may be other than the identity matrix.
  • FIG. 250 planar image graphics processing is then performed on the distortion corrected vertices using the full power of the planar image graphics computer system 120.
  • the data is displayed on the nonplanar display 130.
  • Figures 4A-4F describe detai Led image processing operations for methods, systems and computer program products which convert image data to nonplanar image data for display on a nonplanar display, using a planar image graphics computer system, according to the invention. These figures will collectively be referred to as Figure 4.
  • the nonplanar image graphics computer system 110 is referred to as a "Non-planar Graphics Library" or "NPGL" .
  • the NPGL may be implemented as a wrapper library which sits on top of and emulates the commands being made to the planar graphics library, such as OpenGL.
  • NPGL is preferably a library and not necessarily an application. As such, there are many possible points of entry by the user code calling NPGL, and there may be no invariant order in which the subroutines of the NPGL ibrary will be called. Accordingly, the flowchart of Figure 4 follows a typical application calling sequence, but can successfully be applied to any arbitrary calling sequence. In particular, a series of decision blocks is used- throughout the flowchart to repeatedly test for various conditions, so that the flowchart will bypass certain blocks if the test fails. Thus, for example, Block 325 (intercept OpenGL call) and Block 302 (check if user needs to modify projection__view matrix) follow Block 301 (initialization) .
  • Block 325 the user application may go directly to Block 310 (check if user needs to draw a polygon) without invoking any of Blocks 302-309 because this is the random access calling nature of a library.
  • Block 310 Check if user needs to draw a polygon
  • the flowchart of F'igure 4 will accommodate out-of -sequence operations by failing all intermediate flowchart tests included in Blocks 302-309 to arrive at Block 310.
  • NPGL In order for NPGL to be an open system which is based on OpenGL standards, it preferably contains exactly the same subroutine names as the underlying 3D graphics library upon which it is based. For example, in the case of OpenGL, the NPGL and OpenGL libraries should preferably have exactly the same subroutine names and arguments. However, NPGL directly calls OpenGL. This may present a naming conflict which is flagged by the compiler. In order to overcome this potential problem, dynamic shared objects, referred to as DSOs or shared libraries, are used to resolve the naming conflict. Using DSOs or shared libraries, NPGL looks up the address of the equivalent OpenGL call at run time, and the compiler is instructed that this is the preferred mode of operation.
  • DSOs or shared libraries dynamic shared objects
  • NPGL intercepts an OpenGL command or call which is made by the user application code via a "wrapper" of the same name and argument list. Then, at Block 302, a check is made if the user wishes to modify the projection_view matrix. Accordingly, this decision block informs NPGL via OpenGL which matrix stack to modify: the projection_view or modelview matrix. It will be understood by those having skill in the art that there may be other matrix stacks which are available in many 3D graphics libraries. However, generally only one matrix stack is active at any one time. Thus, other matrices may be modified and more than one matrix may be used at any given time according to the present invention.
  • the modelview_flag is set to "False” or "0".
  • the modelview_flag is set to "1" or "True”.
  • a test is made as to whether NPGL intercepted an OpenGL call which affects the modelview matrix.
  • OpenGL calls include, but are not limited to, rotation, scaling, translation or other operations.
  • NPGL modelview matrix is loaded into the OpenGL modelview matrix.
  • the NPGL modelview matrix is loaded into the OpenGL modelview matrix, so that OpenGL, with its efficient hardware, can manage matrix operations at high speed. Accordingly, if this is the first modeling transformation since the last polygon was drawn, then the OpenGL hardware, rather than NPGL, manages the generation of the subsequent modelview matrix until it is time to draw the next polygon. Thus, a new transformation matrix will be calculated by the OpenGL hardware .
  • the OpenGL hardware is loaded with the NOP matrix when it is used to draw the polygons.
  • the OpenGL hardware should contain the real modelview matrix in order to calculate a new modelview matrix using the OpenGL hardware efficiency.
  • NPGL keeps a copy of the real modelview matrix via Block 314. It is this copy that is being loaded in Block 307.
  • load matrix operation generally need only be performed once between every set of polygon draw operations. Typically, a user may draw hundreds or thousands of polygons at a time.
  • a flag is set to ensure that Block 307 only gets executed once beyond the last set of polygons which were drawn.
  • these calls should pass if some other type of matrix is active, such as the project ion_view matrix.
  • mod_xform_flag OR modelview flag.
  • mod_xform__flag mod_xform_flag OR modelview_flag .
  • Block 309 the NPGL executes the call to OpenGL which was made in Block 305.
  • an intercepted OpenGL call was identified as being one that modified the modelview matrix and was consequently processed in Blocks 305-308.
  • the call is actually executed by having NPGL pass through the appropriate arguments to the equivalent OpenGL call. Accordingly, Block 309 corresponds to the operations of Block 210 of Figure 3 to evaluate the transformation matrix.
  • Block 310 a test is made as to whether NPGL intercepted an OpenGL call to draw a polygon-. It will be understood by those having skill in the art that the word polygon is used herein to represent any drawing primitive including, but not limited to, points, lines, etc.
  • Block 311 the OpenGL polygon vertices and state attributes are retrieved and stored into the local NPGL data structure. It will be understood by those having skill in the art. that a polygon is generally del ined , ⁇ s having certain attributes including, but not limited to, geometric vertices defining its edges and corners, its color, the normal to the plane it lies in, texture coordinates, etc. Block 311 accumulates these attributes into a local NPGL structure.
  • Block 312 A test is made at Block 312 as to whether all the OpenGL polygon vertices and state attributes for a polygon have been stored in the local NPGL data structure. If not, processing of Block 311 continues until they all have been accumulated. It will be understood that Blocks 311 and 312 capture all of the polygon's information before it is drawn. However, this is not necessary because it is possible to interleave Blocks 311-312 and Blocks 313-323 such that the operations in Blocks 313-323 are performed as each polygon vertex is captured.
  • Block 313 a test is made as to whether there has been an OpenGL modelview transformation since the last polygon was drawn. In other words, a test is made as to whether the modelview_flag is equal to 1. NPGL needs this information to correctly calculate its nonplanar math. If modelview_flag is equal to 1, then the operations of Block 314-316 are performed. Then, at Block 314, the OpenGL modelview matrix is obtained and an NPGL local copy is made. At Block 315, an NOP matrix is loaded into the OpenGL modelview matrix. Accordingly, Block 315 corresponds to a portion of the operations of Block 240 of Figure 3. It will be understood by those having skill in the art that a typical NOP matrix may include, but is not limited to, the identity matrix.
  • the NOP matrix is placed into the OpenGL modelview matrix because the NPGL takes over the OpenGL system. More specifically, where OpenGL originally performed planar math, NPGL has now instructed OpenGL to do inert math by loading tfie NOP matrix into the OpenGL modelview matrix. NPGL will instead do the math itself, using the nonplanar math of Blocks 318-319.
  • mod_xform_flag is set to 0 so that subsequent polygons drawn sequentially do not perform the redundant and relatively expensive operation of retrieving the modelview matrix information from OpenGL (Block 314) and setting the OpenGL modelview matrix to NOP (Block 315) .
  • the next OpenGL untransformed vertex is retrieved from the NPGL local copy. The local copy was made in Blocks 311-312. Block 317 is the beginning of a loop which actually draws the polygon to the output device.
  • Block 318 the OpenGL untransformed vertex is multiplied by the NPGL local copy of the modelview matrix. This corresponds to the operation of Block 220. This generates the transformed vertices.
  • the exact mathematical operation which is performed in Block 318 will generally vary with the variation required in Block 319 to perform the nonplanar mathematics. These operations may include, but are not limited to, the standard vector-matrix multiply which is commonly performed.
  • Block 319 NPGL nonplanar projection math is performed. This operation corresponds to Block 230 of Figure 3.
  • the modularity and flexibility of Block 319 can incorporate mathematical operation for a variety of nonplanar displays, such as domes, cylinders, etc.
  • the NPGL nonplanar projection math for a hemispherical projection system will be described.
  • the nonplanar Z coordinate generally need not be calculated because it is generally calculated using Z buffer or other conventional techniques.
  • the nonplanar projection math for cylindrical or other nonplanar displays may be derived geometrically and need not be described further herein. It will be understood that hemispherical distortion correction math can vary from the above as a function of specific lens properties.
  • Block 320 a test is made as to whether geometric clipping is necessary. If geometric clipping is necessary, which may Lie unique to the nonplanar topography of the display, it is checked for in Block 320 and performed in Block 321. It will be understood that clipping may be performed at other places in the operations, depending upon the type of clipping that is performed and what type of nonplanar math is being performed in Block 319. Then, at Block 322, a test is made as to whether this is the last OpenGL vertex of the current polygon being drawn. If not, a loop is made to Block 317 until retrieving and processing of all the vertices of the current polygon is finished.
  • NPGL calls OpenGL to draw the polygon with NPGL nonplanar vertices. This corresponds to Blocks 250 and 260 of Figure 3. It will be understood that Blocks 317-322 are looped until all the vertices of the current OpenGL polygon were collected and processed with the nonplanar math. Block 323 is generally executed by having NPGL pass through the appropriate arguments to the equivalent OpenGL call.

Abstract

Image data is converted to nonplanar image data for display on a nonplanar display, using a planar image graphics computer system, such as an OpenGL® system, which converts image data to planar image data for display on a planar display. A transformation matrix is obtained from the planar image graphics computer system. A plurality of vertices of the image data are multiplied by the obtained transformation matrix, to produce transformed image data. The transformed image data is nonplanarly distortion corrected to produce nonplanar image data. A passthrough transformation matrix, such as an identity matrix, is provided to the planar image graphics computer system. The nonplanar image data is then input to the planar image graphics computer system for further processing. The nonplanar image data which is processed by the planar image graphics computer system is then displayed on a nonplanar display. Accordingly, the image data is distortion corrected and manipulated as necessary, so that the distortion corrected image data can be applied to a standard planar image graphics computer system for image processing.

Description

SYSTEMS, METHODS AND COMPUTER PROGRAM PRODUCTS FOR CONVERTING IMAGE DATA TO NONPLANAR IMAGE DATA
Field of the Invention
This invention relates to data processing systems, methods and computer program products and more particularly to image processing systems, methods and computer program products.
Background of the Invention
Hemispherical optical projection systems and methods, i.e. systems and methods which project images at an angle of at least about 160 degrees, are used to project images onto the inner surfaces of domes.
Hemispherical optical projection systems and methods have long been used in planetariums , commercial and military flight simulators! and hemi t;ρhor Lea I LheαLeis such as OMNIMAX® theaters. With the present interest in virtual reality, hemispherical optical projection systems and methods have been investigated for projecting images which simulate a real environment. Such images are typically computer-generated multimedia images including video, but they may also be generated using film or other media. Home theater has also generated much interest, and hemispherical optical projection systems and methods are also being investigated for home theater applications.
Alternate Realities Corporation, the assignee of the present invention, has embarked in a program of research and development to produce a low-cost, versatile, portable, high quality hemispherical optical projection system. In Application Serial No. 08/593,041, entitled "Mul ti - Pieced, Portabl e Projec tion Dome and Method of Assembl ing the Same " to Zobel , Jr. et al . , which is assigned to the assignee of the piesenL invention, systems and methods for roust I ucL i ny and building a low-cost, portable dome are described. In Application Serial 08/593,699, entitled "Ti l tabl e Hemispherical Opti cal Proj ec tion Sys tems and Me thods
Ha ving Cons tan t Angular Separa tion oi Pr oj ected Pixels " to Colucci et al . , optical systems and methods which are optimized for hemispherical optical projection are described . A major problem of hemisphei i cal optical, projection systems a d methods is the provision of appropriate data for display on a dome without ci i tort ion . In paiticu ir, compute! yeneiafed multimedia images including video, and images which use film or other media, are generally generated for pi o jeer ion onto a planar sur ace, such as a tel vision, computer display, or theater display. It will be understood by those having skill in the art that lt ough some of those displays may deviate slightly from absolute planarity, the image data is assumed to be projected onto a planar display.
In the field of image processing, hardware and software has been developed for planar image graphics computer systems which convert three- dimensional image data to planar image data for display on a planar display. Manufacturers of planar image graphics computer systems include Silicon Graphics Incorporated (the Infinite Reality or Onyx lines of systems), Sun Microsystems (the SPARC Station and Ultra lines of systems) , IBM (the RISC System 6000 Series and Power lines of systems), Hewlett-Packard (the Visualize, Freedom and Pio Vision lanes of sysLems) and many others. These systems process image data for display on a two-dimensional display at speeds which are generally higher than those of general purpose computers or workstations. The above-noted manufacturers and others have now standardized their planar image graphics computer systems (hardware and soltwaie) Lo opeiate under a standaid aichitecture, referred to as OpenGL®. OpenGL is a programming interface which pioduces interactive I hree-d i uieiis Lona 1 graphics on platforms from many manufactureis . Over four hundred commands are provided which can be used to display shapes, compose animated three-dimensional scenes, complete with lighting, anti -aliasing and texture-mapping . Because OpenGL is an industry standard, programs and libraries written on one platform can be ported easily to another. Moreover, because most of the comp-l ex math which is necessaxy tor producing interactive three-dimensional applications is hidden within the commands, developers are relieved of having Lo decipher lengthy formulas in order to render Linages on a planar display. The OpenGL architecture is described in publications entitled "3D Graphics Programming wi th OpenGL®" , Clayton Wallnum, 3995, Que Corporation; "OpenGL(H> Ref rence Manual , The Offi cial Reference Documen t for OpenGL® Rel ease 1 " , OpenGlΛ10 Architecture Review Board, sponsoring editor David Rogelberg, 1992; and "OpenGL® Programming Guide, The Official Guide to Learning OpenGL®, Release 1 " , OpenGL* Architecture Review Board, Jackie Knighter, Don Davis and Nason Woo, 1993, the disclosures of all of which a rn eLeby ncorporated herein by refeience.
Unfortunately, image data produced by image graphics computer systems which are designed for planar displays will generally be distortion corrected upon projection on a nonplanar display. For example, as images are scaled, translated and/or rotated, they generally will become distorted in shape when they are projected on a nonplanar display such as a dome. This distortion can be a majoi" stumbling block in the acceptance of a dome as a replacement for a planar display.
Many approaches can be taken to correct these distortions. One approach would be to design a nonplanar image graphics computer system which can produce nonplanar images at high speed. Unfortunately, such a hardware and software development effort would likely require many millions of dollars to implement, as evidenced by the massive development efforts which led to the hardware architectures curiently supporting OpenGL.
Another approach would be to require all content producers to modify their data to accommodate the unique environment of a dome. Unfortunately, this requirement would also likely hinder the acceptance of a dome among content providers.
Yet another alternative would be to design and/or port a computer program, which can operate on a general purpose personal computer or workstation, to provide nonplanar image data processing. Unfortunately, such a program would also likely require large development and/or porting efforts and would likely be slower than state-of-the-art image processing systems using planai image yi phics coinputei sysLeins such as OpenGL systems. Still another alternative would be to divide the nonplanar display into a large number of approximately planai segments and use a plurality of planar image display systems to produce the nonplanar display. Such a solution is often referred to as "tiling", and is often used in flight simulators and wide-angle theaters. Unf rtunately, multiple projection systems may be costly and difficult to set up and align and may still include distortions because the display surfaces are not truly planar.
The above description has focused on hemispherical displays. However, there is also interest in many other forms of nonplanar displays wherein wide angle projection of an image is generated using a single image pipeline. For example, virtual reality helmets may use a nonplanar, nonhemispherical viewing area. In other applications, images may be projected onto cylindrical projection surfaces. In yet other applications, images may be projected on the inside of a cube such as a room. All of these display applications may encounter the problems described above in attempting to reduce distortion upon projection of image data on a nonplanar display.
Summary of the Invention
In view of the above problems, it is therefore an object of the present invention to provide improved methods, systems (apparatus) and computer program products for converting image data to nonplanar image data for display on a nonplanar display.
It is another object of the present invention to provide methods, systems and computer program products for converting image data to nonplanar image data which do not require development of entirely new hardware/software image processing architectures.
These and other objects are provided according to the present invention by methods, systems and computer program products for converting image data to nonplanar image data wherein the image data is nonplanarly distortion corrected to produce nonplanar image data and the nonplanar image data is input to a planar image gi'aphics computer system which converts image data to planar image data for display on a planar display, for processing by the planar image graphics computer system. Accordingly, the image data is distortion corrected and manipulated as necessaiy, so that the distortion corrected image data can then be applied to a standard planar image graphics computer system such as an OpenGL system. The power of the OpenGL system can then be used for image processing. It is therefore not necessary to develop a new architecture for nonplanar image processing. Moreover, the large hardware and software investment in OpenGL and other planar image processing architectures can be used advantageously, and the nonplanai image processing may be noninvasive to OpenGL capabilities.
In particular, it will be understood by those having skill in the art that a planar image data processing system generally employs a transformation matrix which is generally a 4 x 4 matrix which is used to transform vectors and other fundamental geometric primitives corresponding to vertices of objects using matrix multiplication. According to the invention, a transformation matrix is generated and obtained from the planar image graphics computer system. A plurality of vertices of the image data is then matrix multiplied by the obtained transformation matrix, to produce transformed image data. The transformed image data is then nonplanarly distortion corrected to produce nonplanar image data. A passthrough transformation mat ix is provided to the planar imag: graphics computer system. For example, an identity matrix may be provided. The nonplanar image data is then input to the planar image graphics computer system fot futther processing by the planar image graphics computer system .
Thus, the matrix multiplication is performed outside the planar image graphics computer system using a transformation matrix which is generated by the planar image data computer system. However, remaining graphics processing is preferably performed using the high-speed hardware and software of the planar image graphics computer system. The power of the planar image graphics computer system is thereby used, without requiring content providers to modify their image data. As described above, the transformation matrix is generally a 4 x 4 matrix, each element of which is generally a floating point number. Accordingly, the obtaining of transformation atrices from the planar image graphics computer system, using subroutine calls or other conventional techniques, may slow down processing speed dramatically. According to an aspect of the invention, it has been found that the transformation matrix need only be obtained once for each object in the image data. Moreover, in other cases, the transformation matrix need only be obtained once for a plurality of objects in the image data. Accordingly, high speed processing may be provided. According to an embodiment of the present invention, a pair of flags are used to govern the obtaining of the transformation matrix. In particular, a first flag keeps track of which transformation matrix is being operated upon. As is well known to those having skill in the art, there are generally two transformation matrices which are manipulated in planar- image graphics computer systems: a projection_view matrix and a modelview matrix. Each of these matrices is generally a 4x4 matrix. The projection_view matrix is used to perform planar graphical operations which project images onto a planar display. The modelview matrix is used when the projection is the same but the viewpoint of the observer is varying. Other transformation matrices may also be used.
The second flag is used to keep track of when a new transformation matrix is calculated. According to the invention, a new transformation matrix is preferably not calculated more often than it needs to be calculated. Accordingly, if the transformation matrix is being applied to a single object, the transformation matrix may be used for all vertices of that object. Thus, for example, if a single object is being rotated, the transformation matrix may be used for all vertices of that object, as determined by the second flag. Moreover, if a plurality of objects are being rotated, for example due to rotation of the viewpoint, the transformation matrix may be used for all vertices of all of the objects. The transformation matrix is preferably not recalculated, since recalculation of the trans ormation matrix may involve replacing the existing transformation matrix in the planar image graphics computer system, recalculating the new matrix and then obtaining the recalculated matrix from the planar image graphics system. The operations of fetching, storing and matrix multiplying of double floating point numbers may be time consuming. The present invention can thus provide high speed processing of coplanar images, using standard planar image processing systems.
Brief Description of the Drawings
Figure 1 is a block diagram of systems, methods and computer program products for converting image data to nonplanar image data according to the invention . Figure 2 is a more detailed block diagram of the graphics work station of Figure 1.
Figure 3 is a high level description of image processing operations for converting image data to nonplanar Linage data using a planar Linage graphics computer system, according to the invention.
Figures 4A-4E which together form Figure 4, illustrate detailed image processing operations for methods, systems and computer program products which convert image data to nonplanar image data using a pl.an.cir image graphics computer system, according to the i nvention . Detailed Description of Preferred Embodiments
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fu ly convey the scope of the Invention fo those ski Lied in the ait. hike numbeis eler to like elements throughout.
As will be appreciated by one of skill in the art, the present invention may be embodied as a method, data processing system or program product.
Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product on a computer-readable storage medium having computer- readable program code means embodied in the medium. Any suitable computer-readable medium may be utilized including hard disks, CD-ROMs, optical storage devices, or magnetic storage devices.
The present invention is described below with reference to flowchart illustrations of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each block of the flowchart illustrations, and combinations of blocks in t he flowcluiit iLlu liat ions, can be implemented by computer program instructions. These computer program instructions may be loaded onto a computer or other programmable data processing apparatus to produce a machine, such that the instructions which execute on the computer or other programmable data processing apparatus create means for implementing the functions specified in the flowchart block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer- readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks. The computer program instructions may also be loaded onto a computer or other programmable data pi oeess i ιιg apparatus lo cause a si • I As <>l opι-ι.ιl iou l steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
Referring now to Figure 1, a block diagram of systems, methods and computer program products for converting image data to nonplanar image data according to the invention is shown. As shown in Figure 1, a planar image graphics computer system 120, such as an OpenGL computer system, receives commands from a nonplanar image graphics computer system 110. The image data from the planar image graphics computer system 120 is then projected onto a nonplanar display such as dome 130 using nonplanar projection system 140. Nonplanar image graphics computer system 110 and planar image graphics computer system 120 may be separate and distinct computer systems. However, preferably, nonplanar image graphics computer system 110 and planar image graphics computer system 120 are both contained in a graphics workstation 100, such as an OpenGL or other industry standard planar image graphics computer system. In this case, the planar Image graphics computer system is generally embodied as hardware, whereas nonplanar image graphics computer system is generally embodied as a software system which generally operates using the central processing unit (CPU) or coprocessor of the planar image graphics 5 computer system.
Figure 2 illustrates details of the graphics workstation 100 of Figure 1. Figure 2 is a modification of the figure on Page 4 of the above- identified OpenGL® Reference Manual. As shown, planar 0 image graphics computer system 120 is implemented by interconnected hardware components, while nonplanar image graphics computer system 110 is a software component which runs on the CPU or coprocessor of the graphics workstation 100 or microcode of the graphics 5 hardware.
As already described above, OpenGL is an industry standard 3D graphics library. A nonplanar image graphics computer system 110 according Lo the present invention may be implemented as a computer 0 program which maps one for one the names and arguments of subroutines which are available in the 3D graphics library upon which it is built. This is sometimes referred to as a "wrapper" library, because it sits on top of and emulates the actual commands which are being 5 made to the 3D graphics library. It will also be understood, however, that nonplanar image graphics computer system 110 may be implemented using hardware or combinations of hardware and software.
Referring now to Figure 3, image processing 0 operations for converting image data to nonplanar image data using a planar image graphics computer system will now be described. As already described, it will, be understood that these operations may be performed by software, hardware or combinations thereof to represent i'.j means, steps or computer pi og rain product instruc ions. Referring now to Figure 3, at Block 210, a transformation matrix is evaluated. This operation preferably takes place in the planar image graphics computer station 120 using the hardware of the planar image graphics computer system which is designed for this matrix evaluation. Matrix evaluation may take place in response to a command to rotate scale, translate or other similar matrix transformation operations .
Then, referring to Block 220, the transformation matrix is obtained from the planar image graphics computer system and the vet ices of the object or objects are multiplied by the transformation matrix to obtain transformed vertices. The multiplication operation of Block 220 preferably takes place in nonplanar image graphics computer system 110. Since this multiplication operation typically multiplies a vector by a 4x4 matrix, it can be performed at high speed using a general purpose computer CPU or coprocessor .
At Block 230, distortion correction is then applied to the transformed vertices. Distortion correction is also preferably applied in the nonplanar image graphics computer system 110 of Figure 1. In general, the distortion correction which is applied will depend upon the type of nonplanar display. For example, for a hemispherical optical projection system, the distance formula is used to calculate nev; x and y coordinates, as will be described below.
Referring again to Figure 3, at Block 240, the distortion corrected vertices are then input into the planar image graphics computer system 120 with a
NOP being applied to the transformation matrix. As is well known to those having skill in the art, a NOP is a value or set of values which is set such that their inclusion in a formula or operation has the effect of leaving the output result the same as the input operation. For example, in the common 3D graphics operation of a vector -matrix multiply, a NOP matrix might refer to an identity matrix. However, for other operations, a NOP may be other than the identity matrix.
At Block 250, planar image graphics processing is then performed on the distortion corrected vertices using the full power of the planar image graphics computer system 120. After processing, at Block 260, the data is displayed on the nonplanar display 130. Figures 4A-4F describe detai Led image processing operations for methods, systems and computer program products which convert image data to nonplanar image data for display on a nonplanar display, using a planar image graphics computer system, according to the invention. These figures will collectively be referred to as Figure 4. In the embodiment of Figure 4, the nonplanar image graphics computer system 110 is referred to as a "Non-planar Graphics Library" or "NPGL" . As already described, the NPGL may be implemented as a wrapper library which sits on top of and emulates the commands being made to the planar graphics library, such as OpenGL.
NPGL is preferably a library and not necessarily an application. As such, there are many possible points of entry by the user code calling NPGL, and there may be no invariant order in which the subroutines of the NPGL ibrary will be called. Accordingly, the flowchart of Figure 4 follows a typical application calling sequence, but can successfully be applied to any arbitrary calling sequence. In particular, a series of decision blocks is used- throughout the flowchart to repeatedly test for various conditions, so that the flowchart will bypass certain blocks if the test fails. Thus, for example, Block 325 (intercept OpenGL call) and Block 302 (check if user needs to modify projection__view matrix) follow Block 301 (initialization) . If after Block 325, the user application may go directly to Block 310 (check if user needs to draw a polygon) without invoking any of Blocks 302-309 because this is the random access calling nature of a library. However, the flowchart of F'igure 4 will accommodate out-of -sequence operations by failing all intermediate flowchart tests included in Blocks 302-309 to arrive at Block 310.
In order for NPGL to be an open system which is based on OpenGL standards, it preferably contains exactly the same subroutine names as the underlying 3D graphics library upon which it is based. For example, in the case of OpenGL, the NPGL and OpenGL libraries should preferably have exactly the same subroutine names and arguments. However, NPGL directly calls OpenGL. This may present a naming conflict which is flagged by the compiler. In order to overcome this potential problem, dynamic shared objects, referred to as DSOs or shared libraries, are used to resolve the naming conflict. Using DSOs or shared libraries, NPGL looks up the address of the equivalent OpenGL call at run time, and the compiler is instructed that this is the preferred mode of operation. Thus, applications based on OpenGL do not need to be recompiled to use NPGL. This may be a significant advantage. Referring now to Block 301, initialization operations are performed. In particular, the mod_xform_flag is initialized to "1" or "True" to inform NPGL that the default condition entering the code is that the modelview matrix has been modified as its initial operation. Specifically, this modification is the initial setting of the modelview matrix by OpenQL to the NOP matrix outside of NPGL.
Then, at Block 325, NPGL intercepts an OpenGL command or call which is made by the user application code via a "wrapper" of the same name and argument list. Then, at Block 302, a check is made if the user wishes to modify the projection_view matrix. Accordingly, this decision block informs NPGL via OpenGL which matrix stack to modify: the projection_view or modelview matrix. It will be understood by those having skill in the art that there may be other matrix stacks which are available in many 3D graphics libraries. However, generally only one matrix stack is active at any one time. Thus, other matrices may be modified and more than one matrix may be used at any given time according to the present invention.
Still referring to Figure 4, at Block 303, if the user wishes to modify the projection_view matrix, the modelview_flag is set to "False" or "0". Alternatively, at Block 304, if the user desires to modify the modelview matrix, the modelview_flag is set to "1" or "True".
Then, at Block 305, a test is made as to whether NPGL intercepted an OpenGL call which affects the modelview matrix. Examples of such OpenGL calls include, but are not limited to, rotation, scaling, translation or other operations. Thus, in the NPGL wrappers for each of these calls, a check is made if modelview_flag = 1, which means that the user is attempting to modify the modelview matrix via that OpenGL call. If the modelview_flag = 0, it might mean that the user is attempting to make a similar call which affects the ρrojection_view matrix or other matrix.
If the modelview_flag is equal to 1, then at Block 306, a test is made as to whether this is the first call that affects the modelview matrix since the last polygon was drawn. In other words, does mod_xform_flag = 0? Stated differently, a test is made as to whether this is the first of this type of call, i.e. a call that affects the modelview matrix, for example, rotation, scaling or translation, since the last po ygon was drawn. It will also be understood that Blocks 305 and 306 may be grouped together as the following single conditional statement :
If NOT mod_xform_flag AND modelview_flag . Assuming that this is the first call that al loot l lie mode: I v i ew inalrix, then at Block 307, I In; NPGL modelview matrix is loaded into the OpenGL modelview matrix. The NPGL modelview matrix is loaded into the OpenGL modelview matrix, so that OpenGL, with its efficient hardware, can manage matrix operations at high speed. Accordingly, if this is the first modeling transformation since the last polygon was drawn, then the OpenGL hardware, rather than NPGL, manages the generation of the subsequent modelview matrix until it is time to draw the next polygon. Thus, a new transformation matrix will be calculated by the OpenGL hardware .
It will be understood that in Block 315, described below, the OpenGL hardware is loaded with the NOP matrix when it is used to draw the polygons. However, prior to drawing a polygon, the OpenGL hardware should contain the real modelview matrix in order to calculate a new modelview matrix using the OpenGL hardware efficiency. NPGL keeps a copy of the real modelview matrix via Block 314. It is this copy that is being loaded in Block 307.
It will also be understood that the "load matrix" operation generally need only be performed once between every set of polygon draw operations. Typically, a user may draw hundreds or thousands of polygons at a time.
For example, assume that 100,000 polygons have been drawn via Blocks 310-323, which included the NOP matrix in the OpenGL modelview matrix slot. The user code then returns and it is time to input a new rotation, translation and scaling in that order. The next call after these 100,000 polygons were drawn which affects the modelview matrix is the rotation, which is lagged by Block 305. Block 306 flags that this rotation is the first of any modelview-modifying calls to affect the modelview matrix since the 100,000 polygons were drawn. Therefore, Block 307 loads the real modelview matrix that it saved from Block 314, and Block 308 sets mod_xform_flag = 1, so that the subsequent translate and scale calls will pass on the test in Block 305, but now fail the test in Block 306. Thus, Block 307 never gets executed. It generally is desired to execute Block 307 as infrequently as possible, because Block 307 is generally slow in performance relative to other OpenGIj operations.
Continuing with Block 308, a flag is set to ensure that Block 307 only gets executed once beyond the last set of polygons which were drawn. However, these calls should pass if some other type of matrix is active, such as the project ion_view matrix. Accordingly, rather than simply setting mod_xform_flag = 1, all cases' may be handled by the operation mod_xform__flag OR = modelview flag. In other words: mod_xform__flag = mod_xform_flag OR modelview_flag . For example, if the projection_view matrix is active, then by definition modelview_flag = 0 and thus the operation of Block 308 would set the rnod_xform_flag = 0. These operations will therefore perform correctly where the projection_view matrix is active.
Referring now to Block 309, the NPGL executes the call to OpenGL which was made in Block 305. In Block 305, an intercepted OpenGL call was identified as being one that modified the modelview matrix and was consequently processed in Blocks 305-308. In Block 309, the call is actually executed by having NPGL pass through the appropriate arguments to the equivalent OpenGL call. Accordingly, Block 309 corresponds to the operations of Block 210 of Figure 3 to evaluate the transformation matrix. Then, at Block 310, a test is made as to whether NPGL intercepted an OpenGL call to draw a polygon-. It will be understood by those having skill in the art that the word polygon is used herein to represent any drawing primitive including, but not limited to, points, lines, etc. If "yes", then at Block 311, the OpenGL polygon vertices and state attributes are retrieved and stored into the local NPGL data structure. It will be understood by those having skill in the art. that a polygon is generally del ined ,ιs having certain attributes including, but not limited to, geometric vertices defining its edges and corners, its color, the normal to the plane it lies in, texture coordinates, etc. Block 311 accumulates these attributes into a local NPGL structure.
A test is made at Block 312 as to whether all the OpenGL polygon vertices and state attributes for a polygon have been stored in the local NPGL data structure. If not, processing of Block 311 continues until they all have been accumulated. It will be understood that Blocks 311 and 312 capture all of the polygon's information before it is drawn. However, this is not necessary because it is possible to interleave Blocks 311-312 and Blocks 313-323 such that the operations in Blocks 313-323 are performed as each polygon vertex is captured.
Then, referring to Block 313, a test is made as to whether there has been an OpenGL modelview transformation since the last polygon was drawn. In other words, a test is made as to whether the modelview_flag is equal to 1. NPGL needs this information to correctly calculate its nonplanar math. If modelview_flag is equal to 1, then the operations of Block 314-316 are performed. Then, at Block 314, the OpenGL modelview matrix is obtained and an NPGL local copy is made. At Block 315, an NOP matrix is loaded into the OpenGL modelview matrix. Accordingly, Block 315 corresponds to a portion of the operations of Block 240 of Figure 3. It will be understood by those having skill in the art that a typical NOP matrix may include, but is not limited to, the identity matrix. The NOP matrix is placed into the OpenGL modelview matrix because the NPGL takes over the OpenGL system. More specifically, where OpenGL originally performed planar math, NPGL has now instructed OpenGL to do inert math by loading tfie NOP matrix into the OpenGL modelview matrix. NPGL will instead do the math itself, using the nonplanar math of Blocks 318-319.
As was described above relative to Block 307, the loading operation of Block 315 may be relatively time consuming. However, the load operation is preferably not performed more frequently than it needs to be. For example, assume that the rotation, scaling and translation from Blocks 305-309 have been completed. Then, in Block 310, 100,000 polygons are about to be drawn one after the next without rotations, translations, etc., between them. For the first polygon and only the first polygon of these 100,000 polygons, Blocks 313-316 are preferably performed. Then, Blocks 317-324 proceed to draw the remaining 99,999 polygons without executing Blocks 313-316 again, because Block 316 set mod_xforrn_flag = 0. This causes Blocks 313-316 to be bypassed via the conditional statement in Block 313.
Then, at Block 316, mod_xform_flag is set to 0 so that subsequent polygons drawn sequentially do not perform the redundant and relatively expensive operation of retrieving the modelview matrix information from OpenGL (Block 314) and setting the OpenGL modelview matrix to NOP (Block 315) . Then, at Block 317, the next OpenGL untransformed vertex is retrieved from the NPGL local copy. The local copy was made in Blocks 311-312. Block 317 is the beginning of a loop which actually draws the polygon to the output device.
At Block 318, the OpenGL untransformed vertex is multiplied by the NPGL local copy of the modelview matrix. This corresponds to the operation of Block 220. This generates the transformed vertices. The exact mathematical operation which is performed in Block 318 will generally vary with the variation required in Block 319 to perform the nonplanar mathematics. These operations may include, but are not limited to, the standard vector-matrix multiply which is commonly performed.
Then, referring to Block 319, NPGL nonplanar projection math is performed. This operation corresponds to Block 230 of Figure 3. The modularity and flexibility of Block 319 can incorporate mathematical operation for a variety of nonplanar displays, such as domes, cylinders, etc. For purposes of completeness, the NPGL nonplanar projection math for a hemispherical projection system will be described.
In order to perform a hemispherical distortion correction to the transform vertices, the following operations are performed. First, a distance function is performed using the formula D = SQRT (Xpιanaι 2 + an*.2 + Zp nar 2) - where Xplanar, Yplanar and Zpl nar are the X, Y and Z coordinates of the vertex and SQRT is the square root function. Then, the nonplanar X and Y coordinates are obtained by the formulas XπoμIaπar =
Xp nar/D an Ynonplanai = Yplanar/D Wnere ^nonplanar anc* Ynonpianar are the X and Y coordinates of the nonplanar coordinates. The nonplanar Z coordinate generally need not be calculated because it is generally calculated using Z buffer or other conventional techniques. The nonplanar projection math for cylindrical or other nonplanar displays may be derived geometrically and need not be described further herein. It will be understood that hemispherical distortion correction math can vary from the above as a function of specific lens properties.
Then, at Block 320, a test is made as to whether geometric clipping is necessary. If geometric clipping is necessary, which may Lie unique to the nonplanar topography of the display, it is checked for in Block 320 and performed in Block 321. It will be understood that clipping may be performed at other places in the operations, depending upon the type of clipping that is performed and what type of nonplanar math is being performed in Block 319. Then, at Block 322, a test is made as to whether this is the last OpenGL vertex of the current polygon being drawn. If not, a loop is made to Block 317 until retrieving and processing of all the vertices of the current polygon is finished.
Finally, at Block 323, NPGL calls OpenGL to draw the polygon with NPGL nonplanar vertices. This corresponds to Blocks 250 and 260 of Figure 3. It will be understood that Blocks 317-322 are looped until all the vertices of the current OpenGL polygon were collected and processed with the nonplanar math. Block 323 is generally executed by having NPGL pass through the appropriate arguments to the equivalent OpenGL call.
Accordingly, the speed, performance and standard graphics library of a planar image graphics computer system can be used to generate nonplanar image data for display on a nonplanar display. In the drawings and speci ication, there have been disclosed typical preferred embodiments of the invention and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation, the scope of the invention being set forth in the following claims.

Claims

THAT WHICH IS CLAIMED:
1. A method for converting image data to nonplanar image data for display on a nonplanar display, using a planar image graphics computer system which converts image data to planar image data for display on a planar display, comprising the steps of: obtaining from the planar image graphics computer system, a transformation matrix; multiplying a plurality of vertices of the image data by the obtained transformation matrix, to produce transformed image data; nonplanarly distorting the transformed image data to produce nonplanar image data; providing a passthrough transformation matrix to the planar image graphics computer system; and inputting the nonplanar image data to the planar image graphics computer system for further processing by the planar image graphics computer system.
2. A method according to Claim 1 wherein the image data includes a plurality of objects, each having a plurality of vertices, and wherein the obtaining step is performed once for each of the objects .
3. A method according to Claim 1 wherein the image data includes' a plurality of objects, each having a plurality of vertices, and wherein the obtaining step is performed once for the plurality of objects .
4. A method according to Claim 1 further comprising the step of : displaying the nonplanar image data which is processed by the planar image graphics computer system, on a nonplanar display.
5. A method according to Claim 1 wherein the planar image graphics computer system is an OpenGL computer system.
6. A method according to Claim 4 wherein the displaying step comprises the step of: displaying the nonplanar image data which is processed by the planar image graphics computer system, on a hemispherical display.
7. A method according to Claim 1 wherein the step of providing a passthrough transformation matrix to the planar image graphics computer system comprises the step of : providing an identity transformation matrix to the planar image graphics computer system.
8. A method according to Claim 1 wherein the obtaining step is preceded by the step of: evaluating a transformation matrix in the planar image graphics computer system in response to an input command.
9. A method for converting image data to nonplanar image data for display on a nonplanar display, comprising the steps of: nonplanarly distorting the image data to produce nonplanar image data; and inputting the nonplanar image data to a planar image graphics computer system which converts image data to planar image data for display on a planar display-, for processing by the planar image graphics computer system.
10. A method according to Claim 9 further comprising the step of : displaying the nonplanar image data which is processed by the planar image graphics computer system, on a nonplanai- display.
11. An image processing system comprising: a planar image graphics computer system which converts Linage data to planar image data foi display on a planar display; and a nonplanar image graphics computer system, comprising : means for obtaining from the planar image graphics computer system, a transformation matrix; means for multiplying a plurality of vertices of the image data by the obtained transformation matrix, to produce transformed image data; means for nonplanarly distorting the transformed image data to produce nonplanar image data; means for providing a passthrough trans ormation matrix to the planar image graphics computer system; and means for inputting the nonplanar image data to the planar image graphics computer system for further processing by the planar image graphics computer system.
12. An image processing system according to Claim 11 wherein the image data includes a plurality of objects, each having a plurality of vertices, and wherein the obtaining means obtains a transformation matrix once for each of the objects.
13. An image processing system according to Claim 11 wherein the image data includes a plurality of objects, each having a plurality of vertices, and wherein the obtaining means obtaining a transformation matrix once for the plurality of objects.
1 . An image processing system according to Claim 11 further comprising: a nonplanar display which is responsive to the planar image graphics computer system, to display the nonplanar image data which is processed by the planar image graphics computer system.
15. An image processing system according to Claim 14 wherein said nonplanar display is a hemispherical display.
16. An image processing system according to
Claim 11 wherein the planar image graphics computer system is an OpenGL computer system.
17. An image processing system according to Claim 11 further comprising a graphics workstation including a central processing unit and graphics hardware, wherein the planar image graphics computer system is embodied in the graphics hardware and wherein the nonplanar image graphics computer system is embodied as a stored program which executes on the central processing unit .
18. An image processing system according to Claim 11 wherein the means for providing a passthrough transformation matrix to the planar image graphics computer system comprises : means for providing an identity transformation matrix to the planar image graphics computer system.
19. An image processing system according to Claim 11 wherein the planar image graphics computer system further comprises: means for evaluating a transformation matrix in the planar image graphics computer system in response to an input command .
20. An image processing system according to Claim 11 wherein the planar image graphics computer system includes a modelview transformation matrix and a projection transformation matrix, and wherein the nonplanar image graphics computer system further comprises: a first flag which indicates whether the modelview transformation matrix or the projection transformation matrix is being used; and a second flag which indicates whether a transformation matrix is to be obtained; and wherein the obtaining means is responsive to the first and second flags.
21. An image processing system according to Claim 11 wherein the planar image graphics computer system is responsive to a predetermined command set and wherein the nonplanar image graphics computer system is a wrapper library which is responsive to the predetermined command set.
22. An image processing system according to Claim 11 wherein the planar image graphics computer , system includes a plurality of transformation matrices, and wherein the nonplanar image graphics computer system further comprises: a first flag which indicates which of the plurality of transformation matrices is being used; and a second flag which indicates whether a transformation matrix is to be obtained; and wherein the obtaining means is responsive to the first and second flags.
23. An image processing system comprising: means for nonplanarly distorting image data to produce nonplanar image data; and a planar image graphics computer system which converts image data to planar image data for display on a planar display, and which is responsive to the nonplanar image data to process the nonplanar image data for display on a nonplanar display.
24. A system according to Claim 23 further comprising: a nonplanar display which is responsive to the planar image graphics computer system, to display the nonplanar image data which is processed by the planar image graphics computer system.
25. A computer program product for converting image data to nonplanar image data for display on a nonplanar display, using a planar image graphics computer system which converts image data to planar image data for display on a planar display, said computer program product including a computer-readable storage medium having computer-readable program code means embodied in the medium, the computer-readable program code means comprising: computer-readable program code means for obtaining from the planar image graphics computer system, a transformation matrix; computer-readable program code means for multiplying a plurality of vertices of the image data by the obtained transformation matrix, to produce transformed image data; computer-readable program code means for nonplanarly distorting the transformed image data to produce nonplanar image data; computer-readable program code means for providing a passthrough transformation matrix to the planar image graphics computer system; and computer-readable program code means for inputting the nonplanar image data to the planar image graphics computer system for further processing by the planar image graphics computer system.
26. A computer program product according to Claim 25 wherein the image data includes a plurality of objects, each having a plurality of vertices, and wherein the obtaining means obtains a transformation matrix once for each of the objects.
27. A computer program product according to Claim 25 wherein the image data includes a plurality of objects, each having a plurality of vertices, and wherein the obtaining means obtaining a transformation matrix once for the plurality of objects.
28. A computer program product according to Claim 25 wherein the planar image graphics computer system is an OpenGL computer system.
29. A computer program product according to Claim 25 wherein the means for providing a passthrough transformation matrix to the planar image graphics computer system comprises : computer-readable program code means for providing an identity transformation matrix to the planar image graphics computer system.
30. A computer program product according to Claim 25 wherein the planar image graphics computer system includes a modelview transformation matrix and a projection transformation matrix, and wherein the computer program product further comprises : a first flag which indicates whether the modelview transformation matrix or the projection transformation matrix is being used; and a second flag which indicates whether a transformation matrix is to be obtained; and wherein the obtaining means is responsive to the first and second flags.
31. A computer program product according to Claim 25 wherein the planar image graphics computer system is responsive to a predetermined command set and wherein the computer program product is a wrapper library which is responsive to the predetermined command set .
32. A computer program product according to Claim 25 wherein the planar image graphics computer system includes a plurality of transformation matrices, and wherein the computer program product further comprises : a first flag which indicates which of the plurality of transformation matrices is being used; and a second flag which indicates whether a transformation matrix is to be obtained; and wherein the obtaining means is responsive to the first and second flags.
PCT/US1998/003790 1997-02-26 1998-02-26 Systems, methods and computer program products for converting image data to nonplanar image data WO1998038599A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU63405/98A AU6340598A (en) 1997-02-26 1998-02-26 Systems, methods and computer program products for converting image data to nonplanar image data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/806,788 US6104405A (en) 1997-02-26 1997-02-26 Systems, methods and computer program products for converting image data to nonplanar image data
US08/806,788 1997-02-26

Publications (2)

Publication Number Publication Date
WO1998038599A1 true WO1998038599A1 (en) 1998-09-03
WO1998038599A9 WO1998038599A9 (en) 1999-02-11

Family

ID=25194846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1998/003790 WO1998038599A1 (en) 1997-02-26 1998-02-26 Systems, methods and computer program products for converting image data to nonplanar image data

Country Status (3)

Country Link
US (2) US6104405A (en)
AU (1) AU6340598A (en)
WO (1) WO1998038599A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001059738A1 (en) * 2000-02-08 2001-08-16 Elumens Corporation Optical projection system including projection dome
US7621647B1 (en) 2006-06-23 2009-11-24 The Elumenati, Llc Optical projection system and method of use
US7766483B2 (en) 2005-04-06 2010-08-03 Suresh Balu Optical projection system and methods for configuring the same

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7542035B2 (en) * 1995-11-15 2009-06-02 Ford Oxaal Method for interactively viewing full-surround image data and apparatus therefor
DE10046019A1 (en) * 2000-09-18 2002-03-28 Esg Elektroniksystem Und Logis Distortion-free representation of image elements on a curved surface, esp. a vehicle wind-screen, requires correction step for pre-correcting the image elements before display
US7171022B2 (en) * 2001-12-05 2007-01-30 Lockheed Martin Corporation Common method for communicating area information
US6982682B1 (en) * 2002-07-29 2006-01-03 Silicon Graphics, Inc. System and method for managing graphics applications
US7841944B2 (en) 2002-08-06 2010-11-30 Igt Gaming device having a three dimensional display device
US6811264B2 (en) 2003-03-21 2004-11-02 Mitsubishi Electric Research Laboratories, Inc. Geometrically aware projector
DE10334720A1 (en) * 2003-07-30 2005-03-03 Bayerische Motoren Werke Ag Projection of image information onto a presentation surface within a presentation space, e.g. a motor vehicle interior, whereby a control unit controls a projection unit taking into account information about the projection surface
US20050037843A1 (en) * 2003-08-11 2005-02-17 William Wells Three-dimensional image display for a gaming apparatus
US7857700B2 (en) 2003-09-12 2010-12-28 Igt Three-dimensional autostereoscopic image display for a gaming apparatus
US7394920B2 (en) 2004-05-19 2008-07-01 Invia, Llc Automated computer-implemented method and system for reorienting emission computer tomographic myocardial perfusion images
EP1915494A4 (en) * 2005-07-29 2017-02-01 The Elumenati, LLC Dual pressure inflatable structure and method
US7878910B2 (en) 2005-09-13 2011-02-01 Igt Gaming machine with scanning 3-D display system
US8134552B2 (en) * 2005-09-23 2012-03-13 Samsung Electronics Co., Ltd. Method, apparatus, and medium for efficiently rendering 3D object
US20080043019A1 (en) * 2006-08-16 2008-02-21 Graham Sellers Method And Apparatus For Transforming Object Vertices During Rendering Of Graphical Objects For Display
JP5341462B2 (en) 2008-10-14 2013-11-13 キヤノン株式会社 Aberration correction method, image processing apparatus, and image processing system
WO2010121945A2 (en) * 2009-04-21 2010-10-28 International Business Machines Corporation Method and system for interaction with unmodified 3d graphics applications
US9578299B2 (en) 2011-03-14 2017-02-21 Qualcomm Incorporated Stereoscopic conversion for shader based graphics content
US9430251B2 (en) * 2013-09-30 2016-08-30 Unity Technologies Finland Oy Software development kit for capturing graphical image data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4763280A (en) * 1985-04-29 1988-08-09 Evans & Sutherland Computer Corp. Curvilinear dynamic image generation system
US5319744A (en) * 1991-04-03 1994-06-07 General Electric Company Polygon fragmentation method of distortion correction in computer image generating systems
US5425137A (en) * 1993-01-26 1995-06-13 Us Jvc Corporation System and method for processing images using computer-implemented software objects representing lenses
WO1997001241A1 (en) * 1995-06-23 1997-01-09 Omniview, Inc. Method and apparatus for creating spherical images

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4862388A (en) * 1986-12-15 1989-08-29 General Electric Company Dynamic comprehensive distortion correction in a real time imaging system
US5493490A (en) * 1992-05-05 1996-02-20 Clear With Computers, Inc. Electronic proposal preparation system for selling vehicles
US5673377A (en) * 1994-09-02 1997-09-30 Ray Dream, Inc. Method and system for displaying a representation of a three-dimensional object with surface features that conform to the surface of the three-dimensional object
US5776050A (en) * 1995-07-24 1998-07-07 Medical Media Systems Anatomical visualization system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4763280A (en) * 1985-04-29 1988-08-09 Evans & Sutherland Computer Corp. Curvilinear dynamic image generation system
US5319744A (en) * 1991-04-03 1994-06-07 General Electric Company Polygon fragmentation method of distortion correction in computer image generating systems
US5425137A (en) * 1993-01-26 1995-06-13 Us Jvc Corporation System and method for processing images using computer-implemented software objects representing lenses
WO1997001241A1 (en) * 1995-06-23 1997-01-09 Omniview, Inc. Method and apparatus for creating spherical images

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001059738A1 (en) * 2000-02-08 2001-08-16 Elumens Corporation Optical projection system including projection dome
US6530667B1 (en) 2000-02-08 2003-03-11 Elumens Corporation Optical projection system including projection dome
US6712477B2 (en) 2000-02-08 2004-03-30 Elumens Corporation Optical projection system including projection dome
US7766483B2 (en) 2005-04-06 2010-08-03 Suresh Balu Optical projection system and methods for configuring the same
US8032245B2 (en) 2005-04-06 2011-10-04 Suresh Balu Methods for configuring optical projection system
US7621647B1 (en) 2006-06-23 2009-11-24 The Elumenati, Llc Optical projection system and method of use
US7959307B1 (en) 2006-06-23 2011-06-14 The Elumenati, Llc Optical projection system and method of use

Also Published As

Publication number Publication date
US6573894B1 (en) 2003-06-03
US6104405A (en) 2000-08-15
AU6340598A (en) 1998-09-18

Similar Documents

Publication Publication Date Title
US6104405A (en) Systems, methods and computer program products for converting image data to nonplanar image data
WO1998038599A9 (en) Systems, methods and computer program products for converting image data to nonplanar image data
US10504276B2 (en) Re-utilization of render assets for video compression
US7209139B1 (en) Efficient rendering of similar objects in a three-dimensional graphics engine
Wylie et al. Tetrahedral projection using vertex shaders
JP4890638B2 (en) Method and apparatus for processing direct and indirect textures in a graphics system
US8347275B2 (en) OpenGL to OpenGL/ES translator and OpenGL/ES simulator
Munshi et al. OpenGL ES 2.0 programming guide
US6700586B1 (en) Low cost graphics with stitching processing hardware support for skeletal animation
US7034828B1 (en) Recirculating shade tree blender for a graphics system
US7737982B2 (en) Method and system for minimizing an amount of data needed to test data against subarea boundaries in spatially composited digital video
US7064755B2 (en) System and method for implementing shadows using pre-computed textures
US20080246763A1 (en) Apparatus and method for a frustum culling algorithm suitable for hardware implementation
US6480200B1 (en) Method and apparatus for deferred texture validation on a multi-tasking computer
US6590574B1 (en) Method, system, and computer program product for simulating camera depth-of-field effects in a digital image
US7286129B1 (en) Two-sided stencil testing system and method
Gordon et al. Computer graphics programming in OpenGL with C++
US11341708B2 (en) Graphics processing
US7292254B1 (en) Apparatus, system, and method for clipping graphics primitives with reduced sensitivity to vertex ordering
Goldiez et al. Real-time visual simulation on PCs
US7109999B1 (en) Method and system for implementing programmable texture lookups from texture coordinate sets
US7116333B1 (en) Data retrieval method and system
US6587114B1 (en) Method, system, and computer program product for generating spatially varying effects in a digital image
US20030201995A1 (en) System, method, and computer program product for blending textures during rendering of a computer generated image using a single texture as a mask
CN103546159A (en) Stencil data compression system and method and graphics processing unit incorporating the same

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK TJ TM TR TT UA UG US UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
COP Corrected version of pamphlet

Free format text: PAGES 1-21, DESCRIPTION, REPLACED BY NEW PAGES 1-23; PAGES 22-29, CLAIMS, REPLACED BY NEW PAGES 24-32; DUE TO LATE TRANSMITTAL BY THE RECEIVING OFFICE

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: CA

122 Ep: pct application non-entry in european phase