Це відео не доступне.
Перепрошуємо.

Sonic R's "Impossible" Fading - CODING SECRETS

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • A look at how the seemingly impossible fading of objects and the alpha transparency effects of Sonic R were achieved in this episode of Coding Secrets
    Is That You or Are You You by Chris Zabriskie is licensed under a Creative Commons Attribution license (creativecommon...)
    Source: chriszabriskie....
    Artist: chriszabriskie....

КОМЕНТАРІ • 996

  • @elPatrixf
    @elPatrixf 6 років тому +1216

    This is such good content that you don't even mind the clickbait-quality memes, that's how good these videos are.

    • @mastercheapgamer278runners9
      @mastercheapgamer278runners9 6 років тому +3

      +elPatrixF Yep, much better without them. I definitely agree with you! : - )

    • @Visuwyg
      @Visuwyg 6 років тому +10

      I think his click-baity sensational thumbnails kinda cheapen his amazing content honestly... but if he likes them, I won't complain :)

    • @TheLeofication
      @TheLeofication 6 років тому +7

      That’s something I noticed too. The videos are great, but the titles are so clickbaity..

    • @KaliTakumi
      @KaliTakumi 6 років тому +4

      How is that clickbait

    • @vinisasso
      @vinisasso 5 років тому +5

      I saw no clickbait in this video's title. He even cared to put the right quotes around 'impossible' so to say that accomplishment was never indeed impossible but still hard to do, hence deemed impossible by some people not knowledgeable enough to pull that out. So no clickbait here, just informations about something hard to accomplish by programming Saturn's hardware, it just happened that he was the talented programmer to do that, right?

  • @YellowYoshi398
    @YellowYoshi398 6 років тому +308

    As a diehard Saturn fan, it's great to have had devs like you developing for the system, devs who didn't see the Saturn's weirdness as an obstacle but as a challenge to be overcome. It's an even greater blessing to have you making videos so many years later so that all this knowledge can fall into the hands of the people! If only there were more Jon Burtons in the world, we would have seen more devs push the Saturn hardware to its limits and more great games made for this criminally underrated system.

    • @JMFSpike
      @JMFSpike 2 роки тому +4

      I'm a big Saturn fan myself, but don't let your fandom blind you. There is nothing wrong with the way developers thought of the Saturn. The console was just notoriously difficult to develop for, and I would imagine that few developers were probably both smart and talented enough to utilize the Saturn to it's full potential. Just so nobody misunderstands what I just said, I'm *not* saying that they weren't smart and talented, I'm simply saying that you would have had to be *exceptionally* smart and talented to get the most out of the console. A lot of patience was probably required as well. The fact is that the PS1 was just so easy to develop for and that's why most developers didn't even bother with the Saturn. Can you really blame them? The N64 is also said to have been difficult to develop for, but it was more worth developing for because the console was far more successful then the Saturn. Unfortunately, the Saturn was really only a big hit in Japan.
      On a side note, I've always thought that the Saturn was by FAR the best console of it's generation when it comes to the transition from 2D to 3D. It was the ultimate 2D gaming console, yet it was perfectly capable of 3D games as well. While both the PS1 and N64 were capable of 2D games, they were definitely made with 3D games in mind and not 2D games at all. From what I've heard, the Saturn could also apparently do some cool effects in 2D games that the PS1 could not (although the PS1 could apparently do effects in 3D games that Saturn couldn't.) Also, while the PS1 did have a handful of 2D games on it (Edit: after posting and thinking about it a little, I realized that there are far more then just a handful), Sony did not like seeing 2D games on the PS1 at all. I'm pretty sure Nintendo had no problem with it, but again, the N64 was not made with 2D gaming in mind either and actually had even fewer 2D games on it then the PS1 did.

  • @GameSack
    @GameSack 6 років тому +696

    Amazing video! I have wondered about this since the 90s. Thank you so much for explaining this!!

    • @mikecontra8844
      @mikecontra8844 6 років тому +17

      Game sack!?!?
      Looks likes Joe's in the house, Sega fans rejoice.
      How about a TT feature some day, or something hardware orientated with John ?
      Hardware pushers don't even start to describe this teams talents.
      PS. Long time viewer, thanks for all the good videos you and Dave have done over the years. :)

    • @LeoVaderBR
      @LeoVaderBR 6 років тому +1

      I say the same! I have also always find TT games way impressive! Such a great opportunity to finally see how those classics were coded by the creators themselves. BTW, I love Game Sack!

    • @DukeDudeston
      @DukeDudeston 6 років тому +3

      2 great videos from my 2 fave channels on same day, Although... I think I used the wrong grit sandpaper on my MegaDrive cart. Greendog still plays like shit.

    • @bmhedgehog2
      @bmhedgehog2 6 років тому +1

      Sup Game Sack!

    • @flaps805
      @flaps805 6 років тому +2

      i knew if i looked down in the comments id see this goofy ass

  • @colonelsandwich641
    @colonelsandwich641 6 років тому +117

    It's amazing how we take these things for granted nowadays, when programmers used to get crafty in order to pull off effects like these. I'm glad developers today have access to easier tools such as Unity and UE4, but it's still really cool what you guys were capable of back in the day.

    • @youtubesuresuckscock
      @youtubesuresuckscock 6 років тому +6

      The work they're doing today is far more amazing than anything that was done in the 90s. The brainpower that goes into a modern bleeding edge game engine today is humbling.
      Game dev used to be completely hacky dog shit. Games weren't even designed to run at variable refresh rates, resolutions or aspect ratios. It was nothing but global variables, hacks, special cases, and glitchy ass looking workarounds like the one described in this video (whose end result didn't even look that good when the game originally shipped, IMO).

    • @Banzeken
      @Banzeken 6 років тому +20

      Big Blue Frontend Is that why all the major engines (Unreal, idTech, CryEngine) had their roots in the 1990s and were all expanded upon by people for years down the line? That's right, nothing today is special. Making games now all requires that you use someone else's tools refined through the decades and add some scripts here and there to make a new game out of an existing framework. If anything, being a lazy hack is the current norm.

    • @jonahabenhaim1223
      @jonahabenhaim1223 3 роки тому +1

      Banzeken there can still be amazing games out there

  • @Larry
    @Larry 6 років тому +653

    Sega never worked out how to do fades on their system. If you look at their final games, they just used a mesh for anything supposed to be translucent.

    • @theobserver4214
      @theobserver4214 6 років тому +25

      Larry Bundy Jr why do I always see you on these videos?

    • @drunkensailor112
      @drunkensailor112 6 років тому +34

      Larry Bundy Jr not in burning rangers.

    • @ZipplyZane
      @ZipplyZane 6 років тому +55

      Blank Blank: because Larry watches these videos about retro stuff, and likes to comment on them. And you likely subscribe to Larry or at least watch his videos. So the UA-cam algorithm shows you his posts.

    • @dhkatz_
      @dhkatz_ 6 років тому +17

      It's weird, because I don't nor do I know anyone that watches his videos yet I still see him everywhere

    • @khhnator
      @khhnator 6 років тому +5

      panzer dragoon 2 did had transparent enemy bullets tough, one that i remenber of the top of my head are the last boss green round bullets

  • @PlayerOneStart
    @PlayerOneStart 6 років тому +223

    Wow! One thing I keep finding incredible during these coding secrets videos is that Sega (the manufacturers of the hardware) did not (or could not) find a way to do this themselves. But instead a 3rd party developer finds a way. Really cool as always.

    • @bigblue344
      @bigblue344 6 років тому +32

      After sonic and knuckles sega lost a few brain cells.

    • @nuckm
      @nuckm 6 років тому +62

      the same happened with Naughty Dog when they developed Crash Bandicoot. ND completely destroyed Sony's internal team when they attempted to challenge the Bandicoot by making their own shitty in-house platformer, failing to get anything even close to looking as good. This is nothing compared to the lengths that Andy Gavin and the other folks went to make Crash Bandicoot possible, completely hacking the PSX in the process and crossing lots of boundaries they weren't supposed to. Just storing the levels required they write their own tool which had a sort of adaptive compression, meaning it would compress completely differently if they moved even just one polygon. Some time, they got the level to compress under the size limit, but then they could never get a compression as good after making changes, meaning they had to alter the level over and over again until the algorithm finally managed to get it down again. You can read Gavin's blog posts about the development of Crash Bandicoot to learn more. Pure intellectual brilliance in every department over at Naughty Dog during these years, whether it be programmers or artists.

    • @ourlad1337
      @ourlad1337 6 років тому +22

      Sega did manage transparencies in the likes of burning rangers and panzer dragoon Saga. Still, Sonic R is on another level with how impressive it is.

    • @inendlesspain4724
      @inendlesspain4724 6 років тому +9

      Maybe just because they created the console doesn't mean they were imaginative enough to exploit all its capabilities. I don't know what led Sega to include all those tools and functions on the console that made the fading effect of this game possible, but I really doubt it was specifically to accomplish said effect given how complicated the whole process is and that it seems like only TT Games managed to pull it off, and that was after taking a very deep look into what the console was capable of. Maybe Sega of Japan (or any of their internal divisions) also looked at these functions and didn't think much of them, but TT Games not only took them into consideration, but combined them together (sprite color calculation ratio and the Saturn's shading effects) to accomplish something apparently the console wasn't designed to be capable of.

    • @elijahtoombs3524
      @elijahtoombs3524 6 років тому

      @@bigblue344 be quiet

  • @RoddyDev
    @RoddyDev 6 років тому +78

    Damn, hearing about that the Saturn actually renders distorted sprites is new to me! Learning something new everyday...

    • @youtubesuresuckscock
      @youtubesuresuckscock 6 років тому +30

      The Saturn wasn't even designed to be a 3D machine. It was just so good at manipulating sprites Sega was able to cobble together something after seeing the Playstation and filling their trousers in horror.

    • @gruntingskunk2237
      @gruntingskunk2237 4 роки тому +3

      Big Blue Frontend that’s amazing

    • @TronicGames
      @TronicGames 3 місяці тому

      @@youtubesuresuckscock This is an urban legend that has been plenty busted.

  • @3DSage
    @3DSage 6 років тому +90

    You are the best on UA-cam at explaining complicated graphical properties in a well worded and simple visual way that anyone can follow.

    • @codecoderr7495
      @codecoderr7495 6 років тому

      exceptional mad language skillz people can teach anything language related.

  • @MarphitimusBlackimus
    @MarphitimusBlackimus 6 років тому +1454

    But what's with all these "impossibles"? Was anything possible on these consoles? Do any of these games even actually exist? 🤔

    • @Shadowthehedgehogxx3
      @Shadowthehedgehogxx3 6 років тому +269

      nothing is real, existence is impossible

    • @c0mpu73rguy
      @c0mpu73rguy 6 років тому +74

      Do we even exist?!

    • @televisionandcheese
      @televisionandcheese 6 років тому +73

      Half life is possible on Saturn!
      Nothing is impossible !

    • @commandantcousteau6874
      @commandantcousteau6874 6 років тому +21

      When two youtubers with excellent thematics works together,this always lead to an unexpected but great result.

    • @Zikar
      @Zikar 6 років тому +123

      From my understanding of old PC and console games, it's a miracle if you got the game to display anything other than error text.

  • @vincells
    @vincells 6 років тому +443

    *_Mr. Naka I don't feel so good..._*

    • @mikecontra8844
      @mikecontra8844 6 років тому +13

      I Dunno...
      Burning rangers was quite the technical feat

    • @noop9k
      @noop9k 6 років тому +1

      Mike Contra with graphics that wouldnt be a problem for Playstation at all.

    • @herploderplo6645
      @herploderplo6645 6 років тому +1

      beaten to the punch

    • @killerb2099
      @killerb2099 6 років тому +1

      "That's Iwata-san, you rude rodent!"

    • @RichRacc
      @RichRacc 4 роки тому +2

      That pfp is a mood

  • @shukterhousejive
    @shukterhousejive 6 років тому +52

    The other, equally insane way to do transparency was the _Burning Rangers_ method: DMA objects to a tile layer, use the transparency functions of VDP-2 (the "background" graphics co-processor) and then copy them back to the sprite layer. The catch: your game runs like dogshit because you bottleneck the entire system. No wonder everyone else just gave up and used the dithered effect.

    • @stephandolby
      @stephandolby 6 років тому +8

      It's important to remember that VDP1 ships its data to VDP2 regardless, but I agree, the approach was novel, if somewhat flawed - the fires had to be rendered in half-resolution to keep performance up, and there was a ton of glitching. NiGHTS may not have been as adventurous but the results were better.

    • @codecoderr7495
      @codecoderr7495 6 років тому +2

      DMA does not cause much more bottlenecks than memory controller itself, (if CPU shares same bus to DMA and Memory Controller). Bottleneck would be copying insane ammounts of memory between CPU/RAM directly on timing critical events (such as horizontal blank or graphics engine bus access), not to mention the graphic corruption it would cause. This is where I see Nintendo virtuosity by enabling OAM access during hblank so you can do neat special effects without copying back the same line. But that requires a different hardware engineering approach. Well, programmers back then learnt the hard way and knew porting code would be "you either prove it or you suck"

  • @TheRealAmericanMan
    @TheRealAmericanMan 4 роки тому +3

    As someone who’s working on home brew for Saturn when you got to showing the mountain frame by frame and then for lack of a better word “showed your work” my brain melted. I know that you guys definitely didn’t get enough credit for these impossible things you pulled off throughout the years.

  • @Patkall
    @Patkall 6 років тому +42

    Hello Mr. Burton. I just finished playing your Director's Cut of 3D Blast and it was amazing. All new features were great, but maybe I liked old chaos emeralds system better and also time challenges are very hard, but that's to be expected. Overall great re-release and I love your content. Greetings from Poland.

  • @immaguy7905
    @immaguy7905 6 років тому +135

    Robotnik: "And when I'm done, half of the Animals will still exist."

    • @mrcyberpunk
      @mrcyberpunk 6 років тому +1

      Sally, Bunny, Rotor! No Come Back... "Hi I'm Shadow" "and I'm Big the Cat.. FROGGEH!!" NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!

    • @Mastermind8908
      @Mastermind8908 4 роки тому

      "Half" the animals? OH SNAP!

    • @Mastermind8908
      @Mastermind8908 4 роки тому +1

      @@mrcyberpunk I see you were more a fan of the more serious animated series. The "Scratch & Grounder" series was good for a laid back laugh, but I preferred the other version in the 90s. Loved the opening theme song too.

    • @mrcyberpunk
      @mrcyberpunk 4 роки тому +2

      @@Mastermind8908 Satam was always the superior. But everyone can agree Undreground was the weakest series.

    • @Mastermind8908
      @Mastermind8908 4 роки тому +1

      @@mrcyberpunk Yeah, I tried but just couldn't get into Underground. Three Sonics saving music? This isn't Footloose people.

  • @BlueSatoshi
    @BlueSatoshi 6 років тому +31

    Well, that explains why the Saturn used quads.
    Still, that 12 layer method's amazing!

    • @Redhotsmasher
      @Redhotsmasher 6 років тому +12

      BlueSatoshi I believe the Saturn was originally developed with the aim of creating the ultimate 2D graphics machine and its 3D rendering capability was a bit of an afterthought.

    • @globalistgamer6418
      @globalistgamer6418 5 років тому +1

      My guess is that until the PlayStation was revealed, Sega expected the typical 32-bit home console game to use an engine similar to Outrun or Space Harrier rather than Daytona USA; the Saturn approach would be more performative for this.

  • @alexbuccheri5635
    @alexbuccheri5635 4 роки тому +2

    It's crazy that back in the day, the developers also had to be hardware experts in order to realise the ideas they had. I can't imagine this is the case now.

  • @ajmetz82
    @ajmetz82 6 років тому +8

    You made me so proud to be a Saturn owner Christmas 1997, =)....and still to this day even. Sonic R is brilliant, and I've always wanted to know how this was done, =D.

  • @sana.0451
    @sana.0451 6 років тому +98

    Love the thumbnail

    • @sw0578
      @sw0578 6 років тому

      No cancer please.

    • @jonathanl3166
      @jonathanl3166 6 років тому

      Infinity war??? hahahaha

    • @kaexewires7531
      @kaexewires7531 4 роки тому

      @@flynnjohn476 uuuh... Mr. tails? why did cream dissapeard...

  • @philrod1
    @philrod1 6 років тому +6

    Watching these videos always makes me feel a little ashamed of my own coding. I rarely think about the hardware beyond the very general sense. Another fine coding secret there, sir!

  • @TalonTheRetroGamer
    @TalonTheRetroGamer 6 років тому +8

    The thumbnails are always great for this channel

  • @stcrussman
    @stcrussman 6 років тому +11

    Retro Game Mechanics Explained and Game Hut need to have a chat.

  • @heidirichter
    @heidirichter 6 років тому +227

    I love this. This shows why for me, the magic has gone with the modern machines. Now, with machines virtually limitless (in comparison to the 80s and 90s), it's childs play to do something like display a true-colour bitmap, or playback some music while also playing appropriate sound effects. I read something the other day that sums it up nicely for me - limitations breed creativity. So trying to achieve an effect like this, or showing plenty of colours on an earlier machine, is far more interesting to me. And yes, I know there are still limitations these days, but they're not as limiting, if you get what I mean?

    • @DumDoDoor
      @DumDoDoor 6 років тому +4

      Right on. Like, spot on! ^^d

    • @Felix4Gaming
      @Felix4Gaming 6 років тому +41

      Ok, but look at the new more advanced techniques we use to push hardware further, like light prepass, indirect rendering, screenspace reflections, etc.
      Light prepass/deferred rendering alone is already really interesting to study. The concept is simple, but implementation details to get good performance are not as trivial. Such as accurately compressing the normals down to 2 values in screen space and reconstructing them later, or how to reconstruct both diffuse and specular lights from just 4 float values, rather than waste a whole 3 channels on specular highlights.
      It may not require as much low level coding expertise, but makes up for it in programming and mathematical technique.

    • @GiuseppeGaetanoSabatelli
      @GiuseppeGaetanoSabatelli 6 років тому +13

      And yet games like PUBG still look like ass.

    • @UltromanTheTacoman
      @UltromanTheTacoman 6 років тому +48

      Try making a beautiful game, by today's standards, that runs well. Trust me, it's not easy, and there is still magic being created every day in the industry.

    • @Felix4Gaming
      @Felix4Gaming 6 років тому +26

      Lassi Kinnunen you could not be more wrong! A huge portion of the budget is dedicated to graphics! It has become a sort of arms race. And engines constantly push graphics technology further. Have a look at unreal, they keep,adding new graphics features all the time. Most recently they added some very cool volumetric light probes, and distance field shadows. Very cool stuff.
      Speaking of elite, have you heard of elite dangerous? Its running on the cobra engine, a custom bespoke engine by frontier, which does still push technology further. Getting all these procedural assets to run smoothly is no small feat!
      To think that studios no longer squeeze as much performance as they can is incredibly naive. What sells games these days are graphics, (hence all the impossibly good looking demos at E3, and the push for 4k in the console space).

  • @RaposaCadela
    @RaposaCadela 6 років тому +29

    Programming on the Saturn seemed like the hardest thing ever! You guys were absolute geniuses!

    • @graysongdl
      @graysongdl 6 років тому +15

      I think programming in general was the hardest thing ever. There was no GameMaker Studio or Unity. Just lots and lots of hard work.

    • @SianaGearz
      @SianaGearz 6 років тому

      And then Playstation 2 came along, which was more conventional, but not necessarily easier, lots and lots of quirks, just little bouts of weirdness and a high errata density.

    • @ajmetz82
      @ajmetz82 6 років тому +3

      With the Dreamcast giving up the ghost, and the Xbox and Gamecube a year away though, the PS2 had the console market to itself for a year, so it made sense for developers to focus on PS2 besides all the hype.

    • @Clownacy
      @Clownacy 6 років тому +3

      I really don't like the mentality that you have to be a "genius" to program. It's just something you get good at, like writing, drawing, composing, any regular skill.

    • @RaposaCadela
      @RaposaCadela 6 років тому +3

      Me saying "genius", is just a way to say that he was really clever with this. In all of their games, Traveller's Tales studyied the hardware they were working on to make the best out of it, and Sonic R is an awesome example of that.

  • @zecle
    @zecle 6 років тому +1

    whenever they talk about sonic r graphics, i remember a magazine article from that time saying "graphics look more like what you can see on the nintendo 64 than the saturn".
    it hyped me so much but it was already too late.

  • @KGRAMR
    @KGRAMR 6 років тому +16

    Great video as always Jon! Can you do a video explainin how Radiant Emerald has transparency effects galore, in addition to the fading effect? That would be pretty awesome! :D

    • @GameHut
      @GameHut  6 років тому +15

      The whole track was drawn using one mix mode of 50%. Same technique as the video explains

  • @Retrovibes
    @Retrovibes 6 років тому +1

    Back in the day, whenever I saw Travellers Tales I knew it was a quality title. I stopped gaming regularly in the late 90s so I don't know much of their work after the 16-bit era, but I'm glad there's such interesting content on UA-cam passionately made by one of their members.

  • @gamecomparisons
    @gamecomparisons 6 років тому +6

    This is amazing. I had no idea Saturn games could gouraud shade / light the entire scene. I thought gouraud shading was pretty well limited to objects and character models and that's about it outside of the Slave Driver engine games. This is amazing.
    Also, to the distorted sprite comments (the video was accurate). Quads and Triangles are both polygons, and the PS1 and Saturn both rasterize their polygons in 2D in a very similar fashion, as the video displays.
    Folks ought to try not to fall in to the "Saturn was hard to code for" internet hype. Saturn had more processors to optimize for. Saturn was NOT a traditional 3D renderer by any standard. There WAS NO STANDARD at the time. The choice at the time was triangles with affine texture mapping glitches and polys that literally pop out of place every few frames, or "distorted sprites" before 3D acceleration became consumer priced.

    • @SerBallister
      @SerBallister 4 роки тому

      PS1 scan converted polygons instead of building them using lines, so the PS1 could do some basic transparency without overdrawing and messing it up. I heard from people that worked on the Saturn that it was hard, no internet 2nd hand stories here.

  • @alexatkin
    @alexatkin 6 років тому

    Fascinating to finally understand why the shading suddenly pops into the scene. Very clever.

  • @kyle_bearr
    @kyle_bearr 6 років тому +6

    You're a freakin wizard at this stuff wow

    • @codecoderr7495
      @codecoderr7495 6 років тому

      I call this former sega dev "old school programmer". ps: emu author here

  • @bigsyrup8567
    @bigsyrup8567 3 роки тому

    I don’t know much about how video games are made, but Sonic R was one of my favourite games as a kid. I have fond memories of getting it to run on my dad’s shitty old PC at 6yrs old. Fantastic to see a channel from someone who worked on it.
    We still remember and appreciate all the hard work you guys did all those years ago.

  • @zyrobs
    @zyrobs 6 років тому +10

    Excellent explanation, but there's one thing I don't understand. To the best of my knowledge, the VDP2 color calculation only works with Palette sprites, not RGB ones, since RGB sprites don't have enough bits to store any color calculation data (RGB being 15bit colour and 1bit to select RGB). So you have to use palette sprites to do the background fade. But you also do a transparent shield, which HAS to be RGB, because polygon transparency only worked in RGB sprites... on paletted ones, it would corrupt the palette index. So what is going on there? Extreme micromanagement to draw each sprite a different way depending on distance?

    • @zyrobs
      @zyrobs 6 років тому +2

      Also, when a shield is drawn over a far-away, half faded polygon, the shield completely draws over it, with no transparency. Is that normal for an rgb pixel with semitransparency on, to overwrite a palette index pixel underneath it?

    • @GameHut
      @GameHut  6 років тому +11

      Transparent shield was RGB. Palette sprites for background fade. Two different draw routines.

    • @zyrobs
      @zyrobs 6 років тому +4

      Wow, that must've been hell to micromanage given that you have to upload all the palettes in advance to the VDP2.Also, you didn't mention it in the video, but you used transparent quads for the rainbow trail on the speed booster. Non-textured, single colour polygons with gouraud shading, to keep the speed up. You can actually see the transparent pixel overdraw bug on those, but only if you pause the game since it is so fast.

    • @GameHut
      @GameHut  6 років тому +3

      zyrobs yeah, the emulator I used to capture footage drew them as non-transparent so I didn’t bother explaining them, but in short, the transparent corruption is avoided due to the orientation they are drawn at to avoid the overdraw corruption (apart from the join)

  • @CcMusicAndMore
    @CcMusicAndMore 6 років тому +1

    I love sonic r because of all the impossible effects you pulled off. I played it a lot when I was just a child.

  • @EposVox
    @EposVox 6 років тому +6

    Woah. Good stuff.

    • @SianaGearz
      @SianaGearz 6 років тому +1

      Sometimes i think people just follow me around the Internet. It's like it's made of these inescapable paths, even though hypothetically, anyone can go anywhere anytime.

  • @TheBeeshSpweesh
    @TheBeeshSpweesh 4 роки тому +1

    I'm starting to become obsessed with the VDP1/2 chips in the Saturn recently.

  • @SproutyPottedPlant
    @SproutyPottedPlant 6 років тому +95

    Yes! Saturn seems quite different from the PlayStation.

    • @PlayerOneStart
      @PlayerOneStart 6 років тому +28

      Yep! I feel that if Sega had made it easier to program for, it would have seen better success. Maybe not enough to beat the Playstation, but still better than it ended up doing.

    • @Imadeyoumad288
      @Imadeyoumad288 6 років тому +10

      Player One Start I thought Sonic Xtreme not being released is what killed the Saturn

    • @PlayerOneStart
      @PlayerOneStart 6 років тому

      True dat!

    • @PlayerOneStart
      @PlayerOneStart 6 років тому

      Yeah, that definitely did not help.

    • @Titleknown
      @Titleknown 6 років тому +10

      Isn't it also true that part of it was because a lot of the Saturn's best games didn't get released in the US because that a-hole Bernie Stolar kept them from being so because they were 2d and "nobody wants 2d games anymore"?

  • @JCorvinusVR
    @JCorvinusVR 6 років тому +1

    I do a lot of programming myself and I just gotta say your bag of tricks is pretty damn impressive. I love these coding secrets videos.

  • @hudgynsasdarl6967
    @hudgynsasdarl6967 6 років тому +9

    I don't want to go, Mr. Burton

  • @forgottenalex
    @forgottenalex 4 роки тому

    The fact that you still remember these coding tricks you did years ago is impressive enough. I have friends that work at InfinityWard that can't recall how they coded some of the older Tony Hawk games

  • @mikecontra8844
    @mikecontra8844 6 років тому +17

    TT + SS = God Coding activated.
    GH just shows the amazing capability's of the SS when the human brain is used :)

  • @ezekielbrockmann114
    @ezekielbrockmann114 4 роки тому

    The brilliance of these videos is in how succinctly they summarize.

  • @saraha180
    @saraha180 6 років тому +10

    This is a great video. I'm curious, as somebody who was an insider at the time, do you feel there was any merit to Sega's decision to go with the quad-based rendering model they chose (beyond perhaps expediency in the Saturn's dev process)? We've seen a lot of videos from you about some of the challenges it creates. I can imagine the reasons that might have motivated them, but were there practical _advantages_ from your perspective?

  • @raycearcher5794
    @raycearcher5794 6 років тому

    There's an added bonus in that fading in the lighting on visible objects creates a sort of atmospheric perspective too!

  • @MusicDecomposer
    @MusicDecomposer 6 років тому +41

    Cool, Sonic R did something better than Mario 64.

    • @inendlesspain4724
      @inendlesspain4724 6 років тому +8

      I don't think comparing a late Saturn game with an N64 launch title (a legendary launch title but a launch title nonetheless) is a fair comparison but ok.

    • @vsuman66
      @vsuman66 6 років тому +3

      Jorge Enrique Riera u could also say he's comparing Sonic R to the best N64 had to offer graphically. None of the later N64 games progressed further than Super Mario 64 visually, so his point is still very valid 😊

    • @inendlesspain4724
      @inendlesspain4724 6 років тому +14

      "None of the later N64 games progesses futher than Super Mario 64 visually"
      Emmmm... no?
      If by "not progressing visually" you mean things like low-re textures, fog and other stuff like that that's more due to limitations of the system because of the cartridge format. And even with those limitations, visual progress can be noticed. Jet Force Gemini, Donkey Kong 64, the two Banjo games, the two Zelda games, and of course Conker's Bad Fur Day, you can't compare any of those games (and many others I'm not remembering right now) with SM64 and say there wasn't any visual progress at all.
      That's like saying Final Fantasy IX and Chrono Cross, which are some of the best looking games on the PS1, are visually on the same level as Final Fantasy VII.

    • @Rihcterwilker
      @Rihcterwilker 6 років тому +9

      Conker is ages ahead in the graphic aspect. There's no fog, a massive draw-distance, big textures, dinamic shadows, and there's the fact that the whole game has voice in the dialogues.

    • @inendlesspain4724
      @inendlesspain4724 6 років тому

      Yeah, but would you believe me if I told you that I once heard someone say that any average PS1 game already looks better than Conker?
      I also heard someone say that most N64 games have a framerate so low they're barely playable...
      What can I say? The internet sure is a weird place sometimes.

  • @pabstkkx
    @pabstkkx 6 років тому

    Coding Secrets is maybe the best thing I've seen on UA-cam. Keep up the great work!

  • @Arunotaku
    @Arunotaku 6 років тому +3

    Thank you soooo much, dunno if you read my request on last video but this is exactly what I wanted to know :D

    • @GameHut
      @GameHut  6 років тому +3

      yep!

    • @Arunotaku
      @Arunotaku 6 років тому +2

      I love so soo much what you are doing with your channel, any chances to have more details on an old interview you gave to Sega Saturn Magazine: What special effects and techniques are you most proud of in the Sonic R engine and why?
      You replied: The cross fading "misting" effect, the reflective water, and the compression technique used to calculate visible polygons.
      Can we have information about the compression used to calculate visible polygons ? Did the cross fading was a huge deal compared to what the Saturn offered in other games ? Can you explain why ? :D

    • @adamplenty1645
      @adamplenty1645 6 років тому

      According to Retro Gamer's "The Making of Sonic R" article, Burton said he was most pleased with the reflective surfaces, because the Saturn simply doesn't support them.

    • @GameHut
      @GameHut  6 років тому

      This very video explains why the cross fading was a huge deal...

    • @Arunotaku
      @Arunotaku 6 років тому

      GameHut oh sorry i didn’t understand it was the same stuff. Thanks again 😇

  • @xXYannuschXx
    @xXYannuschXx 6 років тому +1

    What I love about your videos: even with limited knowledge about computers, you have absolutely no problem following your explanation.

  • @jaekoff5050
    @jaekoff5050 6 років тому +138

    Was the Saturn as difficult to code for as people say it was?

    • @inendlesspain4724
      @inendlesspain4724 6 років тому +140

      Yes, yes it was. To give you an idea how much, think that the Saturn's 3D capabilities were better than those of the PlayStation. But 3D games on the Saturn still looked like shit (most of them anyways) compared to those of Sony's console because programming anything 3D on it was that difficult. And well, you know, Sega killed the console before developers could get used to its hardware, and what was left gave the Saturn the reputation of being "that console that couldn't compete with the PlayStation because it had some shitty 3D".
      Sad, very sad...

    • @noop9k
      @noop9k 6 років тому +52

      Jorge Enrique Riera Saturn’s 3D capabilities were always worse than PS1. Bad transparency (usable only for special cases), slower drawing, being limited to quads even if you want triangles, wasteful redrawing of the same pixels, inefficient use of video memory due to framebuffers being fixed size, lack of uw-mapping (shown by Gamehut in another video). Only minor feature that saved it sometimes was support of 2D mode7-like effects that complemented real polygons on some games, typically used for drawing ground and/or sky.

    • @El_Cheapo
      @El_Cheapo 6 років тому +45

      If you look at theoretical specs and numbers, the Saturn has a HIGHER polygon per second count than the PlayStation. For example, check out this article www.racketboy.com/journal/ps1-strength-and-weaknesses-vs-n64-sega-saturn

    • @jc_dogen
      @jc_dogen 6 років тому +14

      "saturn had perspective corrected texture mapping"
      no it didn't...

    • @sendylie1774
      @sendylie1774 6 років тому +4

      N64 is also difficult to program, but the outcome is not as bad as Saturn. N64 uses triangle to draw polygons like PlayStation, so it also capable of 3D.

  • @Visuwyg
    @Visuwyg 6 років тому

    I love your Saturn coding tricks! That console was such a goofball. Amazed how you still remember it in such detail!

  • @TheGrandtheftautops3
    @TheGrandtheftautops3 6 років тому +3

    Great video & thumbnail 👍

  • @lostboy626
    @lostboy626 6 років тому +1

    Such dedication to perfecting your art! I have so much appreciation for what you did to push Sega's hardware! Thanks for the videos! I love hearing your insights, and you break it down so well for us who aren't coders.

  • @GigglyMan42069
    @GigglyMan42069 6 років тому +15

    Sega i dont feel so good

  • @kellalizard
    @kellalizard 6 років тому

    I just want to congratulate you on this channel. I got lead here by UA-cam as I'm interested in Sonic and have been following you for a while now.
    Even though I don't have the means to create games, the way you describe and explain is so easy to understand and isn't condescending. I want to thank you. I hope your channel continues to grow! ♥

  • @kaselier1116
    @kaselier1116 6 років тому +6

    This channel is entirely "hello! Today I want to talk to you about how every single aspect of sonic R is impossible for the hardware to support and was far ahead of its time"
    Awesome stuff

  • @shaneplumb-saumure7723
    @shaneplumb-saumure7723 4 роки тому

    I've seen a trend on YT of developers giving concise and meaningful insights into how computers perform the apparent miracles they do. It is good. You're on the forefront. Carry on.

  • @katie2940
    @katie2940 6 років тому +22

    NO! NOT THE MEMES!

    • @DanLink9000
      @DanLink9000 6 років тому +7

      IT'S IN MY EYES! IT'S IN MY EEEEEYES!

  • @DukeDudeston
    @DukeDudeston 6 років тому

    Absolutely brilliant work explaining not only how you done this work, but why it was a challenge in the first place.
    What gets me though is that people say the Saturn cant do transparency with 2D sprites, but if its "polygons" are just sprites that are morphed and what not.
    Why couldnt devs use this technique to make full transparent sprites in 2d games.

  • @codenamegamma
    @codenamegamma 6 років тому +28

    Hi, I've been doing some hacking around with the PC version of Sonic R. one of my goals was to try and get Network Multi-player working again, however in the version that people use it was removed and the patches are no longer compatible. I was wondering if you might be able to go into why it even existed in the first place (if that was something you worked on). it just seems like a rather obscure thing to add to a PC port of a Saturn Game. Thanks, CnG

    • @bangerbangerbro
      @bangerbangerbro 6 років тому

      CodenameGamma I don't think he had any involvement in the PC version. Patches? How would patches not be compatible now if they were compatible before?

    • @evknucklehead
      @evknucklehead 6 років тому

      No one You know - Patches that are meant for a specific build (or range of builds) can fail if the internal code is significantly different in subsequent builds, especially if the patches are based on changing code in specific locations within the program's files, which was often the case. It was good for earlier systems that had a limited amount of storage space and/or network bandwidth for distributing the patches. Most newer patching techniques replace entire files, meaning the patches are going to be bigger, but not as reliant on what version is already in place.

  • @kaysond
    @kaysond 6 років тому

    Another fantastic video. Thanks for sharing the behind the scenes of 90s game development. It's fascinating

  • @user-qw7hb4du6z
    @user-qw7hb4du6z 6 років тому +4

    I love coding secrets!

  • @notanimposter
    @notanimposter 6 років тому

    Your Coding Secrets videos are some of the most fascinating videos on the Net! Thanks!

  • @Asminae391
    @Asminae391 6 років тому +33

    3D was'nt made of triangle but sprite on genesis
    MIND
    BLOWN

    • @Armm8991
      @Armm8991 6 років тому +9

      Harmonie Duquesne on the saturn*

    • @lokalnyork
      @lokalnyork 6 років тому +3

      Not sure if this is exactly how they did it, but Virtua Fighter used same quad-based technology to display first truly textured 3D graphics on arcade machines (and Saturn/32X).
      IIRC they had to rewrite code for PC port as it did not supported quads.

    • @SianaGearz
      @SianaGearz 6 років тому +3

      If you have triangle based hardware, you can just render two triangles with UV coordnates of 0/1 according to which quad corner, and it's done. If the hardware is affine, it will distort more than quad affine hardware, but it'll still work. If the hardware is perspective and you manage to retain Z/W through the pipeline, everything is going to look fine.
      If you have quad based hardware and are trying to render triangle based models which use UV coordinates for texture placement, give up, there's nothing you can do, you need to remodel all of your assets in quads and with exactly one texture spanning each quad corner to corner.

    • @BainesMkII
      @BainesMkII 6 років тому +1

      There were apparently two versions of PC Virtua Fighter. As the game was released before PC 3D had standardized, a company manufactured a quad-based PC card, and it came with Virtua Fighter. A quick Google search finds the NV1, apparently Nvidia's first graphics card, based on Saturn hardware (even including a Saturn controller port). A handful of Saturn games were ported for this PC hardware.
      Some years afterward, a friend of mind gave me his graphics card and the accompanying copy of VF, thinking I could use it as a passable upgrade for my old PC. Unfortunately, the card was effectively useless by that point. PC had quickly standardized to using triangles for 3D, and DirectX was created. Nvidia apparently tried releasing DirectX compatible drivers for the card, but it didn't really work.

    • @SianaGearz
      @SianaGearz 6 років тому

      BainesMkII, the NV1 is even more unusual than the Saturn; and it really has no Saturn compatible hardware except for the actually quite trivial game ports and the SEGA partnership to provide a batch of ported software. It's more unusual in the way that it doesn't render quadrilaterals like the Saturn, it renders quadratic surfaces, which are smooth, imagine each surface as being defined by 9 points in space, and imagine being able to represent a very close approximation of a sphere with just 6 surface primitives. However, no software except some tech demo that i have never seen in person and can no longer find, used the feature, the Saturn games used degenerated quadratics into 4-point quadrilaterals, effectively rendering same as Saturn.

  • @demgreens
    @demgreens 4 роки тому

    1:48 Best description I've seen of the Saturn's 3D transparency issue.

  • @85MrBob
    @85MrBob 6 років тому +19

    Hi Jon bit of a weird question but I have always wondered, is Dave Burton a relation to you?

    • @GameHut
      @GameHut  6 років тому +43

      Yep, brother

    • @85MrBob
      @85MrBob 6 років тому +9

      Ahh! thanks for the reply!

    • @RoadStuffUK
      @RoadStuffUK 6 років тому

      What about Richard Burton? ;)

  • @BubbaBowie
    @BubbaBowie 6 років тому

    I know nothing about this stuff. But the way you explain and present them, I find it entertaining, informative, and I actually learn what you explain.

  • @caracalkarting
    @caracalkarting 6 років тому +12

    why does 3D blast have moral support in the credits???

    • @GameHut
      @GameHut  6 років тому +43

      Making games is hard. Helps having an understanding girlfriend

    • @theobserver4214
      @theobserver4214 6 років тому

      GameHut I'm just wondering what TT did for the SNES ports of its games, like Toy Story and Mickey Mania. How did you recreate the "3D" effects of the Genesis version on SNES, and if you even did?

    • @Macboy0
      @Macboy0 6 років тому +1

      The absolute chad.

    • @codecoderr7495
      @codecoderr7495 6 років тому +1

      being a hardware engineer feels like living in the 50's again (since reinventing everything). I think programmers back then had to adapt to non standard ways of achievements, so they had become hardware engineers in the process. lol

  • @nerdoutwordout6294
    @nerdoutwordout6294 6 років тому

    You (and your colleagues I'm sure) seem to have some fantastic ways to think outside the box and use logic to get great results. Thanks very much for sharing.

  • @potionmonkey157
    @potionmonkey157 6 років тому +54

    wait, so you are saying that each polygon in the game is actually a sprite that you had to move one by one? That seems EXTREMELY tedious

    • @nuckm
      @nuckm 6 років тому +14

      Shouldn't be that much different if it's still possible to use all of the standard cool matrix operations we use with triangles.

    • @potionmonkey157
      @potionmonkey157 6 років тому +6

      I mean, yeah, but let's say a character is made with 500 polygons, or "sprites". You would have to write one line of code for each and every sprite on a model, rather than just being able to write one line of code for the model.

    • @nuckm
      @nuckm 6 років тому +33

      I'm assuming you mean for rendering? No you wouldn't, that's what loops are for and it's no different that tris.

    • @vurpo7080
      @vurpo7080 6 років тому +37

      That's not really how programming works. Even on older machines with hardware sprites, like the Mega Drive or the NES, you still have to draw the entire screen, including all the sprites, for every frame. So every frame there would be some code going through all the things to be drawn, and drawing all those things on the screen. That's not really any different from how we use modern GPUs, we've just invented more efficient ways of getting all of those polygons onto the screen. (and modifying what they look like) Whether you call them "sprites" or "polygons" doesn't really have any effect on how to draw them onto the screen.

    • @potionmonkey157
      @potionmonkey157 6 років тому +7

      NOW I understand, thanks.

  • @Dirk1Steele
    @Dirk1Steele 6 років тому

    All these coding secrets videos are great. Please keep them coming.

  • @SianaGearz
    @SianaGearz 6 років тому +3

    Why so much storage overhead? A shift and a mask will conveniently divide all 3 or 4 colour components in half or a quarter... it will fade to black but it means you just have to work with subtractive colour, so you just subtract the last step from 1...

    • @GameHut
      @GameHut  6 років тому +12

      Makes the code more efficient, and I don't think the algorithm actually just did quarters. I used that in the video for simplicity but I think the actual colour calculation algorithm was more complex in reality.

    • @GraveUypo
      @GraveUypo 6 років тому +6

      processing power was certainly a more valuable commodity than storage space. remember, we has just left the cartridge generation where 2mb was a lot to this new cd gen with as much as 650mb available to play with. storage wasn't a bottleneck.

    • @SianaGearz
      @SianaGearz 6 років тому

      But these systems don't exactly have an overabundance of RAM either for what they're trying to accomplish. Well, the hardware limitations play out differently for different projects, so if some RAM is left over, no reason not to spend it.

    • @elgoog-the-third
      @elgoog-the-third 6 років тому

      Eh, 2 MiB of RAM and 1.54 MiB of video RAM isn't all too shoddy for 1995.

  • @sharksandbananas
    @sharksandbananas 6 років тому +1

    This is an amazing video, very well put together! Especially the quad overdraw explanation. Been wondering about Sonic R's fade effect for a while. Until this video, my best guess was maybe the hardware had built in some kind of early Direct3D8-like fog effect but the reality is so much more impressive!
    This series as well as the megadrive coding secrets means a lot to me. I'm so grateful you put in all this effort and look forward to future videos.

  • @LiveHedgehog
    @LiveHedgehog 6 років тому +4

    You're a genius.

  • @Elkplaysandpaints
    @Elkplaysandpaints 6 років тому

    FINALLY! Someone explains the difference in the Saturn and PlayStation's ways of rendering 3D in a way that I can understand! Excellent video. I actually was never curious about the fading backgrounds until now. Somehow I never really noticed it in relation to most other Saturn games like Daytona USA. It's amazing you had such a rich understanding of how to work with the Sega Saturn.

  • @cooliofoolio
    @cooliofoolio 6 років тому +3

    I din't feel fell so good Mr. Strak.

  • @ikey1555
    @ikey1555 4 роки тому

    I'm always blown away by the ideas that game programmers and artist come up with to make something work.And from what I've heard making a Saturn game was really hard.I wish I had the brain to program but the tricks to overcome challenges like this really just make my head spin

  • @Blackhawk19892
    @Blackhawk19892 6 років тому

    I've never been a big fan of Sonic Rs gameplay but your videos really show what a technical marvel it was. Still possibly the smoothest looking game on the system.

  • @UmeastudentTV
    @UmeastudentTV 4 роки тому

    It's remarkable the amount of ingenuity put into programming these games.

  • @ClockworkBastard
    @ClockworkBastard 6 років тому

    That video, once again made me recall my childhood dream. To became a programmer. Now I'm grown up idiot, but I can express that idea that I got into. Being a programmer, especially at those "early days" was like to constantly solve puzzles to eventually create an art, for everyone can see it.
    Thanks for your channel, Jon

  • @Hacker_lyx
    @Hacker_lyx 6 років тому

    This is a rare peek into hardware specific coding which never really gets talked about. It's also a really good reminder of how easier amateurs like myself have it these days. Stories like this are the reason I look up to older devs with so much respect.
    Any way thanks for all the great insight about tricks you've pulled off over the years. I can only hope to have stories like this to tell some day.

  • @GimblyGFR
    @GimblyGFR 6 років тому

    Another great video. Man, I love Coding Secrets... Back in the day you were always doing things that seemed impossible on the hardware you worked on.

  • @gamma_dc8289
    @gamma_dc8289 6 років тому

    Man, programming games for the saturn must have been a NIGHTMARE, but thank you for games I grew up with so much.

  • @CrossoverGameReviews
    @CrossoverGameReviews 6 років тому

    This is the only channel where I have to watch every video twice because all this info flies by me the first time, but the second or even third watch I finally start to understand.

  • @videogamemusicandfunstuff4873
    @videogamemusicandfunstuff4873 6 років тому

    I love this, really cool and clever. The saturn seems like it was a really fun challenge to program on.

  • @Retrobution
    @Retrobution 6 років тому

    Amazing. Explained the limitations of the saturn that i had no explanation for other than "it had too many processors" all in one video!
    You should crowdfund a documentary where you explore the world of videogame graphics from origin to today. Would be amazing to see

  • @viktorivanov5941
    @viktorivanov5941 6 років тому +1

    Casually shows documents with a huge "SEGA Confidential" watermark over it. Love this channel

  • @RocketLawnchair
    @RocketLawnchair 6 років тому

    I love watching these videos to see how programs and designers had to get around the limitations of hardware to create such amazing feats. Thanks for showing how this was done!

  • @orderofmagnitude-TPATP
    @orderofmagnitude-TPATP 6 років тому

    You guys were frickin heroes when it came to the saturn along with labotomy software. Very clever.

  • @CuppaJoeGamer
    @CuppaJoeGamer 6 років тому

    As a chance to geek out for a moment, thank you for these insightful videos on your past work as I grow a better appreciation for game development and the minds behind the projects, but also thank you so much for being a part of Sonic R. That game shaped me and my families' childhood in so many great ways, most of it for me was the soundtrack, but the game itself kept us coming back for more. Again, thank you so very much!

  • @nalicompleteworks
    @nalicompleteworks 6 років тому

    Every time I think you must be out of material, you come up with some other bit of wizardry. Cool stuff as ever.

  • @Knuckx117
    @Knuckx117 4 роки тому +1

    As much as we meme on Sonic R these days, you have to admit this was pretty technologically impressive.

  • @polynektar
    @polynektar 5 років тому

    So that's where Saturn's unique look comes from! I will be on the lookout for disappearing gourad lighting now! Thank you for the awesome info.

  • @brianpso
    @brianpso 6 років тому

    These stories are such an inspiration for me as a programmer. You old school devs must feel really damn proud. Doing stuff back then really was an art.

  • @acerimmer2000
    @acerimmer2000 6 років тому

    Been thinking about going back to coding after a working as a sound engineer I dropped out of my academic training to work in that field.
    But really loved programming as a child and now I want a new challenge.

  • @MatSpeedle
    @MatSpeedle 6 років тому

    I love how devs always found a way to work around these restrictions on older hardware, awe inspiring work sir! Thanks for explaining it.

  • @loudsonicbug2195
    @loudsonicbug2195 4 роки тому

    I love ur vids. Reminds me of how much love was put back in the days and how close to the hardware you worked.

  • @stagefatality
    @stagefatality 6 років тому

    Amazing. It's really nice to hear about programming and coding on the Saturn. The software based rendering has always fascinated me and seeing these tricks done with the limitations is something else.

  • @DallenMalna
    @DallenMalna 6 років тому

    thank you so much for making these. It's like getting to explore my childhood wonder^^

  • @607
    @607 6 років тому

    Aah, that's nice! It's great how that works so well. I wouldn't expect it to, when first hearing the issues, and the method used to get around them.

  • @GrayFoxGamingHD
    @GrayFoxGamingHD 6 років тому

    Considering that Sega were caught with their pants down regarding how much 3D Console gaming became relevant , people like yourself really worked wonders making 3D games on this 2D/ Sprite crunching monster. Sonic R was one of my childhood favorites , so thanks for helping that come to live :)

  • @jojogape
    @jojogape 4 роки тому

    I think Bugs Bunny Lost In Time probably used a similar technique. I'd swear I remember seeing that problem where semi-transparent shaded polygons affect the shading of the background. Very very interesting, great job!

  • @peoplethesedaysberetarded
    @peoplethesedaysberetarded 6 років тому

    These are great! Thanks for your time and effort in going back and explaining some of these tricks.