Raytracing on a Graphing Calculator (again)

  Рет қаралды 2,004,298

The Science Elf

The Science Elf

Күн бұрын

Пікірлер: 1 600
@MrMateloi
@MrMateloi 2 жыл бұрын
Don't mind me, I'm just playing Doom 2016 raytraced on my Ti-84 Plus CE while you're stuck playing a bad Pacman port in math classes
@EleetCanoe
@EleetCanoe 2 жыл бұрын
I have the same calculator. Got any recommendations?
@octakhan4673
@octakhan4673 2 жыл бұрын
There's a gameboy emulator called TI-BOYCE
@dimsword35
@dimsword35 2 жыл бұрын
@Alma Franklyn "Yeah, don't mind me, casually mining Bitcoin in math class"
@ИльяВитцев
@ИльяВитцев 2 жыл бұрын
@Alma Franklyn LiveOverflow made a GameBoy miner
@rhebucks_zh
@rhebucks_zh 2 жыл бұрын
@Alma Franklyn almost no hashrate
@Cyranek
@Cyranek 2 жыл бұрын
too cool - i struggled to get this type of thing done with opengl
@SomeRandomPiggo
@SomeRandomPiggo 2 жыл бұрын
i struggled with opengl altogether lmao
@heitorheitorheitor8158
@heitorheitorheitor8158 2 жыл бұрын
@@SomeRandomPiggo lmao
@solarwolf678
@solarwolf678 2 жыл бұрын
It's you lol
@xerzy
@xerzy 2 жыл бұрын
In this case it's CPU-only, so ironically that can make things easier depending on your mindset. Didn't expect you to be a programmer tho lmao
@fredecarlslund5407
@fredecarlslund5407 2 жыл бұрын
@@SomeRandomPiggo I just struggle
@CaptainMarvelsSon
@CaptainMarvelsSon 2 жыл бұрын
Back in the dark ages when I was in school, I put several formulas into my TI calculator instead of memorizing them. A classmate tattled to the teacher who replied with, "If he can actually figure out how to do that, I won't stop him."
@jbritain
@jbritain 2 жыл бұрын
Teacher is a legend
@avasam06
@avasam06 2 жыл бұрын
Teacher understands that in real life you use tools
@AndreasWilfer
@AndreasWilfer 2 жыл бұрын
Seems like a good and understanding teacher.
@sophiacristina
@sophiacristina 2 жыл бұрын
Your teacher knows... By the way, if the computer gets it right, it is because you really know step by step of how it is done...
@evilimpressario705
@evilimpressario705 2 жыл бұрын
Chad
@jksupergamer
@jksupergamer 2 жыл бұрын
Graphing calculators can do this but can’t draw a sin graph without taking like a full hour
@ChristopherGray00
@ChristopherGray00 2 жыл бұрын
i don't really understand the point of them tbh, they cost more than a low end computer like a raspberry pi which could do way, way better and can be ran for general purpose computing as well. It made sense in the 90's but now... just why?
@Dbotime
@Dbotime 2 жыл бұрын
@@ChristopherGray00 Kids are still going to high school.. you are aware of that, right?
@ChristopherGray00
@ChristopherGray00 2 жыл бұрын
@@Dbotime yes... you are aware that there are cheap laptops that can do general computing and faster calculations than these handheld bricks correct? a literal raspberry pi 4 would completely blow this out of the water.
@Dbotime
@Dbotime 2 жыл бұрын
@@ChristopherGray00 You try and bring a laptop into a high school exam and see how that goes for ya 👍
@ChristopherGray00
@ChristopherGray00 2 жыл бұрын
@@Dbotime i have, they literally provided them in my school and that was in 2016.
@firstnamelastname6118
@firstnamelastname6118 2 жыл бұрын
It's very nice to see someone working for efficient code, even as a hobby. Too much nowadays is just incredibly bloated. Good luck with future endeavors!
@BringMayFlowers
@BringMayFlowers 2 жыл бұрын
If more people had an efficiency mindset, our e-waste problem wouldn't be as bad as it is.
@AkariInsko
@AkariInsko 2 жыл бұрын
Well he was basically forced to optimize the code
@AiOinc1
@AiOinc1 2 жыл бұрын
Check out all of the demoscene then
@rhebucks_zh
@rhebucks_zh 2 жыл бұрын
@@BringMayFlowers the limits of silicon will force it
@fghsgh
@fghsgh 2 жыл бұрын
A lot of embedded development such as this focuses on efficient code. It's a constraint, a challenge, that lets me be creative, and that's why I enjoy it.
@kommstein5692
@kommstein5692 2 жыл бұрын
at this point, 'computer' and 'calculator' are synonyms of each other, just as much as 'compute' and 'calculate' are.
@sophiacristina
@sophiacristina 2 жыл бұрын
For real... Especially the fact you can run games on those...
@tf_d
@tf_d 2 жыл бұрын
the zilog Z80 was also used in the Gameboy
@sophiacristina
@sophiacristina 2 жыл бұрын
@@tf_d It is also what makes Genesis' sounds...
@aymuhspunj
@aymuhspunj 2 жыл бұрын
I mean. Yeah. "Compute" is basically "calculate a hundred things in a millisecond"
@Planetdune
@Planetdune 2 жыл бұрын
A calculator has always been a really low end computer. Well maybe not the accabus.. or is it.. I mean the accabus requires input, it shows output and you have to do the processing manually but you know...
@r_atharv11
@r_atharv11 2 жыл бұрын
I guess he's the guy who made it possible for Nasa to go on moon with 4Kb of Ram in 1969
@olly123451
@olly123451 2 жыл бұрын
His role was specifically making sure that they could play Crysis on the same machine while they were up there.
@gljames24
@gljames24 2 жыл бұрын
All jokes aside, the lead software engineer for Nasa was Margaret Hamilton and she was a boss!
@r_atharv11
@r_atharv11 2 жыл бұрын
@@gljames24 😆😆
@r_atharv11
@r_atharv11 2 жыл бұрын
@@gljames24 Much Respect to her, she made history
@kairu_b
@kairu_b 2 жыл бұрын
@@gljames24 She's awesome!
@StuffMadeHere
@StuffMadeHere 2 жыл бұрын
Awesome video
@iandisalvo4366
@iandisalvo4366 Жыл бұрын
you should check out some of rctestflights content man it’s super interesting
@JobiMorkos
@JobiMorkos Жыл бұрын
Your name fits your comment.
@monhi64
@monhi64 11 ай бұрын
@@JobiMorkosya gotta watch his stuff lol. Definitely one of the best engineers on the platform, like no doubt more skilled than the popular ones like mark rober
@kirishima638
@kirishima638 2 жыл бұрын
This was a real trip down memory lane. I used to love writing ray-tracers using languages and hardware completely unsuitable for them and was very familiar with fixed point math. I never quite cracked global illumination but there was no internet back then, it was all from books. I've always felt that ray tracing is the best way to learn about computer graphics because it's so intuitive - you don't even need to know any matrix math. To do the same thing using OpenGL or DirectX is an absolute nightmare because you have to master matrices, cameras, lights, shader programs, fragments etc. You can literally write a ray tracer in a dozen lines of code provided you have some function to draw pixels. You get so many things for free with RT, for example 3D textures and constructive solid modelling, because you're dealing with surfaces and objects and not millions of flat triangles. And there's a lot you can do to speed it up, which I'm surprised you didn't cover. For example using bounding volumes or adaptive sampling.
@electronresonator8882
@electronresonator8882 2 жыл бұрын
imagine what you can do now with internet
@MaxOakland
@MaxOakland 2 жыл бұрын
That’s so cool. Make videos about that
@spacejunk2186
@spacejunk2186 2 жыл бұрын
It's so intuitive even the ancient greeks used it to explain how human vision worked.
@azverndias913
@azverndias913 2 жыл бұрын
Do document your work
@achtsekundenfurz7876
@achtsekundenfurz7876 2 жыл бұрын
I tried something similar, but on a different scale: on a single-core Athlon, draw some billiards scenes in real time. It was a bit choppy when one of the balls was close, and it precomputed the table, but it simulated soft shadows and reflections at 1024x768 resolution, with perfectly round spheres. (At that time, 3d accelerators were already common, but most games used so few polygons that spheres didn't lok round.) More pixels, more spheres, close to real-time (~15fps), ball physics (those were cheap in comparison), without using the GPU. To achieve that much speed, I used the native floating point capabilities of PCs, and I intersected all balls with "x-planes" (my term for a plane in which the camera and all rays into pixels of the same x-coordinate are) and y-planes. That allowed me to skip sphere intersections for all pixels above or below the entire ball (the sphere/plane intersection is expensive, but no more than ~30 pixels, so if as few as 30 lines at the top or bottom don't contain the sphere at all, it's already breaking even). It gets even better since you can compute where the center of the sphere is and estimate the height of the sphere. Even better, that height is always on the low side, so you can skip the planes which are closer to the center than that completely. (If, for example, the center is at (x=400, y=300), and the height is estimated at 30, you can mark 270 0.5 then return brightness 0. -- Subtract 1.5 from v. -- If v < 0 then set v to zero. -- Return brightness 16 (0.25 - u²) (0.25 - v²). (This will equal 1 for u=v=0 or 0 for u=0.5 or v=0.5 with interpolation in between.) That's a very coarse approximation, but enough for highlights on reflective surfaces, and due to the inherent interpolation, it won't flicker annoyingly. (I'm writing this down from memory, so I could well be wrong on some steps.)
@thomasrosebrough9062
@thomasrosebrough9062 2 жыл бұрын
Nerdy thing i love about this video: the font you use in your infographics is *Segoe UI!* It's the main stylistic font in most Microsoft products, and has been their logo text since *Windows 8!* It's also used in the Microsoft-published indie darling game *Ori and the Blind Forest!* It's such a clear and official-looking font and as much as people crap on Microsoft (fair) I absolutely love the look of it. Anyway awesome video!!
@averyoldYoutubeuser
@averyoldYoutubeuser 2 жыл бұрын
I suddenly flashback that segoe ui light is widely used in huge size in main screens and texts back in iOS 9 They are so clean, light, simple, small footprint, feels so neat and elegant
@PicelBoi
@PicelBoi Жыл бұрын
I think Segoe UI was somewhat used in Windows Vista/Windows XP era as well.
@NICK....
@NICK.... 2 жыл бұрын
I know it's not the focus of the video but blender's raytracing engine, cycles, had a complete overhaul in 3.0 and renders waaay faster, especially on low end devices.
@BoyBaykiller
@BoyBaykiller 2 жыл бұрын
Using GPU instead of CPU would also give multiple orders of magnitude speed up
@NICK....
@NICK.... 2 жыл бұрын
@@BoyBaykiller I think it might have messed up the recording
@MaxOakland
@MaxOakland 2 жыл бұрын
They should port it to TI calculators
@GoingtoHecq
@GoingtoHecq 2 жыл бұрын
@@BoyBaykiller that would not be a good comparison though. A gpu is great for rendering, but the calculator does not have a gpu. It is just one core.
@coler154
@coler154 2 жыл бұрын
its a shame that new cycles engine doesn't work on most AMD GPUs
@ChickenScratch
@ChickenScratch 2 жыл бұрын
The TI-Nspire is WAY more powerful. It can already run doom in full speed and color! With the source code out for Super Mario 64, I bet it could be possible to get it running on there. If not the TI-Nspire, definitely the TI-Nspire II (Which is 2.5 times faster)
@snjert8406
@snjert8406 2 жыл бұрын
holy crap, now I wanna see that!
@NinjaWeedle
@NinjaWeedle 2 жыл бұрын
Ehhhhh doubtful, at least not at full speed
@ChickenScratch
@ChickenScratch 2 жыл бұрын
@@NinjaWeedledon't underestimate the power of the N-spire. It can run Minecraft (albeit a knockoff one). People have developed their own graphic libraries like nGL and X3D. Impressive stuff
@ZipplyZane
@ZipplyZane 2 жыл бұрын
@@ChickenScratch True, but DOOM is a long way from Mario 64. All versions of that require a CPU and a GPU.
@ChickenScratch
@ChickenScratch 2 жыл бұрын
@@ZipplyZane it's still possible to run on only the CPU, and it can be optimized a bunch. For example there doesn't need to be any sound taking up CPU time because calculators don't have speakers. There is also the amazing work of Kaze Emanuar where he optimized the Super Mario 64 source code to be 4-5 times faster
@arbitercs
@arbitercs 2 жыл бұрын
I wasn't expecting another upload for atleast a month!
@DocJade
@DocJade 2 жыл бұрын
I was expecting a few months tbh
@brodown64
@brodown64 2 жыл бұрын
I was expecting another 1-2 years
@JonahNelson7
@JonahNelson7 2 жыл бұрын
Rude
@arbitercs
@arbitercs 2 жыл бұрын
@@JonahNelson7 Not trying to be rude, I'm just genuinely surprised that he's starting to upload consistently again.
@TheLastMillennial
@TheLastMillennial 2 жыл бұрын
Great work! It's awesome to see your projects develop! I remember most of the comments on your TI-Basic version were "why didn't you do this in ASM?" :P The transition of moving the window to the calculator screen was so smooth I though you were using a program to do it until I re-watched it!
@Lanausse
@Lanausse 2 жыл бұрын
There he is lol. I’d had a feeling you would be here
@GalaxyCatz
@GalaxyCatz 2 жыл бұрын
The man the myth the legend 🙌
@Wayne_Robinson
@Wayne_Robinson 2 жыл бұрын
This video held my interest to the end, a pleasant surprise for what seemed like an absurd premise. It takes me back the early days of computer graphics and my first experiments with POV-ray on a 66MHz '386 when rendering an image took hours and Blender didn't exist.
@snjert8406
@snjert8406 2 жыл бұрын
It still takes hours, just looks better now hahaha
@aura-audio
@aura-audio 2 жыл бұрын
As a musician, I was surprised by how much of these terms I've stumbled across in my audio engineering courses. This was a great video, and I learned a lot about how sound and images are related! I was thinking of writing some advanced audio processing algorithms for my Gameboy Advance, and this video definitely helped to see your approaches on optomizing the code.
@PunknPatch
@PunknPatch 2 жыл бұрын
“As always, it could always be improved. When writing some of the more complex fixed point functions, I got a little lazy and just used the floating point library instead of writing it myself in assembly.” is one of the most insane sentences i've heard said so casually
@levieux1137
@levieux1137 2 жыл бұрын
Great job! For sqrt(), it's easy to do using plain ints. Start with an approximate value that's 1 shifted left by half of the bits of your input number, then perform 1, 2 or 3 iterations of Raphson-Newton to get a more precise value, doing ret=(ret+x/ret)/2. You'll have to shift each intermediary result by 12 since you're using fixed point, but that can be way faster than passing by floats!
@DanielSuguwa
@DanielSuguwa 2 жыл бұрын
Banger video! Just as I'm going to sleep, you just uploaded today! Thanks The Science Elf, I'll watch this after I wake up tomorrow morning 😆 Goodnight everyone and take care! 👋
@TechOff
@TechOff 2 жыл бұрын
Goodnight!
@sophiacristina
@sophiacristina 2 жыл бұрын
Sleep is for the weaks!
@ace_verco
@ace_verco 2 жыл бұрын
It’s actually quite amazing how well a video about raytracing with calculators can teach you the basics of how shaders and graphics fundamentally work. Following step-by-step the actual process of building the renderer from scratch and seeing how they affect the final image really helps you understand how it works. I’ve been working with unity for almost a year now and have fairly good experience using shaders for my projects and now seeing how one works under the hood (albeit using a very different rendering technique) really gives you a sense of appreciation for these wonderful bits of code.
@peteranderson037
@peteranderson037 2 жыл бұрын
I always knew that interpreters were more computationally expensive than compilers, but I never truly appreciated it until I had to write a compiler. It was a painfully simple one, but a compiler nonetheless. Honestly, we programmers are spoiled in the modern day by how much extra processing capacity we can assume will be available to the program.
@sophiacristina
@sophiacristina 2 жыл бұрын
I'm not pro and i program for hobby... But i'm learning to program on old processors just for the sake of limiting me... One video which inspired me, i don't remember correctly, but it pretty popular, so i bet you know, is the one that teaches how to fit a game in a NES cartridge...
@cookiecan10
@cookiecan10 2 жыл бұрын
@@sophiacristina this one? kzbin.info/www/bejne/kIi0YWhvZrV0rq8
@elin4364
@elin4364 2 жыл бұрын
tbf though I think a lot of modern interpreters (like the js engine in your browser) actually do compile parts that get run a lot, just at runtime instead
@sophiacristina
@sophiacristina 2 жыл бұрын
@@cookiecan10 yes! :) This video is so cool! Even lay people can understand!
@braidena1633
@braidena1633 2 жыл бұрын
@@sophiacristina you should also look up how some enterprising individuals fit a fully functional 3D first person shooter on a 1.44mb floppy using trickery to generate textures
@A3N-
@A3N- 2 жыл бұрын
This is a sick example of how good software optimization improves hardware performance. Nice job!
@andresbravo2003
@andresbravo2003 2 жыл бұрын
I might say that it was really good for ray tracing on a TI-84 Calculator. I really enjoyed it.
@KidusYohannes
@KidusYohannes 2 жыл бұрын
This is really impressive! I'm currently taking a computer graphics course and have implemented the techniques you mentioned in my own c++ projects (like shadows and ray tracing), but I never would've thought to try rendering using a graphing calculator. Really cool idea and video!
@brodown64
@brodown64 2 жыл бұрын
as someone who fiddled around with TI-Basic for a total of 3 weeks I’ll pretend I understand this video
@Eralen00
@Eralen00 2 жыл бұрын
you did a great job explaining this to laymen. I've never done any programming or any kind of 3d rendering beyond making basic shapes in blender, but despite that you made it easy to understand the concepts
@shantanukulkarni8883
@shantanukulkarni8883 2 жыл бұрын
I did not understand most of the stuff but I appreciate your efforts and am impressed with the results.
@silversheep11
@silversheep11 2 жыл бұрын
Dudes calculator is faster than my computer.
@wordart_guian
@wordart_guian 2 жыл бұрын
i've had to write a whole raytracing program (doing about everything you mentioned) on paper for my entrance exams last year. I did fairly well on that one and enjoyed writing it a lot, even though I ultimately failed the exams. I wish I could have tried running it
@chrisdevsoft
@chrisdevsoft 2 жыл бұрын
Thanks for having detailed your experience. These kind of details is probably the most interesting aspect in such video.
@sumisusan1517
@sumisusan1517 2 жыл бұрын
It makes my day when the science elf uploads something
@ScutoidStudios
@ScutoidStudios 2 жыл бұрын
oh my gosh!! i've been watching your stuff for a good while, since i was like 11 years old lol. good to see you're back!
@nathanb011
@nathanb011 2 жыл бұрын
A very basic raytracing algorithm like this sounds really awesome to implement on a modern computer for real time raytracing that isn't RTX, maybe a certain Java game...
@Roxor128
@Roxor128 2 жыл бұрын
Oh, real-time raytracing has been around for a LONG time! Over 25 years. My go-to early example is Transgression 2 by MFX from 1996. kzbin.info/www/bejne/h3_VhWWDiKiesLM That demo will run on a Pentium with MS-DOS or in DOSBox on a modern machine if you use the link in the description to download the original program.
@Faramik2000
@Faramik2000 2 жыл бұрын
@@Roxor128 Yea I also found out recently that raytracing was not a new thing that came with the RTX gpus haha. I was watching a behind the scenes clip on how Cars the Pixar movie was made and they started talking about the techniques they used to simulate reflections and lighting so they talked about raytracing. Also I really recommend anyone to rewatch Cars and appreciate the details that went into the movie from the textures and lighting to sound design.
@dorukdogauysal8299
@dorukdogauysal8299 2 жыл бұрын
And almost all of the shaderpacks for Minecraft uses similar algorithms ?
@darkySp
@darkySp 2 жыл бұрын
@@Faramik2000 Raytracing is a near ancient technology, but only used in rendering software until recently. While the hype of the RTX GPUs wasn't that big of a game changer, being able to raytrace lightning and/or shadows in real time, while running an already demanding and complex computational task without having stability problems and unplayable performance is a technological achievement by itself. While rasterizaton can get you REALLY far, raytracing can always do it better. Just a matter of time.
@benrogers5845
@benrogers5845 2 жыл бұрын
I've been obsessed with the cx calculators since they were announced I love this video
@r4z0r84
@r4z0r84 2 жыл бұрын
Never thought I'd see a graphics calculator being used for graphics haha
@57z
@57z 2 жыл бұрын
Weirdly this, calculator video, of all things, clearly distilled and explained succinctly various key Raytracing terms better than most any other video I've come across. Terms that I've heard for years defined really well. Really cool. I remember programming on my ti83+ back in the late 90s. Good times.
@jighardy
@jighardy 2 жыл бұрын
this is why I want to get into programming. This stuff is so cool
@danyt3670
@danyt3670 2 жыл бұрын
was literally doing my c++ homework trying to remember and understand fixed points for the program im wringing but distracted myself with your video and you made me understand float points and fixed points better than my professor has done for the past three weeks
@Lungoose
@Lungoose 2 жыл бұрын
Bome soux
@fjs1111
@fjs1111 2 жыл бұрын
love it! Even though it's ancient tech, there is something about rendering color (or even mono) images using 8/16 bit (or 24 in this case) MCUs
@sdjhgfkshfswdfhskljh3360
@sdjhgfkshfswdfhskljh3360 Жыл бұрын
I like it because it uses simple tools to make complex things. Not several gigs of code and 100 watt CPU.
@BrentBlueAllen
@BrentBlueAllen 2 жыл бұрын
Holy smokes, that Blender vs TI-84 side-by-side is beautiful. Nicely done.
@BlazertronGames
@BlazertronGames 2 жыл бұрын
Very cool! I'm quite interested in graphics programming! I've been playing around with opengl recently.
@grandmasterglick5895
@grandmasterglick5895 2 жыл бұрын
Hey dude, loved this video, so cool. I'm a bit older than you (not sure how much, but im almost 40) and back in high school, having a TI loaded with games and stuff was pretty much one of the coolest things you could have. Back then, cell phones were very rare, and the games on them sucked for the most part. You also ran the risk of having your phone confiscated (you weren't supposed to have them in class) but that was rare. Because you needed your TI for Math class though, they were not able to be confiscated, and if you weren't obvious, you could play games in your math class all day. I remember programming in basic and wanting to do ASM, but it was too hard for me at the time (much different environment and times). That said though, TI calcs have a very soft spot in my heart, and I love seeing how far you guys have taken them. If you would have told me back in my high school years that something like this would eventually come out, I wouldn't have believed ya! Again, great video to see, loved it.
@Enstrayed
@Enstrayed 2 жыл бұрын
This was super cool! I never would’ve suspected such capability out of my calculator, but I suppose looking back on it that makes sense.
@smile4cs
@smile4cs 2 жыл бұрын
WAIT YOU CAME BACK??? I used to watch all of your videos religiously! Honestly really nice to see a new video.
@FinFET
@FinFET 2 жыл бұрын
So cool! Gonna try out this fixed float trick =)
@philean
@philean 2 жыл бұрын
Great Video! The LUT part made me very happy. Great that you considered that :D
@HeyItsSahilSoni
@HeyItsSahilSoni 2 жыл бұрын
For inverse square root, you can use quake 3's algo, it's a lot faster
@chrisdevsoft
@chrisdevsoft 2 жыл бұрын
Interesting. Can you give a reference, please ?
@HeyItsSahilSoni
@HeyItsSahilSoni 2 жыл бұрын
@@chrisdevsoft Sure, here you go : kzbin.info/www/bejne/pmnYkJ5oga6Nr9E
@3TDEV01
@3TDEV01 2 жыл бұрын
Awesome, a little optimisation goes a long way and this is the next level. ;)
@Thoran666
@Thoran666 2 жыл бұрын
Wow, very impressive results. Have you looked into using SIMD instead of/with fixed points? Like break down the 24 bit interface into 3x8bit.
@matsv201
@matsv201 2 жыл бұрын
Probably would like to keep them 12 bit to retain a bit of headroom for the gamma correction. But well that would probobly work sort of. of casue, the SIMD have to be made in software, making it a bit more complicated because overflow between the section have to be manage seperatly. Possibly eating up the advantage
@SalMightyOne
@SalMightyOne 2 жыл бұрын
Props for using Romeo Knight's music!
@Jules-nr7nu
@Jules-nr7nu 2 жыл бұрын
Laupok on est là !!
@Maskyy__
@Maskyy__ 2 жыл бұрын
Mdrrr
@jesusmgw
@jesusmgw 2 жыл бұрын
This is such an excellent way to teach about the rendering concepts and process step by step. Thank you!
@Animadoria
@Animadoria 2 жыл бұрын
Shouldn’t Int32’s smallest number be a negative value, aka the same value as the biggest but negative? Unless you mean unsigned, that way it’d be zero (and not one, anyway)
@genericuser1546
@genericuser1546 2 жыл бұрын
he couldn't've meant unsigned since it's largest value would've then been ~4.3 billion something also this is pedantic but I assume that's already the theme of your comment anyways... so assuming we're using two's complement the smallest value wouldn't've been the largest value but negative, instead It would've been the (largest value + 1) but negative :p u8: 0 -> 255 i8: -128 -> 127 Though I think by smallest he meant closest to zero since the point was to show the difference between floats and ints
@Animadoria
@Animadoria 2 жыл бұрын
@@genericuser1546 I was more curious to know if it was a calculator limitation or just a small mistake :)
@genericuser1546
@genericuser1546 2 жыл бұрын
@@Animadoria Oh well then later he mentions that the calculator uses a 24bit architecture so I don't think it supports 32 bit ints
@boltez6507
@boltez6507 2 жыл бұрын
Great Video mate ....i always though that hardware is already mature enough and only the software needs to be worked on....and you proved me right😁
@shhinysilver1720
@shhinysilver1720 Жыл бұрын
But can it run doom?
@CatOnAMelon
@CatOnAMelon 7 ай бұрын
Yes
@davidcasanova5820
@davidcasanova5820 2 жыл бұрын
Just commenting so you get more views! Awesome video man, wish I had the time and strength needed
@Sparkette
@Sparkette 2 жыл бұрын
Is it just me or does 3:30 look distinctly Microsoft?
@6rsk1
@6rsk1 9 ай бұрын
Similar fonts and default microsoft blue color palette
@nealmenhinick
@nealmenhinick 2 жыл бұрын
surprisingly entertaining, I do 3D rendering professionally and seeing this on a calculator is mind blowing
@dfgaJK
@dfgaJK 2 жыл бұрын
Now add a function to render graphs and numbers in 3d space and make all your calculator's interface run in raytraced 3d.
@JuanGamer0202
@JuanGamer0202 2 жыл бұрын
This guy running 3D objects with ray-traicing while my pc sucks at running gta sa
@lavenderfox2430
@lavenderfox2430 2 жыл бұрын
I'm curious how well this'd run on my TI Nspire CX CAS.
@firestorm517
@firestorm517 2 жыл бұрын
Not sure how I got recommended this video but wow that is super impressive man!
@geovani60624
@geovani60624 2 жыл бұрын
have you tried porting this program to your pc to see how fast it runs? I wonder if it could have fast enough frames per second to make a simple demo game
@SmeddyTooBestChannel
@SmeddyTooBestChannel 2 жыл бұрын
absolutely powerful. it almost justifies the extortionate prices they sell these calculators for!!!
@thepuzzlemaker2159
@thepuzzlemaker2159 2 жыл бұрын
When a _calculator_ that's likely thousands of times less powerful as a mid-range (of the time) GPU, but costs the same amount (at the time), you're either getting a really good deal on the GPU or are being oversold the calculator.
@willuigi64
@willuigi64 2 жыл бұрын
are you being intentionally obtuse or do you really not know why gpus have trouble with rt
@scottdotjazzman
@scottdotjazzman 2 жыл бұрын
Probably the latter.
@lizzie-wizzie
@lizzie-wizzie Жыл бұрын
thats awesome progress compared to the older program! awesome video
@WDCallahan
@WDCallahan 2 жыл бұрын
I did this with no tricks! The trick was to use C++ instead of the built in! Also I lied about the processor. But no tricks.
@bottledpills
@bottledpills 2 жыл бұрын
yeah i honestly don't get it. what's the purpose of saying it has a certain processor and then changing your mind after 5 minutes? it's not gonna make it look more impressive for more than those 5 minutes lmao.
@baileyharrison1030
@baileyharrison1030 2 жыл бұрын
It’s running on the calculator natively
@bottledpills
@bottledpills 2 жыл бұрын
@@baileyharrison1030 no one questioned that
@beansontoast9323
@beansontoast9323 2 жыл бұрын
Absolutely fantastic, I always wanted to know the power of those small calculators
@jakethecake001
@jakethecake001 Жыл бұрын
Cool! Now do path tracing.
@swamihuman9395
@swamihuman9395 2 жыл бұрын
Initially, I was skeptical - but now I'm a "believer". Great job! Nice presentation, too. Thx. [P.S. I started in 3D 30+ yrs ago in '3D Studio DOS', on an IBM 386SX! And, I even had a Sinclair 1000, which as you know, has a Z80!] Anyhow, keep up the great work!...
@floormusic
@floormusic 2 жыл бұрын
With the scarcity in GPUs nowadays, looks like I will be booting up my games on a TI-84 😂
@kartik.sharma
@kartik.sharma 2 жыл бұрын
LOL I agree with you on that one, gonna have to build a GPU from a bunch of graphing calculators.
@NickGeorgiou
@NickGeorgiou 2 жыл бұрын
Incredible work man, this was really insightful.
@Riricus
@Riricus 2 жыл бұрын
ceut qui sont fr et qui vienne de laupok lever la main
@MaxOakland
@MaxOakland 2 жыл бұрын
Groovy processor! I love the Mac OS 7 cat wallpaper 😆
@titoune911-z7
@titoune911-z7 2 жыл бұрын
Qui est là grâce à laupok???
@AlexTwigg_films
@AlexTwigg_films 2 жыл бұрын
Super impressive. I used to code games on my calculators back in the day. This is next level stuff here.
@purplesky631
@purplesky631 2 жыл бұрын
it's good to see your back making KZbin videos
@TheChaadr
@TheChaadr 2 жыл бұрын
I remember studying those algorythms in my IT studies in 2012 and we used to struggle so hard with our computers back then, while you did it so easily (I mean, I didn't see the hours put into this, but it's impressive..) on a TI 84 Awesome content
@namco003
@namco003 11 ай бұрын
Videos like this are fascinating ❤ I've no programming, coding, and barely math literate(jk), but I still GET it. I saw one earlier about ray tracing on a zx spectrum with only 15 colors 😮
@patgarner
@patgarner 2 жыл бұрын
This was fascinating! Super well done overall!
@Soulthym
@Soulthym 2 жыл бұрын
dev since doing asm z80 on my ti 83/84, did a raytracer, so let's say I'm loving the content!
@ItsBabaEro
@ItsBabaEro 2 жыл бұрын
i have no knowledge of programming, or some of the math behind it, but as an electrical engr major, it was interesting to see a concept similar to Gauss's Law explained at 6:08.
@Loganator4551
@Loganator4551 2 жыл бұрын
Gold channel. Can't wait to watch every other video
@fishcelery4894
@fishcelery4894 7 ай бұрын
in the year 2050: "i made blender on a calculator"
@alystair
@alystair 2 жыл бұрын
Not going to lie, this hooked me because I immediately recognized Cream of the Earth. More people should learn about tracker music :D
@animeshkarnewar3
@animeshkarnewar3 2 жыл бұрын
Good job! These hardware accelerations would definitely make graphics heavy games more accessible to hand-held devices.
@Juice-chan
@Juice-chan 2 жыл бұрын
Very interesting video and the ultimate flex. I am looking like a chump against you. 😂 Anyway terrific job and I will follow your work from now on.
@shadamethyst1258
@shadamethyst1258 2 жыл бұрын
There is a renderer for blender that implements similar techniques that you described, called POV-Ray. This scene with radiance would take a few seconds to render on my computer, although kudos for achieving the same thing on a calculator in minutes!
@Roxor128
@Roxor128 2 жыл бұрын
Who needs Blender? Just write POVRay SDL!
@sajjadabouei6721
@sajjadabouei6721 2 жыл бұрын
I am not a programmer. I know a abouting little coding. But your video, and the idea and what you did... Just wow for me.
@turgaysenlet
@turgaysenlet 2 жыл бұрын
This content is amazing! Why can’t I like a video more than once :)
@Madsstuff
@Madsstuff 2 жыл бұрын
it blows my mind that peoples brains can understand and do this kind of stuff. Each time this happens I wanna learn code.
@askhowiknow5527
@askhowiknow5527 2 жыл бұрын
We missed you more than you can imagine. We’re glad you’re back
@alexwhb122
@alexwhb122 2 жыл бұрын
This is a great video! Thank you very much for posting. I learned a lot!
@GraySlicerAnimations
@GraySlicerAnimations 2 жыл бұрын
An 2nd upload before a year has passed? Has the Elf truly returned to us!?
@mercster
@mercster 2 жыл бұрын
24-bit processors are actually very common, and still used today in many applications.
@algot34
@algot34 2 жыл бұрын
What's the purpose of a 24-bit instead of a 32-bit?
@mercster
@mercster 2 жыл бұрын
@@algot34 I'm not sure what you mean... all computers are generally devices that allow one to perform calculations?
@EvilizedDead_EVL_DED
@EvilizedDead_EVL_DED 2 жыл бұрын
My man made Enscape for ti calc ! Neat mate :)
@rwolterbeek
@rwolterbeek 2 жыл бұрын
Nice! Fun vid and really cool concept, keep it up!
@Nobe_Oddy
@Nobe_Oddy 2 жыл бұрын
Bro I know NOTHING about programming but I do understand everything you said. Bottom-line: I AM BLOWN AWAY!!!! You have got some SKILLZ!!!! WOW!!! It's people like you that make the HBO Series "Silicon Valley" absolutely REALISTIC!!! lol - Are you working for anyone where ytou can put this brain power to use? If not then YOU NEED TO!!! (well, if it makes you happy) :D
@外提
@外提 2 жыл бұрын
as a graphics programmer, this is the coolest vid i've watched in 2022
@rlrfproductions
@rlrfproductions 2 жыл бұрын
I think a neat addition would be to add 'passes' similar to how modern raytracers work, where the image starts noisy - but recognizable - and slowly becomes clearer and better, rather than doing the entire thing at once on a row by row basis. The biggest benefit being that it allows for quick drafting of what the scene will look like, and letting you move the camera around and reposition without having to wait for the final product
I Wrote Minecraft for a Calculator
14:43
The Science Elf
Рет қаралды 1,4 МЛН
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 347 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
How Ray Tracing (Modern CGI) Works And How To Do It 600x Faster
32:06
Josh's Channel
Рет қаралды 587 М.
Water Cooling a TI-84 Graphing Calculator!
12:44
Linus Tech Tips
Рет қаралды 3,7 МЛН
I made a better Ray-Tracing engine
17:38
NamePointer
Рет қаралды 259 М.
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 1,9 МЛН
Is 8-Bit Minecraft Possible?
12:58
Inkbox
Рет қаралды 1,4 МЛН
I Hacked a $10 Calculator to Run Doom Eternal
10:36
Taki Udon
Рет қаралды 3,1 МЛН
I Made an Internet Time Machine
13:42
The Science Elf
Рет қаралды 641 М.
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 586 М.
Actually, Maybe There's Only 1 Game of Tic-Tac-Toe
11:58
Marc Evanstein / music․py
Рет қаралды 1,2 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН