Raytracing on a Graphing Calculator (again)

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

Комментарии • 1,6 тыс.

  • @MrMateloi
    @MrMateloi 3 года назад +10013

    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 3 года назад +171

      I have the same calculator. Got any recommendations?

    • @octakhan4673
      @octakhan4673 3 года назад +203

      There's a gameboy emulator called TI-BOYCE

    • @dimsword35
      @dimsword35 2 года назад +141

      @Alma Franklyn "Yeah, don't mind me, casually mining Bitcoin in math class"

    • @ИльяВитцев
      @ИльяВитцев 2 года назад +49

      @Alma Franklyn LiveOverflow made a GameBoy miner

    • @rhebucks_zh
      @rhebucks_zh 2 года назад +16

      @Alma Franklyn almost no hashrate

  • @Cyranek
    @Cyranek 3 года назад +3474

    too cool - i struggled to get this type of thing done with opengl

    • @SomeRandomPiggo
      @SomeRandomPiggo 3 года назад +196

      i struggled with opengl altogether lmao

    • @heitorheitorheitor8158
      @heitorheitorheitor8158 3 года назад +16

      @@SomeRandomPiggo lmao

    • @solarwolf678
      @solarwolf678 3 года назад +9

      It's you lol

    • @xerzy
      @xerzy 3 года назад +76

      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 3 года назад +13

      @@SomeRandomPiggo I just struggle

  • @CaptainMarvelsSon
    @CaptainMarvelsSon 3 года назад +4292

    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 3 года назад +715

      Teacher is a legend

    • @avasam06
      @avasam06 2 года назад +1067

      Teacher understands that in real life you use tools

    • @AndreasWilfer
      @AndreasWilfer 2 года назад +359

      Seems like a good and understanding teacher.

    • @sophiacristina
      @sophiacristina 2 года назад +391

      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 года назад +35

      Chad

  • @kommstein5692
    @kommstein5692 3 года назад +1022

    at this point, 'computer' and 'calculator' are synonyms of each other, just as much as 'compute' and 'calculate' are.

    • @sophiacristina
      @sophiacristina 2 года назад +34

      For real... Especially the fact you can run games on those...

    • @tf_d
      @tf_d 2 года назад +17

      the zilog Z80 was also used in the Gameboy

    • @sophiacristina
      @sophiacristina 2 года назад +1

      @@tf_d It is also what makes Genesis' sounds...

    • @aymuhspunj
      @aymuhspunj 2 года назад +25

      I mean. Yeah. "Compute" is basically "calculate a hundred things in a millisecond"

    • @Planetdune
      @Planetdune 2 года назад +20

      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 3 года назад +4078

    I guess he's the guy who made it possible for Nasa to go on moon with 4Kb of Ram in 1969

    • @olly123451
      @olly123451 3 года назад +497

      His role was specifically making sure that they could play Crysis on the same machine while they were up there.

    • @gljames24
      @gljames24 3 года назад +550

      All jokes aside, the lead software engineer for Nasa was Margaret Hamilton and she was a boss!

    • @r_atharv11
      @r_atharv11 3 года назад +14

      @@gljames24 😆😆

    • @r_atharv11
      @r_atharv11 3 года назад +98

      @@gljames24 Much Respect to her, she made history

    • @kairu_b
      @kairu_b 3 года назад +43

      @@gljames24 She's awesome!

  • @jksupergamer
    @jksupergamer 2 года назад +1108

    Graphing calculators can do this but can’t draw a sin graph without taking like a full hour

    • @ChristopherGray00
      @ChristopherGray00 2 года назад +116

      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 года назад +182

      @@ChristopherGray00 Kids are still going to high school.. you are aware of that, right?

    • @ChristopherGray00
      @ChristopherGray00 2 года назад +102

      @@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 года назад +217

      @@ChristopherGray00 You try and bring a laptop into a high school exam and see how that goes for ya 👍

    • @ChristopherGray00
      @ChristopherGray00 2 года назад +53

      @@Dbotime i have, they literally provided them in my school and that was in 2016.

  • @firstnamelastname6118
    @firstnamelastname6118 3 года назад +2745

    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 3 года назад +139

      If more people had an efficiency mindset, our e-waste problem wouldn't be as bad as it is.

    • @AkariInsko
      @AkariInsko 3 года назад +48

      Well he was basically forced to optimize the code

    • @AiOinc1
      @AiOinc1 3 года назад +43

      Check out all of the demoscene then

    • @rhebucks_zh
      @rhebucks_zh 3 года назад +21

      @@BringMayFlowers the limits of silicon will force it

    • @fghsgh
      @fghsgh 2 года назад +42

      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.

  • @StuffMadeHere
    @StuffMadeHere 2 года назад +77

    Awesome video

    • @iandisalvo4366
      @iandisalvo4366 Год назад +1

      you should check out some of rctestflights content man it’s super interesting

    • @JobiMorkos
      @JobiMorkos Год назад +2

      Your name fits your comment.

    • @monhi64
      @monhi64 Год назад +1

      @@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 3 года назад +540

    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 года назад +14

      imagine what you can do now with internet

    • @MaxOakland
      @MaxOakland 2 года назад +16

      That’s so cool. Make videos about that

    • @spacejunk2186
      @spacejunk2186 2 года назад +18

      It's so intuitive even the ancient greeks used it to explain how human vision worked.

    • @azverndias913
      @azverndias913 2 года назад +6

      Do document your work

    • @achtsekundenfurz7876
      @achtsekundenfurz7876 2 года назад +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.)

  • @PunknPatch
    @PunknPatch 2 года назад +25

    “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

  • @NICK....
    @NICK.... 3 года назад +490

    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 3 года назад +46

      Using GPU instead of CPU would also give multiple orders of magnitude speed up

    • @NICK....
      @NICK.... 2 года назад +1

      @@BoyBaykiller I think it might have messed up the recording

    • @MaxOakland
      @MaxOakland 2 года назад +18

      They should port it to TI calculators

    • @GoingtoHecq
      @GoingtoHecq 2 года назад +13

      @@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 года назад +11

      its a shame that new cycles engine doesn't work on most AMD GPUs

  • @thomasrosebrough9062
    @thomasrosebrough9062 2 года назад +68

    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 года назад +4

      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.

  • @arbitercs
    @arbitercs 3 года назад +47

    I wasn't expecting another upload for atleast a month!

    • @DocJade
      @DocJade 3 года назад +4

      I was expecting a few months tbh

    • @brodown64
      @brodown64 3 года назад +4

      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.

  • @ChickenScratch
    @ChickenScratch 3 года назад +369

    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 года назад +9

      holy crap, now I wanna see that!

    • @NinjaWeedle
      @NinjaWeedle 2 года назад +2

      Ehhhhh doubtful, at least not at full speed

    • @ChickenScratch
      @ChickenScratch 2 года назад +35

      @@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 года назад +4

      @@ChickenScratch True, but DOOM is a long way from Mario 64. All versions of that require a CPU and a GPU.

    • @ChickenScratch
      @ChickenScratch 2 года назад +25

      @@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

  • @Wayne_Robinson
    @Wayne_Robinson 3 года назад +40

    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 года назад +7

      It still takes hours, just looks better now hahaha

  • @TheLastMillennial
    @TheLastMillennial 3 года назад +63

    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 3 года назад +2

      There he is lol. I’d had a feeling you would be here

    • @GalaxyCatz
      @GalaxyCatz 2 года назад +2

      The man the myth the legend 🙌

  • @peteranderson037
    @peteranderson037 3 года назад +111

    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 года назад +7

      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 года назад +3

      @@sophiacristina this one?
      ruclips.net/video/ZWQ0591PAxM/видео.html

    • @elin4364
      @elin4364 2 года назад +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 года назад +1

      @@cookiecan10 yes! :)
      This video is so cool! Even lay people can understand!

    • @braidena1633
      @braidena1633 2 года назад +1

      @@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

  • @aura-audio
    @aura-audio 2 года назад +6

    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.

  • @DanielSuguwa
    @DanielSuguwa 3 года назад +53

    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! 👋

  • @levieux1137
    @levieux1137 2 года назад +17

    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!

  • @brodown64
    @brodown64 3 года назад +39

    as someone who fiddled around with TI-Basic for a total of 3 weeks I’ll pretend I understand this video

  • @ace_verco
    @ace_verco 2 года назад +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.

  • @andresbravo2003
    @andresbravo2003 3 года назад +15

    I might say that it was really good for ray tracing on a TI-84 Calculator. I really enjoyed it.

  • @A3N-
    @A3N- 2 года назад +7

    This is a sick example of how good software optimization improves hardware performance. Nice job!

  • @silversheep11
    @silversheep11 2 года назад +4

    Dudes calculator is faster than my computer.

  • @nathanb011
    @nathanb011 3 года назад +28

    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 года назад +4

      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. ruclips.net/video/QNrT2MSCkzQ/видео.html 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 года назад +4

      @@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 года назад +2

      And almost all of the shaderpacks for Minecraft uses similar algorithms ?

    • @darkySp
      @darkySp 2 года назад +8

      @@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.

  • @shantanukulkarni8883
    @shantanukulkarni8883 2 года назад +3

    I did not understand most of the stuff but I appreciate your efforts and am impressed with the results.

  • @KidusYohannes
    @KidusYohannes 2 года назад +1

    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!

  • @sumisusan1517
    @sumisusan1517 3 года назад +5

    It makes my day when the science elf uploads something

  • @Eralen00
    @Eralen00 2 года назад +1

    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

  • @wordart_guian
    @wordart_guian 3 года назад +6

    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

  • @BrentBlueAllen
    @BrentBlueAllen 2 года назад +1

    Holy smokes, that Blender vs TI-84 side-by-side is beautiful. Nicely done.

  • @Enstrayed
    @Enstrayed 3 года назад +7

    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.

  • @chrisdevsoft
    @chrisdevsoft 2 года назад

    Thanks for having detailed your experience. These kind of details is probably the most interesting aspect in such video.

  • @r4z0r84
    @r4z0r84 2 года назад +14

    Never thought I'd see a graphics calculator being used for graphics haha

  • @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

  • @jighardy
    @jighardy 2 года назад +3

    this is why I want to get into programming. This stuff is so cool

  • @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.

  • @FinFET
    @FinFET 3 года назад +14

    So cool! Gonna try out this fixed float trick =)

  • @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!

  • @BlazertronGames
    @BlazertronGames 3 года назад +13

    Very cool! I'm quite interested in graphics programming! I've been playing around with opengl recently.

  • @smile4cs
    @smile4cs 2 года назад +1

    WAIT YOU CAME BACK??? I used to watch all of your videos religiously! Honestly really nice to see a new video.

  • @fjs1111
    @fjs1111 3 года назад +10

    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 Год назад +1

      I like it because it uses simple tools to make complex things.
      Not several gigs of code and 100 watt CPU.

  • @SalMightyOne
    @SalMightyOne 2 года назад +2

    Props for using Romeo Knight's music!

  • @HeyItsSahilSoni
    @HeyItsSahilSoni 2 года назад +8

    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 : ruclips.net/video/p8u_k2LIZyo/видео.html

  • @benrogers5845
    @benrogers5845 2 года назад +1

    I've been obsessed with the cx calculators since they were announced I love this video

  • @Thoran666
    @Thoran666 2 года назад +14

    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 года назад +1

      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

  • @philean
    @philean 2 года назад

    Great Video! The LUT part made me very happy. Great that you considered that :D

  • @Animadoria
    @Animadoria 3 года назад +7

    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 3 года назад

      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 3 года назад

      @@genericuser1546 I was more curious to know if it was a calculator limitation or just a small mistake :)

    • @genericuser1546
      @genericuser1546 3 года назад

      @@Animadoria Oh well then later he mentions that the calculator uses a 24bit architecture so I don't think it supports 32 bit ints

  • @JuanGamer0202
    @JuanGamer0202 2 года назад +2

    This guy running 3D objects with ray-traicing while my pc sucks at running gta sa

  • @Jules-nr7nu
    @Jules-nr7nu 2 года назад +4

    Laupok on est là !!

  • @fishcelery4894
    @fishcelery4894 8 месяцев назад +2

    in the year 2050: "i made blender on a calculator"

  • @dfgaJK
    @dfgaJK 3 года назад +9

    Now add a function to render graphs and numbers in 3d space and make all your calculator's interface run in raytraced 3d.

  • @3TDEV01
    @3TDEV01 2 года назад +1

    Awesome, a little optimisation goes a long way and this is the next level. ;)

  • @WDCallahan
    @WDCallahan 3 года назад +16

    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 года назад +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

  • @nealmenhinick
    @nealmenhinick 2 года назад +2

    surprisingly entertaining, I do 3D rendering professionally and seeing this on a calculator is mind blowing

  • @thepuzzlemaker2159
    @thepuzzlemaker2159 3 года назад +5

    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 3 года назад +2

      are you being intentionally obtuse or do you really not know why gpus have trouble with rt

    • @scottdotjazzman
      @scottdotjazzman 2 года назад +1

      Probably the latter.

  • @SmeddyTooBestChannel
    @SmeddyTooBestChannel 2 года назад +1

    absolutely powerful. it almost justifies the extortionate prices they sell these calculators for!!!

  • @geovani60624
    @geovani60624 2 года назад +6

    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

  • @lizzie-wizzie
    @lizzie-wizzie Год назад

    thats awesome progress compared to the older program! awesome video

  • @Sparkette
    @Sparkette 3 года назад +3

    Is it just me or does 3:30 look distinctly Microsoft?

    • @6rsk1
      @6rsk1 10 месяцев назад

      Similar fonts and default microsoft blue color palette

  • @jesusmgw
    @jesusmgw 2 года назад

    This is such an excellent way to teach about the rendering concepts and process step by step. Thank you!

  • @lavenderfox2430
    @lavenderfox2430 3 года назад +4

    I'm curious how well this'd run on my TI Nspire CX CAS.

  • @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.

  • @jakethecake001
    @jakethecake001 Год назад +5

    Cool! Now do path tracing.

  • @beansontoast9323
    @beansontoast9323 2 года назад +1

    Absolutely fantastic, I always wanted to know the power of those small calculators

  • @shhinysilver1720
    @shhinysilver1720 Год назад +4

    But can it run doom?

  • @firestorm517
    @firestorm517 2 года назад

    Not sure how I got recommended this video but wow that is super impressive man!

  • @floormusic
    @floormusic 2 года назад +7

    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.

  • @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.

  • @Riricus
    @Riricus 2 года назад +4

    ceut qui sont fr et qui vienne de laupok lever la main

  • @boltez6507
    @boltez6507 3 года назад +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😁

  • @titoune911-z7
    @titoune911-z7 2 года назад +3

    Qui est là grâce à laupok???

  • @NickGeorgiou
    @NickGeorgiou 2 года назад

    Incredible work man, this was really insightful.

  • @patgarner
    @patgarner 2 года назад

    This was fascinating! Super well done overall!

  • @ItsBabaEro
    @ItsBabaEro 2 года назад +1

    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.

  • @afoxinafoxhole7891
    @afoxinafoxhole7891 2 года назад +1

    “… a sequel, or a threqual?” A trilogy you mean?

  • @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

  • @soysoku
    @soysoku 2 года назад +2

    Man, your calculator runs better than my PC.....

  • @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

  • @RapinatorOhYeah
    @RapinatorOhYeah 2 года назад +1

    Next Episode: I play Minecraft on a Graphing Calculator

  • @ChristianStout
    @ChristianStout Год назад +1

    I bet if you calculated the efficiency in terms of pixels per joule, you'd find that the calculator is close to or even better than the RTX 4090. These calculators can do a ton of work on less than 1 watt.

  • @Loganator4551
    @Loganator4551 3 года назад

    Gold channel. Can't wait to watch every other video

  • @Торнадоплюспетарда

    Pov:drawing pictures using nothing related to drawing, excluding math

  • @purplesky631
    @purplesky631 2 года назад

    it's good to see your back making RUclips videos

  • @alimardan347
    @alimardan347 Год назад +1

    Looks like that calculator got getter spaces than my laptop

  • @TheChaadr
    @TheChaadr 3 года назад +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

  • @MaxOakland
    @MaxOakland 2 года назад

    Groovy processor! I love the Mac OS 7 cat wallpaper 😆

  • @shadamethyst1258
    @shadamethyst1258 2 года назад +1

    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 года назад +1

      Who needs Blender? Just write POVRay SDL!

  • @pointlessrandom7619
    @pointlessrandom7619 2 года назад

    I don't know how I am here at 2 am in the morning, but here we are. cool stuff

  • @rwolterbeek
    @rwolterbeek 2 года назад

    Nice! Fun vid and really cool concept, keep it up!

  • @animeshkarnewar3
    @animeshkarnewar3 2 года назад

    Good job! These hardware accelerations would definitely make graphics heavy games more accessible to hand-held devices.

  • @davidcasanova5820
    @davidcasanova5820 2 года назад

    Just commenting so you get more views! Awesome video man, wish I had the time and strength needed

  • @TheRealJochen
    @TheRealJochen 2 года назад

    This surely will enhance the calculator gaming scene

  • @namco003
    @namco003 Год назад

    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 😮

  • @overengineer7691
    @overengineer7691 2 года назад

    Re-writing one's early ti-basic program in assembly is the gateway to a solid programming career

  • @Торнадоплюспетарда

    Im not an IT nerd and i didnt own TI-83 calcs, but i guess on your first project when it took 6 hours to make i think its because it was generating an open space where it (logically) has more space than a room with three colors

  • @mercster
    @mercster 2 года назад +1

    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?

  • @juryrigg8156
    @juryrigg8156 2 года назад +1

    There’s a mistake at around 1:40 TI-basic actually allows for double variable names like A0, A1, A2, AA, AB, and so on