/var/spool/weblog
   


Prof Avery's weblog
food for thoughtlessness

<spool@kenytt.net>

CSU Fullerton Perl Powered Python vi Hacker

Geek News

del.icio.us bookmarks

RSS


       
Fri, Feb 17, 2006

Stop trying so hard!
For those of you still scrambling to finish Course Outline says "Chapter 1 and Chapter 2," that's exactly what it means. You shouldn't be reading Chapter 5 or Chapter 12. You don't need glTranslate() or gluPickMatrix() or any other OpenGL function that you haven't run into in Chapters 1 and 2. (Don't worry, we'll cover those functions later on, when we get to them.)

In the meantime, here are the GL functions I called in my solution for Assignment 1:

  • glBegin
  • glClear
  • glClearColor
  • glColor3f
  • glEnd
  • glFlush
  • glLoadIdentity
  • glMatrixMode
  • glOrtho
  • glVertex3f
  • glViewport
And technically, I didn't even need to bother with glViewport().

If your list looks significantly different from mine, and especially if you're trying to translate the square to move it around the window or use a pick list to figure out whether the user clicked it, you've gone down the wrong path. We're not even going to talk about translation until next week. (Well, ok, possibly this week; but if so, only at the end.)

/var/spool/courses/csuf/2006/spring/cpsc465 #


       

 

December 2017
Sun Mon Tue Wed Thu Fri Sat
         
           

RSS

Topics


Archives