OpenGL ARB Superbuffers

Slides:



Advertisements
Similar presentations
The Buffers and Operations
Advertisements

OPENGL Return of the Survival Guide. Buffers (0,0) OpenGL holds the buffers in a coordinate system such that the origin is the lower left corner.
TEXTURE MAPPING JEFF CHASTINE 1. TEXTURE MAPPING Applying an image (or a texture ) to geometry 2D images (rectangular) 3D images (volumetric – such as.
OpenGL Texture Mapping
GAM531 DPS931 – Week 12 Textures and Samplers.
As well as colors, normals, and other vertex data PUSHIN’ GEO TO THE GPU JEFF CHASTINE 1.
Real-time Dynamic HDR Based Lighting in a Static Environment Marcus Hennix Daniel Johansson Gunnar Johansson Martin Wassborn.
OpenGL Son of the Survival Guide. Last Time on OpenGL Windowing … glut Rendering Primatives Transformations Projections State Management.
Computer Graphics Ben-Gurion University of the Negev Fall 2012.
Introduction to OpenGL Joseph Kider University of Pennsylvania CIS 565 – Fall 2011 (Source: Patrick Cozzi)
CS 4731: Computer Graphics Lecture 17: Texturing Emmanuel Agu.
OpenGL Pixel Operations, Bitmaps, Fonts and Images The Current Raster Position Current raster position: A position in window coordinates where the next.
OpenGL. Textures  Bind Textures similar to binding VBO’s  Create a texture for each object  Generate the texture similar how you generate a VBO buffer.
OpenGL 3.0 Texture Arrays Presentation: Olivia Terrell, Dec. 4, 2008.
Texture Mapping. To add surface details… World of Warcraft, Blizzard Inc. More polygons (slow and hard to handle small details) Less polygons but with.
 Bitmap: A bitmap is a rectangular array of 0s and 1s that serves as a drawing mask for a corresponding rectangular portion of the window.  Applications:
Computer Graphics Texture Mapping Eriq Muhammad Adams
Texture Mapping + Texture Object = Texture Mapped Object.
2IV60 Computer Graphics set 10: Texture mapping Jack van Wijk TU/e.
Computer Graphics OpenGL - Texture mapping. OpenGL Texture mapping zTexture Mapping allows us to glue an image on polygons. In this method we can produce.
Interactive Time-Dependent Tone Mapping Using Programmable Graphics Hardware Nolan GoodnightGreg HumphreysCliff WoolleyRui Wang University of Virginia.
CS 4363/6353 TEXTURE MAPPING PART II. WHAT WE KNOW We can open image files for reading We can load them into texture buffers We can link that texture.
CS 445 / 645 Introduction to Computer Graphics Lecture 19 Texture Maps Lecture 19 Texture Maps.
ECSE-4750 Computer Graphics Fall 2004 Prof. Michael Wozny TA. Abhishek Gattani TA. Stephen
Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 4 Brief Intro to Programmable Shaders
CS 4363/6353 OPENGL BACKGROUND. WHY IS THIS CLASS SO HARD TO TEACH? (I’LL STOP WHINING SOON) Hardware (GPUs) double in processing power ever 6 months!
Tone Mapping on GPUs Cliff Woolley University of Virginia Slides courtesy Nolan Goodnight.
© Copyright 3Dlabs 2004 Page 1 Super Buffers Workgroup Status update, December 2004.
Texture Mapping in OpenGL. Texture Mapping Imaging we are “pasting” a picture onto a model  Which part of the picture will be pasted onto which part.
Texture Mapping Drawing Pictures on Polygons. Texture Mapping.
111/17/ :24 UML Solution Involves Selection of Discrete Representation Values.
Accelerated Stereoscopic Rendering using GPU François de Sorbier - Université Paris-Est France February 2008 WSCG'2008.
1 3D API OPENGL ES v1.0 Owned by Silicon Graphics (SGL) Control was then transferred to Khronos Group Introduction.
CH8 Frame Buffer Object 1. Introduction Name OpenGL :Frame Buffer Object DirectX:Render Target Usage Render to Texture 2.
Texture Mapping. 2 3 Loading Textures void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border,
OpenGL Programming Guide : Texture Mapping Yoo jin wook Korea Univ. Computer Graphics Lab.
Viewing and Transformation. Pixel pipeline Vertex pipeline Course Map Transformation & Lighting Primitive assembly Viewport culling & clipping Texture.
Mobile Graphics Patrick Cozzi University of Pennsylvania CIS Spring 2012.
OpenGL Graphics Textures. Quiz You didn't see that coming!
The OpenGL API Patrick Cozzi University of Pennsylvania CIS Fall 2012.
Details of Texture Mapping Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Monday, December 1, 2003.
Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
OpenGL Vertex Arrays OpenGL vertex arrays store vertex properties such as coordinates, normal vectors, color values and texture coordinates. These properties.
Wilf Comp Ambient Occlusion + Order Independent Transparency POST CONCLUSIONS.
Module 05 –Bump mapping Module 05 – Bump mapping Module 05 Advanced mapping techniques: Bump mapping.
The Framebuffer Hyun-Chul Cho. HyunChul Cho - KUCG -2 Buffer Goal of a graphics program Draw pictures on the screen Screen Rectangular array.
An Introduction to the Cg Shading Language Marco Leon Brandeis University Computer Science Department.
CS425 © 2003 Ray S. Babcock Pixels and Bitmaps ● OpenGL allows us to work directly with bits and groups of bits, or pixels, which flow down a parallel.
Texture Mapping CEng 477 Introduction to Computer Graphics.
CSC Graphics Programming Budditha Hettige Department of Statistics and Computer Science.
Pushin’ Geo to the GPU As well as colors, normals, and other vertex data Made by Jeff Chastine, Modified by Chao Mei Jeff Chastine.
Texture Mapping Fall, 2016.
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실 kucg.korea.ac.kr.
A New Object Model for OpenGL
Texture Mapping Part II
OpenGL Texture Mapping
Computer Graphics, Lee Byung-Gook, Dongseo Univ.
Chapters VIII Image Texturing
Geb Thomas Adapted from the OpenGL Programming Guide
Class 26 more textures environmental textures Color ramps
Visibility (hidden surface removal)
Computer Graphics Practical Lesson 8
OpenGL Texture Mapping
Mickaël Sereno Shaders Mickaël Sereno 25/04/2019 Mickaël Sereno -
Class 27 more textures environmental textures Color ramps
OpenGL Texture Mapping
CS 480/680 (Fall 2018) Part 2: Texture Loading
OpenGL Background CS 4722.
Opengl implementation
Computer Graphics Vertex Array Object
Presentation transcript:

OpenGL ARB Superbuffers Rob Mace mace@ati.com

ARB Superbuffers Workgroup Active workgroup None of this is final Über Buffers proposal Image Buffers proposal Proposals are converging

What Changes? Dynamic Framebuffers Plug and Play Mix and Match

Derived Functionality Render to Texture Render to Vertex Array Temporary Buffers Many new algorithms made possible

Memory Objects Structured Memory Bindable as the memory of Textures Framebuffers Buffer Objects (vertex arrays)

Creating Memory Objects GLmem glAllocMem1D(GLenum format, GLsizei width, GLsizei n, const GLenum *properties, const GLint *values)   GLmem glAllocMem2D(GLenum format, GLsizei width, GLsizei height, GLmem glAllocMem3D(GLenum format, GLsizei width, GLsizei height, GLsizei depth,

Memory Object Capability Properties GL_COLOR_BUFFER GL_DEPTH_BUFFER GL_STENCIL_BUFFER GL_TEXTURE_1D GL_TEXTURE_2D GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP GL_BUFFER_OBJECT

Memory Object More Properties GL_MIPMAP GL_SAMPLES GL_USAGE

Binding Memory Objects GLboolean glBindMem(GLenum target, GLmem mem, GLenum preserve)

Render to Texture GLenum properties[2] = {GL_TEXTURE_2D, GL_COLOR_BUFFER}; GLint values[2] = {GL_TRUE, GL_TRUE}; GLmem mem; mem = glAllocMem2D(GL_RGBA8, 256, 256, 2, properties, values); glBindMem(GL_AUX0, mem, GL_FALSE); glDrawBuffer(GL_AUX0); draw stuff glBindMem(GL_AUX0, 0, GL_FALSE); glBindTexture(GL_TEXTURE_2D, tex); glBindMem(GL_TEXTURE_2D, mem, GL_TRUE);

Render to Vertex Array GLenum properties[2] = {GL_COLOR_BUFFER, GL_BUFFER_OBJECT}; GLint values[2] = {GL_TRUE, GL_TRUE}; GLmem mem;   mem = glAllocMem2D(GL_RGBA_FLOAT32, 64, 64, 2, properties, values); glBindMem(GL_AUX0, vertex_mem, GL_FALSE); load special shaders and draw stuff glBindMem(GL_AUX0, 0, GL_FALSE); glBindBufferARB(GL_ARRAY_BUFFER_ARB, 1); glBindMem(GL_ARRAY_BUFFER_ARB, vertex_mem, GL_TRUE); glVertexPointer(4, GL_FLOAT, 0, 0); draw using the array

Questions? None of this is final But we are getting close mace@ati.com