JMEDesktop on TriMesh

After a lot of questions here in the forum, the first thing I want to give back. Hope someone

find this usefull.







You can use it with ‘any’ TriMesh.

I used the orignal JMEDesktop class and changed actually only the convert method (mousemovment).

The problem is, that I extended the TriMesh, because I needed access of the draw method.

So its implemented with a listener-system. I know thats a little bit dirty, but find no other way to

do this.



The source can you find here: www.htw-dresden.de/~s52377/files/folder/src.zip

For the sampleClass (JMEMeshDesktopTestState2) you need the md5reader2 and change

“model.ModelTriMesh extends TriMesh” to “… extends TestTriMesh”. Classnames are also

in the test-phase. For the mouse push ‘m’, for rotating the sphere use ‘x’, ‘y’ and ‘v’.



Any critique is welcome :).

Cool  :smiley:

make a game where you are being attacked by windows and buttons saying "virus!!!111"

HamsterofDeath said:

make a game where you are being attacked by windows and buttons saying "virus!!!!111"


They have several of those.

They are called Windows 98, Windows 2000, Windows ME, Windows XP, and the newest one Windows Vista.