[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 - Quake2 ports with focus on the software renderer?

Quake2 ports with focus on the software renderer?

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

Moderator: InsideQC Admins

Quake2 ports with focus on the software renderer?

Postby JasonX » Tue Feb 18, 2014 9:52 pm

Aside from qfusion, do you guys know any other Q2 ports focused on the Software Renderer?
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Quake2 ports with focus on the software renderer?

Postby leileilol » Tue Feb 18, 2014 11:33 pm

Nope.

I was going to enhance ref_soft as a contribution to r1q2 but there wasn't any interest. All I did was get software colored lighting working.

Image

Unfortunately due to how Q2BSPs are made and how the gamecode works, there isn't that much room for porting Engoo features over to Q2. No special bobbing, no autosaving, no enhanced model lighting because light entities are left behind in compiling...


Also this colored lighting attempt isn't identical to Engoo - I had to do some shifting and gammaing to get it 'on level' with a 3dfxgl player since they had high gammas, that and quake2 doesn't have a lot of dark shades in its palette.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Mon Feb 24, 2014 4:16 am

FTE rendered Q2 in software way back. IIRC last version was in 2008.

Fake software rendering, simulated with Berserker Q2 set to gl_nearest and low resolution. So this is actually hardware rendered just to be clear.
Image
Last edited by qbism on Sun Jun 22, 2014 11:01 pm, edited 1 time in total.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Thu Apr 24, 2014 2:01 pm

AROS Q2 has a few ref_soft improvements [url]bszili.morphos.me[/url] including waterwarp aspect correction and dithered texture smoothing. Although not implemented, the code implies there's a stereo3D ref_soft somewhere on the internet, and that a version of Q2max has ref_soft enhancements like (one of my favs) stainmap. Although stainmap and perhaps some others can also be seen in FTEQW software engine.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Sat Apr 26, 2014 8:08 pm

Engine work in-progress, showing SMD mod.
Image

Image
[edit: fix image links}
Last edited by qbism on Sun Jun 22, 2014 11:04 pm, edited 1 time in total.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake2 ports with focus on the software renderer?

Postby leileilol » Sun Apr 27, 2014 2:54 am

Unfortunately Q2's palette really fringes with overbright colored lighting. Try shifting the lightmap down to the "QUAKE2 TOO DARK!!!" levels.


Also, you might get an inspiration from SIN's software renderer. That had map-only colored lighting, but it also utilized per-level palettes with per-level color lookup tables for it. All the textures (including 2D) get converted to the level's palette on the fly (leading to some infamously long loading times)
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Quake2 ports with focus on the software renderer?

Postby jitspoe » Sun Apr 27, 2014 4:23 am


jitspoe
 
Posts: 217
Joined: Mon Jan 17, 2005 5:27 am

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Sun Apr 27, 2014 6:09 am

The fact that gamma was turned way up for the screenshot doesn't improve the appearance. But colors in dim areas always fall back to the same few dark greens and dark reds. It may be a benefit to increase minimum ambient light and/or reduce saturation of colored light at load time (perhaps with a cvar). Or increase sensitivity to color differences when building the table, cubed distortion rather than squared.
Per-map palette loading makes sense but probably, yeah, would avoid remapping every texture.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake2 ports with focus on the software renderer?

Postby Spike » Sun Apr 27, 2014 6:15 am

regarding gamma, would it not be possible to factor the gamma values into your blends? might seem less extreme that way.
.
Spike
 
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Sun Apr 27, 2014 7:21 am

Last edited by qbism on Sun Jun 22, 2014 11:06 pm, edited 1 time in total.
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Re: Quake2 ports with focus on the software renderer?

Postby qbism » Sun Apr 27, 2014 7:39 am

...here's a ref_gl (hardware opengl) render for comparison. Texturemode = gl_nearest. This screenshot was brightened to get closer to the (non-adjusted) ref_soft screenshot above.
Image
User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 2 guests