Doom III lighting in Irrlicht.

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Guest

Post by Guest »

I know that it's still not in the engine but I thought there could be
a way to put it in yourself :?:
Hack it , like the Captain said.

I use a Terrain and the coordinates for the objects etc. are saved in a
text file , like you said :)
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Sry , always forget to log in =)
Das war jetzt erstmal der letzte fürs erste
Captain_Kill
Posts: 124
Joined: Sun Jun 27, 2004 11:02 am
Contact:

Post by Captain_Kill »

Bumpmapping in lightmaps will ONLY work on Q3 levels. Which isn't much of a problem anyway because later this year Q3 goes open source along with its map formats. Bumpmapping won't work on other level types OR on normal models. (Unless someone adds it in of course... ie. Irrlicht 0.7)
2.8GHz P4 with HT - 512MB DDR - ATI Radeon 9600XT 256MB - Windows XP - VC++ 6 and VC++ 2003

Dark Reign 3 Home Page: http://darkreign3.notwhatyouthink.org/
Dark Reign 3 Forums: http://notwhatyouthink.org/darkreign3bb/
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Don't know if I want to wait so long :D ,
maybe I'll try to add it in my self...
It's not even for sure that Irr 0.7 inlcudes
Bumpmapping , or is it?
Das war jetzt erstmal der letzte fürs erste
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

Why should bump mapping only work in Q3 levels?
The Robomaniac
Project Head / Lead Programmer
Centaur Force
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

He said , that there's a way to load quake maps with
bumpmapping without changing anything in the engine :)
that's all...
Do you think it's possbile to change the engine so that
it can use bumpmaps?
Das war jetzt erstmal der letzte fürs erste
Captain_Kill
Posts: 124
Joined: Sun Jun 27, 2004 11:02 am
Contact:

Post by Captain_Kill »

Wow... This is turning into a pretty big discussion :)

The bumpmapping only works on Quake 3 levels because it's precalculated bumpmapping done by the Q3Map2 Compiler ;) As a result it isn't affected by dynamic lights and technically shouldn't cause much of a slowdown because it's precalculated. Plus it'll even work on systems that don't normally support bumpmapping. The reason why you have to hack support is that normally it requires shaders. Of course Irrlicht doesn't use shaders so I hacked the map loader to use a default texture where it would normally use a shader. It isn't perfect but it is a good start. I was supprised myself when it worked too. If there really is alot of demand for this (esp. considering Q3 is now going open source ;)) then i could try to get a demo done. At the least it'd be a phat download cause the BlackTown map ain't small and it's the best example map I have.
2.8GHz P4 with HT - 512MB DDR - ATI Radeon 9600XT 256MB - Windows XP - VC++ 6 and VC++ 2003

Dark Reign 3 Home Page: http://darkreign3.notwhatyouthink.org/
Dark Reign 3 Forums: http://notwhatyouthink.org/darkreign3bb/
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

later this year Q3 goes open source along with its map formats
Really? Haven't heard anything about that, where did you read that?
Captain_Kill
Posts: 124
Joined: Sun Jun 27, 2004 11:02 am
Contact:

Post by Captain_Kill »

2.8GHz P4 with HT - 512MB DDR - ATI Radeon 9600XT 256MB - Windows XP - VC++ 6 and VC++ 2003

Dark Reign 3 Home Page: http://darkreign3.notwhatyouthink.org/
Dark Reign 3 Forums: http://notwhatyouthink.org/darkreign3bb/
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Tyn wrote:Really? Haven't heard anything about that, where did you read that?
Doom3 is the new engine now. So the "old" Q3 goes open source like Q2 went :).
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Post Reply