Need help with IrrLicht in rendering maps properly

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jpbarto

Need help with IrrLicht in rendering maps properly

Post by jpbarto »

I've downloaded IrrLicht and GtkRadiant. I'm having trouble getting the second demo to run properly and I'm unagle to get my Q3 map generated with GtkRadiant to renter properly. Right now it draws the map but everything is white, including the demo map. I've applied the patch that was suggested in another thread.

Here's the output from the 2nd Linux example:
Creating X window...
Starting windowed mode...
Connecting glx context to window...
Window created.
Warning: This driver is not available in Linux. Trying OpenGL.
Warning: Could not find texture in Q3 .bsp:noshader
Loaded mesh:20kdm2.bsp
Needed 55ms to create OctTree SceneNode.(274 nodes, 5879 polys)


I'm getting the common error of walls being displayed as triangles and again I have no textures on the walls... everything is white.

Thanks for any help. I've built the Linux IrrLicht libs from source (after applying the patch).

Thanks for any help,
jpbarto
Guest

test_map

Post by Guest »

Went into GtkRadiant and created a test map. One small box with a light and a spawn point inside. All with the same texture, a jpeg. No caulk or anything else. Compiled it and ran it using the 2.Quakemap example code (modified for the appropriate pk3 and bsp of course). I got a good solid box although it was all white again. But at least I didn't get a 'noshader' error.

I'll have to keep working.
jpbarto

3ds files load fine

Post by jpbarto »

The 3DS file loaded by the 8'th example displays fine. Do I need 3DS Max to create 3DS files or is there an opensource option?

Still don't have the other examples working. I'm on linux, what's going on with this thing?
fretnoize
Posts: 43
Joined: Sun Feb 01, 2004 4:57 am
Location: Los Angeles

Post by fretnoize »

This probably isn't much help to you, since you said you have the same problem with the demo map. But for a small room, GTKradiant's default light value, 300, is really bright. If the room is small enough it might whiten all the walls... Try a light value of 30 or 40 anyway. You never know... But if the demo map looks the same, I'm betting this isn't your problem.
jpbarto

Post by jpbarto »

fretnoize, I appreciate the suggestion. I gave it a try but unfortunately you were right... no dice.
Silvergrom

Post by Silvergrom »

in main.cpp remplace
this
IrrlichtDevice *device =
createDevice(video::DT_Dirext8,
core::dimension2d<s32>(640, 480), 16, false, false, &receiver);

by this
IrrlichtDevice *device =
createDevice(video::DT_OPENGL,
core::dimension2d<s32>(640, 480), 16, false, false, &receiver);[/quote]
jpbarto

Post by jpbarto »

Silvergrom, thanks for the suggestion, but I'm afraid I'm still just getting blank white walls. And I'm pretty sure this is just a linux issue. I tried out the same map on both the windows install and the linux install, it works perfect on the windows install. The Linux install just gives me white walls.

Please, any more suggestions?

jpbarto
jpbarto

4.2 works

Post by jpbarto »

Ok, excellent. The SDK Irrlicht didn't work but the 4.2 non-SDK works pretty well. Thanks to everyone for the help!

jpbarto
Post Reply