CS 465 Fall 2014
Computer Graphics Systems and Design
CS 465 Links:
will be used in this class for announcements, and discussions.
You can also view your grades in the class.
A couple of "recommended books" (ranked)
OpenGL Programming Guide, 8th Edition
The Official Guide to Learning OpenGL, Version 4.3,
Addison Wesley, 2014. The 7th edition (2009) is also OK.
Or, ebook or on-line reading
last viewed 7/17/2014. OpenGL and GLSL.
OpenGL 4.0 Shading Language Cookbook
Packt, Birmingham, 2011. GLSL programming only.
A Short Introduction to Computer Graphics, last viewed 7/17/2014.
E. Angel and D. Shreiner, SIGGRAPH 2013 tutorial:
An Introduction to OpenGL Programming, last viewed 7/17/2014
pages 1 - 70 (until later half of semester).
- D. Shreiner, et.al., OpenGL Programming Guide, 8th edition, 2013.
Chapter 1 - 3, 5 - 7 Appendices A, C, D, and E as needed
Lecture Resources and Notes
Notes are usually Adobe Acrobat PDF files landscape 1 slide per page
format. If you print the notes, I strongly recommend you set your
printer to print in a 2 page or 4 page up mode.. This way you will get
readable notes with half the printed pages.
|| Due Date
| Project first phase
|| 10 / 5 / 2014
|| Model your warbird and the Ruber system. Specification and
simulation spreadsheet in
Warbird Simulation directory.
| Midterm (30% lec)
|| 10 / 28 / 2014
| Project second phase
|| 11 / 9 / 2014
|| Fly your WarBird, fire torpedoes.
| Project third phase
|| 12 / 7 / 2014
|| Star field and Point light shader.
| Final (40% lec)
|| 12 / 11 / 2014
8:00 to 10:00 pm
| final study guide
To avoid any misunderstanding by anyone (aka a student in one of my
classes), the following disclaimer has been patterned from a Microsoft
web page and is applied to code found herein or on any of Professor
Barnes' web pages.
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THESE WEB PAGES IS AT
YOUR OWN RISK.
Professor Barnes provides this code "as is" without
warranty of any kind, either express or implied, including but not
limited to the implied warranties of merchantability and/or fitness
for a particular purpose.
Professor Barnes will not be held responsible for any inaccuracies,
bugs, documented or undocumented, in the sample code below.
SHOULD YOU WISH TO USE THESE EXAMPLES FOR COURSEWORK, YOU ARE DOING SO
AT YOUR OWN RISK.
Professor Barnes will not grant extra credit, time, debugging time, or
anything else should you find an error in his code. I will
appreciatively say, "Thanks for pointing that out!". And I will try
to correct it. One aspect of reading/using instructor's code is that
it can be critique. I do not claim that the approaches used in my
examples, are the best, the most optimal; by any means. My goal is
instruction. I have tried to keep them as simple as possible to show
concepts and simple techniques. I think discussions about the
approaches could be, gasp, "learning experiences" (for all of us).
When getting the example source code files (*.cpp and *.glsl) it is
better to download than to copy and paste. Copy and paste can miss
parts. To download right click the file in your browser and either
"save target" or "save link as" (depends on your browser). Don't
click "OK" immediately. First make sure "*.*" or "all files" is
selected in the type field below the name field. Then click "OK".
- Installing and Building core OpenGL programs
- Directory of includes for use with Comp 465 assignments:
- Directory of *tri models for use with Comp 465 assignments:
- Directory for first example on how to create vertices, color, and
normals for a pyramid, have different viewpoints, different perspective,
and glut keyboard events.
- Directory for example on how to load and view an AC3D *.tri
Demonstrate 2 utility functions: loadTriModel(...) and
loadModelBuffer(...) in include file triModel465.hpp for loading in
models and setting buffers.
- Example of a single *.tri model used to draw 1,000 Shape3D objects.
ManyCubes directory .
File Shape3D.hpp is a C++ class that represents each instance of the
*.tri model. Example illustrates C for OpenGL application file and
C++ class for "scene graph".
- Example of loading in 3 *.tri model files and displaying them.
ManyModelsStatic directory .
- Console (no OpenGL graphics) examples glm functions for transformations
If using VS2013 (or VS2012), create a Win32 console application.
Please look at project selection notes in the initial comments of the
modelViewProject.cpp file before building your VS 2012 project.
Many on-line tutorials and references for OpenGL may
be for earlier releases that used the fixed functional pipeline. We
are using a shader-only approach with the SuperBible textbook. In
additon, several of these links are old -- from several semesters ago
(I haven't checked them recently).
- CSUN Computer Science student's
Dreamspark account . You can download professional development tools for this class: Windows 7 or 8, Visual Studio 2012, 2010, ...
Getting started with OpenGL
- C++ for Java programmers
- Etay Meiri's
OglDev Modern OpenGL Tutorials.
- M. Kilgard's GLUT on-line documenation .
- Interactive Computer Graphics: A Top Down Approach with Shader-Based OpenGL 6th ed.,
E. Angel asnd D. Shreiner, 2012,
example programs from 6th edition.
- OpenGL: SuperBible 5th edition, R. S. Wright, B. Lipchak,
N. Haemel, Addison-Wesley, 2011,
- Nate Robin's
OpenGL tutors a zipped file. These are the demos I've been
using in class.
- An OpenGL
light / material
tutorial (a windows exe file).
- CSUN provides lynda.com courseware accounts for students
- Xiang, Z., Plastock, R., Schaum's Outline of Theory and Problems
of Computer Graphics , McGraw Hill, 2000.
- Game Developer Associations
- Kinetics, Simulation
- D.M. Bourg, Physics for Game Programmers, O'Reilly, 2002.
- E. Lengyel, Mathematics for 3D Game Programming and Computer Graphics,
Charles River, 2002.
- P. J. Schneider, D.H. Eberly, Geometric Tools for Computer Graphics,
Morgan Kaufmann, 2003.
- Algorithmic Modeling of objects and behavior
- Laurens Lapre's L system parser
Lparser and links to other L Systems
- Craig Reynold's
algorithms for flocking behavior and links to related work.
- G. W. Flake, Computer Explorations of Fractals, Chaos,
Complex Systems, and Adaptation, MIT, 2000.
- P. Martz,
Generating Random Fractal Terrain
- H.C. Sun, D.N. Metaxas,
Automating Gait Animation
Procedural Tree demo -- zipped file.
- P Prusinkiewicz,
Algorithmic Botany .
- M. Walter, et.al,
Integrating Shape and Pattern in Mammalian Models
- Y. Parish, et.al,
Procedural Modeling of Cities
- SDKs, Related sites, books, miscellaneous
- SDL -- game engine
Sound library works well w/ OpenGL.
VTK -- Visualization ToolKit
- D. Bourg, AI for Game Developers, O'Reilly, 2004.
- M. Buckland, Programming Game AI by Example, Wordware, 2005.
Game AI tutorials
Digital Game Developer discussion, resources.
- D. Luebke, M. Reddy, J.D. Cohen, A. Varshney, B. Watson, R. Huebner,
Level of Detail for 3D Graphics, Morgan Kaufmann, 2003.
- K. Brilliant, Building a digital human,
Charles River Media, 2003.