| /var/spool/weblog | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Geek News del.icio.us bookmarks RSS |
Fri, Feb 24, 2006
Assignment 3
/var/spool/courses/csuf/2006/spring/cpsc465 # Mon, Feb 20, 2006
Best science headline ever
So don't complain when I do it in class: it's a pedagogical technique. On a more serious note, blame computers for this one: Mathematical proofs getting harder to verify: "Twenty-five years later we're still not sure if it's correct or not. We sort of think it is, but no one's ever written down the complete proof"
Demo version of Assignment 2
My version needed 14 new lines of code: a function to implement the vector cross product operation and some changes to the function /var/spool/courses/csuf/2006/spring/cpsc465 # Sun, Feb 19, 2006
Assignment 2 update
To fix the issue, replace Line 194 may cause some compilers to issue warnings: glutPostRedisplay;should be glutPostRedisplay(); /var/spool/courses/csuf/2006/spring/cpsc465 # Sat, Feb 18, 2006
Assignment 2
/var/spool/courses/csuf/2006/spring/cpsc465 # Fri, Feb 17, 2006
Stop trying so hard!
In the meantime, here are the GL functions I called in my solution for Assignment 1:
glViewport().
If your list looks significantly different from mine, and especially if you're trying to translate the square to move it around the window or use a pick list to figure out whether the user clicked it, you've gone down the wrong path. We're not even going to talk about translation until next week. (Well, ok, possibly this week; but if so, only at the end.) /var/spool/courses/csuf/2006/spring/cpsc465 # Wed, Feb 15, 2006
An easy way to run OpenGL programs
Grab a copy of igloo.zip and unzip it somewhere convenient. Run the program by typing C:\igloo> igloo gears.cCool. No compilation step, no moving headers and library files around, just type and go. And in less than 230 Kb. Igloo is a version of the EIC C Interpreter, an Open Source project that seems to have gone missing in action. Luckily, I saved a copy, just for you. I wish I'd saved a copy of the source code, too, but at least there are lots of other C interpreters. So what's the catch?
/var/spool/courses/csuf/2006/spring/cpsc465/misc #
Schedule Change
I don't want to move too quickly through the next three weeks: transformations are the heart of the rendering pipeline. /var/spool/courses/csuf/2006/spring/cpsc465 # Sat, Feb 11, 2006
/var/spool/courses/csuf/2006/spring/cpsc465 #
Setting up OpenGL in CS-300
/var/spool/courses/csuf/2006/spring/cpsc465 # Thu, Feb 09, 2006
Assignment 1
/var/spool/courses/csuf/2006/spring/cpsc465 # Sun, Feb 05, 2006
Three-dimensional computer graphics architecture
Mitra, T. and Chiueh, T., "Three-Dimensional Computer Graphics Architecture", Current Science, vol. 78, no. 2, pp. 838-846, 2000, http://www.iisc.ernet.in/currsci/apr102000/surveys2.pdf. (local copy)Read the first two sections for an overview of the graphics pipeline with several details that we omitted in class (but most of which we will cover in detail later). Continue on if you're interested in graphics hardware. /var/spool/courses/csuf/2006/spring/cpsc465 # Sat, Feb 04, 2006
PyOpenGL
/var/spool/courses/csuf/2006/spring/cpsc465/misc #
OpenGL Bindings
Over in the proprietary, closed-source, Windows-only, Microsoft-owned world of C# (can you tell I'm biased? And don't tell me about Mono -- as soon as I can type "apt-get install monodevelop", start the IDE, create a project and start typing code without hanging or crashing, we'll talk) things seem to have gotten better. Or if not better, at least there are more choices:
As with all things Lisp-y, OpenGL support is pretty fragmented. Whether there is an OpenGL binding, how well it works, and whether you get get any help if it doesn't is largely dependent on which Lisp you're using. You may be better off with Scheme, where the Sgl library for PLT Scheme appears to be officially supported. When it comes to getting all this set up, though, as I said earlier, you're on your own. /var/spool/courses/csuf/2006/spring/cpsc465/misc #
Win32 GLUT setup help
/var/spool/courses/csuf/2006/spring/cpsc465 #
Assignment 0
If you are using Visual Studio, you may run into a problem compiling Example 1-2 from the OpenGL Programming Guide. If you run into a large number of errors complaining about undefined constants like The problem is that the Win32 OpenGL implementation is done in terms of the Win32 API, and uses Win32 API constants to declare functions. You can fix this by#include <GL/gl.h> #include <GL/glut.h> #includeing windows.h first, by swapping glut.h and gl.h, or by just #includeing glut.h by itself, because the GLUT header #includes gl.h.
Incidentally, take a look at the hoops you have to jump through in the first 100 lines or so of the Win32 version of /var/spool/courses/csuf/2006/spring/cpsc465 # |
Topics
Archives
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||