Doom Marine
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Automap rendering in GZDoom
 
Author
All times are GMT. The time now is 19:03. Post New Thread    Post A Reply
eiUACei
Warming Up


Posts: 19
Registered: 06-11


For some reason there is absolutely no antialiasing in OpenGL automap in GZDoom. Both lines are polygon edges are aliased. But there is line antialiasing in software renderer's automap. And even more strange, there is antialiasing in OpenGL renderer's normal game view! How do I turn on line antialiasing in OpenGL renderer's automap?

Also, textures automap looks worse in OpenGL because textures are darker. Here's an example from Combat Shock that basically sums the differencies between renderers. Software is on the left.

http://s19.postimage.org/n6gg14gqn/cshock02_am_sw.pnghttp://s19.postimage.org/i6izt6b3z/cshock02_am_gl.png

Not only blood, but look at wood and metal. OpenGL screenshot without mipmapping for fair comprasion.

It seems like both renderers get the texture brightness like if you were viewing a texture point-blank and since nearby textures light up way more in software renderer than in OpenGL renderer, the automap looks better. How do I make textures in OpenGL automap brighter without altering normal game view?

Old Post 06-23-12 18:54 #
eiUACei is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7735
Registered: 01-03


None of this can be changed. The problem I had with line antialiasing in GL is that it looked totally smeared so I disabled it.

The lighting differences come from the way this is calculated. The software renderer uses its internal tables to calculate brightness. The GL renderer does not uses them, in fact it cannot use them, so it uses its own lighting calculations for the 3D view which are slightly different.

Old Post 06-23-12 20:17 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2729
Registered: 01-04



Graf Zahl said:
None of this can be changed. The problem I had with line antialiasing in GL is that it looked totally smeared so I disabled it

Looks good for me in most cases

http://prboom-plus.sf.net/automap1.gif

http://prboom-plus.sf.net/automap2.gif

Old Post 06-23-12 22:20 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
eiUACei
Warming Up


Posts: 19
Registered: 06-11



Graf Zahl said:
The problem I had with line antialiasing in GL is that it looked totally smeared so I disabled it.


But SLADE uses hardware antialiasing and looks good. Doom Builder 2 uses hardware antialiasing and looks good. Heck, even my own stupid OpenGL map viewer uses hardware antialiasing and looks good if I make lines a bit bolder. How is GZDoom automap different?
BTW I remember that an old Skulltag version had automap antialiasing in OpenGL renderer while current GZDoom version at that time didn't.


Graf Zahl said:

The lighting differences come from the way this is calculated. The software renderer uses its internal tables to calculate brightness. The GL renderer does not uses them, in fact it cannot use them, so it uses its own lighting calculations for the 3D view which are slightly different.


And why does software automap use tables that are brighter than the sectors really are? Is it intentional to make textured automap look better? And isn't it possible to brighten up textures on OpenGL automap?

Old Post 06-23-12 22:34 #
eiUACei is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7735
Registered: 01-03



eiUACei said:

And why does software automap use tables that are brighter than the sectors really are? Is it intentional to make textured automap look better? And isn't it possible to brighten up textures on OpenGL automap?




I have no idea what precisely the software renderer does. The GL renderer uses the light levels 1:1 and just because you don't happen to like it won't mean that it's going to change.

Old Post 06-23-12 22:42 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11114
Registered: 07-07


Is it possible that the smeared look was a local issue (poor hardware/driver at the time)? If it's just changing a parameter or two in a couple of function calls, it'd be worth it to make it an option.

Old Post 06-23-12 22:51 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7735
Registered: 01-03


Possible. That was years ago and I never revisited the code since then because the missing antialiasing doesn't really bother me.

It's only adding one line of code to re-enable it.

Old Post 06-23-12 22:57 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
tempun
Member


Posts: 597
Registered: 08-09



entryway said:
Looks good for me in most cases
I'd like the lines to be thinner, is there a config setting for it?

Old Post 06-25-12 09:03 #
tempun is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6381
Registered: 12-00



entryway said:
Looks good for me in most cases

The MAP01 shot looks fine (but no better IMO). The Vracky one looks quite "smeary" to me and not as good as the non anti-aliased version IMO.

Old Post 06-25-12 23:18 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 19:03. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Automap rendering in GZDoom

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.