<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 12/12/2016 11:18 PM, wrote:<br>
    </div>
    <blockquote
      cite="mid:f27923a29cb44c39806eb961969310c8@spiderman.MercerU.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>Dr. Pounds,</p>
        <p><br>
        </p>
        <p>I was wondering what you wanted us to use to write the text
          on roof our houses. I have been trying to use
          glutBitmapCharacter, but have been using problems placing the
          text.</p>
        <p><br>
        </p>
        <p><br>
        </p>
      </div>
    </blockquote>
    <br>
    <p><font face="serif">For doing the lettering on the house to you
        have to use Stroke Fonts that you can manipulate with transformations
        inside your scene.   I thought I included examples of how to do
        this in the code I gave you that drew and labelled the axes.  
        Here is some of my ancient code that used stroke fonts.  Feel
        free to use whatever you want from it.</font></p>
    <p><font face="serif"><br>
      </font></p>
    <p><font face="serif">Note how I push a matrix, position the text, draw
        the text, and then pop the matrix.<br>
      </font></p>
    <p><font face="serif"><br>
      </font></p>
    <p>void drawParticleAnnotation()<br>
      {<br>
      <br>
          int i, len;<br>
          char message1[] = "Fermion";<br>
          char message2[] = "Interaction";<br>
      <br>
          void *font = GLUT_STROKE_ROMAN;<br>
      <br>
          glPushMatrix();<br>
          glColor3f(1.0,0.0,0.0);<br>
          glTranslatef(.5, 0.5, 1.6);<br>
          glRotatef(135.0, 1.0, 0.0, 0.0);<br>
          glRotatef(180.0, 0.0, 1.0, 0.0);<br>
          glScalef(0.003,0.003,0.003);<br>
          len = (int) strlen(message1);<br>
          for (i = 0; i &lt; len; i++) {<br>
              glutStrokeCharacter(font, message1[i]);<br>
          }<br>
          glPopMatrix();<br>
      <br>
      <br>
          glPushMatrix();<br>
          glColor3f(1.0,0.0,0.0);<br>
          glTranslatef(.5, 0.8, 1.25);<br>
          glRotatef(135.0, 1.0, 0.0, 0.0);<br>
          glRotatef(180.0, 0.0, 1.0, 0.0);<br>
          glScalef(0.003,0.003,0.003);<br>
          len = (int) strlen(message2);<br>
          for (i = 0; i &lt; len; i++) {<br>
              glutStrokeCharacter(font, message2[i]);<br>
          }<br>
          glPopMatrix();<br>
      }<br>
      <br>
      <br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Andrew J. Pounds, Ph.D.  (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
  </body>
</html>