Author Topic: The system trem uses to make maps  (Read 10855 times)

DIGI_Byte

  • Posts: 508
  • Turrets: +5/-1
The system trem uses to make maps
« on: November 15, 2006, 12:44:34 am »
I think using the Q3 engine was a mistake as it is a modified engine (great) with some of the guts ripped out.

The Half-life 1 engine and q2 engine both are old But the have emulated lights that are rendered on there spot how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #1 on: November 15, 2006, 01:55:12 am »
How is that bad? That makes the game run faster. Real-time lighting, especially with light fixtures is a retarded concept, unless they move.

rasz_pl

  • Guest
The system trem uses to make maps
« Reply #2 on: November 15, 2006, 01:59:42 am »
http://evolution.quakedev.com/
http://xreal.sourceforge.net/xrealwiki/CodeChanges

too much work to port imo, and nobody that i know likes fancy lightning, because that = dark maps

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #3 on: November 15, 2006, 02:06:29 am »
The only things related to lighting that I think need to be changed is character lighting(so that you can actually hide in the shadows instead of being illuminated all the time), and the way q3map2 creates the stair-stepping effect of large shadows.

kozak6

  • Posts: 1089
  • Turrets: +20/-26
The system trem uses to make maps
« Reply #4 on: November 15, 2006, 02:13:34 am »
Fancy lighting would be rather bad for Tremulous.

A lot of people play Tremulous because it runs well on old shitty computers, like mine.

You stuff it full of fancy lighting, and the framerates go down the toilet, and there goes a good section of our playerbase.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #5 on: November 15, 2006, 02:21:13 am »
Well now that I've seen Evolution for Quake 3, it's definitely possible and probably would be a good idea for Tremulous to have such graphical improvements.
If you've ever played Darkplaces, you'll know how well it brings back the fun in the original Quake, but you can actually disable all the Darkplaces enhancements and it will play just like the original Quake. What I'm saying is, we could have these improvements, but have them optional.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
The system trem uses to make maps
« Reply #6 on: November 15, 2006, 04:31:15 am »
Quote from: "kozak6"
Fancy lighting would be rather bad for Tremulous.

A lot of people play Tremulous because it runs well on old shitty computers, like mine.

You stuff it full of fancy lighting, and the framerates go down the toilet, and there goes a good section of our playerbase.


I've got to agree with this. Tremulous already scales pretty badly and I'm more often surprised by how often it won't run on systems that handle Q3 fine. It doesn't need to be any worse for that unless steps are taken to allow for better scalability and all of those options are tested to not give an advantage to a player with them set either way.

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
The system trem uses to make maps
« Reply #7 on: November 15, 2006, 05:44:47 am »
Quote from: "Odin"
Well now that I've seen Evolution for Quake 3, it's definitely possible and probably would be a good idea for Tremulous to have such graphical improvements.
If you've ever played Darkplaces, you'll know how well it brings back the fun in the original Quake, but you can actually disable all the Darkplaces enhancements and it will play just like the original Quake. What I'm saying is, we could have these improvements, but have them optional.

Absolutely - play Nexuiz and fiddle with the graphics settings (nex uses darkplaces). With all the fancy lighting turned off nex and trem look near identical. The benefit is that you can have posh graphics if your computer can handle it without putting those with less capable hardware at a disadvantage.

I doubt there's much to worry about fancy lighting encouraging dark maps (like those of DOOM3) because it won't stop mappers from making bright maps, and most mappers know that trem works well with bright maps.

kozak6

  • Posts: 1089
  • Turrets: +20/-26
The system trem uses to make maps
« Reply #8 on: November 15, 2006, 06:17:53 am »
Meh, I don't know...

For me, the last playable version of Nexuiz was 1.2.1.

1.5 was unplayable even with everything turned down or off, and with whatever the current version is, my framerate fluctuates anywhere between 10-200 fps all on the same map.

gareth

  • Posts: 710
  • Turrets: +38/-89
Re: The system trem uses to make maps
« Reply #9 on: November 15, 2006, 10:13:30 am »
Quote from: "DIGI_Byte"
how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.


nope. you have dynamic lights in q3, they just dont behave quite like the ones in q2.

Stof

  • Posts: 1343
  • Turrets: +1/-1
Re: The system trem uses to make maps
« Reply #10 on: November 15, 2006, 10:28:25 am »
Quote from: "gareth"
Quote from: "DIGI_Byte"
how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.


nope. you have dynamic lights in q3, they just dont behave quite like the ones in q2.

And considering how UGLY they were in quake 2, thank god for that!
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #11 on: November 15, 2006, 04:31:34 pm »
Didn't RTCW have those kinds of dynamic lights?

[db@]Megabite

  • Posts: 613
  • Turrets: +3/-0
    • http://www.tremulous.info
Re: The system trem uses to make maps
« Reply #12 on: November 15, 2006, 08:56:13 pm »
Quote from: "DIGI_Byte"
I think... [...]


Please stop trying. The only relevant features Quake2 and Half-Life (based on Quake1 enhanced with some Quake2 code) have:

1. OpenGL support
2. Mipmapping
3. colored lighting
4. dynamic lighting

Quake3 can do all of these plus some funky stuff like shaders and vertex animation.... -> http://en.wikipedia.org/wiki/Quake_III_Arena#Technology
But who needs that when engines 3+ years older are "better"!?

But wait, I am feedin that troll again... :(

Danny
url=http://www.tremulous.info][/url]


InfernoX347

  • Posts: 46
  • Turrets: +0/-0
Re: The system trem uses to make maps
« Reply #13 on: November 15, 2006, 10:44:07 pm »
Quote from: "DIGI_Byte"
I think using the Q3 engine was a mistake as it is a modified engine (great) with some of the guts ripped out.

The Half-life 1 engine and q2 engine both are old But the have emulated lights that are rendered on there spot how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.


Mappers can use something called SHADER LIGHTING, which makes lighting a billion times cooler.

I do agree though, light entities are craptacular

jal

  • Posts: 249
  • Turrets: +8/-7
The system trem uses to make maps
« Reply #14 on: November 15, 2006, 11:16:16 pm »
Quote from: "Odin"
Didn't RTCW have those kinds of dynamic lights?


It's called lightstyles (they aren't real lights, but different lightmaps created for the same surface for different light intensities), and yes, raven's format adds them to Q3 bsp. It's the same at RTCW, JKII, SOF2 and others. It can be emulated for Q3 using shaders (via Q3map2) but I wouldn't recomend it cause the faked system isn't very good (adds bloat and not always look as good as it should).

Maybe someone could implement raven's format load in trem, it isn't in the too hard side of things (QFusion loads them, the info can be found there).

rasz_pl

  • Guest
The system trem uses to make maps
« Reply #15 on: November 16, 2006, 12:18:21 am »
Quote from: "jal"
Quote from: "Odin"
Didn't RTCW have those kinds of dynamic lights?


It's called lightstyles (they aren't real lights, but different lightmaps created for the same surface for different light intensities), and yes, raven's format adds them to Q3 bsp. It's the same at RTCW, JKII, SOF2 and others. It can be emulated for Q3 using shaders (via Q3map2) but I wouldn't recomend it cause the faked system isn't very good (adds bloat and not always look as good as it should).

Maybe someone could implement raven's format load in trem, it isn't in the too hard side of things (QFusion loads them, the info can be found there).


1 why?
2 go for it, seriously, try to add some shit from evolution or xreal to ioq3

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #16 on: November 16, 2006, 12:30:13 am »
Just find out the differences between EvolutionQ3 and Tremulous sources and patch Tremulous with those differences.
Of course there'd be work involved in other areas as well, but that's basically how you'd do it.

rasz_pl

  • Guest
The system trem uses to make maps
« Reply #17 on: November 16, 2006, 12:44:30 am »
Quote from: "Odin"
Just find out the differences between EvolutionQ3 and Tremulous sources and patch Tremulous with those differences.
Of course there'd be work involved in other areas as well, but that's basically how you'd do it.


thank you captain obvious

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
The system trem uses to make maps
« Reply #18 on: November 16, 2006, 01:11:44 am »
Yea I'm no programmer.

Lava Croft

  • Guest
The system trem uses to make maps
« Reply #19 on: November 16, 2006, 02:04:01 am »
Why are you all even discussing this? It's like discussing wheter Santa Claus really exists or not; the outcome is totally irrelevant, and nothing is going to change anyway.

rasz_pl

  • Guest
The system trem uses to make maps
« Reply #20 on: November 16, 2006, 03:30:19 am »
Quote from: "Lava Croft"
Why are you all even discussing this? It's like discussing wheter Santa Claus really exists or not; the outcome is totally irrelevant, and nothing is going to change anyway.


not really, im going to look into those "math and renderer functions that take account the speed of SSE, Altivec, and 3dNow! CPU extensions."

DIGI_Byte

  • Posts: 508
  • Turrets: +5/-1
Re: The system trem uses to make maps
« Reply #21 on: November 21, 2006, 10:42:53 pm »
Quote from: "[db@
Megabite"]
Quote from: "DIGI_Byte"
I think... [...]


Please stop trying. The only relevant features Quake2 and Half-Life (based on Quake1 enhanced with some Quake2 code) have:

1. OpenGL support
2. Mipmapping
3. colored lighting
4. dynamic lighting

Quake3 can do all of these plus some funky stuff like shaders and vertex animation.... -> http://en.wikipedia.org/wiki/Quake_III_Arena#Technology
But who needs that when engines 3+ years older are "better"!?

But wait, I am feedin that troll again... :(

Danny


What do you know danny? STFU
all im saying the lighting in trem is limited i don't want fancy lighting in the game as stated earlier and when i was referring to the older games i was mearly pointing out that its not imposable for this engine, dynamic light could actually make this game better and offer more options for trem maps and also that might help in solving the models being highlighted in dark places. I say import a primitive dynamic lighting system without the fancy stuff.

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
Re: The system trem uses to make maps
« Reply #22 on: November 22, 2006, 12:31:09 am »
Quote from: "Stof"
Quote from: "gareth"
Quote from: "DIGI_Byte"
how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.


nope. you have dynamic lights in q3, they just dont behave quite like the ones in q2.

And considering how UGLY they were in quake 2, thank god for that!

I was pretty amazed by the way Trem can render a light *through* a texture and project it (amaaazing!!). But isn't this "dynamic lightining" recalculated every frame? As it lags considerably, perhaps there is a "better way"? A minor issue either way IMHO.

DIGI_Byte

  • Posts: 508
  • Turrets: +5/-1
Re: The system trem uses to make maps
« Reply #23 on: November 22, 2006, 01:00:48 am »
Quote from: "Risujin"
Quote from: "Stof"
Quote from: "gareth"
Quote from: "DIGI_Byte"
how ever in q3 this function was removed and all lighting is rendered during 'bsping' this in trem results in limited lighting capabilities in maps I would like timbo or others too add this.


nope. you have dynamic lights in q3, they just dont behave quite like the ones in q2.

And considering how UGLY they were in quake 2, thank god for that!

I was pretty amazed by the way Trem can render a light *through* a texture and project it (amaaazing!!). But isn't this "dynamic lightining" recalculated every frame? As it lags considerably, perhaps there is a "better way"? A minor issue either way IMHO.


the process of bsping and shadows.... well lets just say that this was fine for q3 arena (same engine different gameplay) back ontopic, the shadows that you see in trem are fake they are an optical illustion basically q3map2 paints a transparent map of the map that you make the wall is painted with the respective colour on the walls and it sits ontop of the textures.

if you understand any of the rubish i just said you should understand why the models seem highlighted.

jal

  • Posts: 249
  • Turrets: +8/-7
The system trem uses to make maps
« Reply #24 on: November 22, 2006, 09:31:12 am »
The models are always lighten up (can't hide in shadows) because they are forced to be. First, the maps seem to be compiled with pretty high ambient values, which gives global ilumination to them, and second, models probably have RF_MINLIGHT so they are never black. BTW, this is a very good thing in my opinion. Hiding in shadows in trem has no point. This isn't Thief4.

As for xreal's rendering. I don't see it desirable, specially with the huge amount of detail some maps have (porting it is as easy as linking a different lib). Q3 renderer fits perfect, imo.

Dersaidin

  • Posts: 58
  • Turrets: +0/-0
The system trem uses to make maps
« Reply #25 on: November 22, 2006, 11:23:58 am »
Quake 3 engine is awesome. Best engine ever imo.

Besides, I think dynamic lights are possible. I know in other Q3 based games (it appears) you can effect the lightmap by firing your gun and some other stuff.
But thats realy just a waste of CPU time.

rasz_pl

  • Guest
The system trem uses to make maps
« Reply #26 on: November 22, 2006, 02:38:00 pm »
Quote from: "Dersaidin"
Quake 3 engine is awesome. Best engine ever imo.


never played UT? UT mods can have HUGE open space maps that run >100FPS on CRAP computers and look good

and I mean the original 1999 UT
Too bad the engine is closed source :(((

Dj_Pong

  • Posts: 84
  • Turrets: +0/-1
The system trem uses to make maps
« Reply #27 on: November 22, 2006, 02:43:22 pm »
Quote from: "rasz_pl"
never played UT? UT mods can have HUGE open space maps that run >100FPS on CRAP computers and look good

and I mean the original 1999 UT
Too bad the engine is closed source :(((


Well i cant TOTALLY agree with that. I used to play SNIPER mod (maybe you know that one) Sniping/camping needs HUGE maps. Maybe because the creator f*cked up textures or something like that but TOO HUGE maps will cause FPS loss also ;)

But i must admit that UT gotty is a nice engine. Too bad the players look like crap lol)
img]http://img77.imageshack.us/img77/3550/slapneger7qc.gif[/img]

WolfWings ShadowFlight

  • Posts: 140
  • Turrets: +0/-0
Re: The system trem uses to make maps
« Reply #28 on: November 23, 2006, 02:35:08 pm »
Quote from: "DIGI_Byte"
What do you know danny? STFU
all im saying the lighting in trem is limited


How is the lightingin Tremulous limited?

You can (with q3map2) create:

Dynamic light effects. (Flickering strobes and the like.)
Normal-mapped lighting. (Apply a surface-texturing to a material, wooden bridges look much better, etc, etc.)
Feathered lighting. (Sunlight casts a sharper shadow from objects closer to the ground.)
Coloured transparency and filtering. (Stained-glass windows.)

Hell, Q3map2 can even lightmap and self-shadow models you put on the game-map.

So, how again, is Trem lighting limited except by mapper's imagination?
img]http://wolfwings.us/sigs/WolfWings.jpg[/img]

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Re: The system trem uses to make maps
« Reply #29 on: November 23, 2006, 11:05:08 pm »
Quote from: "WolfWings ShadowFlight"
So, how again, is Trem lighting limited except by mapper's imagination?


It's limited by the most important thing there is: mapper's skill :D
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.