15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci 3DFX_tbuffer 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_3DFX_tbuffer 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciContact 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Paula Womack, 3dfx Interactive (paulaw 'at' 3dfx.com) 125bd8deadSopenharmony_ci 135bd8deadSopenharmony_ciStatus 145bd8deadSopenharmony_ci 155bd8deadSopenharmony_ci Complete 165bd8deadSopenharmony_ci 175bd8deadSopenharmony_ciVersion 185bd8deadSopenharmony_ci 195bd8deadSopenharmony_ci Date: April 13, 2000; Revision: 1.0 205bd8deadSopenharmony_ci 215bd8deadSopenharmony_ciNumber 225bd8deadSopenharmony_ci 235bd8deadSopenharmony_ci 208 245bd8deadSopenharmony_ci 255bd8deadSopenharmony_ciDependencies 265bd8deadSopenharmony_ci 275bd8deadSopenharmony_ci OpenGL 1.1 is required. 285bd8deadSopenharmony_ci Either SGIS_multisample or 3DFX_multisample is required. 295bd8deadSopenharmony_ci This specification is written against OpenGL 1.2. 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciOverview 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci This extension allows a write mask to be defined for the fragment 345bd8deadSopenharmony_ci mask which is created during multisample rendering. This can be used 355bd8deadSopenharmony_ci to create effects such as motion blur and depth of field. 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ciIP Status 385bd8deadSopenharmony_ci 395bd8deadSopenharmony_ci 3DFX has filed for patent protection for some of the techniques 405bd8deadSopenharmony_ci described in this extension document. 415bd8deadSopenharmony_ci 425bd8deadSopenharmony_ciIssues 435bd8deadSopenharmony_ci 445bd8deadSopenharmony_ci None. 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ciNew Procedures and Functions 475bd8deadSopenharmony_ci 485bd8deadSopenharmony_ci void TbufferMask3DFX(uint mask); 495bd8deadSopenharmony_ci 505bd8deadSopenharmony_ciNew Tokens 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci None. 535bd8deadSopenharmony_ci 545bd8deadSopenharmony_ciAdditions to Chapter 2 of the 1.2 Specification (OpenGL Operation) 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci None 575bd8deadSopenharmony_ci 585bd8deadSopenharmony_ciAdditions to Chapter 3 of the 1.2 Specification (Rasterization) 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ci The value of TBUFFER_WRITE_MASK_3DFX is specified by calling 615bd8deadSopenharmony_ci TbufferMask3DFX, with mask set to the desired mask value. If 625bd8deadSopenharmony_ci multisample rendering is enabled then the n least significant bits 635bd8deadSopenharmony_ci of TBUFFER_WRITE_MASK_3DFX are bitwise ANDed with the fragment 645bd8deadSopenharmony_ci sample mask, where n is equal to SAMPLES_3DFX. 655bd8deadSopenharmony_ci 665bd8deadSopenharmony_ciAdditions to 3.3.2 Point Multisample Rasterization: 675bd8deadSopenharmony_ci 685bd8deadSopenharmony_ci Following the sentence "Mask bits that correspond to sample points 695bd8deadSopenharmony_ci that intersect the circular region are 1, other mask bits are 0." 705bd8deadSopenharmony_ci add "The fragment mask thus computed, is then bitwise ANDed with the 715bd8deadSopenharmony_ci SAMPLES_3DFX least significant bits of TBUFFER_WRITE_MASK_3DFX. 725bd8deadSopenharmony_ci 735bd8deadSopenharmony_ciAdditions to 3.4.4 Line Multisample Rasterization: 745bd8deadSopenharmony_ci 755bd8deadSopenharmony_ci Following the sentence "Mask bits that correspond to sample points 765bd8deadSopenharmony_ci that intersect a retained rectangle are 1, other mask bits are 0." 775bd8deadSopenharmony_ci add "The fragment mask thus computed, is then bitwise ANDed with the 785bd8deadSopenharmony_ci SAMPLES_3DFX least significant bits of TBUFFER_WRITE_MASK_3DFX. 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ciAdditions to 3.5.6 Polygon Multisample Rasterization: 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci Following the sentence "Mask bits that correspond to sample points 835bd8deadSopenharmony_ci that satisfy the point sampling criteria are 1, other mask bits are 845bd8deadSopenharmony_ci 0." add "The fragment mask thus computed, is then bitwise ANDed with 855bd8deadSopenharmony_ci the SAMPLES_3DFX least significant bits of TBUFFER_WRITE_MASK_3DFX. 865bd8deadSopenharmony_ci 875bd8deadSopenharmony_ciAdditions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations and 885bd8deadSopenharmony_cithe Frame Buffer) 895bd8deadSopenharmony_ci 905bd8deadSopenharmony_ci None 915bd8deadSopenharmony_ci 925bd8deadSopenharmony_ciAdditions to Chapter 5 of the 1.2 Specification (Special Functions) 935bd8deadSopenharmony_ci 945bd8deadSopenharmony_ci None 955bd8deadSopenharmony_ci 965bd8deadSopenharmony_ciAdditions to Chapter 6 of the 1.2 Specification (State and State Requests) 975bd8deadSopenharmony_ci 985bd8deadSopenharmony_ci An additional group of multisample state variables is defined by the 995bd8deadSopenharmony_ci SGIS_multitexture and 3DFX_multitexture extensions. When PushAttrib 1005bd8deadSopenharmony_ci is called with bit MULTISAMPLE_BIT_SGIS or MULTISAMPLE_BIT_3DFX set, 1015bd8deadSopenharmony_ci the multisample group of state variables is pushed onto the 1025bd8deadSopenharmony_ci attribute stack. When PopAttrib is called, these state variables are 1035bd8deadSopenharmony_ci restored to their previous values if they were pushed. This 1045bd8deadSopenharmony_ci extension adds state to the multisample group of state variables. 1055bd8deadSopenharmony_ci 1065bd8deadSopenharmony_ciAdditions to the GLX Specification 1075bd8deadSopenharmony_ci 1085bd8deadSopenharmony_ci None. 1095bd8deadSopenharmony_ci 1105bd8deadSopenharmony_ciErrors 1115bd8deadSopenharmony_ci 1125bd8deadSopenharmony_ci INVALID_OPERATION is generated if TbufferWriteMask3DFX is called 1135bd8deadSopenharmony_ci between the execution of Begin and the execution of the 1145bd8deadSopenharmony_ci corresponding End. 1155bd8deadSopenharmony_ci 1165bd8deadSopenharmony_ciNew State 1175bd8deadSopenharmony_ci 1185bd8deadSopenharmony_ci Get Value Get Command Type Initial Value Attribute 1195bd8deadSopenharmony_ci --------- ----------- ---- ------------- --------- 1205bd8deadSopenharmony_ci TBUFFER_WRITE_MASK_3DFX GetIntegerv Z+ 1's multisample 1215bd8deadSopenharmony_ci 1225bd8deadSopenharmony_ciRevision History 123