So the Quake 4 Lighting system

User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

So the Quake 4 Lighting system

Post by Foo »

Forgive me if this is available somewhere, I couldn't find much on it.

Is Quake 4's lighting system fully dynamic? Is this why it's so slow?

I know that in Quake 3 there was support for both Lightmap and Vertex lighting, and no support for dynamic lights.

Does Quake 4 not have backwards support for Lightmap lighting?
Last edited by Foo on Fri Nov 04, 2005 1:02 am, edited 1 time in total.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Honestly with those settings that are locked you can get it done without the dynamic everything I think. The support is there Raven has just crippled the functionality... :dork:
User avatar
Eraser
Posts: 19175
Joined: Fri Dec 01, 2000 8:00 am

Re: So the Quake 4 Lighting system

Post by Eraser »

Foo wrote:Forgive me if this is available somewhere, I couldn't find much on it.

Is Quake 4's lighting system fully dynamic? Is this why it's so slow?
Yes and yes
Foo wrote:I know that in Quake 3 there was support for both Lightmap and Vertex lighting, and no support for dynamic lights.

Does Quake 4 not have backwards support for Lightmap lighting?
The lightmap lighting that Q3 used and the lighting system that Doom3/Quake 4 use is completely different from each other. As you know, lightmaps are calculated at compile time of the map. D3/Q4's map compiler doesn't do this, so there's no lightmaps available at all.
MidnightQ4
Posts: 520
Joined: Tue Oct 18, 2005 7:59 pm

Post by MidnightQ4 »

wow that's uh, really crap. nice one carmack.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Ah right. Is it possible to have an engine which layers dynamic light over a lightmap layer? Presumably this is possible, but would mean adding an extra 'stage' to each texture pass?
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
MidnightQ4
Posts: 520
Joined: Tue Oct 18, 2005 7:59 pm

Post by MidnightQ4 »

he should have left lightmaps as an option then cause obviously it is a huge issue for most people. perhaps in 3 years it won't be a problem, but for now it is. I suppose that the community will be able to overcome these obstacles however by redoing maps and making new maps that are designed with better fps in mind.
Detoeni
Posts: 20
Joined: Fri Aug 16, 2002 7:00 am

Post by Detoeni »

Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

MidnightQ4 wrote:he should have left lightmaps as an option then cause obviously it is a huge issue for most people. perhaps in 3 years it won't be a problem, but for now it is. I suppose that the community will be able to overcome these obstacles however by redoing maps and making new maps that are designed with better fps in mind.
Real-time lighting was one of the main points of the engine. It was designed around new technology, not to be easy on lower-end hardware. Q3 was a bitch on hardware when it first came out too.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Tormentius wrote:Real-time lighting was one of the main points of the engine. It was designed around new technology, not to be easy on lower-end hardware. Q3 was a bitch on hardware when it first came out too.
I think what he means is leaving it in in the same way that vertex lighting was left in the Q3 engine.

It was pretty importany back then. I think the general performance boost from vertex lighting was something like 20%.

Dynamic and Lightmap light systems aren't mutually exclusive. Indeed, this tutorial demonstrates the possibility:
Detoeni wrote:This might be of intrest:
http://www.fuzzpopfx.com/tutorials/doom3/
Thanks Detoeni, that was an interesting read :icon14:
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Tormentius wrote:
MidnightQ4 wrote:he should have left lightmaps as an option then cause obviously it is a huge issue for most people. perhaps in 3 years it won't be a problem, but for now it is. I suppose that the community will be able to overcome these obstacles however by redoing maps and making new maps that are designed with better fps in mind.
Real-time lighting was one of the main points of the engine. It was designed around new technology, not to be easy on lower-end hardware. Q3 was a bitch on hardware when it first came out too.
And yet you could pull 125fps on hardware that was below spec with the right tweaks... :dork:
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

jester! wrote:And yet you could pull 125fps on hardware that was below spec with the right tweaks... :dork:
Source?
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Kaziganthe wrote:
jester! wrote: And yet you could pull 125fps on hardware that was below spec with the right tweaks... :dork:
http://www.quake3world.com/forum/viewtopic.php?t=12692
That's not so much a tweak as gutting the game and removing some hardwired pieces of it.

You can't make that adjustment on the game without breaking compatability with everyone else.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Foo wrote:
jester! wrote:And yet you could pull 125fps on hardware that was below spec with the right tweaks... :dork:
Source?
Pulling 125 in Q3 with below spec equipment?

My ugliest config with a p3 500 128 ram and a voodoo 3 could do it. Which I believe was under spec. Besides my current comp is above Q4 min spec and yet fully tweaked I can only get 47.

Now following that link thats the ticket, unlock that stuff for MP and everyone gets 60, nobody loses but the gfx whores who dont like to lose out to people who dont have the uber hardware and feel the need to run around in shadows...
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Foo wrote:
Kaziganthe wrote:
jester! wrote: And yet you could pull 125fps on hardware that was below spec with the right tweaks... :dork:
http://www.quake3world.com/forum/viewtopic.php?t=12692
That's not so much a tweak as gutting the game and removing some hardwired pieces of it.

You can't make that adjustment on the game without breaking compatability with everyone else.
How? If its unlocked for MP play how does it break compatability?
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

jester! wrote: Pulling 125 in Q3 with below spec equipment?

My ugliest config with a p3 500 128 ram and a voodoo 3 could do it. Which I believe was under spec. Besides my current comp is above Q4 min spec and yet fully tweaked I can only get 47.

Now following that link thats the ticket, unlock that stuff for MP and everyone gets 60, nobody loses but the gfx whores who dont like to lose out to people who dont have the uber hardware and feel the need to run around in shadows...
* 3-D Hardware Accelerator with full OpenGL® support
* Pentium II® 300 Mhz or AMD® 350 Mhz K6®-2 processor or Athlon® processor
* Windows 95/98/ME/NT 4.0/2000 operating system
* 64 MB RAM
* 16 MB video card
* 440 MB of uncompressed hard disk space for each game
* 110MB of free hard drive space for the Windows swap file (in addition to install space)
* A 100% Windows® 95/98/ME/NT 4.0/2000-compatible computer system (including compatible 32-bit drivers for CD-ROM drive , video card, sound card and input devices)
* 100% DirectX 3.0 or higher compatible sound card
* 100% Microsof-compatible mouse and driver
* Quad-speed CD-ROM drive (600 K/sec. sustained transfer rate)
Suffice to say, your equipment was above spec.

In fact, it's about double the minimum spec, in real terms.

I think this nullifies your point to a large degree.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

jester! wrote:
How? If its unlocked for MP play how does it break compatability?

My bad. I confused it with the thread about recompiled maps with less lights :icon32:
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Man I even got the wrong system spect above. Those were for Team Arena. Here's Q3, even lower:
* 3-D Hardware Accelerator with full OpenGL® support
* Pentium® 233 Mhz MMX®processor with 8 MB Video Card
Or Pentium II 266 Mhz processor with 4 MB Video Card
Or AMD® 350 Mhz K6®-2 processor with 4 MB Video Card
* 64 MB RAM
* A 100% Windows® 95/98/NT 4.0 compatible computer system (including compatible 32-bit drivers for CD-ROM drive , video card, sound card and input devices)
* Windows 95/98/ NT 4.0 (with Service Pack 3) operating system
* 25 MB of uncompressed hard disk space for game files (Minimum Install), plus 45 MB for the Windows swap file
* Quad-speed CD-ROM drive (600 K/sec. sustained transfer rate)
* 100% DirectX 3.0 or higher compatible sound card
* 100% Microsof-compatible mouse and driver
* 100%Windows 95/98/NT 4.0 compatible joystick (optional)
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Foo wrote: Suffice to say, your equipment was above spec.

In fact, it's about double the minimum spec, in real terms.

I think this nullifies your point to a large degree.
Hmm actually I was above in proc and ram but meet the video, despite the fact the voodoo didnt like opengl iirc.

Much like now where I kill the proc / ram but meet the video, only in Q3 I could get to the optimal play levels, and in Q4 I could if only they unlocked one variable.

EDIT: Well I see both of my legs have now been taken out and I will accept my beating :icon32:

And I bought TA and it was pretty near unplayable on my old system so I guess it does all scale and I should accept that Q4 is unplayable. To bad its only one command that we have been teased with that would get me to that solid 60...
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

For what it's worth, I still agree with your underlying beleif, that as the gamer, you have the right to expect better backwards compatability.

It mystifies me to a large degree why, when game engines are built up as enhanced versions of previous engines, a large amount of customisation cannot be kept (Native lightmap support is a great example in this case).

I mean when you strip it away, the new things in Quake 4 graphics could be disabled to increase performance. Bump mapping is a good example, as is Dynamic light vs Lightmap, and even Vertex (why not, right?).

On the subject of lightmaps again, is there no support at all for them in the editor? I haven't looked to deep into the new editor, and only know Radiant :)
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: So the Quake 4 Lighting system

Post by ^misantropia^ »

Foo wrote:I know that in Quake 3 there was support for both Lightmap and Vertex lighting, and no support for dynamic lights.
Q3A has dynamic lights of sorts: dlights alter the lightmap on the fly, not unlike deluxel mapping.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

jester! wrote:
My ugliest config with a p3 500 128 ram and a voodoo 3 could do it. Which I believe was under spec. Besides my current comp is above Q4 min spec and yet fully tweaked I can only get 47.

You're running a GF3 Ti200 which is the absolute minimum spec required for the game so, IMO, expecting a locked 60fps is more than a little unrealistic. 47 fps is pretty damned good considering what you're running.
Guest

Post by Guest »

Why not just play quake 3 if you want the game to run perfectly with everything maxed out? Whats the point of making Quake 4 look like Quake 3, or even worse? IMO, if you want to play Quake 4, then shell out the cash on a top-end system, or just do what I will: wait a year and buy a system for under $1000 that will run the game flawlessly.
jester!
Posts: 969
Joined: Mon Oct 31, 2005 1:55 am

Post by jester! »

Tormentius wrote: You're running a GF3 Ti200 which is the absolute minimum spec required for the game so, IMO, expecting a locked 60fps is more than a little unrealistic. 47 fps is pretty damned good considering what you're running.
The worst of it is that its one command that is already in the system and seriously I would bet would take 5 minutes to unlock and everyone could get 60 if they want.

Really I am just impatient as once the SDK is released if everyone with shittier comps, comparitivly, hasnt left the game for something else mods will unlock it for us and we can all live happy.

"or just do what I will: wait a year and buy a system for under $1000 that will run the game flawlessly."

Thats a wasted year however when one command changed tomorrow could have us all playing.

/shrug

That said I am going to play now. :paranoid:
MidnightQ4
Posts: 520
Joined: Tue Oct 18, 2005 7:59 pm

Post by MidnightQ4 »

Tormentius wrote:
jester! wrote:
My ugliest config with a p3 500 128 ram and a voodoo 3 could do it. Which I believe was under spec. Besides my current comp is above Q4 min spec and yet fully tweaked I can only get 47.

You're running a GF3 Ti200 which is the absolute minimum spec required for the game so, IMO, expecting a locked 60fps is more than a little unrealistic. 47 fps is pretty damned good considering what you're running.
wow that's unbelievably good for that card. I would expect something in the 15-20 fps range with everything turned off.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

jester! wrote:
Tormentius wrote: You're running a GF3 Ti200 which is the absolute minimum spec required for the game so, IMO, expecting a locked 60fps is more than a little unrealistic. 47 fps is pretty damned good considering what you're running.
The worst of it is that its one command that is already in the system and seriously I would bet would take 5 minutes to unlock and everyone could get 60 if they want.
You don't need 60fps to play and enjoy the game. That said, you could get a much, much better vid card for under $100 so why not just bite the bullet and upgrade. You can't expect the best if you're not willing to invest to get it. I doubt that a mod is going to unprotect that var because PB will still detect known cheats and illegal vars even after the SDK is released.
Locked