Redstone RAY-TRACER V2: Reflections, Shadows, ... (Minecraft) + Map Download

Поділитися
Вставка
  • Опубліковано 2 лип 2024
  • My last Video: • I built a 3D RAY-TRACE...
    My Tutorial Series: • Creating the most simp...
    (Building a Raytracer from scratch with Blender Math Nodes)
    Map Download: www.mediafire.com/file_premiu...
    (It takes 1-2 days to render an image, with Carpet Mod)
    Join my Discord Server: / discord
    I guess this is the first Minecraft Redstone Raytracer that renders shaded spheres with shadows and reflections. It's not as sophisticated as let's say the Excel Raytracer - but to get this working in Minecraft without too much effort, I had to cut a few corners. Otherwise I would have never even tried it.
    Mine runs on 20bit integers, and the only operations are: Add/Subtract, Multiply and bitwise operations. So this is really simple compared to a full floating point version. I used a variety of tricks/approximations to avoid square roots and divisions, which means the sphere intersections are not exact. There are still some issues at certain light angles etc.
    The largest upgrade from the 1st version is the new map display, which allows for much nicer images compared to a Redstone Lamp display.
    I should have built the display so that it covers the whole map, so you could actually put these on a wall just like a painting.
    Feel free to use parts of my build for your own creations.
    Music at the Beginning: Rains Of Meghalaya - Hanu Dixit (UA-cam Audio Library)
    Chapters:
    0:00 - Intro & Reveal
    1:04 - What's beeing Rendered
    2:40 - Changing Variables
    2:56 - In Minecraft
    5:40 - Map Colors and Dithering
    8:00 - The Display
    8:43 - Better Reflections
    10:04 - Conclusion and Problems

КОМЕНТАРІ • 422

  • @georg240p
    @georg240p  Рік тому +99

    In case you want to join my Discord Server: discord.gg/J2SDtqU

    • @cheesypies5166
      @cheesypies5166 Рік тому +2

      the redstone youve made is magic! its amazing what you've buildt

    • @lorenzodiambra5210
      @lorenzodiambra5210 Рік тому +1

      6:15 boomer jumpscare 😱😱🥵🥵🥵🥶🥶🥶

    • @lionlight9514
      @lionlight9514 Рік тому

      I love this content, it's so interesting, please make more!

  • @roboltamy
    @roboltamy Рік тому +1155

    Love the boom of redstone recently where we're getting progressively more advanced builds at a pretty fast rate. Extremely impressive and I look forward to whatever you do next.

    • @tronsrop
      @tronsrop Рік тому +15

      I think one of the factors are the recent updates mojang made to redstone

    • @mz7315
      @mz7315 Рік тому +25

      Just like in the real world, except the currency here is clout. Very VERY well deserved clout.

    • @rowanbcapr
      @rowanbcapr Рік тому +2

      maybe even soon someone will make a 10 hz computer!!!!

    • @boogiehasfun
      @boogiehasfun Рік тому +7

      @@rowanbcapr probably not because running computers using computers by using redstone is slow on vanilla minecraft, with mods we can probably do this. we’ll just have to see if it ever happens
      extra non-sense:
      basically running java code that is deep down made into binary code which creates redstone which is used to make computers that run binary code themselves is very slow with the little optimization that minecraft has.

    • @GameJam230
      @GameJam230 Рік тому +6

      ​@@tronsrop excluding the observer, the target block (which is used quite a lot in redstone surprisingly), and a small handful of containers which interact with comparators, redstone hasn't really been updated all that recently. The Redstone Update came out over 10 years ago now, and it added basically anything that isn't on the list above, from comparators, to redstone blocks.

  • @DoggletPug
    @DoggletPug Рік тому +384

    I literally can't imagine how frustrating debugging must be. I get pissed when I can't figure out a bug in 10 minutes, this guy has to wait that long for a quarter of the image to load before he knows if he's right in his calculations or not. Seriously good job my man.

    • @nikkiofthevalley
      @nikkiofthevalley Рік тому +26

      He probably uses speed mods, there's mods that remove the 20 TPS limit and let the game run as fast as it can.
      Edit: Oh, he was already using speed mods. MCHPRS might help still, but as far as I can tell, he wasn't using it.

    • @mz7315
      @mz7315 Рік тому +4

      Sodium can also help, though I think that's just for chunk loading.

    • @Pixelhurricane
      @Pixelhurricane Рік тому +15

      I get pissed when the auto-compiler doesn't redline a piece of code that doesn't work right lol, I'd probably die before I could fix a redstone machine like that

    • @LtdJorge
      @LtdJorge Рік тому +1

      ​@@mz7315no, it cannot. The limit here is that redstone works with the tick system of Minecraft, which is 20 per second. So if you add 20 repeaters in a line, it would take 1 second for the signal to cross them, and there's nothing you can do about it.

    • @S_R_L_M
      @S_R_L_M Рік тому +5

      @@LtdJorge He literally said he used a mod to speed up the game. 3:30 - He is running up to 500tps

  • @sanderbos4243
    @sanderbos4243 Рік тому +483

    As someone who wrote a path tracer in C recently for uni, massive respect for being able to pull this off in Minecraft! Using maps is a great idea, and as you mention in the description it'd make for awesome wall decorations like they're paintings. You could even construct a massive render on a wall by putting a bunch of single maps next to one another! If you haven't heard of it yet you should look up "Minecraft High-Performance Redstone Server": "It turns your redstone in an optimized graph representation and then does a few basic optimizations on that and then finally just iterates over this data structure to run the redstone." It makes redstone run several orders of magnitude faster! :D

    • @hampter4017
      @hampter4017 Рік тому +12

      this build won't work with mchprs, it doesn't support observers or pistons

    • @sanderbos4243
      @sanderbos4243 Рік тому +17

      @@hampter4017 Right, but the observers and pistons aren't essential to this build in theory, right? It seems worth it to limit your redstone component arsenal when dealing with rendering for literal days.

    • @AlbySilly
      @AlbySilly Рік тому +8

      Sadly the pistons are essential since it's what makes map rendering possible

    • @kerty-
      @kerty- Рік тому +5

      ​@@AlbySilly I think it's possible to remove the display and write a script that will take the result and convert it to an image for faster debugging

    • @AlbySilly
      @AlbySilly Рік тому +2

      @@kerty- I mean that is true, you can grab the state of a block via modding/scripting/plugins and possibly even having that output create a map with more work.
      I may be more of a purist when it comes to this though since I'd probably just want to see it in pure vanilla rs logic (probably with a high performance rs server/mod)
      It'd still be really impressive if it was implemented, I can think of two ways of doing it
      1. Take redstone strength in a grid and draw it to the image (The redstone strength at that position represents a color on the image)
      This is probably fairly similar to how it's done now, sans the pistons
      2. Take 3 redstone inputs (X,Y,col) and plot to image (basically give the rendering task to the mod)
      This would remove the need for a huge square to draw the image and you can basically just read the signals from the output of the dithering machine
      Actually looking at how he made the screen/data transfer, some changes to the design may be necessary

  • @MaxLai_0104
    @MaxLai_0104 Рік тому +123

    Redstone has gone from opening a door, to doing simple math, to doing complicated math, to rendering a full game, and to ray-trace better than some hardware.

    • @Sasha2k1
      @Sasha2k1 Рік тому +50

      >Raytrace better than some hardware.
      I feel this is a bit disingenuous. We were able to raytrace for a loong time, all the way back to the 70s. It's only now that we got to the level of hardware that can do it in REAL TIME, something Minecraft cannot do.

    • @bobajett1025
      @bobajett1025 Рік тому

      @@Sasha2k1 what he said

    • @boltok1732
      @boltok1732 Рік тому

      @@Sasha2k1ever heard about minecraft RTX and SEUS PTGI shaders?

    • @Mmshh
      @Mmshh Рік тому +3

      @@boltok1732 using redstone

  • @SkyF3ar
    @SkyF3ar Рік тому +58

    My god I don't think enough people appreciate the wizardry you are doing here. This is far beyond the simple Minecraft calculators. Excellent job.

    • @davibarbosa1622
      @davibarbosa1622 Рік тому +1

      And a calculator in Minecraft is already impressive

  • @oberonpanopticon
    @oberonpanopticon Рік тому +47

    Honestly I’m just glad I’ve finally found someone using a map display rather than redstone lamps.
    I’m not an expert but it seems like it’s superior in most ways to use a map/piston setup.

    • @Whatismusic123
      @Whatismusic123 Рік тому

      Tbf redstone lamps are more minecraft-y

    • @rowanbcapr
      @rowanbcapr Рік тому

      @@Whatismusic123redstone lamps are easier but an rgb screen is so much better

  • @alantaylor2694
    @alantaylor2694 Рік тому +18

    On paper this is technically no big deal. Adders and such in redstone have been around for ages...and rendering principles are well known by now , but...
    The fact that you, sir, actually did it blows my freaking mind!
    Amazing work. The brain power going into this is huge.

  • @isaakboes6781
    @isaakboes6781 Рік тому +71

    Alright, so we have minecraft in minecraft, we have ray tracing in minecraft, time to make minecraft rtx!
    In all seriousness, this is absolutely insane! Earned a sub man.

    • @nightglide_
      @nightglide_ Рік тому +12

      Modding Minecraft by building a redstone machine 💀

    • @AyushTH
      @AyushTH Рік тому +3

      I wonder if we can actually run minecraft in minecraft eventually. (By this I mean in a redstone computer running minecraft, this ofc has never been done before).

    • @nyox999
      @nyox999 Рік тому

      ​@@nightglide_mods in vanilla

    • @staywokecuhh
      @staywokecuhh Рік тому +1

      @@AyushTH Maybe Im confused as to what exactly you mean by running MC in MC on a redstone computer, but there is already a video on youtube of a group of people that built a redstone comp in order to run MC. sammyuri posted this video, ua-cam.com/video/-BP7DhHTU-I/v-deo.html of his build and simple explanations of each component of his redstone computer. granted, its a stretch to call the game they designed in redstone Minecraft.

    • @AyushTH
      @AyushTH Рік тому +1

      @@staywokecuhh Although I was talking about getting java to run and all that crap someone already made a 32-bit redstone computer which could theoretically run Minecraft so I concede.

  • @nikocraftde
    @nikocraftde Рік тому +22

    Just INSANE! Really good video! Respect for your work!

  • @orbismworldbuilding8428
    @orbismworldbuilding8428 Рік тому +1

    This is, amazing, beautiful, interesting
    I can see how the recent advancements in redstone led to this (map rendering, redstone computer trend, renderers built in minecraft)
    Its so cool, i love how amazingly far redstone has come

  • @vsdan4814
    @vsdan4814 Рік тому +5

    This is absolutely incredible!

  • @CraftyMasterman
    @CraftyMasterman Рік тому +1

    YEEEEEAHHHHH more map displays! Best display method EVER!

  • @aspidinton
    @aspidinton Рік тому +5

    bro is fr insane

  • @ethenaux
    @ethenaux Рік тому +8

    Not sure if this has been brought up to you before but one way you could potentially optimise the machine is by using redstone rails instead of redstone wire. Redstone rails produce far less lag and function similarly (with the use of observers) which should reduce the amount of time it takes to process a single image.

  • @unknownusrname
    @unknownusrname Рік тому

    Man you redstone engineers are really something else ngl, amazing work keep it up.

  • @RainyCobra
    @RainyCobra Рік тому +15

    This is genuinely insane.
    Also, nice seeing you make cool stuff in minecraft after so long :)

  • @ckcgaming1134
    @ckcgaming1134 Рік тому +16

    This is insanely cool, don't get me wrong, I love it, but sometimes I miss the days where being excited over redstone was when someone made a 3x3 piston door. I can't compete at this level😭

    • @Bledder
      @Bledder Рік тому +2

      You don't need to compete. And a 3x3 redstone door still is exciting

  • @doggo9757
    @doggo9757 Рік тому +5

    I recently built a path tracer in webgl and was pretty proud myself. But this, this is some next level stuff.

  • @davemarcosmalicdem9543
    @davemarcosmalicdem9543 Рік тому +2

    soon enough we'll be able to render the entire observable universe in minecraft with redstone. this is amazingly fascinating.

  • @Hylianmonkeys
    @Hylianmonkeys Рік тому +2

    This is truly awsome.
    I've been developing a 7bit redstone game system but this is a whole new level.
    It's always so inspiring to see this kind of work being done.

  • @SeamlessError
    @SeamlessError Рік тому

    im loving the plethora of redstone engineers im seeing on my fyp lately!
    1 new subscriber, this is amazing!

  • @ARealLemonLime
    @ARealLemonLime Рік тому

    This is crazy! Great job :D

  • @chilledwavez
    @chilledwavez Рік тому +2

    This is insane, kudos to you

  • @wilbowaggons
    @wilbowaggons Рік тому

    I've been looking forward to this

  • @vladde
    @vladde Рік тому

    i'm so amazed by this! and you talk about it like it's nothing special 🤯🤯

  • @atomdyno6128
    @atomdyno6128 Рік тому

    I am at a loss for words right now… this is amazing

  • @MECKENICALROBOT
    @MECKENICALROBOT Рік тому

    Let’s go!!! Omg you definitely get my sub!

  • @SuperLlama88888
    @SuperLlama88888 Рік тому

    WOW!!!!!! This is truly insane!

  • @mehigh4217
    @mehigh4217 Рік тому

    Nice job!

  • @fulgenexc7285
    @fulgenexc7285 Рік тому

    I am incredibly impressed.

  • @cosmojev
    @cosmojev Рік тому

    This man needs more subscribers. The things he creates are unimaginable in minecraft!

  • @HighVoltageDrakensang
    @HighVoltageDrakensang Рік тому

    this is crazy considering that this shit is hard even in program language and you did it in redstone mc. big respect

  • @Povilaz
    @Povilaz Рік тому

    Very interesting!

  • @le3lux
    @le3lux Рік тому

    Insane, love it

  • @Kokonutzlz
    @Kokonutzlz Рік тому

    I love your skin, it's so funny with the bombastic side eye it's giving

  • @Zuion_Art
    @Zuion_Art Рік тому

    Bruh this is the most Minecraft thing i ever seen 💀💀💀 good job

  • @mineless1
    @mineless1 Рік тому +2

    Not sure what I just witnessed, but I LOVE IT! :)

  • @DemonixTB
    @DemonixTB Рік тому

    oh cool! great work

  • @idol_ru
    @idol_ru Рік тому

    OMFG, its unreal. Like

  • @huxleyleigh4856
    @huxleyleigh4856 Рік тому

    An amazing video! Subscribed :)

  • @dikiy_0pezdal
    @dikiy_0pezdal Рік тому +1

    just incredible.

  • @STANNco
    @STANNco Рік тому

    took me a while to realize, but you're basically coding a fancy shader with minecraft redstone, super cool

  • @ruix
    @ruix Рік тому

    One of those things that are technically simple and doable but realy REALLY hard to actually do. I remember the days most complicated redstone machine was 3x3 flush door. Hats off

  • @esahg5421
    @esahg5421 Рік тому

    incredible!

  • @ThomasDemonte-fb6jj
    @ThomasDemonte-fb6jj Рік тому

    This is awesome great vid

  • @Tusk56
    @Tusk56 Рік тому

    This guy deserves more subs geez well done *:)*

  • @InnocentOne933
    @InnocentOne933 Рік тому +2

    This is insane

  • @regav62
    @regav62 Рік тому +17

    RTX ON
    Jokes aside, EPIC build
    1:40 this part is melting my brain

    • @saynousinz2459
      @saynousinz2459 Рік тому

      really not hard to grasp the concept of reflections, what are you, 13?

  • @aradmnk1269
    @aradmnk1269 Рік тому

    Just seeing the title and thumbnail is enough to blow one’s mind

  • @jaythecoderx4623
    @jaythecoderx4623 Рік тому

    You're officially insane

  • @therealtwo2dee
    @therealtwo2dee Рік тому +1

    man you are an actual wizard or something like i still struggle with a redstone door and you're out here building a functional computer that does ray tracing im both so confused and impressed!

  • @-.a
    @-.a Рік тому +12

    this is insane, you deserve every single view and sub you get x10

  • @mrgeniasworld4374
    @mrgeniasworld4374 Рік тому

    Stunning! Music at the beginning of the video: Música Eletrônica Leve Indiana

  • @Akimitsu64
    @Akimitsu64 Рік тому

    Wow! I wanna do map art now haha!
    That is so clever!!!

  • @goldsucher8578
    @goldsucher8578 Рік тому

    LOVE IT!

  • @aryananjayan
    @aryananjayan Рік тому

    You're that one kid who goes overboard for the school projects.
    I have one word for you- Speechless

  • @EngineerNick
    @EngineerNick Рік тому

    That's awesome :O

  • @hunam_
    @hunam_ Рік тому

    crazy, impressive

  • @mega9465
    @mega9465 Рік тому

    Big respect !

  • @sh_4016
    @sh_4016 Рік тому +1

    This just improved a lot since the last one!🤯
    But could you please Show how the square-root and division aproximations work?🙏

  • @cursedRavioli
    @cursedRavioli Рік тому

    What. Is. Happening?
    I mean, super impressive. Mind blown.

  • @Hasslpaff
    @Hasslpaff Рік тому

    WOW. I´m always looking for youtubers who go beyond. i´d call myself a noob and i´m learning more and more by the time. I´m glad that i found you. you explain really well. But seeing your videos shows me how much of a noob i still am. :-D

  • @iogamesplayer
    @iogamesplayer Рік тому +2

    Amazing

  • @t1ckl_
    @t1ckl_ Рік тому

    Respect👍

  • @baringozi2214
    @baringozi2214 Рік тому +2

    Truly the greatest game of all time. Nothing is impossible in it.

  • @Kaldrin
    @Kaldrin Рік тому

    Insane wow

  • @soy_jacks
    @soy_jacks Рік тому

    That’s nuts

  • @toblobs
    @toblobs Рік тому +2

    Can't wait to actually raytrace games in a few years on Minecraft redstone

  • @MaybleYT
    @MaybleYT Рік тому

    Cool!

  • @Jayderzomb
    @Jayderzomb Рік тому

    Crazy such video only has such „few“ views, sounds like a German accent, keep it up man!

  • @rigdekai_4205
    @rigdekai_4205 Рік тому

    Magic, got it!

  • @tqxadminhouse5380
    @tqxadminhouse5380 Рік тому

    Dis is cool i approve

  • @user-ws8bb8ii4n
    @user-ws8bb8ii4n Рік тому

    very cool video

  • @actually_rico
    @actually_rico Рік тому

    fascinating

  • @dapcuber7225
    @dapcuber7225 Рік тому +1

    holy shit this is insane

  • @Picticon
    @Picticon Рік тому +2

    Reminds me of when I bought Turbo Silver for my Amiga back in the day. I put a bunch of balls into a new scene and started the render. It said it would take almost a day... well... I didn't do much with it after that. Didn't get into 3d modeling until years later with 3dsmax.

  • @THE_ONLY_REAL_WAFFLE
    @THE_ONLY_REAL_WAFFLE Рік тому

    Nice

  • @LenzGraphics
    @LenzGraphics Рік тому +1

    🤯

  • @Skelterbane69
    @Skelterbane69 Рік тому

    I can barely power a minecart track and this guy is deconstructing the universe

  • @jonathanwilson8809
    @jonathanwilson8809 Рік тому +2

    I would suggest adding specular highlights to the top left sphere because it acts shiny during the ray tracing, but not in the global diffuse lighting

  • @ramil-go9627
    @ramil-go9627 Рік тому

    I can't write it is in c++, but this guy can make himself language into the game

  • @minebuilder1805
    @minebuilder1805 Рік тому

    You just make brillant stuff, it is way better than my builds with redstone. I would really like to see something like this in the future but with instant tech but right now it would just kill your graphics card and make the cpu to hate you. Thanks for such brillant stuff, i hope that i can see some Videos from you in the future.

  • @portalwalker_
    @portalwalker_ Рік тому +3

    Have you heard of MCHPR? From my understanding it is a Minecraft server you can run on your PC specifically designed for building PCs because it handles a few chunks together in separate threads and thereby speeds up the calculation your PC has to do

  • @TheZenytram
    @TheZenytram Рік тому

    This is completam madness

  • @Shrek5when
    @Shrek5when Рік тому +2

    He is becoming too powerful!

  • @albertoedgar831
    @albertoedgar831 Рік тому

    redstone in minecraft is reaching the point at wich we are in real world: now its all about performance and how well you can code assembly.

  • @mennonis
    @mennonis Рік тому

    Crazy cool stuff, now add color! 😅

  • @johnbrown4682
    @johnbrown4682 Рік тому

    here before this blows up

  • @phame1225
    @phame1225 Рік тому

    Finally, I can have raytracing on my low-end pc

  • @FluffyAngelUwU
    @FluffyAngelUwU Рік тому

    "Hey, how do you like to render your models?"
    "Minecraft!"

  • @hackzinchavoso9656
    @hackzinchavoso9656 Рік тому

    Wow😮

  • @heksatek3407
    @heksatek3407 Рік тому

    sir this is so fucked up and impressive at the same time im lost for words

  • @criticalposts3143
    @criticalposts3143 Рік тому

    dammit now you got me wanting to code a simple rat tracer again

  • @LucasStraub
    @LucasStraub Рік тому

    As a game engineer and a Redstone enthusiast, I have to say: this is fucking awesome!

  • @sagard444
    @sagard444 Рік тому

    Minecraft is really great you can do watever you want

  • @farmertree8
    @farmertree8 Рік тому

    I'm just speechless wtf

  • @exil_s4247
    @exil_s4247 Рік тому

    boah, das du das alles bauen und planen musstest... respekt

  • @mr.shroom4280
    @mr.shroom4280 Рік тому

    Since when GPT 96 come out? Inspiriing work bro!

  • @user-uh8xd6db6q
    @user-uh8xd6db6q Рік тому

    You are the most smart ass i ever saw on UA-cam