[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/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 - Engoo

Engoo

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Re: Engoo

Postby leileilol » Tue Feb 26, 2013 2:29 am

in colored lighting modes

However i've done the reverse, if anyone ever needed to to get that pre-1.00 or glquake look.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby qbism » Wed Feb 27, 2013 3:15 am

lookup table generation process..................................................................not unsetttling......rather soothing.......

The colored lighting has come a long way. It looks a lot like FTESW 24-bit lights. I used the saturated autogenerated lits from MH's lighting tool on start and e1m1 and the greens and reds are surprisingly smooth.

Framerate was jerky with dynamic lights (grinding through mips) at MAX_FPS 72 but smooth at MAX_FPS 24.

Video mode selections were good, 360x200 especially. Did MGL figure that out somehow with my 16:9 fullscreen DosBox?

Model lighting blended well with map lighting. Smoothing out transitions would be an improvement. Monsters and vweps flicker suddenly when moving over small dark patches. It's more noticeable now because otherwise it's so nice.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Engoo

Postby leileilol » Wed Feb 27, 2013 3:27 am

DOS version doesn't use MGL, and Quake has always had those more unusual ModeX video modes like 360x200, 360x240, 320x480, etc


Also the reason why this is a dos build is because a win32 one would be more widespread. I'd like to fix some very annoying bugs regarding dynamic lights and the sprint function before release
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby qbism » Wed Feb 27, 2013 4:25 am

CRDM2
Image

Image

Image
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Engoo

Postby leileilol » Thu Feb 28, 2013 8:02 am

I have 16:9 support by startup parameter only (-169), and that's not perfect as it's just less vertical view.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby qbism » Thu Feb 28, 2013 6:06 pm

User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Engoo

Postby ceriux » Sat Mar 02, 2013 10:56 pm

i think that looks great. esp. with that map.
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Engoo

Postby leileilol » Tue Mar 05, 2013 1:01 pm

I've just implemented autosaving. It overrides the restart command if it knows it's autosaved, or if the user has saved, so there's more ease when restoring a saved game. Currently it only autosaves if you waste half the monsters on the level. Optional, and off by default. Just a little nicetie that I haven't seen often for Quake :)

Also
Image

Not Super8 based - i figured this out on my own. The performance hit isn't so hard (though my spans aren't optimized in C to begin with)

Unfortunately i've hit a wall - crashes when a particle draws in waterwarp on Windows (not DOS) so there's probably a stack overflow somewhere... happens regardless of fog so I doubt the fog feature contributed to the crash. Perhaps it's time for me to clean out all unused variables and warnings
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby leileilol » Thu Mar 07, 2013 10:21 am

Well um


I just beat my colored lighting functions to death


i mean optimized the hell out of them. Still no asm (yet *shudder*), it's in c


320x200, Dosbox 0.74 Pentium dynamic core @500,000 cycles, no sound, each benchmark ran three times and results averaged (yeah I should test on a real system but this will do for now):
Timedemo demo1
r228 : 70.6
r231 : 70.4
r233 : 74.4

Timedemo demo2
r228 : 80.4
r231 : 80.1
r233 : 84.4

Timedemo demo3
r228 : 65.9
r231 : 65.8
r233 : 70.0

Roughly a 10% gain, am I measuring that right?
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby taniwha » Thu Mar 07, 2013 12:26 pm

I get between 5% and 6% gain: 100 * (new - old)/old

Still, nothing to sneeze at, that's a very respectable gain.
Leave others their otherness.
http://quakeforge.net/
taniwha
 
Posts: 399
Joined: Thu Jan 14, 2010 7:11 am

Re: Engoo

Postby Spike » Thu Mar 07, 2013 1:29 pm

percentages are cumulative. :)
A 6% boost can be quite significant really.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Engoo

Postby leileilol » Fri Mar 08, 2013 12:26 am

I was almost thinking about surfacecache particles, like decals, writing single pixels to the surfacecache after the lighting so a red blood particle can splat flat on a wall, maybe even running down. The particle would still be there and processed by the wall, but just be turned invisible and written into the surfacecache instead, in which the spans afterward will keep drawing like normal.

like stainmaps, but with particles



And if anyone wants to, feel free to submit a patch to make Engoo work on a different platform (like Windows 3.1, Linux, Mac Classic, AROS, Wii, Gamecube, etc) I'll try my best to not regress them. I only debug in MSVC6, I compile in MSVC6 and DJGPP and getting from there to SDL+MinGW is a tad daunting to me.

Also, there's still a speed hit from colored dynamic lights with r_dynamic set to 0 so now i'm thinking it's something else causing a slowdown. RecursiveLightNodes?

Anyway, real P2 CPU tests:

DEMO1

r228- 41.8fps
r231- 41.6fps
r233- 42.7fps

DEMO2

r228- 47.2fps
r231- 47.0fps
r233- 48.2fps

DEMO3

r228- 41.0fps
r231- 40.9fps
r233- 42.1fps
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby Irritant » Sat Mar 09, 2013 5:41 pm

Wow, those screens look terrific. Very impressive.
http://red.planetarena.org - Alien Arena and the CRX engine
Irritant
 
Posts: 250
Joined: Mon May 19, 2008 2:54 pm
Location: Maryland

Re: Engoo

Postby leileilol » Sun Mar 10, 2013 2:34 pm

Fixed the dlight bug
Fixed the model interpolation unable to turn off bug
Fixed the fogged particles
Fixed the lit particles
Fixed the sticky particles (and made them sort of dissipate in the water, drip off ceilings (with SOUND), and run down walls)

Now i'm down to three annoying bugs:

- Numbers in notify area screw up in DOS
- Waterwarp crash in Windows
- Window stretch no work in Windows

also, I tried to recreate the lesser-known high-pressure blood spurt effect from Half-Life. Also in this screenshot is an additive blended muzzleflash hack.
Image

This mess really calls for stainparticles, like stainmaps but writing particles to surfacecache instead of lightmap, probably before the lightmap to have lit particles, or after it to skip lightmap updates and use a multiply blend. Think the snow in Midtown Madness. Does anybody get this idea?


also, . Since this works in DOS now, it's safe to make QSB map limits (not protocol limits) build by default.


Also I think R_MarkLights can be made much faster.


There's a rare crash in Quake where a sprite gets too close to the screen. That's been dealt with now. It can be triggered by turning waterwarp off, playing in hi-res and trying to swim into your bubbles.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Engoo

Postby Dr. Shadowborg » Thu Mar 14, 2013 4:27 am

Just checked out r_particleblood and now find myself wishing all engines had it. Its awesome. :D

Also, holy crap marcher fortress in SOFTWARE?! :shock:
User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1120
Joined: Sat Oct 16, 2004 3:34 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests