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
In case you want to join my Discord Server: discord.gg/J2SDtqU
the redstone youve made is magic! its amazing what you've buildt
6:15 boomer jumpscare 😱😱🥵🥵🥵🥶🥶🥶
I love this content, it's so interesting, please make more!
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.
I think one of the factors are the recent updates mojang made to redstone
Just like in the real world, except the currency here is clout. Very VERY well deserved clout.
maybe even soon someone will make a 10 hz computer!!!!
@@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.
@@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.
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.
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.
Sodium can also help, though I think that's just for chunk loading.
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
@@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.
@@LtdJorge He literally said he used a mod to speed up the game. 3:30 - He is running up to 500tps
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
this build won't work with mchprs, it doesn't support observers or pistons
@@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.
Sadly the pistons are essential since it's what makes map rendering possible
@@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
@@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
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.
>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.
@@Sasha2k1 what he said
@@Sasha2k1ever heard about minecraft RTX and SEUS PTGI shaders?
@@boltok1732 using redstone
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.
And a calculator in Minecraft is already impressive
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.
Tbf redstone lamps are more minecraft-y
@@Whatismusic123redstone lamps are easier but an rgb screen is so much better
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.
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.
Modding Minecraft by building a redstone machine 💀
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).
@@nightglide_mods in vanilla
@@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.
@@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.
Just INSANE! Really good video! Respect for your work!
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
This is absolutely incredible!
YEEEEEAHHHHH more map displays! Best display method EVER!
bro is fr insane
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.
Man you redstone engineers are really something else ngl, amazing work keep it up.
This is genuinely insane.
Also, nice seeing you make cool stuff in minecraft after so long :)
yoo the funy fnf boi is here
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😭
You don't need to compete. And a 3x3 redstone door still is exciting
I recently built a path tracer in webgl and was pretty proud myself. But this, this is some next level stuff.
soon enough we'll be able to render the entire observable universe in minecraft with redstone. this is amazingly fascinating.
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.
7bit? Weird number but ok
@@WindowsDrawer why have 8 bits when you can have seven
im loving the plethora of redstone engineers im seeing on my fyp lately!
1 new subscriber, this is amazing!
This is crazy! Great job :D
This is insane, kudos to you
I've been looking forward to this
i'm so amazed by this! and you talk about it like it's nothing special 🤯🤯
I am at a loss for words right now… this is amazing
Let’s go!!! Omg you definitely get my sub!
WOW!!!!!! This is truly insane!
Nice job!
I am incredibly impressed.
This man needs more subscribers. The things he creates are unimaginable in minecraft!
this is crazy considering that this shit is hard even in program language and you did it in redstone mc. big respect
Very interesting!
Insane, love it
I love your skin, it's so funny with the bombastic side eye it's giving
Bruh this is the most Minecraft thing i ever seen 💀💀💀 good job
Not sure what I just witnessed, but I LOVE IT! :)
oh cool! great work
OMFG, its unreal. Like
An amazing video! Subscribed :)
just incredible.
took me a while to realize, but you're basically coding a fancy shader with minecraft redstone, super cool
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
incredible!
This is awesome great vid
This guy deserves more subs geez well done *:)*
This is insane
RTX ON
Jokes aside, EPIC build
1:40 this part is melting my brain
really not hard to grasp the concept of reflections, what are you, 13?
Just seeing the title and thumbnail is enough to blow one’s mind
You're officially insane
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!
this is insane, you deserve every single view and sub you get x10
Stunning! Music at the beginning of the video: Música Eletrônica Leve Indiana
Wow! I wanna do map art now haha!
That is so clever!!!
LOVE IT!
You're that one kid who goes overboard for the school projects.
I have one word for you- Speechless
That's awesome :O
crazy, impressive
Big respect !
This just improved a lot since the last one!🤯
But could you please Show how the square-root and division aproximations work?🙏
What. Is. Happening?
I mean, super impressive. Mind blown.
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
Amazing
Respect👍
Truly the greatest game of all time. Nothing is impossible in it.
Insane wow
That’s nuts
Can't wait to actually raytrace games in a few years on Minecraft redstone
Cool!
Crazy such video only has such „few“ views, sounds like a German accent, keep it up man!
Magic, got it!
Dis is cool i approve
very cool video
fascinating
holy shit this is insane
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.
Nice
🤯
I can barely power a minecart track and this guy is deconstructing the universe
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
I can't write it is in c++, but this guy can make himself language into the game
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.
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
This is completam madness
He is becoming too powerful!
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.
Crazy cool stuff, now add color! 😅
here before this blows up
Finally, I can have raytracing on my low-end pc
"Hey, how do you like to render your models?"
"Minecraft!"
Wow😮
sir this is so fucked up and impressive at the same time im lost for words
dammit now you got me wanting to code a simple rat tracer again
As a game engineer and a Redstone enthusiast, I have to say: this is fucking awesome!
Minecraft is really great you can do watever you want
I'm just speechless wtf
boah, das du das alles bauen und planen musstest... respekt
Since when GPT 96 come out? Inspiriing work bro!
You are the most smart ass i ever saw on UA-cam