Glide Programming Guide
Programming the 3Dfx Interactive Glide™ Rasterization Library 2.4
Document Release 018
25 July 1997
Copyright ã 1995-1997 3Dfx Interactive, Inc. All Rights Reserved
3Dfx Interactive, Inc.
4435 Fortran Avenue
San Jose, CA 95134
1
Trademarks
Glide, TexUS, Pixelfx and Texelfx are trademarks of 3Dfx Interactive, Inc.
OpenGL is a trademark of Silicon Graphics, Inc.
Autodesk CDK is a trademark of Autodesk, Inc.
MS-DOS and Win32 are trademarks of Microsoft, Inc.
Other product names are trademarks of the respective holders.
Copyright © 1995-1997 by 3Dfx Interactive, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, without prior written consent.
Table of Contents
0Table of Contents iii
1List of Figures ix
2List of Tables xi
Chapter 1. An Introduction to Glide 1
1Why Glide? 1
2Voodoo Graphics 2
3The Rendering Engine 5
4About This Manual 5
5Other Documentation 7
Chapter 2. Glide in Style 9
1In this Chapter 9
2Naming and Notational Conventions 9
3The State Machine Model 9
4Specifying Vertices 10
5Numerical Data 12
1Geometric Coordinates 12
2Colors 12
3Texture Coordinates 13
Chapter 3. Getting Started 15
1In This Chapter 15
2Starting Up 15
Example Getting Started.1 The Glide initialization sequence. 19
3Driving Multiple Systems 19
1Selecting Voodoo Graphics Units 19
Example Getting Started.2 Setting a state variable in all Voodoo Graphics subsystems. 20
2Opening Multiple Voodoo Graphics Units 20
3Scanline Interleaved Voodoo Graphics Units 20
4Shutting Down 20
Example Getting Started.3 A minimal Glide program. 21
5The Display Buffer 21
1Logical Layout of the Linear Frame Buffer 22
6Masking Writes to the Frame Buffer 22
7Swapping Buffers 23
1Synchronizing with Vertical Retrace 23
8Clearing Buffers 24
9Error Handling 24
Share with your friends: |