[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/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 - all in a day

all in a day

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

all in a day

Postby r00k » Thu Oct 30, 2014 4:37 am

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: all in a day

Postby Spike » Thu Oct 30, 2014 9:57 am

sunlight is actually kinda awkward really. at least shadowmapped ones. logically the light needs to be an infiniteish distance away, with infinite radius. of course, computers don't do infinite, which results in some really nasty precision issues if you try doing sunlight with some generic rtlight.
the solution, then, is to constrain the near+far planes of your light to either contain the frustum (or part of it if you're using some weird multi-shadowmap approach), or it need to contain the entire map (nearest point to furthest). but in doing so, you ensure that only one shadow axis needs rendering instead of 6.
neither fte nor dp actually support such special-case lights.
a dynamic light can be added using ef_fulldynamic/pflags stuff (api derived from tenebrae). this will allow you to move an rtlight dynamically. you can also change the intensity with it too. expect problems with lights needing to be nearer than the sky.

if you want it to work in any engine, you can just use lightstyle creatively to change lighting over time. By using separate morning/evening lights that are changing indepndantly, it should be vaugely possible to at least partly hide the fact that its not actually moving. You'll also need a light util that can cope with multiple suns with independant lightstyles.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: all in a day

Postby Cobalt » Fri Oct 31, 2014 5:15 pm

Thats a good idea. I was wondering the same thing late last night. The ID maps that are completely underground, like DM1 for example, the light more or less ought to be depending on the wall torches. I mean it ought to be REALLY dark on those maps. There are other maps like E2M7 where a segment is outdoors, and most of the rest is underground. Why not "bake" sunlight into the skyboxes, and let them do the lighting for the outdoors stuff? One issue I see would be establishing the 'orbit' of the light ent(s) representing the SUN or for base style outerworld maps, the moons or other interstallar bodies the map designers would comeup with.

Heres something I did as an experiment one day with a sprite that was like a corona and the normal light globe which was nodepthtest and scaled using DP:

Image

Another thought, if you take a map like EFDM12 by Electric fish, its a base map where you can step outside into space. How could you alter the gravity so it becomes a space walk? Would maybe a BIG trigger field encompassing the area covering the space area and some clever QC d it?


[quote="Spike"
if you want it to work in any engine, you can just use lightstyle creatively to change lighting over time. By using separate morning/evening lights that are changing indepndantly, it should be vaugely possible to at least partly hide the fact that its not actually moving. You'll also need a light util that can cope with multiple suns with independant lightstyles.[/quote]
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: all in a day

Postby frag.machine » Fri Oct 31, 2014 7:58 pm

I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2120
Joined: Sat Nov 25, 2006 1:49 pm

Re: all in a day

Postby Cobalt » Sun Nov 02, 2014 4:16 pm

User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: all in a day

Postby toneddu2000 » Sun Nov 02, 2014 4:37 pm

. Made by BloodOmnicide team in DP. I guess it's all quakec and GLSL. But I might be wrong (it happens all the time! :D )
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: all in a day

Postby Baker » Sun Nov 02, 2014 10:52 pm

That video is awesome.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: all in a day

Postby toneddu2000 » Sun Nov 02, 2014 11:38 pm

yep, unfortunately Old source code is not on icculus repo anymore... :(
- my first commercial game, made with FTEQW game engine
toneddu2000
 
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: all in a day

Postby Spirit » Mon Nov 03, 2014 11:27 am

What a gorgeous log: http://omnicide.legacy-of-kain.ru/en/dev/svnlog.html

They have a detailed wiki at http://omnicide.legacy-of-kain.ru/w/index.php/Main_Page and seem active, why not ask them? Also you can get old revisions out of SVN, have you tried that?
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1037
Joined: Sat Nov 20, 2004 9:00 pm

Re: all in a day

Postby gnounc » Mon Nov 03, 2014 3:47 pm

baaaaaaagh, dont remind me of omnicide. im highly anticipating that game.

Also, Cobalt, fte has a gravity direction field, so you can fall up. or to the right.
Another quick mockup mod i want to do is a deadspace-like mod

Sooo many things to get to, dhl needs to hurry up with my graphics card
my
gnounc's
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Re: all in a day

Postby r00k » Mon Nov 03, 2014 6:58 pm

r00k
 
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests