Raytracing on a Graphing Calculator (again)

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2024
  • A long time ago, I wrote a really slow ray tracing program for a TI-84 calculator. I figured it's about time for an upgrade.
    Check out the code here:
    github.com/TheScienceElf/TI-8...
    Music Used:
    Cream of the Earth - Romeo Knight (0:00, 11:03)
    Take it Slow - SefChol (2:58)
    Sunday Plans - Silent Partner (5:31)
    Sunshine Samba - Chris Haugen (8:33)
    Clips in Order of Appearance:
    Computer Color is Broken - • Computer Color is Broken (8:14)
    TH-cam Animated Subscribe button - • TH-cam Animated Green... (12:58)
    Minecraft RTX - RTX On/Off Gameplay - • Minecraft RTX - RTX On... (13:20)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.6K

  • @MrMateloi
    @MrMateloi 2 ปีที่แล้ว +9888

    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 ปีที่แล้ว +169

      I have the same calculator. Got any recommendations?

    • @octakhan4673
      @octakhan4673 2 ปีที่แล้ว +199

      There's a gameboy emulator called TI-BOYCE

    • @dimsword35
      @dimsword35 2 ปีที่แล้ว +137

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

    • @user-qp3qj2jv6f
      @user-qp3qj2jv6f 2 ปีที่แล้ว +50

      @Alma Franklyn LiveOverflow made a GameBoy miner

    • @rhebucks_zh
      @rhebucks_zh 2 ปีที่แล้ว +16

      @Alma Franklyn almost no hashrate

  • @CaptainMarvelsSon
    @CaptainMarvelsSon 2 ปีที่แล้ว +4247

    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 ปีที่แล้ว +706

      Teacher is a legend

    • @avasam06
      @avasam06 2 ปีที่แล้ว +1049

      Teacher understands that in real life you use tools

    • @AndreasWilfer
      @AndreasWilfer 2 ปีที่แล้ว +356

      Seems like a good and understanding teacher.

    • @sophiacristina
      @sophiacristina 2 ปีที่แล้ว +388

      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

  • @jksupergamer
    @jksupergamer 2 ปีที่แล้ว +1031

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

    • @ChristopherGray00
      @ChristopherGray00 2 ปีที่แล้ว +107

      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 ปีที่แล้ว +173

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

    • @ChristopherGray00
      @ChristopherGray00 2 ปีที่แล้ว +96

      @@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 ปีที่แล้ว +208

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

    • @ChristopherGray00
      @ChristopherGray00 2 ปีที่แล้ว +51

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

  • @kommstein5692
    @kommstein5692 2 ปีที่แล้ว +972

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

    • @sophiacristina
      @sophiacristina 2 ปีที่แล้ว +33

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

    • @tf_d
      @tf_d 2 ปีที่แล้ว +18

      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 ปีที่แล้ว +21

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

  • @Cyranek
    @Cyranek 2 ปีที่แล้ว +3445

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

    • @SomeRandomPiggo
      @SomeRandomPiggo 2 ปีที่แล้ว +195

      i struggled with opengl altogether lmao

    • @heitorheitorheitor8158
      @heitorheitorheitor8158 2 ปีที่แล้ว +16

      @@SomeRandomPiggo lmao

    • @solarwolf678
      @solarwolf678 2 ปีที่แล้ว +9

      It's you lol

    • @xerzy
      @xerzy 2 ปีที่แล้ว +77

      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 ปีที่แล้ว +13

      @@SomeRandomPiggo I just struggle

  • @r_atharv11
    @r_atharv11 2 ปีที่แล้ว +4053

    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 ปีที่แล้ว +497

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

    • @gljames24
      @gljames24 2 ปีที่แล้ว +548

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

    • @r_atharv11
      @r_atharv11 2 ปีที่แล้ว +14

      @@gljames24 😆😆

    • @r_atharv11
      @r_atharv11 2 ปีที่แล้ว +97

      @@gljames24 Much Respect to her, she made history

    • @kairu_b
      @kairu_b 2 ปีที่แล้ว +41

      @@gljames24 She's awesome!

  • @StuffMadeHere
    @StuffMadeHere ปีที่แล้ว +70

    Awesome video

    • @iandisalvo4366
      @iandisalvo4366 ปีที่แล้ว +1

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

    • @JobiMorkos
      @JobiMorkos ปีที่แล้ว +1

      Your name fits your comment.

    • @monhi64
      @monhi64 4 หลายเดือนก่อน

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

  • @PunknPatch
    @PunknPatch 2 ปีที่แล้ว +20

    “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

  • @firstnamelastname6118
    @firstnamelastname6118 2 ปีที่แล้ว +2740

    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 ปีที่แล้ว +140

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

    • @AkariInsko
      @AkariInsko 2 ปีที่แล้ว +48

      Well he was basically forced to optimize the code

    • @AiOinc1
      @AiOinc1 2 ปีที่แล้ว +44

      Check out all of the demoscene then

    • @rhebucks_zh
      @rhebucks_zh 2 ปีที่แล้ว +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.

  • @kirishima638
    @kirishima638 2 ปีที่แล้ว +538

    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 ปีที่แล้ว +15

      imagine what you can do now with internet

    • @MaxOakland
      @MaxOakland 2 ปีที่แล้ว +16

      That’s so cool. Make videos about that

    • @spacejunk2186
      @spacejunk2186 2 ปีที่แล้ว +19

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

    • @azverndias913
      @azverndias913 2 ปีที่แล้ว +6

      Do document your work

    • @SwagGaming87
      @SwagGaming87 2 ปีที่แล้ว

      @@MaxOakland go resonate some electrons

  • @ChickenScratch
    @ChickenScratch 2 ปีที่แล้ว +357

    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 ปีที่แล้ว +33

      @@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 ปีที่แล้ว +24

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

  • @thomasrosebrough9062
    @thomasrosebrough9062 2 ปีที่แล้ว +64

    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.

  • @NICK....
    @NICK.... 2 ปีที่แล้ว +489

    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 ปีที่แล้ว +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

  • @arbitercs
    @arbitercs 2 ปีที่แล้ว +47

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

    • @DocJade
      @DocJade 2 ปีที่แล้ว +4

      I was expecting a few months tbh

    • @brodown64
      @brodown64 2 ปีที่แล้ว +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.

  • @levieux1137
    @levieux1137 2 ปีที่แล้ว +18

    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!

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

  • @peteranderson037
    @peteranderson037 2 ปีที่แล้ว +110

    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 ปีที่แล้ว +8

      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?
      th-cam.com/video/ZWQ0591PAxM/w-d-xo.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 ปีที่แล้ว +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

  • @brodown64
    @brodown64 2 ปีที่แล้ว +40

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

  • @nathanb011
    @nathanb011 2 ปีที่แล้ว +26

    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 ปีที่แล้ว +1

      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. th-cam.com/video/QNrT2MSCkzQ/w-d-xo.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 ปีที่แล้ว +5

      @@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 ปีที่แล้ว +6

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

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

  • @Wayne_Robinson
    @Wayne_Robinson 2 ปีที่แล้ว +41

    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 2 ปีที่แล้ว +64

    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 ปีที่แล้ว +2

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

    • @GalaxyCatz
      @GalaxyCatz 2 ปีที่แล้ว +2

      The man the myth the legend 🙌

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

  • @A3N-
    @A3N- 2 ปีที่แล้ว +7

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

  • @DanielSuguwa
    @DanielSuguwa 2 ปีที่แล้ว +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! 👋

    • @TechOff
      @TechOff 2 ปีที่แล้ว +3

      Goodnight!

    • @sophiacristina
      @sophiacristina 2 ปีที่แล้ว

      Sleep is for the weaks!

  • @andresbravo2003
    @andresbravo2003 2 ปีที่แล้ว +16

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

  • @r4z0r84
    @r4z0r84 2 ปีที่แล้ว +14

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

  • @Eralen00
    @Eralen00 ปีที่แล้ว +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

  • @JakeyAnimates
    @JakeyAnimates 2 ปีที่แล้ว +3

    I usually watch your videos every time I come home from school, and I love em.

  • @wordart_guian
    @wordart_guian 2 ปีที่แล้ว +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

  • @chrisdevsoft
    @chrisdevsoft ปีที่แล้ว

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

  • @jesusmgw
    @jesusmgw 2 ปีที่แล้ว

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

  • @ironiceire
    @ironiceire 2 ปีที่แล้ว +5

    It makes my day when the science elf uploads something

  • @Jules-nr7nu
    @Jules-nr7nu 2 ปีที่แล้ว +4

    Laupok on est là !!

    • @Maskyy__
      @Maskyy__ 2 ปีที่แล้ว

      Mdrrr

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

  • @shantanukulkarni8883
    @shantanukulkarni8883 2 ปีที่แล้ว +3

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

  • @BlazertronGames
    @BlazertronGames 2 ปีที่แล้ว +14

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

  • @billmagundie6866
    @billmagundie6866 2 ปีที่แล้ว +7

    I think your videos may have inspired some of my teammates in Valorant to also see what they can run on their calculators.

  • @benrogers5845
    @benrogers5845 2 ปีที่แล้ว +1

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

  • @patgarner
    @patgarner 2 ปีที่แล้ว

    This was fascinating! Super well done overall!

  • @jighardy
    @jighardy 2 ปีที่แล้ว +3

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

  • @FinFET
    @FinFET 2 ปีที่แล้ว +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!

  • @5tripedTailz
    @5tripedTailz 2 ปีที่แล้ว

    is it possible to get this program running on modern hardware?
    the specs i wanted to try this with are office computer specs from 2014, Windows 7 Pro, Intel 3rd gen I5, Intel HD 2500
    and how different are the times for displaying images? and is there a performance boost or drop?
    i want to turn this into a shader for opengl on minecraft java, maybe it will run better then most shaders?

    • @tjgdddfcn
      @tjgdddfcn 2 ปีที่แล้ว

      This wasnt made in java so no you probably cant.

    • @tjgdddfcn
      @tjgdddfcn 2 ปีที่แล้ว

      Looking at the specs, minecraft probably doesnt even hit 60 fps so no shader will even hit playable performance

    • @5tripedTailz
      @5tripedTailz 2 ปีที่แล้ว

      @@tjgdddfcn my specs let me hit 120 fps on 1.16, on 1.8.9 its boosted to 230
      and on 1.18 i get around 70-80

    • @tjgdddfcn
      @tjgdddfcn 2 ปีที่แล้ว +1

      @@5tripedTailz woah, guess windows 10 is bloated then. Still , makin that into a shader would require rewriting it and wouldnt be as performant as those already made

    • @5tripedTailz
      @5tripedTailz 2 ปีที่แล้ว

      @@tjgdddfcn it would probably have performace if the cope is optimized and tested, but we dont know until its done, it would be cool to see rtx running on java at a high fps on low end internal graphics!

  • @Enstrayed
    @Enstrayed 2 ปีที่แล้ว +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.

  • @dan3a
    @dan3a 2 ปีที่แล้ว +3

    Great video as always!

  • @BrentBlueAllen
    @BrentBlueAllen 2 ปีที่แล้ว +1

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

  • @NickGeorgiou
    @NickGeorgiou ปีที่แล้ว

    Incredible work man, this was really insightful.

  • @Thoran666
    @Thoran666 2 ปีที่แล้ว +15

    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

  • @fjs1111
    @fjs1111 2 ปีที่แล้ว +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.

  • @beansontoast9323
    @beansontoast9323 2 ปีที่แล้ว +1

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

  • @philean
    @philean 2 ปีที่แล้ว

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

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

  • @nicolegardner1710
    @nicolegardner1710 2 ปีที่แล้ว +4

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

  • @3TDEV01
    @3TDEV01 2 ปีที่แล้ว +1

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

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

  • @dfgaJK
    @dfgaJK 2 ปีที่แล้ว +9

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

  • @Animadoria
    @Animadoria 2 ปีที่แล้ว +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 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

  • @lizzie-wizzie
    @lizzie-wizzie 9 หลายเดือนก่อน

    thats awesome progress compared to the older program! awesome video

  • @alexwhb122
    @alexwhb122 2 ปีที่แล้ว

    This is a great video! Thank you very much for posting. I learned a lot!

  • @HeyItsSahilSoni
    @HeyItsSahilSoni 2 ปีที่แล้ว +8

    For inverse square root, you can use quake 3's algo, it's a lot faster

    • @chrisdevsoft
      @chrisdevsoft ปีที่แล้ว

      Interesting. Can you give a reference, please ?

    • @HeyItsSahilSoni
      @HeyItsSahilSoni ปีที่แล้ว

      @@chrisdevsoft Sure, here you go : th-cam.com/video/p8u_k2LIZyo/w-d-xo.html

  • @WDCallahan
    @WDCallahan 2 ปีที่แล้ว +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

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

  • @JohnWasinger
    @JohnWasinger 2 ปีที่แล้ว +2

    Wow! I once wrote a hidden line removal 3D rendered tilting double gaussian curve on a TI-84. It took hours to plot each frame.

  • @jakethecake001
    @jakethecake001 9 หลายเดือนก่อน +4

    Cool! Now do path tracing.

  • @silversheep11
    @silversheep11 2 ปีที่แล้ว +3

    Dudes calculator is faster than my computer.

  • @SalMightyOne
    @SalMightyOne 2 ปีที่แล้ว +2

    Props for using Romeo Knight's music!

  • @turgaysenlet
    @turgaysenlet 2 ปีที่แล้ว

    This content is amazing! Why can’t I like a video more than once :)

  • @malloryp8341
    @malloryp8341 2 ปีที่แล้ว +3

    Elle Woods called. She wants her calculator back 💕

  • @HappyZavulon
    @HappyZavulon 2 ปีที่แล้ว +3

    Well you know what's next, Raytracing on a Game Boy!

  • @rwolterbeek
    @rwolterbeek 2 ปีที่แล้ว

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

  • @boltez6507
    @boltez6507 2 ปีที่แล้ว +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😁

  • @thepuzzlemaker2159
    @thepuzzlemaker2159 2 ปีที่แล้ว +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 2 ปีที่แล้ว +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.

  • @shhinysilver1720
    @shhinysilver1720 4 หลายเดือนก่อน +4

    But can it run doom?

  • @nealmenhinick
    @nealmenhinick ปีที่แล้ว +2

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

  • @purplesky631
    @purplesky631 2 ปีที่แล้ว

    it's good to see your back making TH-cam videos

  • @Sparkette
    @Sparkette 2 ปีที่แล้ว +3

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

    • @6rsk1
      @6rsk1 2 หลายเดือนก่อน

      Similar fonts and default microsoft blue color palette

  • @Riricus
    @Riricus 2 ปีที่แล้ว +4

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

  • @by-runes
    @by-runes 2 ปีที่แล้ว

    Please make a sequel, this is one of those gems that have no reason grabbing my attention this much

  • @Allen-R
    @Allen-R ปีที่แล้ว

    12:58 bruh, love the volume-boosted-to-clipping bell

  • @immanuelsuleiman7550
    @immanuelsuleiman7550 2 ปีที่แล้ว +5

    Two uploads in less than 1 month time
    Very impressive
    Is this going to become a regular thing

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

  • @davidcasanova5820
    @davidcasanova5820 2 ปีที่แล้ว

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

  • @user-sb8cs3le2j
    @user-sb8cs3le2j 2 ปีที่แล้ว

    I can't believe you're back!

  • @titoune911-z7
    @titoune911-z7 2 ปีที่แล้ว +3

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

  • @Fune3
    @Fune3 2 ปีที่แล้ว +8

    He can code an entire raytraced engine but still can’t figure out how to upgrade from Blender 2.79.

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

  • @rewonkawebber
    @rewonkawebber 2 ปีที่แล้ว

    Cool explanation, I'm subscribed :)

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

  • @animeshkarnewar3
    @animeshkarnewar3 2 ปีที่แล้ว

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

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

  • @dazbrugernavn
    @dazbrugernavn 2 ปีที่แล้ว

    This is so nerdy. I love it

  • @namco003
    @namco003 4 หลายเดือนก่อน

    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 😮

  • @askhowiknow5527
    @askhowiknow5527 2 ปีที่แล้ว

    We missed you more than you can imagine. We’re glad you’re back

  • @fredericdesautels1026
    @fredericdesautels1026 2 ปีที่แล้ว

    This is some impressive results!

  • @firestorm517
    @firestorm517 2 ปีที่แล้ว

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

  • @EvilizedDead_EVL_DED
    @EvilizedDead_EVL_DED ปีที่แล้ว

    My man made Enscape for ti calc ! Neat mate :)

  • @Quinten0508
    @Quinten0508 2 ปีที่แล้ว

    This is amazing! Clocked in at 8min and 48secs on my Ti-84 Plus CE-T Python ed, using FASTER for a slight overclock and resetting the entire thing beforehand to get rid of old junk. Looking forward to what you'll do with this project, maybe allow for custom scenes to be added?

  • @GraySlicerAnimations
    @GraySlicerAnimations 2 ปีที่แล้ว

    An 2nd upload before a year has passed? Has the Elf truly returned to us!?

  • @herberto__
    @herberto__ 2 ปีที่แล้ว +1

    You'r back!