007-1680-100

Total Page:16

File Type:pdf, Size:1020Kb

007-1680-100 OpenGL Performer™ Programmer’s Guide Version 3.2 007-1680-100 CONTRIBUTORS Written by George Eckel and Ken Jones Illustrated by Chrystie Danzer and Chris Wengelski Production by Karen Jacobson Engineering contributions by Angus Dorbie, Paolo Farinelli, Tom Flynn, Yair Kurzion, Radomir Mech, Alexandre Naaman, Marcin Romaszewicz, Stace Peterson, Allan Schaffer, and Jenny Zhao COPYRIGHT © 1994, 2000–2004 Silicon Graphics, Inc. All rights reserved; provided portions may be copyright in third parties, as indicated elsewhere herein. No permission is granted to copy, distribute, or create derivative works from the contents of this electronic documentation in any manner, in whole or in part, without the prior written permission of Silicon Graphics, Inc. LIMITED RIGHTS LEGEND The software described in this document is "commercial computer software" provided with restricted rights (except as to included open/free source) as specified in the FAR 52.227-19 and/or the DFAR 227.7202, or successive sections. Use beyond license provisions is a violation of worldwide intellectual property laws, treaties and conventions. This document is provided with limited rights as defined in 52.227-14. TRADEMARKS AND ATTRIBUTIONS Silicon Graphics, SGI, the SGI logo, IRIS, IRIX, ImageVision Library, Indigo, Indy, InfiniteReality, O2, Octane, Onyx, Onyx2, and OpenGL are registered trademarks and CASEVision, Crimson, Elan Graphics, IRIS Geometry Pipeline, IRIS GL, IRIS Graphics Library, IRIS InSight, IRIS Inventor, Indigo Elan, Indigo2, InfinitePerformance, InfiniteReality2, InfiniteReality4, Onyx4, OpenGL Multipipe, OpenGL Performer, Performance Co-Pilot, REACT, RealityEngine, RealityEngine2, Showcase, Silicon Graphics Prism, UltimateVision, and VPro are trademarks of Silicon Graphics, Inc., in the United States and/or other countries worldwide. AutoCAD is a registered trademark of Autodesk, Inc. CATIA is a registered trademark of DASSAULT SYSTEMES S.A. Designer’s Workbench is a trademark of Centric Software, Inc. Lightscape is a trademark of Autodesk, Inc. Linux is a registered trademark of Linus Torvalds. Maya is a registered trademark and Wavefront is a trademark of Alias Systems, a division of Silicon Graphics Limited in the United States and/or other countries worldwide. Motif is a registered trademark and X Window System and OSF/Motif are trademarks of The Open Group. Purify is a registered trademark of Rational Software Corporation. Red Hat is a registered trademark of Red Hat, Inc. RPC is a trademark of ArchVision. VTune is a trademark of Intel Corporation. WindView is a trademark of Wind River Systems. Microsoft, Windows, and Windows NT are registered trademarks of Microsoft Corporation in the United States and other countries. Maya is a trademark of Alias Systems. All other trademarks mentioned herein are the property of their respective owners. PATENT DISCLOSURE Many of the techniques and methods disclosed in this Programmer’s Guide are covered by patents held by Silicon Graphics including U.S. Patent Nos. 5,051,737; 5,369,739; 5,438,654; 5,394,170; 5,528,737; 5,528,738; 5,581,680; 5,471,572 and patent applications pending. We encourage you to use these features in your OpenGL Performer application on SGI systems. This functionality and OpenGL Performer are not available for re-implementation and distribution on other platforms without the explicit permission of Silicon Graphics. New Features in This Guide This revision of the guide documents OpenGL Performer 3.2, which has support for the following features: • Silicon Graphics Prism visualization systems • OpenGL 2.0 Shading Language • Scene graph optimizer • New compositor API • Maya 6.0 exporter 007-1680-100 iii Record of Revision Version Description 020 1994 Original publication. 060 November 2000 Updated for the 2.4 version of OpenGL Performer. 070 November 2001 Updated for the 2.5 version of OpenGL Performer. 080 December 2002 Updated for the 3.0 version of OpenGL Performer. 090 December 2003 Updated for the 3.1 version of OpenGL Performer. 100 November 2004 Updated for the 3.2 version of OpenGL Performer. 007-1680-100 v Contents Figures . xxxi Tables . xxxvii Examples . xli About This Guide. xlv Why Use OpenGL Performer? . xlv What You Should Know Before Reading This Guide . xlvi How to Use This Guide . xlvi What This Guide Contains . xlvi Sample Applications . xlviii Conventions . xlix Internet and Hardcopy Reading for the OpenGL Performer Series . xlix Reader Comments . l 1. OpenGL Performer Programming Interface . 1 General Naming Conventions . 1 Prefixes. 1 Header Files . 2 Naming in C and C++ . 2 Abbreviations . 3 Macros, Tokens, and Enums. 3 Class API . 3 Object Creation . 4 Set Routines . 4 Get Routines . 4 Action Routines . 5 Enable and Disable of Modes . 5 Mode, Attribute, or Value . 6 007-1680-100 vii Contents Base Classes . 6 Inheritance Graph . 7 libpr and libpf Objects . 10 User Data . 10 pfDelete() and Reference Counting . 11 Copying Objects with pfCopy() . 15 Printing Objects with pfPrint() . 15 Determining Object Type . 17 2. Setting Up the Display Environment . 19 Using Pipes . 21 The Functional Stages of a Pipeline . 21 Creating and Configuring a pfPipe . 23 Example of pfPipe Use . 25 Using Channels . 26 Creating and Configuring a pfChannel . .26 Setting Up a Scene . 27 Setting Up a Viewport . 27 Setting Up a Viewing Frustum . 28 Setting Up a Viewpoint . 30 Example of Channel Use . 32 Controlling the Video Output. 34 Using Multiple Channels . 35 One Window per Pipe, Multiple Channels per Window . 36 Using Channel Groups. 40 Multiple Channels and Multiple Windows. 43 Importing OpenGL Multipipe SDK (MPK) Configuration Files . 44 3. Nodes and Node Types . 49 Nodes . 49 Attribute Inheritance . 49 pfNode . 51 pfGroup. 53 viii 007-1680-100 Contents Working with Nodes . 56 Instancing . 56 Bounding Volumes . 59 Node Types. 61 pfScene Nodes. 61 pfSCS Nodes . 62 pfDCS Nodes . 62 pfFCS Nodes . 63 pfDoubleSCS Nodes . 64 pfDoubleDCS Nodes . 64 pfDoubleFCS Nodes . 67 pfSwitch Nodes . 67 pfSequence Nodes . 67 pfLOD Nodes . 70 pfASD Nodes . 70 pfLayer Nodes . 70 pfGeode Nodes . 71 pfText Nodes . 73 pfBillboard Nodes . 75 pfPartition Nodes . 78 Sample Program . 80 4. Database Traversal . 85 Scene Graph Hierarchy . 87 Database Traversals . 87 State Inheritance . 87 Database Organization . 88 Application Traversal . 88 Cull Traversal . 90 Traversal Order . 90 Visibility Culling . 91 Organizing a Database for Efficient Culling . 94 Sorting the Scene . 97 Paths through the Scene Graph . .100 007-1680-100 ix Contents Draw Traversal . 100 Optimizing the Drawing of Sub-bins . 101 Bin Draw Callbacks . 101 Controlling and Customizing Traversals . 102 pfChannel Traversal Modes . 102 Cull Programs . 103 pfNode Draw Mask . 112 pfNode Cull and Draw Callbacks . 113 Process Callbacks . 116 Process Callbacks and Passthrough Data . 118 Intersection Traversal . 120 Testing Line Segment Intersections . 120 Intersection Requests: pfSegSets . 121 Intersection Return Data: pfHit Objects . 121 Intersection Masks. 122 Discriminator Callbacks . 124 Line Segment Clipping . 125 Traversing Special Nodes. 125 Picking . 126 Performance . 126 Intersection Methods for Segments . 127 5. Frame and Load Control . 129 Frame Rate Management . 129 Selecting the Frame Rate . 130 Achieving the Frame Rate . 130 Fixing the Frame Rate . 131 Level-of-Detail Management . 136 Level-of-Detail Models . 136 Level-of-Detail States . 140 Level-of-Detail Range Processing . 141 Level-of-Detail Transition Blending . 145 Run-Time User Control Over LOD Evaluation. 146 Terrain Level-of-Detail . 147 x 007-1680-100 Contents Maintaining Frame Rate Using Dynamic Video Resolution . .148 The Channel in.

  1018
Recommended publications
  • Avs Developer's Guide
    333333333 3333 AVS DEVELOPER'S 333333333333GUIDE Release 4 May, 1992 Advanced Visual Systems Inc.33333333 Part Number: 320-0013-02, Rev B NOTICE This document, and the software and other products described or referenced in it, are con®dential and proprietary products of Advanced Visual Systems Inc. (AVS Inc.) or its licensors. They are provided under, and are subject to, the terms and conditions of a written license agreement between AVS Inc. and its customer, and may not be transferred, disclosed or otherwise provided to third parties, unless otherwise permitted by that agreement. NO REPRESENTATION OR OTHER AFFIRMATION OF FACT CONTAINED IN THIS DOCUMENT, INCLUDING WITHOUT LIMITATION STATEMENTS REGARDING CAPACITY, PERFORMANCE, OR SUITABILITY FOR USE OF SOFTWARE DESCRIBED HEREIN, SHALL BE DEEMED TO BE A WARRANTY BY AVS INC. FOR ANY PURPOSE OR GIVE RISE TO ANY LIABILITY OF AVS INC. WHATSOEVER. AVS INC. MAKES NO WARRANTY OF ANY KIND IN OR WITH REGARD TO THIS DOCUMENT, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. AVS INC. SHALL NOT BE RESPONSIBLE FOR ANY ERRORS THAT MAY APPEAR IN THIS DOCUMENT AND SHALL NOT BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION INCIDENTAL, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF OR RELATED TO THIS DOCUMENT OR THE INFORMATION CONTAINED IN IT, EVEN IF AVS INC. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. The speci®cations and other information contained in this document for some purposes may not be complete, current or correct, and are subject to change without notice. The reader should consult AVS Inc.
    [Show full text]
  • Tessellation and Rendering of Trimmed NURBS Models in Scene Graph Systems
    Tessellation and rendering of trimmed NURBS models in scene graph systems Dissertation zur Erlangung des Doktorgrades (Dr. rer. nat.) der Mathematisch-Naturwissenschaftlichen Fakultat¨ der Rheinischen Friedrich-Wilhelms-Universitat¨ Bonn vorgelegt von Dipl.-Inform. Akos´ Balazs´ aus Budapest/Ungarn Munchen,¨ April 2008 Universitat¨ Bonn, Institut fur¨ Informatik II Romerstraße¨ 164, 53117 Bonn Angefertigt mit Genehmigung der Mathematisch-Naturwissenschaftlichen Fakultat¨ der Rheinischen Friedrich-Wilhelms Universitat¨ Bonn. Diese Dissertation ist auf dem Hochschulschriftenserver der ULB Bonn http://hss.ulb.uni-bonn.de/diss online elektronisch publiziert. Dekan: Prof. Dr. Armin B. Cremers 1. Referent: Prof. Dr. Reinhard Klein 2. Referent: Prof. Dr. Andreas Weber Tag der Promotion: 25.09.2008 Erscheinungsjahr: 2008 I To the memory of my father To my parents, for making all of this possible. II III Acknowledgements “Standing on the shoulders of giants” - Isaac Newton once wrote, and this sentence describes how I feel about the support many people have given me during the writing of this thesis. Acknowledging their support here is beyond doubt not enough to express my sincere appreciation for their help, yet, I hope they know what their backing has meant to me. First and foremost, I must thank my advisor Prof. Dr. Reinhard Klein, whose inspi- ration, patience and guidance made writing this thesis possible. His occasional nudges were also necessary to keep me on the right track and for this I cannot be grateful enough. I would like to thank
    [Show full text]
  • Opengl Shading Languag 2Nd Edition (Orange Book)
    OpenGL® Shading Language, Second Edition By Randi J. Rost ............................................... Publisher: Addison Wesley Professional Pub Date: January 25, 2006 Print ISBN-10: 0-321-33489-2 Print ISBN-13: 978-0-321-33489-3 Pages: 800 Table of Contents | Index "As the 'Red Book' is known to be the gold standard for OpenGL, the 'Orange Book' is considered to be the gold standard for the OpenGL Shading Language. With Randi's extensive knowledge of OpenGL and GLSL, you can be assured you will be learning from a graphics industry veteran. Within the pages of the second edition you can find topics from beginning shader development to advanced topics such as the spherical harmonic lighting model and more." David Tommeraasen, CEO/Programmer, Plasma Software "This will be the definitive guide for OpenGL shaders; no other book goes into this detail. Rost has done an excellent job at setting the stage for shader development, what the purpose is, how to do it, and how it all fits together. The book includes great examples and details, and good additional coverage of 2.0 changes!" Jeffery Galinovsky, Director of Emerging Market Platform Development, Intel Corporation "The coverage in this new edition of the book is pitched just right to help many new shader- writers get started, but with enough deep information for the 'old hands.'" Marc Olano, Assistant Professor, University of Maryland "This is a really great book on GLSLwell written and organized, very accessible, and with good real-world examples and sample code. The topics flow naturally and easily, explanatory code fragments are inserted in very logical places to illustrate concepts, and all in all, this book makes an excellent tutorial as well as a reference." John Carey, Chief Technology Officer, C.O.R.E.
    [Show full text]
  • 3Dfx Oral History Panel Gordon Campbell, Scott Sellers, Ross Q. Smith, and Gary M. Tarolli
    3dfx Oral History Panel Gordon Campbell, Scott Sellers, Ross Q. Smith, and Gary M. Tarolli Interviewed by: Shayne Hodge Recorded: July 29, 2013 Mountain View, California CHM Reference number: X6887.2013 © 2013 Computer History Museum 3dfx Oral History Panel Shayne Hodge: OK. My name is Shayne Hodge. This is July 29, 2013 at the afternoon in the Computer History Museum. We have with us today the founders of 3dfx, a graphics company from the 1990s of considerable influence. From left to right on the camera-- I'll let you guys introduce yourselves. Gary Tarolli: I'm Gary Tarolli. Scott Sellers: I'm Scott Sellers. Ross Smith: Ross Smith. Gordon Campbell: And Gordon Campbell. Hodge: And so why don't each of you take about a minute or two and describe your lives roughly up to the point where you need to say 3dfx to continue describing them. Tarolli: All right. Where do you want us to start? Hodge: Birth. Tarolli: Birth. Oh, born in New York, grew up in rural New York. Had a pretty uneventful childhood, but excelled at math and science. So I went to school for math at RPI [Rensselaer Polytechnic Institute] in Troy, New York. And there is where I met my first computer, a good old IBM mainframe that we were just talking about before [this taping], with punch cards. So I wrote my first computer program there and sort of fell in love with computer. So I became a computer scientist really. So I took all their computer science courses, went on to Caltech for VLSI engineering, which is where I met some people that influenced my career life afterwards.
    [Show full text]
  • IRIS Performer™ Programmer's Guide
    IRIS Performer™ Programmer’s Guide Document Number 007-1680-030 CONTRIBUTORS Edited by Steven Hiatt Illustrated by Dany Galgani Production by Derrald Vogt Engineering contributions by Sharon Clay, Brad Grantham, Don Hatch, Jim Helman, Michael Jones, Martin McDonald, John Rohlf, Allan Schaffer, Chris Tanner, and Jenny Zhao © Copyright 1995, Silicon Graphics, Inc.— All Rights Reserved This document contains proprietary and confidential information of Silicon Graphics, Inc. The contents of this document may not be disclosed to third parties, copied, or duplicated in any form, in whole or in part, without the prior written permission of Silicon Graphics, Inc. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure of the technical data contained in this document by the Government is subject to restrictions as set forth in subdivision (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and/ or in similar or successor clauses in the FAR, or in the DOD or NASA FAR Supplement. Unpublished rights reserved under the Copyright Laws of the United States. Contractor/manufacturer is Silicon Graphics, Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. Indigo, IRIS, OpenGL, Silicon Graphics, and the Silicon Graphics logo are registered trademarks and Crimson, Elan Graphics, Geometry Pipeline, ImageVision Library, Indigo Elan, Indigo2, Indy, IRIS GL, IRIS Graphics Library, IRIS Indigo, IRIS InSight, IRIS Inventor, IRIS Performer, IRIX, Onyx, Personal IRIS, Power Series, RealityEngine, RealityEngine2, and Showcase are trademarks of Silicon Graphics, Inc. AutoCAD is a registered trademark of Autodesk, Inc. X Window System is a trademark of Massachusetts Institute of Technology.
    [Show full text]
  • Rapid Prototyping for Virtual Environments
    Old Dominion University ODU Digital Commons Electrical & Computer Engineering Theses & Dissertations Electrical & Computer Engineering Winter 2008 Rapid Prototyping for Virtual Environments Emre Baydogan Old Dominion University Follow this and additional works at: https://digitalcommons.odu.edu/ece_etds Part of the Computer Sciences Commons, and the Electrical and Computer Engineering Commons Recommended Citation Baydogan, Emre. "Rapid Prototyping for Virtual Environments" (2008). Doctor of Philosophy (PhD), Dissertation, Electrical & Computer Engineering, Old Dominion University, DOI: 10.25777/pb9g-mv96 https://digitalcommons.odu.edu/ece_etds/45 This Dissertation is brought to you for free and open access by the Electrical & Computer Engineering at ODU Digital Commons. It has been accepted for inclusion in Electrical & Computer Engineering Theses & Dissertations by an authorized administrator of ODU Digital Commons. For more information, please contact [email protected]. RAPID PROTOTYPING FOR VIRTUAL ENVIRONMENTS by Emre Baydogan B.S. June 1999, Marmara University, Turkey M.S. June 2001, Marmara University, Turkey A Dissertation Submitted to the Faculty of Old Dominion University in Partial Fulfillment of the Requirement for the Degree of DOCTOR OF PHILOSOPHY ELECTRICAL AND COMPUTER ENGINEERING OLD DOMINION UNIVERSITY December 2008 Lee A. Belfore, H (Director) K. Vijayan Asari Jesmca R. Crouch ABSTRACT RAPID PROTOTYPING FOR VIRTUAL ENVIRONMENTS Emre Baydogan Old Dominion University, 2008 Director: Dr. Lee A. Belfore, II Development of Virtual Environment (VE) applications is challenging where appli­ cation developers are required to have expertise in the target VE technologies along with the problem domain expertise. New VE technologies impose a significant learn­ ing curve to even the most experienced VE developer. The proposed solution relies on synthesis to automate the migration of a VE application to a new unfamiliar VE platform/technology.
    [Show full text]
  • Design and Speedup of an Indoor Walkthrough System
    Vol.4, No. 4 (2000) THE INTERNATIONAL JOURNAL OF VIRTUAL REALITY 1 DESIGN AND SPEEDUP OF AN INDOOR WALKTHROUGH SYSTEM Bin Chan, Wenping Wang The University of Hong Kong, Hong Kong Mark Green The University of Alberta, Canada ABSTRACT This paper describes issues in designing a practical walkthrough system for indoor environments. We propose several new rendering speedup techniques implemented in our walkthrough system. Tests have been carried out to benchmark the speedup brought about by different techniques. One of these techniques, called dynamic visibility, which is an extended view frustum algorithm with object space information integrated. It proves to be more efficient than existing standard visibility preprocessing methods without using pre-computed data. 1. Introduction Architectural walkthrough models are useful in previewing a building before it is built and in directory systems that guide visitors to a particular location. Two primary problems in developing walkthrough software are modeling and a real-time display. That is, how to easily create the 3D model and how to display a complex architectural model at a real-time rate. Modeling involves the creation of a building and the placement of furniture and other decorative objects. Although most commercially available CAD software serves similar purposes, it is not flexible enough to allow us to easily create openings on walls, such as doors and windows. Since in our own input for building a walkthrough system consists of 2D floor plans, we developed a program that converts the 2D floor plans into 3D models and handles door and window openings in a semi-automatic manner. By rendering we refer to computing illumination and generating a 2D view of a 3D scene at an interactive rate.
    [Show full text]
  • Digital Media: Bridges Between Data Particles and Artifacts
    DIGITAL MEDIA: BRIDGES BETWEEN DATA PARTICLES AND ARTIFACTS FRANK DIETRICH NDEPETDENTCONSULTANT 3477 SOUTHCOURT PALO ALTO, CA 94306 Abstract: The field of visual communication is currently facing a period of transition to digital media. Two tracks of development can be distinguished; one utilitarian, the other artistic in scope. The first area of application pragmatically substitutes existing media with computerized simulations and adheres to standards that have evolved out of common practice . The artistic direction experimentally investigates new features inherent in computer imaging devices and exploits them for the creation of meaningful expression. The intersection of these two apparently divergent approaches is the structural foundation of all digital media. My focus will be on artistic explorations, since they more clearly reveal the relevant properties. The metaphor of a data particle is introduced to explain the general universality of digital media. The structural components of the data particle are analysed in terms of duality, discreteness and abstraction. These properties are found to have significant impact on the production process of visual information : digital media encourage interactive use, integrate, different classes of symbolic representation, and facilitate intelligent image generation. Keywords: computerized media, computer graphics, computer art, digital aesthetics, symbolic representation. Draft of an invited paper for VISUAL COMPUTER The International Journal of Comuter Graphics to be published summer 1986. digital media 0 0. INTRODUCTION Within the last two decades we have witnessed a substantial increase in both quantity and quality of computer generated imagery. The work of a small community of pioneering engineers, scientists and artists started in a few scattered laboratories 20 years ago but today reaches a prime time television audience and plays an integral part in the ongoing diffusion of computer technology into offices and homes.
    [Show full text]
  • Overview of Recent Supercomputers
    Overview of recent supercomputers Aad J. van der Steen high-performance Computing Group Utrecht University P.O. Box 80195 3508 TD Utrecht The Netherlands [email protected] www.phys.uu.nl/~steen NCF/Utrecht University July 2007 Abstract In this report we give an overview of high-performance computers which are currently available or will become available within a short time frame from vendors; no attempt is made to list all machines that are still in the development phase. The machines are described according to their macro-architectural class. Shared and distributed-memory SIMD an MIMD machines are discerned. The information about each machine is kept as compact as possible. Moreover, no attempt is made to quote price information as this is often even more elusive than the performance of a system. In addition, some general information about high-performance computer architectures and the various processors and communication networks employed in these systems is given in order to better appreciate the systems information given in this report. This document reflects the technical state of the supercomputer arena as accurately as possible. However, the author nor NCF take any responsibility for errors or mistakes in this document. We encourage anyone who has comments or remarks on the contents to inform us, so we can improve this report. NCF, the National Computing Facilities Foundation, supports and furthers the advancement of tech- nical and scientific research with and into advanced computing facilities and prepares for the Netherlands national supercomputing policy. Advanced computing facilities are multi-processor vectorcomputers, mas- sively parallel computing systems of various architectures and concepts and advanced networking facilities.
    [Show full text]
  • Proceedings of the Third Phantom Users Group Workshop
    _ ____~ ~----- The Artificial Intelligence Laboratory and The Research Laboratory of Electronics at the Massachusetts Institute of Technology Cambridge, Massachusetts 02139 Proceedings of the Third PHANToM Users Group Workshop Edited by: Dr. J. Kenneth Salisbury and Dr. Mandayam A.Srinivasan A.I. Technical Report No.1643 R.L.E. Technical Report No.624 December, 1998 Massachusetts Institute of Technology ---^ILUY((*4·U*____II· IU· Proceedings of the Third PHANToM Users Group Workshop October 3-6, 1998 Endicott House, Dedham MA Massachusetts Institute of Technology, Cambridge, MA Hosted by Dr. J. Kenneth Salisbury, AI Lab & Dept of ME, MIT Dr. Mandayam A. Srinivasan, RLE & Dept of ME, MIT Sponsored by SensAble Technologies, Inc., Cambridge, MA I - -C - I·------- - -- -1 - - - ---- Haptic Rendering of Volumetric Soft-Bodies Objects Jon Burgin, Ph.D On Board Software Inc. Bryan Stephens, Farida Vahora, Bharti Temkin, Ph.D, William Marcy, Ph.D Texas Tech University Dept. of Computer Science, Lubbock, TX 79409, (806-742-3527), [email protected] Paul J. Gorman, MD, Thomas M. Krummel, MD, Dept. of Surgery, Penn State Geisinger Health System Introduction The interfacing of force-feedback devices to computers adds touchability in computer interactions, called computer haptics. Collision detection of virtual objects with the haptic interface device and determining and displaying appropriate force feedback to the user via the haptic interface device are two of the major components of haptic rendering. Most of the data structures and algorithms applied to haptic rendering have been adopted from non-pliable surface-based graphic systems, which is not always appropriate because of the different characteristics required to render haptic systems.
    [Show full text]
  • AVS on UNIX WORKSTATIONS INSTALLATION/ RELEASE NOTES
    _________ ____ AVS on UNIX WORKSTATIONS INSTALLATION/ RELEASE NOTES ____________ Release 5.5 Final (50.86 / 50.88) November, 1999 Advanced Visual Systems Inc.________ Part Number: 330-0120-02 Rev L NOTICE This document, and the software and other products described or referenced in it, are con®dential and proprietary products of Advanced Visual Systems Inc. or its licensors. They are provided under, and are subject to, the terms and conditions of a written license agreement between Advanced Visual Systems and its customer, and may not be transferred, disclosed or otherwise provided to third parties, unless oth- erwise permitted by that agreement. NO REPRESENTATION OR OTHER AFFIRMATION OF FACT CONTAINED IN THIS DOCUMENT, INCLUDING WITHOUT LIMITATION STATEMENTS REGARDING CAPACITY, PERFORMANCE, OR SUI- TABILITY FOR USE OF SOFTWARE DESCRIBED HEREIN, SHALL BE DEEMED TO BE A WARRANTY BY ADVANCED VISUAL SYSTEMS FOR ANY PURPOSE OR GIVE RISE TO ANY LIABILITY OF ADVANCED VISUAL SYSTEMS WHATSOEVER. ADVANCED VISUAL SYSTEMS MAKES NO WAR- RANTY OF ANY KIND IN OR WITH REGARD TO THIS DOCUMENT, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR- POSE. ADVANCED VISUAL SYSTEMS SHALL NOT BE RESPONSIBLE FOR ANY ERRORS THAT MAY APPEAR IN THIS DOCUMENT AND SHALL NOT BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMI- TATION INCIDENTAL, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF OR RELATED TO THIS DOCUMENT OR THE INFORMATION CONTAINED IN IT, EVEN IF ADVANCED VISUAL SYSTEMS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. The speci®cations and other information contained in this document for some purposes may not be com- plete, current or correct, and are subject to change without notice.
    [Show full text]
  • Fast Shadows and Lighting Effects Using Texture Mapping
    Computer Graphics, 26,2, July 1992 ? Fast Shadows and Lighting Effects Using Texture Mapping Mark Segal Carl Korobkin Rolf van Widenfelt Jim Foran Paul Haeberli Silicon Graphics Computer Systems* Abstract u Generating images of texture mapped geometry requires projecting surfaces onto a two-dimensional screen. If this projection involves perspective, then a division must be performed at each pixel of the projected surface in order to correctly calculate texture map coordinates. We show how a simple extension to perspective-comect texture mapping can be used to create various lighting effects, These in- clude arbitrary projection of two-dimensional images onto geom- etry, realistic spotlights, and generation of shadows using shadow maps[ 10]. These effects are obtained in real time using hardware that performs correct texture mapping. CR Categories and Subject Descriptors: 1.3.3 [Computer Li&t v Wm&irrt Graphics]: Picture/Image Generation; 1.3,7 [Computer Graph- Figure 1. Viewing a projected texture. ics]: Three-Dimensional Graphics and Realism - colot shading, shadowing, and texture Additional Key Words and Phrases: lighting, texturemapping that can lead to objectionable effects such as texture “swimming” during scene animation[5]. Correct interpolation of texture coor- 1 Introduction dinates requires each to be divided by a common denominator for each pixel of a projected texture mapped polygon[6]. Producing an image of a three-dimensional scene requires finding We examine the general situation in which a texture is mapped the projection of that scene onto a two-dimensional screen, In the onto a surface via a projection, after which the surface is projected case of a scene consisting of texture mapped surfaces, this involves onto a two dimensional viewing screen.
    [Show full text]