[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>real time dynamic shadows on a PS2 game How in the fuck did

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 58
Thread images: 10

File: sh2shadow.jpg (49KB, 500x500px) Image search: [Google]
sh2shadow.jpg
49KB, 500x500px
>real time dynamic shadows on a PS2 game
How in the fuck did they do it? Serious question.
>>
Loading screens all over the place
Small environments
>>
The ability to optimize for one set of hardware that came with old console development before everything had to be multi platform
>>
it's a small game that breaks itself up into really small rooms most of the time
>>
>>384729052
I hate to admit this, but exclusives actually do usually wind up being better because of this reason. Its horseshit but a developer having to focus only on one platform can work magic
>>
The N64 could do it with Conker's Bad Fur Day. and there's an unused thing in OoT that casts a dynamic shadow from Link.
>>
>>384729325
Demon's Souls looking so much better than Dark Souls is a good example of this.
>>
>>384729567
The dynamic shadow from Link is literally two gradient boxes coming out of his feet and changes direction away from sources of light. It looks nice for a 5th gen game but it's not actual shadow, like circular blobs.
>>
Konami in it's hey day was pretty fucking good for pushing hardware to it's very limit.

Look at MGS2 for example. The start of that game has rain pouring down, dripping off Snake, and splashing into puddles. The game stood up so well graphically, that it only needed minor touch ups to look presentable in the HD version. And it hit a solid 60fps at pretty much all times on PS2 hardware.

Konami were magic at one time.
>>
>>384728906
The xbox version had realtime shadows, not the ps2 one.
>>
>>384729146
this.

Fighting games can have characters with some 100k faces on them, and 250mb of textures, because there's only going to be a few of them loaded in at once.
>>
>>384729658
Alot of exclusives look better graphically regardless of consoles. Like both games are dogshit but Killzone shadowfall and ryse blew everything away visually.

Specs matter, but when developers can simplify the optimization process so much they can go a long way.
>>
>>384729821
Demonstrably untrue.
>>
>>384729658
And for PC XCOM 2 to a lesser extent
>>
>>384729658
It's not much better looking at all, Dark Souls is very open in comparison too.
>>
>>384729749
konami and capcom used to be wizards of visuals. Though to be fair aside from facial animation Re7 was pretty gross looking in the most complimentary way and also ran at a pretty consistent 60fps.

Graphics dont impress me as much as they used too unfortunately.
>>
>>384730027
I thought the facial animations in RE7 were weird.

The mouths tended to open to wide, and people seemed to be synced out just a tad a lot of the time. Mia suffered the worst in this. Her facial animation was horrific, which is somewhat fitting perhaps.
>>
>>384729883
demonstrate it then
>>
>>384728906
They're not really dynamic, they're pre-baked transparent polygons that deform in relation to the player. They have to be hand-made for every individual room.
It's a great illusion on the PS2 though. Kinda looks like shit on the PC version at high resolution.
>>
>>384728906
this is a stencil shadow which is the simplest method of doing it. SH2's engine is designed for small indoor environments, that's the type of engine that uses stencil shadows well

the technique used stencil/depth buffers hence the name, which ps2 does not have, so it's still a relevant good piece of programming taht they managed this.
>>
>>384730409
>They're not really dynamic, they're pre-baked transparent polygons that deform in relation to the player. They have to be hand-made for every individual room.

no, this isn't how it works, they're stencil shadows with a software stencil buffer >>384730461
>>
limitations foster creativitiy.

Too much raw computing power make devs lazy and complacent
>>
>>384730189
It was just not well animated, they did the same mistake as mass effect andromeda where they scanned real people but then called it a day. The rest of the game looks outstanding at least.
>>
>>384728906
Ancient occult magic
>>
>>384730638
>tfw making a game on a core 2 duo laptop
Feels good
>>
>>384730750
>a core 2 duo is slow

youve missed the point that you thought you didnt miss
>>
>>384730409
>>384730461
Now I'm even more confused. Which is it? How do you know?
>>
>>384730638
>limitations foster creativitiy.
silent hill in a nut shell, the iconic fog was just them getting around rendering distances.

to contrast, I remember crysis way back when it first came out, literally no limitaitons and made the game inteded for tech way ahead of its time that was too expensive for people. There are some cool things in there but its a really fucking bland game even down to the art direction. It was something that banked so hard on its tech that would one day become outdated and then it had nothing to really stand on.
>>
>>384729052
but silent hill 2 was in xbox ps2 and pc. doesn't that make it a multi platform?
>>
>>384730841
Fuck you. This clunker struggles to run most shitty hipster "minimalist" websites.
>>
>>384730931
The ports came later.
>>
File: Enable- Secondary.jpg (6KB, 204x204px) Image search: [Google]
Enable- Secondary.jpg
6KB, 204x204px
>>384728906
If you understood what was going on you'd realize it was easy but your brain too fuckin smol for that cause you'd have also realized many dreamcast and n64 games did it as well, nevermind ps2.

Its not magic, you're literally just fucking retarded.
>>
>>384730854
it's the stencil shadow because that's how you do it. you wouldn't do what the other guy said.
>>
File: image.jpg (24KB, 403x534px) Image search: [Google]
image.jpg
24KB, 403x534px
>>384731265
Have you programmed it yourself? I didn't think so. Who's the retard now?
>>
>>384730638
The devs who bother with this sort of programming minutia typically aren't that involved in the creative process.
>>
>>384728906
>How in the fuck did they do it? Serious question.
with coding. you know c++ and some shit.
>>
>>384729698
All video games use tricks like these. I don't think any game uses actual raytracing
>>
>>384731265
then explain how it works to me. thats what the thread was made for
>>
>>384731494
Don't post things like this on /v/, let them believe that Todd Howard actually programs and writes the Elder Scrolls games.
>>
>>384729961
>optimization
Both XCOM 1 and 2 where PC-exclusive for a rather long time, tho.
>>
>>384732274
The first reboot XCOM was designed from day 1 to be played on consoles though.

t. guy who interviewed two Firaxis devs for a shitty community gaming site
>>
>>384730638
>more computing power makes devs lazy
I might agree that more raw computing power has eliminated the need for clever tricks like this, it hasn't however lead to less work. The graphical, and technological expectations put on modern games has required devs to work more than ever before.
>>
File: 847889[1].jpg (83KB, 640x480px) Image search: [Google]
847889[1].jpg
83KB, 640x480px
>>384728906
https://www.youtube.com/watch?v=nna2yt1c9gI

You should check out this video.
>>
>>384732125
To what effect would it being explained or you learning about would there be? Its so simple that anyone actively involved in computer graphics could figure it out, so your inability would suggest computer graphics are beyond you, so why the fuck is it important?
>>
>>384732438
NUH UH, DEM EBIL DEVELOPERS TAKIN MY MONEY AND BEING LAZY FUCK THEM AND THEIR JOBS
>>
>>384732518
>you haven't gone out of your way to spend years learning shit that's useless if you don't work as a codemonkey, so you're clearly a small minded peasant
If this isn't shitposting, you need to be fed to a woodchipper. And no, even a full knowledge of computer graphics wouldn't help you to figure out exactly what method SH2 used.
>>
>>384732438
UnityEngine.jpg
>>
File: 1494146353473.png (1MB, 945x825px) Image search: [Google]
1494146353473.png
1MB, 945x825px
>>384732518
what is the point in telling someone theyre wrong about something and then refusing to tell them why? it makes you look like youre a dumbfuck who doesnt know what hes talking about, which you are.
>>
File: 1493135096689.png (60KB, 606x530px) Image search: [Google]
1493135096689.png
60KB, 606x530px
>>384732768
Find angle of lightsource

Compare angle to object drawing the shadow

Find the edge polygons based on normal vectors

Extrude points ([{[<(invisibly)>]}]) onto background geometry

Here comes the kicker

Find intersecting points on background geometry

use points for polygons

fill in with shitty dark grey polygons.

it was literally just intersection you're retarded.
>>
File: latest[1].png (1MB, 1701x904px) Image search: [Google]
latest[1].png
1MB, 1701x904px
>>384733647
They look like polygons to you?
>>
>>384732438
How is it different from games with hundreds or even thousands of sprites made with pre-rendered CG?
>>
File: Screenshot_2017-07-21-17-42-24.png (1MB, 1080x1920px) Image search: [Google]
Screenshot_2017-07-21-17-42-24.png
1MB, 1080x1920px
>>384733927
Absolutely not.
>>
>>384731826
ummm
Ah fuck it.

You are literally retarded.
>>
File: makesyouthink.jpg (21KB, 600x337px) Image search: [Google]
makesyouthink.jpg
21KB, 600x337px
>>384733927
Father Vincent really makes you think
>>
>>384732513
Good channel
>>
>>384729658
>Demon's Souls looking so much better than Dark Souls
What? DeS looks like shit in comparison to DaS. The reason for that is because they had a shit budget with DeS.
>>
>>384733927
a simulated shadow would be more accurately described as a polyhedron
>>
>>384728906
Silent Hill 2 had really simple dynamic shadows that only were cast on models.

Silent Hill 3 I believe implemented true real-time shadows.
Thread posts: 58
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.