Archive for January, 2007

Vancouver Alley

Vancouver Alley
2 comments

Kitchen Road Trip

Tomorrow I’m going to Sun Peaks with The Kitchen to play a show. Here we are passing the time during a similar situation last summer.

The Kitchen Road Trip'n

We make Andy sit in the back.

No comments

Excuse me sir you can’t take phot…

Excuse me sir you can't....
1 comment

Thurlow HDR

My first attempt at an HDR photo.

Thurlow HDR
1 comment

GLUI, GLUT, and Mac OS X… Oh my!

I needed GLUI to do an assignment but I found that it wouldn’t compile on Mac OS X. Here’s what I did to make it work. Hopefully someone will find this with google and it will save them some time. I used GLUI 2.35 and Mac OS X 10.4.8.

Update: My original solution didn’t work on my new Intel-based MacBook Pro, so I’ve updated the instructions below so that they should work for either PowerPC or Intel macs.

Update #2: I got so fed up with this crap that I just made a GLUI Framework which works much nicer with XCode. If you still want it as a libglui.a file, then read on…

First, you have XCode installed, right?

Open the Makefile and change the line:

LIBGL   = -lGLU -lGL

to

LIBGL   = -framework OpenGL

and

LIBGLUT   = -L/usr/X11R6/lib -lglut

to

LIBGLUT   = -L/usr/X11R6/lib -framework GLUT

This assumes you have GLUT.framework installed which you probably do. It should be in /System/Library/Frameworks/. If not, you can download it and install it yourself.

Then build like usual…

pb:~/glui-2.35/src lcyca$ make
mkdir -p bin
mkdir -p lib
g++ -I./ -I./include -I/usr/X11R6/include -c glui_string.cpp
g++ -I./ -I./include -I/usr/X11R6/include -c glui.cpp
...
... (lots of output)

Then you can try out the included examples. Since the mac version of GLUT doesn’t use X11, you can run them straight from Terminal.app.

pb:~/glui-2.35/src lcyca$ cd bin
pb:~/glui-2.35/src/bin lcyca$ ./example5

If you want to actually install it, copy lib/libglui.a to /usr/local/lib/ and include/GL/glui.h to /usr/local/include/GL/, because software that requires it is most likely to be looking for it there.

pb:~/glui-2.35/src lcyca$ mkdir /usr/local/lib
pb:~/glui-2.35/src lcyca$ cp lib/libglui.a /usr/local/lib/
pb:~/glui-2.35/src lcyca$ mkdir /usr/local/include
pb:~/glui-2.35/src lcyca$ cp include/GL/glui.h /usr/local/include/
6 comments

HOWTO buy discounted stuff from Apple

MacBook Pro 15″ with 160Gb Hard Drive, 2Gb ram, etc, etc…

Regular Price: $2919.00 CAD
Student Developer Price: $2335.00 CAD
Cost to become student developer: $119.00 CAD
Net Savings: $465.00 (about 16%)

Plus they’ll send me OS X 10.5 Leopard for free when it’s released. (Normally $149)

Any student can do this, and it’s a totally painless process. You buy the student membership, they get you to fax them your transcript and ID, then you get to buy your computer from the ADC online store. Presumably you don’t even have to know how to develop software to take advantage.

See this and that for more info.

No comments

Victoria Things

Uhh, somewhere in VictoriaFerry Rigging
No comments

I will call them tempura fish

Tempura Fish
2 comments

Two new sites

Two new website projects that I’ve finished in the last month:

Zymeworks WebsiteIssham Aquatics Website

They use XHTML + CSS + Custom PHP Template System + URL Beautification (for the Zymeworks one). I keep trying to stop doing web design but there seems to be an endless supply of projects…

No comments

Prairie Pride

Prairie Pride
2 comments

Next Page »