Archive for April, 2008

Generating stereoscopic images with parallax occlusion mapping

April 22nd, 2008 by Erik Benerdal

I rarely do experimental programming, but I had an idea today that I wanted to try. Maybe it’s not a new idea but at least I thought of it on my own.

Stereoscopic images are usually photos taken by two seperate cameras aimed at the same object but a small distance apart from eachother. The difference in position will let one camera see the object at a slightly different angle than the other. By looking at the two images side by side and crossing your eyes you will experience a 3D effect. Other than the eye-strain it’s a neat effect.

I liked the idea and thought about ways to generate a steroscopic image from a single flat image. The idea I came up with was to fake depth in the original image and then render two snapshots of it from slightly different angles. There’s a popular method employed by game developers for faking depth in otherwise flat textures called Parallax Occlusion Mapping. The idea is to use a heightmap and some clever math to make parts of the image “pop out”.

The implementation was really straight forward. I just found a parallax mapping shader online, converted the code to C++ and threw some sample images at it.

See my results after the break.

Continue reading ‘Generating stereoscopic images with parallax occlusion mapping’

Arcana Heart

April 21st, 2008 by Erik Benerdal

I got this in my mail today. Am I excited about it? Yes.

941885_99327_front.jpg

Franziska von Karma

April 20th, 2008 by Erik Benerdal

I’m a huge Phoenix Wright nerd and I had this urge to do some fanart. I haven’t drawn much lately and I thought it could be a fun way to get back into it. Here’s the first in what I hope to become a series of Phoenix Wright characters:

Franziska von Karma (Phoenix Wright) 

Continue reading ‘Franziska von Karma’

I made something silly..

April 13th, 2008 by Erik Benerdal

Caramelldansen.zip

Requires latest version of DirectX 9.0c + compatible hardware.

Web-installer:
http://www.microsoft.com/downloads/details.aspx?familyid=2da43d38-db71-4c1b-bc6a-9b6652cd92a3

Redist:
http://www.scalari.net/temp/directx_mar2008_redist.exe

lol

April 8th, 2008 by Erik Benerdal

 etnatribute.jpg

I was looking for videos with Etna from Disgaea for a forum post and I stumbled across this. I thought it looked familiar.

More games..

April 4th, 2008 by Erik Benerdal

I’ve finished Heavenly sword and Uncharted so I wanted to get some more PS3 games. I got these in the mail today.

939451_87541_front.jpg windowslivewriterfolklorepreviewps3-d033folklore-cover5.jpg

I also got a new monitor for my computer this week. It’s all wide and shit.

vajdskrin.jpg

Games

April 1st, 2008 by Erik Benerdal

Europe! They’re out. Go buy them!

936463_81618_front.jpg932312_77126_front.jpg

This one comes out next week:

939065_86611_front.jpg

Buy it. Play it. Finish it before May 9th because then you’re buying this:

930506_97643_front.jpg