Тёмный

I designed a 3D Renderer 

TheCodingTurtle
Подписаться 2 тыс.
Просмотров 9 тыс.
50% 1

Опубликовано:

 

30 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
If this video gets two likes i'll build it in real life Github Link: github.com/TheCodingTurtle/tortlecard
@MikeDawson1
@MikeDawson1 10 месяцев назад
i'm seeing two likes, get to building
@enricofischer1330
@enricofischer1330 10 месяцев назад
I was wondering of 16 bit Could be bether than 32 Bit as you more than half your Power consumption(in theory). The IEEE 16 (Half precision) 1 sign 5 exponent 10 Mantissa But you don't nead Range for Games so: 1 sign 4 exponent 11 Mantissa You can now convert into Verry Precise 8-bit int
@aranyilmazerli2121
@aranyilmazerli2121 10 месяцев назад
I swear the turtle cart will surpass the 4090 soon
@thisguyisnotable
@thisguyisnotable 10 месяцев назад
you're very talented being able to understand and construct cpu's at 13 years old, well done!
@jeanlouis5619
@jeanlouis5619 9 месяцев назад
What he's only 13!!!
@milasudril
@milasudril 10 месяцев назад
Totally correct. The whole point of a GPU is to specialize on graphical operations. Do not waste logic on a general purpose CPU. Implement the algorithms as directly as possible in hardware.
@TheOriginalZilla
@TheOriginalZilla 10 месяцев назад
Been following since your first GPU Video. Really cool stuff! I love the progress you've been making and showing the trials and errors. It is a genuine reminder to just push into something and try and try and see how it works. As well as having a general idea of some key milestones! Thanks for the video and github link! Keep going! Youre a star!
@mrkosmos9421
@mrkosmos9421 10 месяцев назад
This is pretty good I feel like a more in-depth technical video would be interesting too, I'd watch it
@low-key-gamer6117
@low-key-gamer6117 10 месяцев назад
Take this from another guy who was really interested in electronics and computers since a very young age but failed because of lack of resources. If you are really 13, you are a prodigy.
@carteeeeeeeeee
@carteeeeeeeeee 6 месяцев назад
my god this is amazing, i'm 13 too and ive desgined some amazing stuff but not like,,,,, an entire graphics card??? you are so fucking cool bro
@AstroSamDev
@AstroSamDev 10 месяцев назад
Very interesting video, it would be interesting to see a physical implementation of this. Also, you would likely need to expand on it's processing capabilities if you want to optimize ray-tracing at all.
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
Hi AstroSam, I never expected you to see this video but you were actually one of my inspirations to make this. Your content is great, and I really enjoyed your 16-bit CPU video :D
@5eda
@5eda 10 месяцев назад
It's astrosam!
@xanderplayz3446
@xanderplayz3446 10 месяцев назад
Astro, where videos???
@AstroSamDev
@AstroSamDev 10 месяцев назад
@@xanderplayz3446 :|
@LauLauHip
@LauLauHip 10 месяцев назад
Crazy how modern gpus can perform billions of these in a single second
@lemonjumpsofficial
@lemonjumpsofficial 9 месяцев назад
Let's goooo! I'm so hyped for the next one!
@sanketsbrush
@sanketsbrush 9 месяцев назад
As a game developer I was curious how the things works. By watching your videos now I have basic understanding of how gpu works.
@beniven-dev
@beniven-dev 9 месяцев назад
Astrosam made a cpu, you made a gpu, and they are both 16bits, I still havent started on my project so i currently dont know how they work, but i mean, combining them might be a good idea
@morgan0
@morgan0 9 месяцев назад
parallelism on this would be neat, like maybe have a bunch of units which can operate on a rectangular subset of the screen, figure out where the line intersects its region, draws that, and then the units move thru all the subdivided regions until the whole frame is drawn
@sleepyboi2852
@sleepyboi2852 10 месяцев назад
I cannot believe a 13 year old made this Great job mate, keep up the great work!
@3RR0RNULL
@3RR0RNULL 10 месяцев назад
This almost gives me the motivation to actually do something. Only almost though.
@IronFairy
@IronFairy 9 месяцев назад
This is so cool! Can't wait to see the 300RTX!
@janlavcharivmakhgalsuren6127
@janlavcharivmakhgalsuren6127 9 месяцев назад
Thank you for your open source project.
@alexandrubusuioc6800
@alexandrubusuioc6800 9 месяцев назад
Cool! Maybe merge this with a CPU you made like jdh? Also, it might be better for channel growth if the videos would be longer. Just throwing out ideas into the world...
@logyre9347
@logyre9347 10 месяцев назад
This is amazing, I love to see more of this!
@ItsCOMMANDer_
@ItsCOMMANDer_ 10 месяцев назад
Tbh, the first version was more a CPU connected to a video card, but it still was a great video with amazing results.
@aestronom1920
@aestronom1920 10 месяцев назад
Now run DOOM on it.
@wlockuz4467
@wlockuz4467 9 месяцев назад
My drew a line and immediately wants to go for ray tracing, respect.
@electron2219
@electron2219 10 месяцев назад
Your voice began to change 🙏🙏
@DiegoVantesco
@DiegoVantesco 10 месяцев назад
Amazing, keep up the good work
@Neoh_NaN
@Neoh_NaN 10 месяцев назад
You can actuary set all the clock speeds to 1 tick and lower the instruction clock to 250 tick's and it' still works the same but it's 25 times faster. Edit: you can also remove the padding between the points to double the speed to 50 times the original
@sebastianolivo9843
@sebastianolivo9843 10 месяцев назад
Hey turtle would you mind sharing which sources you used to learn how to build your GPU projects? Some books or papers for example. I want to learn how to build a GPU too so it would be great.
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
To learn electronics and how computers work, I watched a lot of Ben Eater's videos and he explains topics very well. My first ever graphics card, the Turtle Card 100X was largely based on Ben Eater's own GPU series. As my knowledge increased, I was able to branch off and do more complex graphics cards that could do things like play videos and 3D render objects. What I would suggest is to just watch Ben Eater's videos and try out some of his projects until you can branch off into doing your own stuff👍
@NYANcat-qf7eg
@NYANcat-qf7eg 7 месяцев назад
Wow... You made a lot of functioning things at only 13 year old ! And i almost feel like i am worthless i tried one time doing a homemade graphics card and failed miserably. So yeah i feel like i serve nothing and i am not good at what i love ):
@7xyn
@7xyn 6 месяцев назад
I have a question, what's the software that your using to design the gpu? and, what do I have to learn to do these types of stuff? I subbed, and liked btw keep making content like this.
@TheCodingTurtle
@TheCodingTurtle 6 месяцев назад
Thanks! I used Logisim to make the graphics card, and I learned this by watching a lot of Ben Eater videos and building some of his projects until I could understand how they work and make my own.
@shoofle
@shoofle 10 месяцев назад
Fantastic work!
@strelkomania
@strelkomania 10 месяцев назад
ah yes ... good old logisim
@ooski
@ooski 10 месяцев назад
HE'S ALIVE
@-uz
@-uz 10 месяцев назад
interesting video, please do more stuff like this topic
@alucard64music61
@alucard64music61 9 месяцев назад
Interesting. Im nearly 21 and nearly finished with apprentice. And tou can pull of 3D rendering at 13 years old. Impressive. What Logic Programm do you use in this video? Im currently designing a console with nes concept based graphics.
@TheCodingTurtle
@TheCodingTurtle 9 месяцев назад
Thanks! I used Logisim Evolution to simulate it.
@ian_silent
@ian_silent 10 месяцев назад
This is incredible
@prozacgodretro
@prozacgodretro 10 месяцев назад
I wonder if you could create a shader processor instead of ray tracer, hear me out... if you created a tool that can apply some form of software controled update to each pixel, and then just... doubled it quadrupled it etc... boom paralellism... You may be able to even do it in some small amount of supplemental memory for the 'core' but that would be fun... ehem "fun" In other topics there was a video on yt about how some hardware did 3d (it was sega, I think), it's talked about the pipeline being a matrix math accelerator some bits and bobs to store the output and wether or not to run some post calculations against it... and boom it did 3d math in a pipeline much like your line algorithm. I'll search for it here for a bit and if I find it I'll ping ya, OR someone else can pipe in if they think they know the video. In any event great video!, love to see more keep doing it.
@morgan0
@morgan0 9 месяцев назад
oh i think i remember that, i forget the channel but it had some house shaped thing with a square and triangle and the guy worked on sega games or something. it was a big multi part instruction to do a bunch of math in parallel, and then each instruction could tell it what register to do that each time and get a lot done in parallel
@ArneChristianRosenfeldt
@ArneChristianRosenfeldt 9 месяцев назад
The problem with a ray tracer is that we repeat many calculations. For more "game-like" scenes it would make sense to place a quad-tree on the screen ( similar to hierarchical z-buffer) and then trace pyramids. If the scene is only composed of meshes and spheres ( for physics collision algorithm ) you can code all collisions. Then split up recursively. Even works with reflective meshes ( smooth subdivision of a water surface for example) and spheres. Does not work with bump maps or fabrics. So if you want to re-invent Blender cycles .. I think cycles is pretty parallel. Again for games we want the shader to be fast with small triangles ( retro lowres 320x240 ). Though quadruple=2x2 pixel would fit well with the phrases in the Atari Jaguar. Only a small number of pixels is wasted. Generally I hope for a debugged Atari-Jaguar. For example the screen read-out circuit could read two lines (the 2x2 pixels) in the side borders into a buffer. Then send this two lines to the screen and release the unified memory to the shader processor. Or GBA like render into the 2 line buffer in parallel to share some texture fetches. I think that modern graphic cards draw 2x2 pixels at once. A fixed function pixel shader already has z-buffer, texture mapping, and shading working in parallel even if it only shades one pixel per cycle ( N64 ). The transformation stage is already quite parallel. Multiplication is more than 16 Adds in parallel. Then inner product is 3 MULs at least. With homogenous coordinates you have 4x4 matrix multiplication. This needs a lot of transistors all working in parallel. The critical path says that for optimal utilization you want like a 3 stage pipeline for the matrix multiplication alone. One vertex transformed per cycle is pretty dope, I think. Then you just need the memory bandwidth to read the scene graph and store the transformed vertices.
@prozacgodretro
@prozacgodretro 9 месяцев назад
@@morgan0 Oh yeah, you might be thinking of SuperRT, the Super Nintendo Ray Tracer project. Although that's actually quite relevant to what is going on here too I would imagine.
10 месяцев назад
LETS GO, I thought you entirely stopped on making a gpu
@stevewalker9870
@stevewalker9870 10 месяцев назад
Some day, everyone will be using Turtlecards in their computers Seriously though, I can totally see you getting to the point where you make a graphics card that supports OpenGL and/or Vulcan with a Linux driver to go along with it so we can game on a Turtlecard
@qeqsiquemechanical9041
@qeqsiquemechanical9041 10 месяцев назад
Thats amazing 🎉
@PaniniDev
@PaniniDev 10 месяцев назад
This is incredible!
@poupeuu
@poupeuu 9 месяцев назад
Amazing!
@WOTBCatsoup
@WOTBCatsoup 6 месяцев назад
Intel has a competitor now (AMD and nvidia are surpassed), also next try to Upgrade VRAM to 2MB
@beansformemes
@beansformemes 2 месяца назад
what program did you use to make the circuit or PCB outlines for your turtlecard 100x
@spark_coder
@spark_coder 10 месяцев назад
Hey... Awesome video... What is the application you are using to create the circuit and simulate it? 0:33
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
Logisim Evolution
@PotatoImaginator
@PotatoImaginator 10 месяцев назад
What software he used for building the cpu ?
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
Logisim Evolution
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 9 месяцев назад
could you make a more in depth video on the new design
@TheCodingTurtle
@TheCodingTurtle 9 месяцев назад
ill try to make my next video longer and more in-depth :P
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 8 месяцев назад
@@TheCodingTurtle thank you!
@aimnrtwastaken
@aimnrtwastaken 9 месяцев назад
Can you pls make a tutorial on this?
@TheCodingTurtle
@TheCodingTurtle 9 месяцев назад
It would take me a long time to make a tutorial, but if you want to learn this you can download my graphics card and see how it works :)
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 9 месяцев назад
13 years old impressive i am also 13 and i am gonna try to add more performance your cool like add more cores
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 9 месяцев назад
no way he gave my comment a heart i am happy becous of that
@Cyberbully34
@Cyberbully34 10 месяцев назад
Amazing!
@smellthel
@smellthel 10 месяцев назад
Great video!!!
@Player56TF2
@Player56TF2 10 месяцев назад
interesting!
@whamer100
@whamer100 10 месяцев назад
doom when
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
soon :P
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 8 месяцев назад
when is the next video coming
@TheCodingTurtle
@TheCodingTurtle 8 месяцев назад
Pretty soon, just need to edit
@TheGamingDinosaurRoblox
@TheGamingDinosaurRoblox 8 месяцев назад
@@TheCodingTurtle yay
@metl_play
@metl_play 9 месяцев назад
You will be the one whose question on stack overflow gets actually answered.
@feefee2311
@feefee2311 10 месяцев назад
How is the program called you used?
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
Logisim Evolution
@SuspiciousRamen
@SuspiciousRamen 5 месяцев назад
I can't draw lines either
@X7cF4
@X7cF4 10 месяцев назад
im 16 i love microelec too!
@theyarentsane
@theyarentsane 10 месяцев назад
remember me when u become famous
@austriaco
@austriaco 10 месяцев назад
i dont understand anything 🙂 but its awesome 👍
@DiscontinuedRBASIDOWK
@DiscontinuedRBASIDOWK 10 месяцев назад
How old are you? This is amazing
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
I'm 13
@DiscontinuedRBASIDOWK
@DiscontinuedRBASIDOWK 10 месяцев назад
@@TheCodingTurtle and you’re doing this yourself? Jesus
@devlopes
@devlopes 9 месяцев назад
Genius👌
@henpo9
@henpo9 9 месяцев назад
What is your IQ tested at?
@TheCodingTurtle
@TheCodingTurtle 9 месяцев назад
idk, never took an IQ test
@henpo9
@henpo9 9 месяцев назад
take one man, theres loads of free ones online. I'm sure it would be a very high score. Some good tests - AGCT - CAIT - JCTI - BRGHT @@TheCodingTurtle
@sashatalk
@sashatalk 10 месяцев назад
awesome work! :D is there any your socials?
@TheCodingTurtle
@TheCodingTurtle 10 месяцев назад
Not yet, but I'm starting a discord server soon
Далее
Upgrading my 3D Renderer (#2)
7:18
Просмотров 2,5 тыс.
I designed my own 8-bit computer just to play PONG
17:19
Building a Tiny Office Pod Under My Stairs
51:47
Просмотров 7 млн
I tried coding my own graphics engine
4:23
Просмотров 209 тыс.
I Made a Graphics Engine (again)
8:27
Просмотров 175 тыс.
How do Video Game Graphics Work?
21:00
Просмотров 3,8 млн
How do Graphics Cards Work?  Exploring GPU Architecture
28:30
I Designed My Own 16-bit CPU
15:46
Просмотров 2,1 млн