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?
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!
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
IT'S GOOD TO BE BACK!!!!