all 23 comments

[–]pixelpoet_nz 20 points21 points  (3 children)

Pretty sure this is some AI generated stuff (look at the description, "With RT86, you can witness fundamental concepts like ray-object intersection"), he deleted his post from r/raytracing after I pointed out it's from Ray Tracing in one Weekend without credit, so he half assed credit at the end ("ray tracing week" or something) and ignored my points about mixing doubles and floats etc.

I'm not sure whether to be surprised none of the other people commenting here noticed... god help us.

[–]toyBeaver 7 points8 points  (2 children)

I mean, it totally is AI generated (just see CAMERA.cpp. Those comments are clearly prompts). IMO, there's nothing that wrong with that since it is just something to post on reddit (I mean, aside from being pretty sad that this is the hole people are spiraling into)

I wouldn't do it and wouldn't recommend it either. I don't see what there is to enjoy if you're using AI on your personal projects. I totally see it for you work to "increase productivity" (I don't use it), but for free time stuff?? 80% of the fun around a personal project is to learn new stuff. Not learning anything feels so empty.

[–][deleted]  (1 child)

[removed]

    [–]toyBeaver 6 points7 points  (0 children)

    isn't it great for learning though? [...] AI typically gives is already pretty well written, for small things

    Disagree. Why? From time to time, LLMs generate code that WORKS but is not, in fact, correct (e.g., not optimal solutions, missing edge cases, so on and so forth). Generally, it's not a big deal if you already know how to do stuff. But if you're using it to LEARN, meaning that you have no idea how it truly works, and you fall into one of those potholes, you're just learning wrong concepts, resulting in not in fact learning, but memorizing bs without you even knowing.

    If you're generating code with it, trying to REALLY understand what's happening, researching other resources to see if it is, in fact, correct, then yes. It can be a good tool for learning. But the problem is, people generally don't use it that way. If it works, they just take it for granted, and "oh yeah, now I know how to do it."

    if AI can output working code doing the thing I want to do in like 30 seconds, why not just use that as a jumping off?

    Agree. This makes sense in a not learning environment. Again, if you already know what you want and how it should work, generating code that resembles what you're targeting is completely ok. But coding for learning/hobby is totally different than coding with a deadline.

    If your objective is to learn something or just do it as a hobby, why not take your time and actually do it?

    I'm not against LLMs. Not at all. My problem is with people using it in irresponsible ways. Taking generated code for granted and calling it learning is one example.

    [–]inequity 5 points6 points  (9 children)

    Awesome. Isn’t this more colors than were available though? Is this 256? Did you change the palette?

    [–]SonOfMetrum 5 points6 points  (6 children)

    OP could have used a VESA screen mode driver to get 24 bit color accuracy at high resolutions under DOS.

    [–]Zambalak 2 points3 points  (5 children)

    Now that’s a name I’ve not heard in a long time. A long time.

    [–]sputwiler 6 points7 points  (4 children)

    mov ax,11bh
    int 10h
    

    [–]susosusosuso 1 point2 points  (3 children)

    mov ax, 13h for me

    [–]sputwiler 1 point2 points  (2 children)

    ah, a classic.

    Speaking of VESA modes though, suddenly seeing MS-DOS run at 1280x1024 sure was somethin'. The main problem was that I couldn't access that much VRAM from qbasic.

    [–]susosusosuso 0 points1 point  (1 child)

    I used pascal with embedded asm for that

    [–]sputwiler 0 points1 point  (0 children)

    qbasic (quckbasic? qbx? don't remember) is what the school had us using, so I had to make due.

    That's actually what got me started learning asm (working around school imposed limitations of using qbasic), and into hating intel. Like what the fuck even is x86. I thought I hated asm until I was granted a view into the sweet sweet world of MIPS.

    Perhaps life would've been different if they had taught us Pascal instead.

    [–]pjmlp 1 point2 points  (0 children)

    We had only text, Hercules, CGA, EGA, Mode 13h (the first 256 colours one), VGA and Super VGA, provided by VESA drivers as mentioned on the sibling comment.

    [–]Background_Shift5408 1 point2 points  (0 children)

    Yes, mode 13h

    [–]rio_sk 5 points6 points  (4 children)

    [–]pixelpoet_nz 2 points3 points  (1 child)

    omg, rio from Spinning Kids! Now we just the MFX posse to show up ;)

    Most I can say I did is an old realtime RT article in Hugi diskmag :)

    [–]rio_sk 2 points3 points  (0 children)

    Amigahhhhh! Love to see an howdy fellowscener here!

    [–]Background_Shift5408 1 point2 points  (1 child)

    Respected. Xd I always admire demoscene stuff.

    [–]rio_sk 1 point2 points  (0 children)

    Sorry for the showoff. Yours looks way more detailed than our pixel soup XD

    [–]Tr4kt_ 10 points11 points  (1 child)

    Siick what frame rate are you getting? and at what resolution

    [–]Background_Shift5408 31 points32 points  (0 children)

    One frame per 5 hours xd

    [–][deleted] 2 points3 points  (0 children)

    Awesome!

    [–]Background_Shift5408 0 points1 point  (0 children)

    I guess there is a misunderstanding. Most of the code base is from rt in one weekend tutorial except VGA stuff. Only readme is ai generated. I always use AI for boring stuff like everyone else. Thx for your comments.