too many changes and subtle dierences between

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: rofiles, where Core removes fixed pipeline stuff Have to manage your own Matrices Graphics Cards are optimized for Compatibility Few people use Core... Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 20 / 31 Useful OpenGL Tutorials Fixed Pipeline OpenGL NeHe Tutorials Programmable Pipeline OpenGL Wikibooks OpenGL arcsynthesis.org/gltut Mike Bailey’s CS519 handouts and SIGGRAPH 2012 notes Both Lighthouse3D Note: Tutorials tend to jump between different OpenGL specifications Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 21 / 31 OpenGL: The Fixed Pipeline What can we do? Assert State Information glEnable ( GL_DEPTH_TEST ) ; glDisable ( GL_DEPTH_TEST ) ; glBegin ( GL_QUADS ) ; glEnd () ; glPushMatrix () ; glTransformf (0.0 ,0.5 ,0.0) ; glPopMatrix () ; Assert Vertex Information glNormal3f (0.0 f ,1.0 f ,0.0 f ) ; glColor4f (0.0 f ,0.0 f ,1.0 f ,1.0 f ) ; glVertex3d (1.0 ,0.0 ,0.0) ; Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 22 / 31 Simple Example glBegin (...
View Full Document

Ask a homework question - tutors are online