<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="None">
  <name>Drawing simple shapes with perspective</name>
  <metadata>
  <md:version>1.3</md:version>
  <md:created>2004/11/05 17:30:24 US/Central</md:created>
  <md:revised>2004/11/05 17:38:50.104 US/Central</md:revised>
  <md:authorlist>
      <md:author id="professorpayne">
      <md:firstname>Bryson</md:firstname>
      
      <md:surname>Payne</md:surname>
      <md:email>bryson.payne@gcsu.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="professorpayne">
      <md:firstname>Bryson</md:firstname>
      
      <md:surname>Payne</md:surname>
      <md:email>bryson.payne@gcsu.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>opengl</md:keyword>
    <md:keyword>3d</md:keyword>
  </md:keywordlist>

  <md:abstract>The first program in this OpenGL tutorial allows the user to view a blue 3D sphere on the screen.</md:abstract>
</metadata>

  <content>
    <para id="delete_me">:<media type="image/jpg" src="shapes1.jpg"/>
       Discussion
The first example in this set of tutorials is a program to draw a simple wireframe sphere. We will take this first step and go further in the tutorials that follow, but this serves as a simple test bed for us to try displaying any object or figure. Simply change the line that draws the glutWireSphere with the line(s) for your object to easily test your coding for errors. 
</para><para id="p2">
Sample code:
Click here to see the sample code: <link src="simple.c">simple.c</link>
</para><para id="p3">
Executable example:
Click here for a running demo: <link src="simple.exe">simple.exe</link>

    </para>   
  </content>
  
</document>
