pouët.net

Doomsday by Complex - win32 port

category: general [glöplog]
Sooo, there is now a win32 port of Doomsday by Complex and I thought it deserves its own topic. Not only because Superporter G was too shy to do it himself, but because while it is already awesome, it's not perfect.

There is something off with the colors of the imagezoomer parts and we couldn't figure out what. The original video version has much more consistent colors, while the port kinda looks like a colorful acid remix, with more green bits and kinda darker/grittier, as if there would be an additive layer missing or an extra multiplicative layer added to it.

Tried to play around with the shader by editing the color3x3.psh file, and while it does change things around, finding the right combination of mul/add/etc seems hard... IF there is a right combination that comes from editing that shader even. According to jmagic the final hours before the xbox release were kinda hectic so this could be a slightly modified shader compared to what the video grab was done with. OR it could be some entirely different issue with blending modes working differently on Xbox or whatever...

Anyway, if people are up for some community debugging to get to the bottom of this, that'd be great :)

Sources:
https://github.com/jarnoh/doomsday
https://github.com/Gargaj/doomsday-w32
added on the 2013-09-29 21:13:44 by zoom zoom
Great work! Glad to be able to watch one of my favourite demos ever in realtime instead of a bad quality Youtube vid.

As for bugs, it looked like a couple of the fractal zooming bits (especially near the beginning) featured occasional empty frames in places of the fractal textures.. Or was this an issue with my PC/drivers?
added on the 2013-09-29 21:29:35 by break break
Quote:
As for bugs, it looked like a couple of the fractal zooming bits (especially near the beginning) featured occasional empty frames in places of the fractal textures.. Or was this an issue with my PC/drivers?


Yeah I have those too, but that could also happen due to the same color/blending issues that offsets the colors. (e.g. a layer intended to be additive gets some multiplicative blend and as such becomes a black plane with holes in it)
added on the 2013-09-29 21:35:57 by zoom zoom
I don't think it's a shader issue (all the shader does is a base transform in color space), I think it's a data issue. I fiddled around with it but I couldn't really figure out what the bug was, and it KINDOF looks like the original.
added on the 2013-09-30 02:24:30 by Gargaj Gargaj
Complete guess here, but have you checked alpha pre-multiplication? That can really mess up colours when there's any kind of blending, and it's the kind of thing that might get changed when it's ported from console to desktop.

Apart from that, how portable is this to other platforms? Would love to watch it realtime, don't have windows, so it might be worth a quick look :)
added on the 2013-09-30 05:56:23 by psonice psonice
The colours get messed up even without blending - the effect itself relies on HSV rotation and that's the thing that doesn't seem to work out.

As far as portability, the source is there - straight up D3D. Might possibly work from Wine as well.
added on the 2013-09-30 08:28:09 by Gargaj Gargaj
D3D -> GL, unlikely to be a quick port then. Maybe when i have spare time (it joins the end of a long list of stuff to do if that happens :) Will give it a go in a vm.
added on the 2013-09-30 10:15:25 by psonice psonice
omg, now i can have a look at the source code of one of my favourite demos ever!! :) props to jmagic & gargaj
added on the 2013-09-30 10:30:12 by arm1n arm1n
Gargaj: is this demo using sRGB targets/textures? I recall XBox had them quite messed up and used piecewise linear approximation.
added on the 2013-09-30 11:41:12 by KK KK
KK: that was the 360.
added on the 2013-09-30 11:57:34 by kb_ kb_
Sweet ass fractals and bukowskian scenerphotos, what's not to love. I've watched this many times on my old modded XBOX. Even better with higher resolutions.
added on the 2013-09-30 12:06:20 by visy visy
Thanks for porting tht Demo. I would probbly have never gotten it to work on real HW....
added on the 2013-09-30 12:15:19 by Exin Exin
So um, in a somewhat related question, now that the name "Xbox One" is taken, how the hell are we supposed to call the first Xbox? "Xbox Classic"?
added on the 2013-09-30 13:12:45 by Gargaj Gargaj
How about "Xbox"?
added on the 2013-09-30 13:14:15 by gloom gloom
Which one?
added on the 2013-09-30 13:15:16 by Gargaj Gargaj
Well, it was called Xbox..
added on the 2013-09-30 13:18:08 by Preacher Preacher
So was the 2nd one, the 360, and the 3rd one, the first One.
added on the 2013-09-30 13:28:27 by psonice psonice
Thanks for the port, works great. How about porting this one, the (imho) better companion piece, which is also Xbox only? Of course, depending on the availability of the source and whatnot. :)

And yes, Xbox, no change needed.
added on the 2013-09-30 13:32:29 by tomaes tomaes
Not that interested, you can have that one.
added on the 2013-09-30 13:36:37 by Gargaj Gargaj
Gargaj: If I'd do it, it would take ages and suck/break a lot of stuff. You seem to be very fast/proficient with porting this kind of stuff, so that's why I asked.
added on the 2013-09-30 13:47:25 by tomaes tomaes
Is there even a binary for Complex by Doomsday?
added on the 2013-09-30 19:07:58 by xernobyl xernobyl
linky Testing new cap card.
added on the 2013-09-30 20:23:39 by oasiz oasiz
xrl/tomaes: well jmagic says no binary AND no sources so problem solved.. :/
added on the 2013-09-30 20:54:00 by Gargaj Gargaj
Never had a chance to see this demo before. Thanks you for this port ! It is also amaziing to see how good this intro runs, even on low end hardware like the laptop i'm using now (well after all, the xbox is just a 733mhz PIII with old geforce card...)
added on the 2013-09-30 21:18:07 by Tigrou Tigrou
re XBox naming: The new one is "XBone" anyway, so "Xbox" for the classic version is fine :)
added on the 2013-10-01 08:48:51 by arm1n arm1n

login