[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - lights in q3bsp

lights in q3bsp

Discuss the construction of maps and the tools to create maps for 3D games.

Moderator: InsideQC Admins

lights in q3bsp

Postby Nahuel » Tue Oct 11, 2011 9:12 pm

It is possible to add switcheable lights in a q3bsp? I do not speak of Dlights, or rtlights, i speak of the lights of q3bsp :?
I is possible ???
Thanks in advance :):)
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 495
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: lights in q3bsp

Postby Spike » Tue Oct 11, 2011 9:43 pm

q3bsp doesn't normally support lightstyles.
The only way you can do it is by using shaders with some time-based rgbgen/mod effect on them. no idea if q3map2 can generate such shaders automagically or not, though the light grid will be wrong.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: lights in q3bsp

Postby leileilol » Tue Oct 11, 2011 10:04 pm

the raven variation of q3bsp should support it somehow I think. Since you're doing it for darkplaces i'd suggest some rtlight entities for the job
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: lights in q3bsp

Postby qbism » Wed Oct 12, 2011 4:45 pm

qfusion supports lightstyles in q3bsp. There's a q3map2 switch, maybe -qfusion or -warsow. Seek out the map "ravendelux". Could also try it on DP to see what happens.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: lights in q3bsp

Postby goldenboy » Tue Nov 08, 2011 7:42 pm

qfusion or something like Warsow is looking like a better and better candidate to make my next game project in.

I like q3bsp, as a mapper, but the lack of lightstyles was a major letdown.

Hey, maybe I'll port RMQ's Episode 1 to q3bsp and some engine like qfusion (after Quake-based RMQ is done, of course), and edit its maps to make use of patches, q3 style shaders, volumetric fog etc. On top of that I could add radically new gameplay and from-scratch new enemies. Part of me fancies doing that. Like Shambler's Castle, only much more radical (not bogged down and pissed off by a "that's-not-Quake" worldview) and using expanded versions of these maps

http://spawnhost.wordpress.com/latest-e ... reenshots/

They'll be released under the GPL anyway...

Then again, if someone makes a nice crossplatform updated idtech 4 engine, I guess I'd love that, too. I'd love anything that has at least 2004-level graphics and proper lighting, brush-based maps with support for patches and loading .obj mapmodels (... and lighting them). Proper physics would also be nice.

Maybe someone would like to join me in making something like that... the largest part, which is mapping, would already be out of the way.

Oh well, daydreaming.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: lights in q3bsp

Postby gnounc » Tue Nov 08, 2011 8:57 pm

darkplaces has support for q3bsp, physics, and loads obj's. I'm not sure what constitutes proper lighting.
It is pretty though.

Oh darkplaces was already mentioned, and lits suggested. So I take that to mean not proper.
my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: lights in q3bsp

Postby goldenboy » Tue Nov 08, 2011 10:10 pm

Proper lighting would mean higher resolution lightmaps, or dynamic lighting (or a mixed lighting model). Also shadows for mapmodels.

DP runs these maps too slowly, unfortunately. But I haven't decided yet.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: lights in q3bsp

Postby Nahuel » Tue Nov 08, 2011 11:08 pm

hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 495
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: lights in q3bsp

Postby goldenboy » Wed Nov 09, 2011 2:44 am

If you can use QC, then you can use most script languages or C.

QFusion's latest release date seems to be February 2008 - wow, that's old. Doesn't look too good. Warsow is awesome, though.

CRX - my impression of Alien Arena is very good, but I haven't looked too closely at it. I intend to do a little survey for engines I could use sometime soon, though. It doesn't have to be QuakeC and it doesn't have to be Quake, it just has to do what I need, which is running large (pre-existing) brush based singleplayer maps fast and making them look good without too many complications. Basically I want to avoid having to screw with the engine at all.

It'll be some time until the release of the project I'm currently on, so I guess I'll wait and see what happens on the idtech4 front as well. An optimized community port of idtech4 would be awesome, but it might be overkill for such an indie game. I would probably prefer static lighting mostly, too. I have experience with lighting Doom 3 maps and it is a little complicated, not to mention expensive in terms of performance. Dynamic lights only where needed would be best, hence using both static and dynamic lighting.
User avatar
goldenboy
 
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel

Re: lights in q3bsp

Postby Nahuel » Wed Nov 09, 2011 10:40 am

It's very interesting what you say about id tech 4. I am also waiting for a job well done. Anyway, many modders will launch their versions with "more HD visuals" and more requirements. I believe that also I am not a "dependent quake" but I think if I am dependent of the *. bsp format. For example, if you're not too demanding you could use for example cube 2 engine. While this engine may seem too uncomfortable, for me it is.
hi, I am nahuel, I love quake and qc.
User avatar
Nahuel
 
Posts: 495
Joined: Wed Jan 12, 2011 8:42 pm
Location: mar del plata

Re: lights in q3bsp

Postby mh » Wed Nov 09, 2011 12:09 pm

My understanding of idTech 4 is that it needs to do a separate pass for each light that affects a surface. That would have been necessitated by the target hardware of the time; nowadays you'd collapse a certain number of lights (something like up to 8, but you could go higher if required) into a single pass, and do your normalization using shader math rather than a cubemap lookup. It's more expensive in terms of shader ops, but lighter on the CPU and involves less fillrate/overdraw. If you were prepared to raise the minimum spec somewhat then you could do a very efficient implementation of the lighting model.

More CPU load comes from it's animation system, which it seems to do on the CPU. That should be moved to the GPU. This would also allow for getting rid of a lot of dynamic vertex buffer updates, which, under the old GL_ARB_vertex_buffer_object model it uses, absolutely sucks (you really need GL_ARB_map_buffer_range to use dynamic vertex buffers efficiently in OpenGL). Again, it needs a raising of the minimum spec.

idTech4 uses GL_UNSIGNED_INT indexes which - on most target hardware of the time - would have actually punted the T&L stages of the pipeline back to software emulated. Ouch! (And still more CPU load - id engines do tend to be more CPU-heavy than is strictly necessary. Some day I'll write a rant about that.)

This is where it starts becoming difficult to balance the wishes of the community with the requirement to implement something in an efficient and flexible manner. I believe that the engine could quite easily go multiple times faster, but raising the GPU requirements to something that supports the hardware capabilities needed to actually do this is a pre-requisite. The old way is most definitely not the fastest, and maintaining backwards compatibility with hardware that so few people have anymore will hold you back from doing genuinely useful things. :evil: :evil: :evil:
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Re: lights in q3bsp

Postby Spike » Wed Nov 09, 2011 4:37 pm

.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: lights in q3bsp

Postby qbism » Wed Nov 09, 2011 6:12 pm

There are several mature multiplayer projects with modern lighting/mapping/engine features. But not as many single player options. DP and BerserkerQ2, what else? KMQ2 is not as advanced w/ graphics but is a powerful singleplayer modding base w/ Lazarus. Single-player monsters etc. would have to be worked into some of these advanced graphics engines, maybe like that Entities Plus project for Q3.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: lights in q3bsp

Postby andrewj » Fri Nov 11, 2011 3:49 am

andrewj
 
Posts: 133
Joined: Mon Aug 30, 2010 3:29 pm
Location: Australia

Re: lights in q3bsp

Postby mh » Thu Nov 24, 2011 3:23 am

The gauntlet has been picked up. ;)

viewtopic.php?f=9&t=3491&p=40603#p40603
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest