OpenGL without the glaux library on Visual Studio(Replacement code)

I’ve been doing a lot of 3D programming lately, mostly due to assignments at school…yey! I started googling a fair bit for the glaux library to work under Visual Studio, but found soon enough out that the library was obsolete at this stage. So I thought I would post some replacement code for the many tutorials still relaying on the glaux library.

Thanks to the boys over at NeHe Productions – give them a visit – awesome tutorials regardgin OpenGL and 3D programming. You can even download all the tutorials in PDF! Kudos boys, spent many hours on your site.

Back to the point, go fetch the library from their site or download here:

GLaux replacement code

At the moment I’m having a crack at bump mapping, fun when you realize you’ve done the wrong aproach for half a day. Gotta love CG shaders…

Chrom(ium) vs Firefox – personal opinion!

So, the news about Chromium(Google Chrome for linux/mac) is out. Personal I’ve been using the development build for a month already…and theres a reason WHY!

If you’re anything like me, you pretty much have Facebook up all the time – perfect place to procrastinate from whatever you are doing. So hey, whats wrong with that? I’ll tell you whats wrong – firefox memory build up! This does apply to several version of Firefox too, I’m using the newest stable release.

Firefox and memory

What happens to firefox after having facebook up for a while, is that it’s claiming all my memory, often we’re talking about up til 40% of my 2GB memory. No this is of course after my firefox have been open for about 2 days straight!(Why would you ever need to close your browser?!). So my main thought is that the javascript engine over at mozilla labs is not doing a proper enough job freeing up memory, which sucks!

Chromium the saviour?

So, can Chromium do anything about it? Hope so, at least looking promising now. Chromium is running the V8 javascript enginge coupled with the Webkit rendering engine, which apparently go well together in a bundle;) What happens to my memory consumption when running Chromium?

I’LL TELL YOU WHAT! After running it for several days straight(without crashing or anything) it still only claim about 4% of my memory, that is 10 times as little as Firefox would claim!

Why is this? Chromium on steroids?

I still havent figured out why! The question is more; what is wrong with who? Is Firefox javascript engined really flawed, or is V8 THAT good?…or is it something else?

I’ve been planning to investigate into this at a later stage, but for now I don’t have an answer for you. As soon as Chromium develops into a full blown and stable browser I’ll do new tests with proper data and see if it still is as fast and memory efficient as it is now.

Stay tuned..

Palm Pre is coming…

The long anticipated Palm Pre is right around the corner and figured I’ll post some links to reviews and previews! I’m guessing I’m not the only one froathing from my mouth when looking at this phone. And definatly not the only one who wish there was some more competition to the iPhone!

Personally I have big faith in the Android platform from Google, not only because I want competition, but also cause it’s open source and more freedom when it comes to developing applications.

Anywhooooo…heres some links to Palm Pre, which this post is really about!

http://i.gizmodo.com/5126702/palm-pre-preview-simply-amazing

http://www.engadget.com/2009/06/03/palm-pre-review/

Palm Pre Ad – awesome

http://gizmodo.com/5277499/palm-pre-review

Howto: Setup Ubuntu on MacBook Air without a SuperDrive

I looked all over the net for a guide on how to setup Ubuntu on a MacBook Air without buying the SuperDrive, but couldn’t find anything. So I hade to do it the hard way, figure it out myself!

What you need is:

  • MacBook Air
  • External drive of some kind with enough space for a Ubuntu install disk
  • Ubuntu Hardy Heron image

First step

You need to start out by creating a bootable Ubuntu disk. I’ll do a quick guide on that, if it doesn’t work, theres a lot of guides out there that could help you out. Forget it! I’ll just post a link.

https://help.ubuntu.com/community/Installation/FromUSBStick

I’de suggest to use the isotostick.sh script to do it, worked good for me.

Second step

So you’ve got a disk or a stick with a Ubuntu Hardy Heron image on it, whats next?

First we need to partition the harddrive on the MacBook Air. I suggest using the “Disk Utility” in OSX, works quick and is easy. What you need to do, is use the disk utility to create TWO additional partitions. HFS+ allows resizing, so the data on your disk will not be lost.

Just choose your main harddrive, and then the tab called “Partition“.

Then add 2 new partitions
Continue reading