3D Renderer in Minecraft

  Рет қаралды 42,251

Cymaera

Cymaera

Күн бұрын

How do computers display 3D objects on a 2D raster? Today we explore this subject by creating a 3D Rendering Pipeline in Minecraft.
Source code:
github.com/TheCymaera/minecra...
A text-based 3D renderer I made:
heledron.com/misc/ascii3d/dem...
All my links:
heledron.com/links/
Inspired by:
3D Wireframe Renderer in Minecraft 1.14 by SethBling
• 3D Wireframe Renderer ...
Music & Sound:
Rubedo - Minecraft Nether Update (Original Game Soundtrack) by Lena Raine
Chrysopoeia - Minecraft Nether Update (Original Game Soundtrack) by Lena Raine
Stone sliding sound - • Stone Slide Sound Effects
Tools Used:
Davinci Resolve - Editing
Krita - 2D Graphics
Blender - 3D Graphics
DrawIO Integration (VSCode Extension) - Pipeline diagram
CodeSnap (VSCode Extension) - Pseudo-code snippets
Minecraft
Resources that helped me:
Explaining Homogenous Coordinates (Brendan Galea):
• The Math behind (most)...
Affine Transformations Visualization (Wikipedia):
en.wikipedia.org/wiki/Transfo...
WebGL Tutorial (Indigo Code):
github.com/sessamekesh/Indigo...
OpenGL Tutorial (The Cherno):
• Welcome to OpenGL
Chapters:
0:00 - Intro
1:30 - Gradient Triangle
2:23 - Cube
5:50 - Water
6:14 - Renderer Internals

Пікірлер: 104
@jonas2955
@jonas2955 Ай бұрын
Now make it run Doom
@cosi6669
@cosi6669 Ай бұрын
I was literally just about to comment the same thing
@yal1621
@yal1621 Ай бұрын
that would actually be easier
@BeetleDude33
@BeetleDude33 29 күн бұрын
UP
@gazehound
@gazehound Ай бұрын
You have to be kidding me. 4 years in university CS and I learn the reason we use 4D vectors from a Minecraft video.
@misterrabbit-m5114
@misterrabbit-m5114 11 күн бұрын
variant A: Your university is bad. variant B: You are bad student.
@liamfinlay2039
@liamfinlay2039 Ай бұрын
"now that we understand the basics..." Me: "uhhhh....riight...yeah" *Continues anyway*
@wiggletonthewise2141
@wiggletonthewise2141 Ай бұрын
This is incredible, I feel like there is so much potential to build off of this for creating things in a 3d space in game. You could animate a movie, you could create games, or custom UIs, the possibilities are endless
@_MaZTeR_
@_MaZTeR_ Ай бұрын
Someone already played Minecraft within Minecraft guessing with this method years ago
@leaivv
@leaivv Ай бұрын
@@_MaZTeR_No
@slavsit7600
@slavsit7600 Ай бұрын
@@_MaZTeR_ where
@BurninButter
@BurninButter 10 ай бұрын
How tf are you not more popular?
@unique_storm_777
@unique_storm_777 10 ай бұрын
Cuz he uploads very less frequently
@nabir14
@nabir14 6 ай бұрын
​@@unique_storm_777but the quality of the content is great I mean less content doesn't mean bad conten. The contens are actually good.
@nabir14
@nabir14 6 ай бұрын
@@MikkoMore nobody comparing popularity 💀
@nabir14
@nabir14 6 ай бұрын
@@MikkoMore and did anyone asked you can use f word on KZbin? BRUH
@nabir14
@nabir14 6 ай бұрын
@@MikkoMore I'll be honest I don't know where is Megalovania from and I am not telling you to delete your comment.
@Sloimay
@Sloimay 10 ай бұрын
Incredibly well-explained topic and incredibly elegant video :)
@roxtor8473
@roxtor8473 Ай бұрын
i love your videos; no yapping, no unecessary introduction (because we got it from the title), and no unecessary "like and subscribe", just what we came for. Keep it up !
@Giofm
@Giofm Ай бұрын
Why did a minecraft video help me to solve a rendering problem? 😭
@tiddly5
@tiddly5 6 ай бұрын
super well made! you explained a lot of fairly complicated 3d rendering concepts in a really easy to grasp way, keep it up
@TheBoringEdward
@TheBoringEdward 13 күн бұрын
Brother, you've explained 3D-rendering better than anyone else.
@spidunno
@spidunno 10 ай бұрын
this video is incredibly well made and does not seem like it would come from a channel with this few subscribers and a video with this few views, great video!
@charliezard64
@charliezard64 Ай бұрын
Dang this soundtrack is so nice. I absolutely love Rubedo. It’s so simple yet so atmospheric. Beautiful
@xanderdk
@xanderdk 10 ай бұрын
This guy is actually a proper genius.
@youtubeaccount6548
@youtubeaccount6548 20 күн бұрын
been going down a little rabbit hole of your videos, these are FASCINATING!!
@Doodoofart725
@Doodoofart725 Ай бұрын
I have a class about shader programming right now and this actually helped greatly lol
@SaltyBoi1030
@SaltyBoi1030 Ай бұрын
Let’s get this man to the 10,000 mark
@xianmichaelv.gallardo2811
@xianmichaelv.gallardo2811 7 ай бұрын
bro you need to be recognized
@AlexandHuman
@AlexandHuman Ай бұрын
I don't know how difficult it would be, but would it be possible to overlay 1 to 3 layers of stained glass in order to get wider range of inbetweening colors? I don't know at what level it'd look bad at, but I don't know, I think it'd be interesting, especially if it'd help to get textures for the rotating to look closer to say stone or something, or to provide shading to some level. I think it'd be cool to use an orthographic shader to make it look a bit better.
@colemoore5003
@colemoore5003 Ай бұрын
I've been trying to figure out how to do this at work- thank you so much for your clear explanations. Truly brilliant.
@Looki2000
@Looki2000 9 ай бұрын
You should be rendering the reflection camera image from the perspective of the main camera mirrored along the plane normal, not from the perspective along the plane normal.
@nucleargandhi2709
@nucleargandhi2709 25 күн бұрын
I kept staring at the reflection and thinking it was a little "off". Projective texture mapping definitely works using a camera reflected about the plane, and this approach of a camera looking up from the water plane *might* work, but it seems to have issues of its own.
@Kyanite.
@Kyanite. Ай бұрын
I couldn't help but notice the coloured squares were rendered at different postitions compared to actual cube through the "reflection" what is that?
@logostona3574
@logostona3574 7 ай бұрын
This is insane
@w1tre1n
@w1tre1n 10 ай бұрын
Bro, this is so amazing, my brain going to smart with you, thank you for this video ❤️
@Z1PC0DE
@Z1PC0DE Ай бұрын
Bro is pulling out the math textbook and my sleep deprived brain is just like “Ah, yes . . . that thing”
@vernick8823
@vernick8823 Ай бұрын
This is amazing. Your channel is underrated, math should be more popular
@fockssss
@fockssss 5 ай бұрын
Would love to see a raycaster-raytracer/ray marcher in Minecraft! Especially with a mesh input system, although not sure how that’d work with command blocks (assuming this isn’t using plugins)
@realdonutking123
@realdonutking123 5 ай бұрын
you should try it with some sort of dithering effect for a less jarring separation between colors when drawing gradients
@kemoxplus
@kemoxplus 10 ай бұрын
wow its incredible
@EY-lc3xy
@EY-lc3xy 10 ай бұрын
Amazing!
@user-yf1gh1bz2w
@user-yf1gh1bz2w Ай бұрын
With this and create mod, you can launch Doom in Minecraft
@lordwillibur438
@lordwillibur438 Ай бұрын
Why arent you hailed as one of the smartest people in Minecraft yet?!
@rileycampbell5691
@rileycampbell5691 23 күн бұрын
Goes hard
@Der_Rotsteiner
@Der_Rotsteiner 10 ай бұрын
Cube game in Minecraft?
@seccuenta50ydos
@seccuenta50ydos 10 ай бұрын
Everything I ever wanted
@astrantv367
@astrantv367 10 ай бұрын
amazing
@celticcallum8197
@celticcallum8197 10 ай бұрын
I did not understand half of what was said but I enjoyed that very much. 10/10
@BlockMasterT
@BlockMasterT 9 ай бұрын
Did you use motion canvas by aarthificial to edit this video? The graphics seem similar to his. Anyway, thanks for the video. It made me have an ambitious idea to make a video editor in Minecraft (I’ll never do that, but I like to dream)
@heledron
@heledron 9 ай бұрын
I used Blender for a few 3D animations. The rest are drawn in Krita and keyframed in Davinci Resolve. That’s an interesting idea. You should try it.
@nabir14
@nabir14 6 ай бұрын
Good content
@unique_storm_777
@unique_storm_777 10 ай бұрын
Update the sculk even more, ❤love from india
@eclogites
@eclogites 10 ай бұрын
Thanks!
@heledron
@heledron 10 ай бұрын
Wow, thanks so much! I’m glad you enjoyed.
@HeroMovies-fl4mm
@HeroMovies-fl4mm Ай бұрын
What tech stack do you use to code all this up?
@jalpaauplia4275
@jalpaauplia4275 Ай бұрын
THIS CHANNEL IS WORTH KJILLION OF SUBSCRIBERS😭
@Jroobelucios
@Jroobelucios 20 күн бұрын
Can it run doom
@user-zh1jv6uv9g
@user-zh1jv6uv9g Ай бұрын
I have a question, you once mentioned that if you doubled the size of the picture and it’s distance away from you, you would feel like nothing has changed.. With that logic, if you double the size (double the blocks) and the distance, would that make the 3d image have a higher resolution?
@Typocat
@Typocat Күн бұрын
5:14 anyone else notice pespective martrix
@RobinRhombus2
@RobinRhombus2 Ай бұрын
But can it run DOOM?
@irishurbadlmao
@irishurbadlmao Ай бұрын
i'm not that interested in this kind of content but i'm subscribing liking and commenting because man what the fuck you need more than 20k
@lodewijk.
@lodewijk. 10 ай бұрын
how are you running javascript code in minecraft?
@heledron
@heledron 10 ай бұрын
That’s pseudo code rewritten for simplicity. The actual plugin is written in Kotlin for Bukkit.
@zgrb
@zgrb 10 ай бұрын
Yeah, this is gonna blow up
@heledron
@heledron 10 ай бұрын
The only thing blowing up is my poor laptop.
@infernus8560
@infernus8560 6 ай бұрын
3d renderer in the 3d game :skull:
@notdrogoon0-0
@notdrogoon0-0 10 ай бұрын
i was literally just making this with datapacks lol
@VIGHTWENiNithanXD
@VIGHTWENiNithanXD 10 ай бұрын
i'm here before this video get famous
@RodieLEE
@RodieLEE Ай бұрын
i dont understand the codes and shi but i fw it
@marioantonio8885
@marioantonio8885 10 ай бұрын
Would have been nice to see different functions for the distortion of the water. Still an awesome video, though.
@heledron
@heledron 10 ай бұрын
I haven't looked much into water shaders. Do you have any functions in mind? I'd love to do a follow up video with proper water shaders.
@craftyblue8576
@craftyblue8576 10 ай бұрын
Do this with EMCL
@isaac10231
@isaac10231 6 ай бұрын
How does this not have hundreds of thousands of views.
@liamfinlay2039
@liamfinlay2039 Ай бұрын
Because it's too advanced for quick popularity.
@liamfinlay2039
@liamfinlay2039 Ай бұрын
Like absolutely agree that it should, and think the creator is WILD smart / awesome. But yeah, my bet would be it's too technical to get high traffic and shares. It's niche essentially.
@BMP2U
@BMP2U Ай бұрын
Make path tracing in minecraft
@mika2597
@mika2597 Ай бұрын
Is it run JavaScript wow
@gazerew
@gazerew Ай бұрын
Damm, now I'm sad i didn't pursue science
@WD_RatLad
@WD_RatLad Ай бұрын
make it run mario 64
@crazycreep1055
@crazycreep1055 Ай бұрын
Understood roughly half a word, but still watched through the entire thing. Really makes me want to learn more about these sorts of things in the future!
@mr-weirdo-man
@mr-weirdo-man 6 ай бұрын
remember me when your more famous
@kabooki22
@kabooki22 Ай бұрын
Now make doom with it
@Justaperson-rz3vw
@Justaperson-rz3vw Ай бұрын
And i understand noting 😅
@__arc5030
@__arc5030 4 ай бұрын
I know it's Minecraft music but it sounds like Interstellar music
@9799ms
@9799ms 10 ай бұрын
very nice. Now do it in mcfunction
@UnifiedCode
@UnifiedCode 10 ай бұрын
why?
@darksviper6751
@darksviper6751 Ай бұрын
Why haven't you made minecraft in minecraft using this yet?
@bolotniy
@bolotniy Ай бұрын
videos like these make me sad i can't stand math
@majordabalert
@majordabalert Ай бұрын
Insta sub
@deleted_handle
@deleted_handle Ай бұрын
make minecraft in minecraft
@lightning_11
@lightning_11 Ай бұрын
There's no way he's writing all of this in a data pack, right?
@Revoluks_
@Revoluks_ 10 ай бұрын
Первый
@unique_storm_777
@unique_storm_777 10 ай бұрын
Nah bro you are here before the video even starts
@weakw1ll
@weakw1ll 6 ай бұрын
ZWHAT
@weakw1ll
@weakw1ll Ай бұрын
I agree
We Built the Internet in Minecraft
25:18
Branzy
Рет қаралды 1,9 МЛН
How Minecraft ACTUALLY Works 💎⛏️
46:02
Alan Zucconi
Рет қаралды 1,3 МЛН
КАРМАНЧИК 2 СЕЗОН 4 СЕРИЯ
24:05
Inter Production
Рет қаралды 533 М.
ФОКУС С ЧИПСАМИ (секрет)
00:44
Masomka
Рет қаралды 3,8 МЛН
白天使和小丑帮助黑天使。#天使 #超人不会飞 #超人夫妇
00:42
I Made a 3D Renderer with just redstone!
24:56
mattbatwings
Рет қаралды 1,3 МЛН
Every Minecraft Far Lands, Ever.
15:16
AntVenom
Рет қаралды 355 М.
The Most Insane Desmos Sounds
1:33
Brachistocrone 314
Рет қаралды 11 М.
How Quake II's BFG10K Works
12:35
decino
Рет қаралды 187 М.
Storing Files in Minecraft | Project Showcase 3
13:10
BK Binary
Рет қаралды 1,1 МЛН
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 333 М.
I coded one project EVERY WEEK for a YEAR
13:13
Carter Semrad
Рет қаралды 408 М.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
I Remade Minecraft But It is Optimized!
9:39
Low Level Game Dev
Рет қаралды 73 М.
Building Clickbait Thumbnails with No Mods
12:35
avogaado
Рет қаралды 349 М.
RONALDO vs MR BEAST sus amogus EVOLUTION #cristianoronaldo #mrbeast #sus
0:58
Финиль из Огайо
Рет қаралды 16 МЛН
Skibidi Toilets vs Hammers and Bollards Part 74 #beamngdrive #skibiditoilet
0:10
VS Car Crash BeamNGDrive
Рет қаралды 31 МЛН