Category Archives: Gaming and virtual environments

QuickTime, Texturing, and OpenGL

The movies I’ve examined don’t have an alpha channel so I’m using RGB and it works fine.

// Create an off-screen gworld where QT can draw
gworldBuffer = calloc(width * height * 3, 1);
QTNewGWorldFromPtr(&gworld, k24RGBPixelFormat, &movieBox, NULL, NULL, 0,
gworldBuffer, movieBox.right * 3);
gworldPixMap = GetGWorldPixMap(gworld);
LockPixels(gworldPixMap);
gworldPixBase = GetPixBaseAddr(gworldPixMap);

And then later on when I want to render to the texture:

// […]

Gamecubing it up

That Nintendo Wii, it sure looks shiny and new, at least, the ones you see in the stores bolted to their displays look shiny and new. They don’t seem to be nearly as supply-constrained as the XBox 360 when it was released last year. When I saw how much those sold for on Ebay, I […]

Second Life and libsecondlife

Google’s link to libsecondlife says, ‘libsecondlife is an open source project to reverse engineer the Second Life networking protocol.’ How is it ‘your’, i.e. the community of Second Life residents’, protocol if it has to be reverse engineered? A scalable hardware and software infrastructure capable of supporting the Second Life virtual worlds is a very […]