This thread is for anyone working on personal projects to share their progress, and hold themselves somewhat accountable to a group of peers.
Post your project, your progress from last week, and what you hope to accomplish this week.
If you want to be pinged with a reminder asking about your project, let me know, and I'll harass you each week until you cancel the service
Jump in the discussion.
No email address required.
Notes -
Homies: Ride or Die the 3d game.
Hacking away at stuff. Make is missing .hpp file changes, probably something about generating the .d files properly via clang.
Aside from that I added proper bounds checking to the racetrack by constructing a bunch of quadrilaterals to paper over it and simply iterating them and asking "is car inside quad?" and rejecting forward vector if it is not found in any. Can change this to a quadtree once I'm confident this is the right approach.
But weirdly the starting point where I spawn the car (700, 0, 0) doesn't fall inside of any quad even though I'm creating the quads procedurally and they should be sharing neighboring line segments. Wondering if this is some floating point precision issue creating some subtle gaps.
EDIT: I pasted the 1500 quadrilateral coordinates into ChatGPT and said why doesn't 700, 0, 0 lie inside of any of these and it responded that it's probably because it sits exactly on the edge of one line and my bounds checking is not inclusive of the actual boundary line itself. E.g. that sits exactly on the edge of one of the quads and my comparison function may be excluding that. Plausible!
EDIT2: yeah, that was it. I had this
and ChatGPT o3 told me to try this. Basically using an epsilon value to check for float equality than exact because of precision, and also being more tolerant to point ordering, I'm not sure I'm definitely doing it clockwise in all cases.
This works!
What am I even doing here. Feels like I'm one of those people playing chess still even though computers totally crush humans at it.
I mean, not really though. I had Claude Code write a lot of boilerplate for me w.r.t. get to triangle but it mostly produced buggy shader code and I had to sit down and think pretty hard a lot of the time. Even the model loading code was buggy and model files are pretty standard.
LLMs can collect answers from StackOverflow and sometimes get the right one. How nice.
Meanwhile, I'm switching off CoPilot because it keeps suggesting that I use classes and methods that plainly don't exist.
More options
Context Copy link
And people claim LLMs aren't useful for coding..
They're useful, except when they're not. It would be amazing if they could actually say "I don't know" instead of hallucinating 200 lines of code that are wrong that had no chance of being right.
I've had Claude code waste an hour of my time before and bill me $20 in tokens.
Was it 3.7 Sonnet? That model was far too gung-ho for its own good. I've heard better things about the 4 series.
It was. I haven't tried 4 yet. Kind of anxious it might waste my time and send me a bill again. I'll report back if I get proper fucked and try it out of desperation.
More options
Context Copy link
More options
Context Copy link
More options
Context Copy link
More options
Context Copy link
Post repo, if gpt's solution doesn't work. Might take a stab at it when I have a moment.
Edit: oops, didn't see your edits when posting.
More options
Context Copy link
More options
Context Copy link