📄 http:^^www.cs.utexas.edu^users^fussell^mesaintro.html
字号:
MIME-Version: 1.0
Server: CERN/3.0
Date: Wednesday, 08-Jan-97 16:43:25 GMT
Content-Type: text/html
Content-Length: 4076
Last-Modified: Monday, 22-Jan-96 18:11:33 GMT
<HTML><HEAD><TITLE>Using Mesa</TITLE></HEAD><BODY><BR><HR> <P><CENTER><H2> CS354 </H2></CENTER><CENTER><H2> INTRODUCTION TO COMPUTER GRAPHICS </H2></CENTER><H2><CENTER> Spring, 1996 </H2></CENTER><P><CENTER><H3> Using Mesa</H3></CENTER><P>The Mesa OpenGL-like 3-D graphics library has been installed for useon the CS department public workstations. There are two flavors ofpublic workstations available, the Sparc-5s in Painter Hall and theIBMs in both Painter and Taylor. <P>Mesa is a collection of graphics libraries, the <em> MesaGL</em>library, the <em> MesaGLU</em> library, the <em> Mesaaux</em> libraryand the <em> Mesatk</em> library. These are embodied in the files<em> libMesaGL.a, libMesaGLU.a, libMesaaux.a,</em> and <em>libMesatk.a</em> respectively. There is also a widget library thatprovides OpenGL widgets similar to SGI's GL widgets. This isin <em> libMesaGLw.a </em>. We also plan to offer the <em>GLUT</em> library from SGI, but this has not been completely installed as yet.For all machines, the libraries are installed in <em> /p/lib/Mesa</em>.There is also a set of common <em> include files</em> to be used with theselibraries in <em> /p/include/Mesa</em>. Documentation for thelibraries is to be found in <em> /p/doc/Mesa</em>, which has foursubdirectories of interest, <em> mangl, manglu, manglx</em> and <em>doc</em>. The first three contain man pages for <em> MesaGL,MesaGLU</em> and <em> MesaGLX</em> respectively, and <em> doc</em>contains papers describing these libraries at a higher level. All ofthese documents are in postscript format, which means that the <em>man</em> program cannot be used to read the man pages. Instead, Irecommend using the command `gs -- filename.ps' to read thesepostscript files. The man pages are also available in<A HREF = "http://www.digital.com:80/pub/doc/opengl/"> html </A>on the web.<P>There is also an extensive set of demo programs available for you tolook at and play with. The source code for these can be found in <em>/p/src/Mesa/demos, /p/src/Mesa/book</em>,<em> /p/src/Mesa/samples</em> and /p/src/Mesa/widgets/demos. In each ofthese directories there is a subdirectory for each of the deparmentalmachine types. These contain executable files forthe demo programs on each type of machine, so youshould be able to verify that you can execute these demos on whatevermachine you are using. Once you have done that, try copying thesource code for a few of the more interesting programs to your ownaccount and building the demos using the <A HREF = "Makefile.dist">makefile </A>. DO NOT attempt to use the makefiles in the <em>/p/src/Mesa</em> directory tree, they won't work with the installedlibraries and include files. To use our local makefile, you will haveto uncomment the appropriate lines for the machine you are trying tocompile on, and you will have to edit the `PROGS =' line to list theprograms you are trying to compile. Note that the program names to belisted there are the object module names, which should be identical tothe source filenames with the `.c' extension removed.<P>Please report any problems you have in thisprocedure to me, by email, at <em> fussell@cs.utexas.edu</em> and ccyour message to the TA <em> nishant@cs.utexas.edu</em>. Also, pleasetry this as soon as you can, so that you will quickly learn how to getaround in Mesa and will be ready to do the programming projects. Youmight want to try these exercises on several machines before youdecide what to use. The IBMs are the fastest processors, but willprobably be the slowest machines for using Mesa since all graphicswill have to be done over the net from the server machines to theXstations. All of these machines run underXwindows, so you should be able to run Mesa on any machine, with awindow on any other machine on the net. This is not recommended,however, since the net will become a bottleneck.<P><BR> <HR><P><ADDRESS><I>Donald S. Fussell <BR>Mon Jan 22 12:07:43 CDT 1996</I></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -