TU Berlin Fakultät II
Institut für Mathematik

Arbeitsgruppe Geometrie



Geometry Group



Vergangene Semester


Images, Videos, and Games

Virtual Math Labs




Mathematische Visualisierung II (Sommer 2010)

Back to lecture...

Practice 1 (First steps with Eclipse and jReality)

Übung: How to start eclipse

If you want start eclipse, you have to type at your shell "/net/MathVis/eclipse64-subversive/eclipse" . If eclipse asks you for a workspace, choose or create a folder at your home-directory. After the start, close the eclips-welcome-screen. (should look like this)

Übung: check out subversion repositories

At first we want to check out jReality:
  • Open the perspecitve "SVN Repository Exploring" at Window>Open perspective>Other ...
  • Click at and add the jReality SVN repository "http://fs.math.tu-berlin.de:8000/svn/jreality" (username "guest" no password).
  • Open the repository, right-mouse-click at "trunk" and choose "Checkout..."
  • All properties (.profile und .classpath) are already saved for the jReality repository, so you can directly click "Finish". Change back to "Java" perspective.
  • Search for the class "ParametricSurfaceExample.java" at the "package explorer" at the folder "src-tutorial" at the package de.jreality.tutorial.geom and start it as Java-Application, right-mouse-click and choose "Run As">"Java Application". (looks like this)
  • We have now some new computers at the terminal-room, so the following instruction is probably not necessary anymore. But if you have an older 32bit computer at home, you will need this. Because then, 3D Hardwareacceleration won't be available. If you look at the viewer menu, it probably looks like this, but it should look like that. That means, you have to choose for the 3D Hardwareacceleration the right platform-addicted library. The jReality-default is Linux 64bit, but old computers have installed a 32bit Linux. You have to go to Project>Properties>Java Build Path>Source>jreality/src-core and switch there the "Native library location" at jreality/jni/linux32. Restart the tutorial-application and look again at the Viewer Menu. Should look like this now.
Now we check out the SVN-repository for our practice
  • Use following url: "svn+ssh://fzt-017.math.tu-berlin.de/net/MathVis/Lehre/MathVisSS10" (at the terminal-room you could use "file:///" url, too, but this would not be possible from your home). Instead of "fzt-017" you could use any other computer at the math institute.
  • user: your uni-account
  • password: your password
  • I had some trouble by the first checkout. So if there are any problems, feel free to ask me and I'll help you.
  • Now you can start with your homework.


Miniproject: Hallo World (submitted until 29.04.)

The aim is to show, that you have dealed with the introductory tutorial. Write a short Java-program, that uses jReality to show something in 3D at your screen. You could also use the code of the tutorials, but please modify your results a bit. Create at the "src"-folder of our practice-svn a package, which looks like this <vorname><nachname>.HalloWorld . Then check-in your project as HalloWorld.java.

Installation at home

If you want to install eclipse at home, you will find at the jReality Wiki a how to for the Installation of jReality as an eclipse-project.

Andre Heydt . 23.04.2010.