I'm finally back! new linux stuff progress

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

I'm finally back! new linux stuff progress

Post by afecelis »

Hey guys!!!

It's been the toughest 15 days ever! No internet, had to change ISP, new email, I'm writing everyone to know about my new email address, using internet at cyber cafes, yada yada yada.. you know how it is, but things went smoother than I thought!!!! Now I got internet at home again, and the new ISP seems to be pretty good. Now the good news, heheheh. The good news is that I had a lot of time to work offline with the engine and I decided to use my linux box and experiment with Irrlicht 0.10 to see how things went in the penguin system. Basically I was comparing that there's a whole bunch of posibilites to create stuff for Irrlicht in windows but very few for linux, mainly talking about lightmappers and 3d file formats. The only real lightmapper available for linux is Quake 3 bsps (and it's not free), so my first experiments where creating a level in radiant (linux version) compiling it and adding some models created in Blender (exported to .x with jox's script). I also tried to add a gun attached to the camera, setting it as parent of it but it wouldn't show up, so I commented out the lines for that. Oh yes, btw, the gun is a blender model exported to md2 and loaded into Irrlicht. The good thing is that I only used linux tools here!:

http://www.danielpatton.com/afecelis/sc ... evel01.jpg
http://www.danielpatton.com/afecelis/sc ... evel02.jpg
http://www.danielpatton.com/afecelis/sc ... evel03.jpg

and here's the source to the project:
http://www.danielpatton.com/afecelis/MM ... vel.tar.gz

WASD navigation, esc or "q" to quit. I's compiled in fullscreen but you can change the code to get it windowed as in the screenies.

check the commented lines to see if any of you guys get the gun model attached to the camera and give me a hand, ok?
:wink:

ok, more stuff I tried out. My3d levels run ok in linux, but file names and extensions must match exactly, linux is very case-sensitive so anything not matching will make your app crash. Too bad there's not a My3d exporter for blender, hehehehe. We gotta find a way to get lightmaps from blender!!!

http://www.danielpatton.com/afecelis/Zd ... dLinux.jpg
(the 0.9 in the window title is just a typo; this is Irr 0.10)

I don't have a very fast card for my linux machine but I was very glad to see My3d files running properly under linux. Also Zdmitor's latest patches included in v3.16 compiled ok and fixed a lot of opengl bugs!!! It sure would be great to have My3d for Linux!!!!!

FINAL TESTS PRODUCT OF THE BOREDOM OF NOT HAVING INTERNET:
So, so far only Radiant-Q3map2 are the only lightmapping tools available for linux. As a final test I decided to use WineX and try to emulate the apps I normally use in windows: Cshop, Giles, and Deled. They all produce lightmaps compatiblw with the Irrlicht engine but.... they all crashed...except for......... DELED!!!!! Delgine's editor runs ok under linux via Winex only that the 4 window setup is a bit crazy, all the windows show up one under the other:
http://www.danielpatton.com/afecelis/Te ... inux01.jpg

nice huh? If you're going to do this, don't close the app from the main close button, it'll crash crazy; simply close one of the 4 view windows and the app will close with no errors!
http://www.danielpatton.com/afecelis/Te ... inux02.jpg

getting excited yet? This was the level I used to write the "ultimate comparative lightmappers chart". The best part is about to come!

http://www.danielpatton.com/afecelis/Te ... inux03.jpg

yup! Not only does Quake 3 give us lightmaps in linux but also Deled!!!! I think I'll drop Deled's team a line and tell them to try to get a native linux version going on! :D

and the final part; the level running in Irrlicht:
http://www.danielpatton.com/afecelis/Te ... inux04.jpg

Only 2 problems came up; somehow textures get lost and the path I write in my code gets flipped from (./data) to (.\data) so the textures go crazy. The solution was to load the file directly (no paths) and then place the executable by copy-pasting it into the "data" folder. So also if you guys find a way to help me fix it here's the code:
http://www.danielpatton.com/afecelis/Tests/deled.tar.gz

remember to open a shel window in the "data" folder and type ./example in it to see it running. Great job Salvatore has done writing the loader for dmf files, and even better it's now natively supported!

So, I hope the linux community finds this useful!!!

Now you guys decide how bored I was!!!! hehehehe
:D

IT'S GOOD TO BE BACK!!!!
Last edited by afecelis on Fri Jun 10, 2005 5:21 pm, edited 1 time in total.
katoun
Posts: 239
Joined: Mon Nov 15, 2004 9:39 am
Location: Romania
Contact:

Post by katoun »

:D Nice indeed.
What distribution of Linux do you use?
Well that will surely make a step forwared for game devel for and on Linux. :D
Kat'Oun
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Great work as usual :).
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

@Katoun: I use Gentoo linux. I dunno why but it seems to like me, hehehehe :wink: Everything works and feels as it should.

@bal: thnx! I was sure you would post! BTW, the code for attaching the gun to the camera comes from one of your posts :D (But I can't get it to display).

happy day guys!

:D
AlexL
Posts: 184
Joined: Tue Mar 02, 2004 6:06 pm
Location: Washington State

Post by AlexL »

afecelis, I'm running Mepis Linux 3.3.1 on one of my machines and I am unable to get the file to run. It returns the error - "./example: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory" - I am new to running Linux so it just may be that I don't have something setup correctly, if you could offer some insight on what I need to do to run the program, I'd be more then happy to test this for you :)
blackbirdXXX
Posts: 20
Joined: Tue Sep 21, 2004 9:08 pm

Post by blackbirdXXX »

AlexL wrote:afecelis, I'm running Mepis Linux 3.3.1 on one of my machines and I am unable to get the file to run. It returns the error - "./example: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory" - I am new to running Linux so it just may be that I don't have something setup correctly, if you could offer some insight on what I need to do to run the program, I'd be more then happy to test this for you :)
Seems that your xfree86 library wasn't found. Try to install it
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

Post by Armen138 »

great stuff afecelis! it looks great, i cant get back up the stairs tho...
gentoo rocks, the only linux distro that agrees with me 100%(slackware did 90%) :)
if you're looking for me, start looking on irc, i'm probably there.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

thnx Armen! :D

yup, I've gotten stuck there myself. The old bouncing camera would've helped a lot there, ehehehehe. You just gotta take it from the right-most part and look wayyyyyyyyy up; little by little it'll climb them, heheheh, Not the most orthodox way tho.

and yup, I also love Gentoo. It's the first linux distro that has worked for several months without getting into trouble. The only thing is being careful with what you emerge, but once you know the "untouchable" things from it, nothing beats it! (to be honest, Gentoo or Linux don't crash; it's one who screws things up ;) )

I also would like to know if anyone else succeeded in trying deled via WineX or if someone has a clue of why the texture path gets flipped.

thnx for trying it out and posting!! :D
phrounz
Posts: 45
Joined: Thu Feb 10, 2005 11:45 am
Location: France
Contact:

Post by phrounz »

You server have some downloading problems. I is really slow even with a very high-band internet connection (0.6 KB/s ! never seen that :shock: ), or it doesn't work. I don't know if I will be able to see your creation ...
phrounz
Posts: 45
Joined: Thu Feb 10, 2005 11:45 am
Location: France
Contact:

Post by phrounz »

It downloaded perfectly in less than two seconds, half an hour later. Strange server you have ...
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Dunno about the server, but it usually is that way. After some time it becomes fast again.

I uploaded a new pk3 file with a bit more light and better stairs to get out of the terrain (in case you want to try it out):
http://www.danielpatton.com/afecelis/files/level.pk3
:wink:
Post Reply