Laserdetection #2

Wednesday 24 March 2010 at 8:18 pm

After calculating the line-data from the delta-image of the webcam, I figured out how to get to 3D-Coordinates from all data that is given:

  • I know the position of the Line-Laser
  • I know the rotation of the Laser
  • I know the opening angles of the camera
  • I know the lit pixels on screen

I made the model a bit simpler by assuming that the line-laser is absolutely vertical and is represented by a plane in space. The lit pixel from my screen is representing a ray through space. That ray can be calculated, if you know the opening angles of the camera.

The Intersection between the ray (from pixeldata) and the plane of the line-laser is a 3d-point in the real world where an object is actually scanned.

I used Java3D to represent the points in space. I will test it with a real laser and some motors to control the laser tomorrow. Here is an actual screenshot:

Stay tuned :-)

Laserdetection #1

Tuesday 16 March 2010 at 12:39 am

My goal is to calculate the distance of objects with a line laser.

This is the first step: Making a reference picture with a webcam and try to find the laser on a second picture.

It's really easy. The most work was to get the cam and Image handling to work with java, since my webcam does not support Quicktime. I used JMF for that task.

stay tuned.

Interesting Interviews

Monday 15 March 2010 at 12:38 pm

Visit that site, to read some interesting Interviews: indiegames.com!

OnLive - My thoughts

Thursday 11 March 2010 at 8:15 pm

OnLive will open up for everybody in June. Living in germany, it's impossible for me to check it out. But I thought about it.

Read the full article

Indie Games Summit

Thursday 11 March 2010 at 5:30 pm

Not at GDC? You can also read some interesting stuff at home:

Indiegames.com