r_detail removed?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Coon
Posts: 147
Joined: Mon Jul 14, 2008 7:42 am

r_detail removed?

Post by Coon »

"Removed all the pixel doubling r_detail modes, since the one platform they were intended to assist (486) actually sees very little benefit from them"
Very little benefit is still better than no benefit at all so I'd really like to know if there's a reason for it's removal other than "I don't use it".
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: r_detail removed?

Post by TheDarkArchon »

It had no effect at all and all it did was bloat the exe.
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: r_detail removed?

Post by leileilol »

It had benefit on Pentiums however (particularily when using resolutions such as 400x300 and 512x384 to fit some 800x600/1024x768 native resolutions on laptop computers.)
Don't remove them. The 486's fps bottleneck was from zdoom's sound processing (even at 11khz without interpolation). Optimize that first before judging that r_detail does nothing.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r_detail removed?

Post by Graf Zahl »

r_detail is gone - and I think that's fine.

Regarding sound, since ZDoom uses FMOD there's nothing to optimize.
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: r_detail removed?

Post by leileilol »

Graf Zahl wrote:r_detail is gone - and I think that's fine.
Yes it's fine to SCREW OVER THE USERS WHO PLAY DOOM ON OLD MACHINES because they should BUY SOME STUPID PENTIUM 4 FOR PLAYING A 15 YEAR OLD IWAD
User avatar
Coon
Posts: 147
Joined: Mon Jul 14, 2008 7:42 am

Re: r_detail removed?

Post by Coon »

So where do you stand Graf, it offered very little benefit or no benefit at all?
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: r_detail removed?

Post by randi »

leileilol wrote:It had benefit on Pentiums however (particularily when using resolutions such as 400x300 and 512x384 to fit some 800x600/1024x768 native resolutions on laptop computers.)
That being the case, it should be more worthwhile to add a mode that performs the pixel doubling as the final step than to reinstate r_detail. The old code would draw the game view at normal size in a corner of the view window, stretch that to fill the entire view window, and then copy the whole image to video memory. Stretching it at the same time it copies it to the screen ought to be markedly faster (possibly even "for free" depending on I/O bottlenecks), and can be done without touching the renderer.
leileilol wrote:BUY SOME STUPID PENTIUM 4 FOR PLAYING A 15 YEAR OLD IWAD
The oldest machine I ever developed ZDoom on was a 166 MHz K6.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: r_detail removed?

Post by phi108 »

So could there be a new way to play in 320x200 / 640x400 on a 1280x800 screen, for those with weird video drivers? And would it be D3d, or both D3d and DDraw?
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: r_detail removed?

Post by leileilol »

phi108 wrote:And would it be D3d, or both D3d and DDraw?
i'd rather not be faced with awful direct3d dependency especially since you can not install DX8/9 on a 486.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: r_detail removed?

Post by phi108 »

Also, I wonder if ....tripling could be considered? Because playing in 1280x720 (basically 960x720 with some widescreen), doubling distorts hud graphics/guns. Tripling would make hud stuff look perfect.
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: r_detail removed?

Post by leileilol »

phi108 wrote:Tripling would make hud stuff look perfect.
Not really. It'll still be distorted. What you want to do is play in 1280x800 for real tripling.
User avatar
phi108
Posts: 976
Joined: Sat Dec 01, 2007 6:28 pm

Re: r_detail removed?

Post by phi108 »

Quadrupling in 1280x800 would get it back to 320x200. Tripling in 960x720 (1280x720 widescreen) would make it look like 320x240, with graphics taller than 320x200, the way doom is "supposed to look".
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: r_detail removed?

Post by leileilol »

phi108 wrote:Quadrupling in 1280x800 would get it back to 320x200. Tripling in 960x720 (1280x720 widescreen) would make it look like 320x240, with graphics taller than 320x200, the way doom is "supposed to look".
Well on an LCD, you'll never avoid pixel distortion if you intend to do that on a wide screen.
Wagi
Posts: 98
Joined: Sat Mar 01, 2008 2:12 pm

Re: r_detail removed?

Post by Wagi »

I don't think you realize the performance gain that you get when using that in areas that have heavy use of translucent walls/sprites.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: r_detail removed?

Post by TheDarkArchon »

Wagi wrote:I don't think you realize the performance gain that you get when using that in areas that have heavy use of translucent walls/sprites.
Uh, look at the date of the post above yours.
Post Reply

Return to “General”