<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="serif">Student -- I'm having some issues with my
        transportation this morning and will be late to class.  I am
        still working on the slides for lighting and will hopefully get
        those posted by tomorrow night.</font></p>
    <p><font face="serif">Also, some of you have asked for assistance in
        getting 2D text on the screen.  The information is in the class
        notes, but basically you need some code like this in your
        display function.</font></p>
    <pre><pre>char *charString = malloc(40 * sizeof(char));
glColor3f(1.0, 0.0, 0.0);
sprintf(charString, "ORTHOGRAPHIC");
drawString(15,10,GLUT_BITMAP_HELVETICA_12,charString);
free(charString);</pre><font face="serif">where I also have a function called drawString in my code...</font></pre>
    <p><font face="serif"><font face="monospace">void drawString(GLuint
          x, GLuint y, void *font, const char* string)<br>
          {<br>
                const char *c;<br>
                glRasterPos2i(x, y);<br>
                for(c=string; *c!='\0'; c++)<br>
                glutBitmapCharacter(font, *c);<br>
          }</font><br>
      </font></p>
    <div class="moz-signature"><br>
    </div>
    <div class="moz-signature">-- <br>
      <b><i>Andrew J. Pounds, Ph.D.</i></b><br>
      <i>Professor of Chemistry and Computer Science</i><br>
      <i>Director of the Computational Science Program</i><br>
      <i>Mercer University, Macon, GA 31207 (478) 301-5627</i></div>
  </body>
</html>