Demon
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 > zdoom sky vs gzdoom sky (271+254 actions)
Pages (2): [1] 2 »  
Author
All times are GMT. The time now is 20:54. Post New Thread    Post A Reply
entryway
Forum Staple


Posts: 2522
Registered: 01-04


Check this wad with gzdoom and zdoom.

http://prboom-plus.sf.net/zdoom_sky.zip

Why behavior is so different??

Old Post 11-11-09 17:15 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 6458
Registered: 07-07


Which is meant to be the proper behavior? Eternity gives the same result as GZDoom, by the way.

Old Post 11-11-09 17:46 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04



Gez said:
Which is meant to be the proper behavior? Eternity gives the same result as GZDoom, by the way.

GZDoom's behavior is correct IMO. PrBoom/GlBoom work in the same way.

Old Post 11-11-09 17:54 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


Interesting.

The formula for MBF-type sky scrolling is one of the last remnants of the PrBoom roots of my code.

The oldest ZDoom version I could test is 2.0.63a which also has this bug.

Old Post 11-11-09 18:01 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04


It is so hard to make wad compatible with just prboom/glboom and zdoom/gzdoom. Almost impossible :( Every fucking thing works differently with every fucking version. Shit with zdoom, but cool with gzdoom; cool with gzdoom, but shit with glboom-plus; cool with both gzdoom and glboom/prboom - shit with zdoom :(

The only way to have correct behavior and avoid WTF comments is adding supported ports with needed settings... :(

Last edited by entryway on 11-11-09 at 18:36

Old Post 11-11-09 18:13 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


This is a bug and I already reported it to the person who needs to fix it. Apparently it got never ever tested because nobody has used it yet.

Old Post 11-11-09 18:34 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04



Graf Zahl said:
This is a bug and I already reported it to the person who needs to fix it. Apparently it got never ever tested because nobody has used it yet.


Another cool example. Try with zdoom and gzdoom.

http://prboom-plus.sf.net/zdoom_sky2.zip

Bug is in gzdoom this time

Old Post 11-11-09 22:45 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 6458
Registered: 07-07


Interestingly, Eternity gives a result that is different from both.

ZDoom: I can see "RAN" out the window, everything else in the sky is blank white.
GZDoom: I can see "GRAF" and a mirrored RA if I hug the window and look to the left.
Eternity: I can see "RANDY" in full, and a mirrored GRA when looking to the left as above.

Old Post 11-11-09 23:03 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04


no difference between 271 and 272 in gzdoom

must be something like that in gl_skydome.cpp
fz = TO_GL((skyflip ? z : -z));

Last edited by entryway on 11-11-09 at 23:15

Old Post 11-11-09 23:05 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


Already fixed. It was indeed completely missing from the sky rendering code.

But there's still a coordinate discrepancy between ZDoom and the other ports. Something in the setup also isn't completely correct.

Old Post 11-11-09 23:18 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Kate
Junior Member


Posts: 102
Registered: 09-02



Gez said:
ZDoom: I can see "RAN" out the window, everything else in the sky is blank white.
Eternity: I can see "RANDY" in full, and a mirrored GRA when looking to the left as above.

That only happens if you have sky stretch on - that's because ZDoom is stretching it on both the X and Y axes, while Eternity is only stretching it on the Y axis, leaving the X axis alone. I get identical results in ZDoom and EE if I turn sky stretch off.

Old Post 11-12-09 02:02 #
Kate is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4484
Registered: 08-00


EE's sky stretch algorithm originated from SMMU, and only does what's necessary to actually cover the vertical space created by the ability to look up and down. I assume that also stretching on the horizontal axis is some kind of aesthetic decision in ZDoom, since it is not required from a technical standpoint.

Old Post 11-12-09 04:48 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


It's to preserve the aspect ratio. Which doesn't change the fact that it's ugly.

Old Post 11-12-09 06:50 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
arrrgh
Member


Posts: 400
Registered: 04-09



Quasar said:
EE's sky stretch algorithm originated from SMMU, and only does what's necessary to actually cover the vertical space created by the ability to look up and down. I assume that also stretching on the horizontal axis is some kind of aesthetic decision in ZDoom, since it is not required from a technical standpoint.

Is there a way to disable screen stretching in Eternity? Maybe I'm just dumb and can't find the option but I never mouselook and the stretching looks hideous.

Old Post 11-12-09 07:22 #
arrrgh is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04



Graf Zahl said:
It's to preserve the aspect ratio. Which doesn't change the fact that it's ugly.

Yes, stretching is shit and should be removed from zdoom too and replaced with something GL has


arrrgh said:
Is there a way to disable screen stretching in Eternity? Maybe I'm just dumb and can't find the option but I never mouselook and the stretching looks hideous.

There is config variable and even GUI setting IIRC, but both methods are shit

With mlook you will have something like that
http://prboom-plus.sourceforge.net/...1111_143627.png
or that
http://prboom-plus.sourceforge.net/...1111_172112.png
instead of that
http://prboom-plus.sourceforge.net/...1111_143609.png

I am happy gzdoom and glboom-plus do not use stretching at all any more

Last edited by entryway on 11-12-09 at 08:44

Old Post 11-12-09 08:30 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
a ghost... only grey


Posts: 5188
Registered: 01-08



arrrgh said:

Is there a way to disable screen stretching in Eternity? Maybe I'm just dumb and can't find the option but I never mouselook and the stretching looks hideous.

Yes & no comment. Mouse Options - page down.

Old Post 11-12-09 11:13 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3823
Registered: 03-04



GreyGhost said:
Yes & no comment. Mouse Options - page down.


That's one of the things I've always had to remind myself in EE - I always expect things like sky stretching to be in display options or something similar. But putting it in mouse options seems to make sense from a programmer's standpoint, so whatever.

Old Post 11-12-09 18:47 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3823
Registered: 03-04



entryway said:

Yes, stretching is shit and should be removed from zdoom too and replaced with something GL has


There is config variable and even GUI setting IIRC, but both methods are shit
I am happy gzdoom and glboom-plus do not use stretching at all any more



I may be the only one, but *not* stretching can look just as shitty as stretching! for example, in prboom-plus, the sky cuts of abruptly; there is no smooth transition in the skybox(at least on my machine)

Old Post 11-17-09 20:28 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Patrick
someone employed to clean and maintain a building


Posts: 2005
Registered: 02-07


* sigh * the fact of the matter is that Doom was not intended for mouselooking. Someone (I?) should make some nice cubemaps or full 3D skyboxes that replicate the ones from Doom and Doom II for ports that can support it.

Actually, on that note, which ports do support cubemap skyboxes?

Old Post 11-17-09 21:35 #
Patrick is offline Profile || Blog || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 5536
Registered: 12-00


GZDoom and Risen3D for definite. Not sure about any others.

Old Post 11-17-09 21:48 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03


Vavoom as well.

Old Post 11-17-09 21:49 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Patrick
someone employed to clean and maintain a building


Posts: 2005
Registered: 02-07


ok ... Vavoom, GZDoom and Risen3D. Correct me if I'm wrong, but I thought glBoom and Doomsday could support them as well? What about ZDoomGL? I only ask because recently I've found that the way most Doom ports handle skies is to stretch them or add some unsightly 'smudge' effect at the top, which looks ugly IMO. I figure if I make some cubemap skyboxes for ports that support it, maybe we can cut down on the ugliness.

Old Post 11-17-09 23:19 #
Patrick is offline Profile || Blog || Search || Add Buddy IP || Edit/Delete || Quote
DaniJ
Senior Member


Posts: 1691
Registered: 08-03


Skyboxes can be achieved in Doomsday using the skymodel features but it does not currently support automatically creating a skybox from a cubemap texture.

The skymodel features have been in the engine for many years now and there are quite a few different interpretations of the of the IWAD original skies to choose from.

Old Post 11-18-09 00:44 #
DaniJ is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3823
Registered: 03-04



Patrick said:
* sigh * the fact of the matter is that Doom was not intended for mouselooking.


Yet the games spun off the doom engine *are* intended for mouselooking. how do *they* handle it? Taller skies? Then that's how to fix it. Is it possible to edit the original [final]doom[2] skies to make them fit the mouselooking range of software engines?

Old Post 11-18-09 01:58 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
Cumulonimbus Antagonistic Posting


Posts: 5153
Registered: 01-02



Csonicgo said:


Yet the games spun off the doom engine *are* intended for mouselooking. how do *they* handle it? Taller skies? Then that's how to fix it. Is it possible to edit the original [final]doom[2] skies to make them fit the mouselooking range of software engines?


Well, yeah, and it's been done several times by different people, but considering the billions of PWADs with custom skies that's not really a solution.

__________________
Released: Seventeen More Times (album) - Listen free online! | Vaporware Demo | SpaceDM9 | A Terrible Flood (album) | SpaceDM5 | Greenwar 2 | 32in24 series | Claust1024 | Testing Facility
In Progress: Vaporware | KDiKDiZD | TSoZD | ???
Resources: EDF Monster Library | Mapping Tips | CC4-tex | EsselTX

Old Post 11-18-09 02:34 #
esselfortium is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
andrewj
Senior Member


Posts: 1344
Registered: 04-02



Patrick said:
Someone (I?) should make some nice cubemaps or full 3D skyboxes that replicate the ones from Doom and Doom II for ports that can support it.

Absolutely.

To make them work as transparently as possible, I suggest the source port computes a hash of the sky image, and looks up that hash in some text lump to determine which skybox to use. This allows custom skies to work properly.

EDGE supports six-sided skyboxes too.

Old Post 11-18-09 04:26 #
andrewj 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: 6963
Registered: 01-03



Patrick said:
glBoom and Doomsday could support them as well?



Code for this is readily available from several sources so sure, they could easily add it. This feature cost me an hour or 2 when I first implemented it.



[B]What about ZDoomGL?




That port is dead. Timmie hasn't worked on it for years and he seems to have disappeared so there's nothing to expect here.

For what it's worth the last version still had serious performance issues on larger maps and wasn't really usable.



I only ask because recently I've found that the way most Doom ports handle skies is to stretch them or add some unsightly 'smudge' effect at the top, which looks ugly IMO. I figure if I make some cubemap skyboxes for ports that support it, maybe we can cut down on the ugliness.



Even if you made such skies, they'd still not be the same as the originals meaning that many people won't use them.

Old Post 11-18-09 06:39 #
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: 6458
Registered: 07-07



Patrick said:
Someone (I?) should make some nice cubemaps or full 3D skyboxes that replicate the ones from Doom and Doom II for ports that can support it.

Ultimate Doom (4 skies), Doom II (+3 =7), TNT (+3 =10), Plutonia (+3 =13), Heretic (3 +3=16), Hexen (+6 skies not counting the two sky walls = 22), Chex Quest (3 skies total +3=25), HacX (+3 =28), the Master Levels (hey, they're official) and most popular megawads (+a lot = a freakin' lot)...


Graf Zahl said:
That port is dead. Timmie hasn't worked on it for years and he seems to have disappeared so there's nothing to expect here.

And even if he's back tomorrow, he's not going to work on it anymore since the last news was that he had started a total rewrite from scratch; presumably that's what he'd want to continue.

Old Post 11-18-09 09:31 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6963
Registered: 01-03



Gez said:

Ultimate Doom (4 skies), Doom II (+3 =7), TNT (+3 =10), Plutonia (+3 =13), Heretic (3 +3=16), Hexen (+6 skies not counting the two sky walls = 22), Chex Quest (3 skies total +3=25), HacX (+3 =28), the Master Levels (hey, they're official) and most popular megawads (+a lot = a freakin' lot)...




Even if the sheer amount wasn't a problem let's not forget one other factor:

The sky images (especially Doom1's first 3 skies) are so iconic that replacing them with something similar but not the same is not a solution.

Old Post 11-18-09 09:59 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04



Graf Zahl said:
Code for this is readily available from several sources so sure, they could easily add it. This feature cost me an hour or 2 when I first implemented it.

Cubemap costs about 15 minutes of work I think, but it needs additional lump and I do not want to think about and parse

Old Post 11-18-09 10:05 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 20:54. Post New Thread    Post A Reply
Pages (2): [1] 2 »  
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > zdoom sky vs gzdoom sky (271+254 actions)

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.

Forums Directory