Terrain Generator and 3D Heightmap

15. Januar 2010 Tom Keine Kommentare

In the third term of the subject computergraphics we, my partner Matthias Frick and i, made two nice graphic programms in processing. We descided for processing, because the language syntax is very easy and it is the perfect language to easily programm such graphics tools like these.

Midpoint displacement

Terrain generator:

Generates a random terrain with the Midpoint displacement algorithm.

Terrain from greyscale image (heightmap):

The program reads a greyscaleimage (heightmap) and saves the data x, y-coordiante and greyscale value in an array. The brightest value represents the highpoint and black one the bottom of our 3D image. We connected 4 vertices to one face. Its important to note  that the vertices on the right side and the bottom side need a special calculation, because there is no face which connects to these borders. After that we set the color of the vertices according to the pixels’ brightness.

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter

Multiplayer Pong

17. Dezember 2009 Tom Keine Kommentare

In the subject interface cultures Dominik Goltermann, Matthias Frick, Daniela Dobler and I developed a multiplayer pong game with color tracking. The client was implemented in Actionscript 3 by using the Webcam Colortracking Class from Jop Wielens. The flash application establishes a connection with a ruby server. The player start the application and choose the color to track with the mouse. It is advantageous to take a item with a lurid color. After that the program waits for the opponent. A soon as the second player has joined, the game starts. The user can control his bar with the tracked object.

We tracked a green pen.

We tracked a green pen.

The data exchange runs via a ruby server. Ruby managed the direction changing of the ball, scores and the position of the bars. We programmed an separate server, because in flash it is not able to connect two flashapplications together.

Multiplayer Pong

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter

My first javamidlet

12. Oktober 2009 Tom 2 Kommentare
Erstes JavaME Game

Erstes JavaME Game

In the first lession of mobileapplications we started to programm a java midlet with the IDE Eclipse Pulsar.

My first application is paper, scissors, stone with a litte scorelist.

Download

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter
KategorienJ2ME Tags:

ScriptNote Beta

15. Juni 2009 Tom Keine Kommentare

scriptnote

Since my qualificationproject in my second term i created an webapplication for students. At the end from every term every student beginn to gather the things he need to learn. One student sent me an email with the maths transcript the other one sent me an important link for the final exam. An so i found the basic concept for scriptnote.

Main Features of Scriptnote:

  • Upload / Manage your transcripts
  • Messagesystem to communicate with your students
  • See the transcripts from others of your study course
  • Notify mails at a new upload or message

Technical conversion:

The webapplication is programmed in PHP. I created an own template system to divide the programm code and the web output.  As database i used MySQL and for the security of the website i choose the prepare statements of the mysqli class. For the interactivity I included the Javascriptframework JQuery and AJAX. The Design is a normal Web 2.0 CSS Style.

Screenshots:

scriptnote3

scriptnote2

I will be happy about some constructive feedback from you.

Scriptnote Beta

Tom

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter

Qualification Project

8. Mai 2009 Tom 1 Kommentar

After the 2. Semester each mmt student must make a qualification project (qpt) to get in the next semester.

My qpt is called Script-Note. It is an archiv for transcripts. Some Features will be:

  • Upload / Edit / Delete your transcripts
  • Rate the transcripts
  • Messaging system
  • authorization system for the transcript

I will realize this in PHP and MySQL. For the interactivity i will use the Javascript Framework JQuery and Ajax.

Share:
  • Print
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blogplay
  • PDF
  • RSS
  • Twitter
KategorienScriptNote Tags: , ,