other new opengl stuff

13
Other New OpenGL Stuff Important stuff that doesn’t fit elsewhere Evan Hart [email protected]

Upload: sidone

Post on 07-Jan-2016

24 views

Category:

Documents


1 download

DESCRIPTION

Other New OpenGL Stuff. Important stuff that doesn’t fit elsewhere Evan Hart [email protected]. New OpenGL Functionality. OpenGL 1.4 Enhanced Stencil Functionality Floating Point Images. OpenGL 1.4. Automatic Mipmap Generation Enhanced Blending Depth Texture/Shadow Texture Point Parameters - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Other New OpenGL Stuff

Other New OpenGL StuffImportant stuff that doesn’t fit elsewhere

Evan [email protected]

Page 2: Other New OpenGL Stuff

New OpenGL Functionality• OpenGL 1.4• Enhanced Stencil Functionality• Floating Point Images

Page 3: Other New OpenGL Stuff

OpenGL 1.4• Automatic Mipmap Generation• Enhanced Blending• Depth Texture/Shadow Texture• Point Parameters• Fog Coord• Secondary Color• Stencil Wrap• LOD Bias• Mirrored Repeat• Window Pos

Page 4: Other New OpenGL Stuff

Enhanced Stencil Functionality• Vendor Specific

– EXT_stencil_two_side– ATI_separate_stencil

• Change stencil operations– Based on face directions

• Primarily used for shadow volumes– Reduces to a single geometry

submission

Page 5: Other New OpenGL Stuff

Key Differences• Always on vs. Enable• Active Face State• Duplication of Masks and

Reference Value

Page 6: Other New OpenGL Stuff

Floating Point Images• Multiple Data Formats• Textures• Render Targets

Page 7: Other New OpenGL Stuff

Floating Point Formats• 32-bit

– Essentially IEEE single precision– s23e8 format

• 16-bit– Reduced Range and precision– s10e5 format

Page 8: Other New OpenGL Stuff

Floating Point Textures• Vendor Specific Extensions

– ATI_texture_float– NV_float_buffer

• Not filterable– Only NEAREST or

NEAREST_MIPMAP_NEAREST

Page 9: Other New OpenGL Stuff

Key Differences• ATI

– Extension Supports Filtering (SW)– All Standard Texture Formats– Available in Fixed Function and

Programs

• NVIDIA– Rectangle Textures– Vector-style Texture Formats– Available in Programs

Page 10: Other New OpenGL Stuff

Floating Point Targets• Vendor Specific Extensions

– NV_float_buffer– ATI_pixel_format_float

• Off-screen only• Lack ‘Back End Operations’

– No Coverage Application– No Alpha Test– No Alpha Blend– No Dither– No Logic Op

Page 11: Other New OpenGL Stuff

Key Differences• NVIDIA

– Available in Programs– Output skips ‘backend’ operations– Packs vectors

• ATI– Supports Fixed-Function and

Programs– Most ‘backend’ operations still occur

(SW)– Outputs separate vectors

Page 12: Other New OpenGL Stuff

Advances in the OpenGL API• New Core Functionality

– OpenGL 1.4

• New HW Capabilities as Vendor Extensions– Stencil Enhancements– Floating Point Images

Page 13: Other New OpenGL Stuff

Questions?• [email protected]