July 11th, 2014

… so what can I say.

For a quick recap of my 6 months in the Netherlands & the canary islands, visit http://randomwalkabout.tumblr.com

For projects I’ve successfully been working on & released, check out my new company LemonSpawn

Posted in Uncategorized | No Comments »

Autumn & New Options

October 31st, 2013

I haven’t posted in a long time, because [insert general excuses]. Anyway, here are some facs:

  • I have my post-doc positions until dec 31st
  • I have not decided what to do
  • I’ld like to mess around for a while, focusing on private coding projects

So I thought I’d do that. And perhaps move to Amsterdam, who knows. Cheaper living.

Here are some facts from the past 6 months:

  1. GAMER-paper soon finished, and will be resubmitted in mid-november. Geez, about time.
  2. UNITY is the new shit, after having forced myself to learn the basics a couple of months ago. And there’s no turning back.
  3. I’m nearing the end of my academic path, at least within astrophysics
  4. Several trips to La Palma
  5. Given several talks at UiO/NITH/misc

Orphan City is a procedural city-generator Unity-asset that I’m currently developing. Check it out.


Here’s a game that me and my brother made in unity in a total of 11 hours. This is how I learned Unity.

The Glitch
So. Let’s see what happens during the next month =)

Posted in Uncategorized | No Comments »

Spring awareness

April 21st, 2013

Its been a lousy winter, but spring is finally happening. Lots of stuff is going on – together with absolutely nothing. Here are some highlights from this winter / spring, current projects and plans for the future.

January and February hit me really hard with a %)#/% flu, together with traveling no less than 3 times to La Palma and one week in Bologna. In addition, the motivation for working with astrophysics plummeted to a new low in Feb/March, since the work environment at my institute tends to be … not quite adequate. Being a social fellow, I thrive in environments with motivated people – preferably who understand and appreciate the stuff that I’m doing. But working with graphics in an astrophysical content can be quite hard, since I virtually have nobody to talk to, and end up skipping down paths of distraction – mostly Android graphics development.

I currently have 7 months left of my post-doc, and I’m seriously contemplating what I should do afterwards. I have 8-10 options ready, but my preferences seem to skitter from one possibility to something completely different, depending on daily experiences. But I guess this is a quite normal side effect from being a single educated rich white bastard, life is just too full of possibilities. We therefore tend to end up as paralyzed rabbits, staring straight into the headlights of wealth and freedom. But things are loosening, and here are some cool stuff:

The GAMER paper is being submitted before may, and we’re finally performing the last touch. We hope it will be accepted without too much trouble, but it’s quite a long shot.

[singlepic id=266 w=400 float=none]

I’ve spent like 5.3E123 hours developing an Android OpenGL 2.0 ES framework while creating Navy Seal Clubbers. The cool thing about the library (nicked “JPenguin”) is that it supports OpenGL ES 2.0 with all its marvelous shaders, making it possible to create quite nice graphics. The JPenguin library currently contains

  • GLSL shaders
  • Fully customizable GUI with boxes, buttons, panels, listboxes, toggle buttons, slidebars and truetype fonts
  • Basic container for 3D objects, boid movements, physics
  • Entities that support JBox2D objects (used in NSC)
  • Music & sound library
  • 3D objects such as billboards (2D in 3D space), boxes, tetrahedrons, spheres etc, .obj-files etc
  • Texture handling, loading & procedural generation (perlin noise, button graphics etc)

NSC is about 75% finished, but my collaborators seem to keep producing kids instead of graphics for the game, so until they have spare time I decided to start on a new project – 8-bit defender rewritten in 3D (using JPenguin). Some screenshots (seen through a “old-skool-TV-shader”:

[singlepic id=270 w=400 float=none]

[singlepic id=271 w=400 float=none]

This game will be 100% procedurally generated, with an infinite perlin-fractal landscape colored by the GPU. The goal of the game is not yet decided, the player is currently able to navigate a blue tetrahedron followed by its (boided) green allies around the map, attacking red evil tetrahedrons. I was thinking about allowing for base building and resource gathering, but with minimal & retro graphics. But let’s see where this is going.
I haven’t found the inspiration to work on the planet renderer this spring, but I have been contacted by several people who might be interested in this project – or perhaps even go work for a public institution in Chicago. Or I might just stay in Oslo and study spanish and russian. Or more to Helsinki or Jyväskylä and study finnish. Or just start up an indie game company. Or just continue with another post-doc, either in Norway or the Canaries or whatever. Or I could make a decent living by acting the fool when I’m around my ex. Or perhaps I’ll sell my apartment, embark on a sailing boat and write a book. There are infinite possibilities, but I happen to be a lazy single educated rich white bastard.


Posted in Uncategorized | No Comments »


January 12th, 2013

So. Since I returned to Norway last september, I dedicated my life to actual science instead of fluffing about with the planet renderer. However, I will continue with this when I have more time.

This autumn I converted my old galaxy-simulation code into a full-fledged ray-tracer. Check out gamer.irio.co.uk for screenshots, code and the upcoming paper for GAMER: Galaxy Morphology Easy Ray-tracer.

Naturally, I am using Perlin noise to create those sexy physical patterns.

Posted in Uncategorized | No Comments »

Real-time shadows

September 10th, 2012

After wrestling with 45 orcs and succumbing to a severe hangover, I finally managed to implement real-time shadows.

You basically generate a hi-res height texture for each quad, and send the (neighboring) multitextures to the ground shader. The ground shader traces a ray from the ground position to the light source through the height field texture – and if it hits something – you have a shadow.

Tricky thing was fixing the tangent-space-transformation bugs, making it MPI & fixing the neighbors. But now the orcs are dead, and I can finally rest.
So this picture contains no shadows

whereas the following picture has

Posted in Uncategorized | No Comments »

Sept 2012

September 5th, 2012

So added a new cloud + atmosphere + ground + model

[nggallery id=20]


Posted in Uncategorized | No Comments »

Planet renderer: new landscape generator – summer 12

August 29th, 2012

The planet code works nicely on my  new mac, except that OS X does not yet support opengl 4.x – no geometry shaders, and therefore no trees yet.

Instead, I decided to implement swiss turbulence – “fake” erosion, in addition to my own take on modifying the perlin noise – combining several landscape types.

Also note the sun rays, new in this version

[nggallery id=19]

Posted in Uncategorized | 1 Comment »

8-bit defender

July 19th, 2012

New android project

check out the project homepage for downloads and update


Posted in Uncategorized | No Comments »

New video: Environment & better atmosphere

July 9th, 2012

Make sure you watch in HD:

Posted in Uncategorized | No Comments »

Planet renderer summer ’12

June 24th, 2012

Ok. Lazy me started coding again on my real-time planet renderer. What’s new:

– Semi-ray-traced clouds with proper lighting
– Fixed serious atmosphere bug
– Fixed water – now proper trochoids & fresnel
– Cloud system on planet
– Background space shader for stars / galaxy (real-time)
– Lots of bugfixes

[nggallery id=17]

Posted in Uncategorized | No Comments »

Previous page