Raytracing on a Graphing Calculator (again)

Поделиться
HTML-код
  • Опубликовано: 14 июн 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)
    RUclips Animated Subscribe button - • RUclips Animated Green... (12:58)
    Minecraft RTX - RTX On/Off Gameplay - • Minecraft RTX - RTX On... (13:20)
  • НаукаНаука

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

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

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

      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

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

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

    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.

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

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

    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?
      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 Год назад +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. 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 года назад +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! 👋

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

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

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

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

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

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

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

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

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

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

    Great video as always!

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

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

    Incredible work man, this was really insightful.

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

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

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

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

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

  • @lizzie-wizzie
    @lizzie-wizzie 9 месяцев назад

    thats awesome progress compared to the older program! awesome video

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

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

  • @user-sb8cs3le2j
    @user-sb8cs3le2j 2 года назад

    I can't believe you're back!

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

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

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

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

    Cool explanation, I'm subscribed :)

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

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

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

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

    This is some impressive results!

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

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

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

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

    You'r back!

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

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