1,137 karma · joined November 15, 2017
Still, I'm kind of left wondering, where will they be in 40 years. Can life really be so predictable?
I find that pretty amusing.
Can this be adapted to work with classic line segments made from quads or is it just for drawing grids in screen space?
If you like playing old games in their natural environment, then you can't beat that in authenticity.
Out of curiosity, what is it that people do with these things? Do they put them on TikTok?
Won't that be fun.
I'm probably not in the target audience, but still, it looks lovely, I've enjoyed exploring the 3d part.
As a suggestion, a full screen button for the 3d scene would be nice, as I don't have VR, just a regular monitor. And if you're feeling adventurous, you could maybe even add WASD support for greater immersion. But that's a bit of work, as you would probably also have to include a physics lib for dealing with collisions.
Also, I almost didn't see the "try it out" link.
All the best with your project!
But as the AI gets increasingly competent at showing us how to do things, knowing what task is worth doing and what not is still a task for the one who asks, not the AI.
Edit: One type of question I've found interesting is to make it speculate, that is asking questions that it doesn't know the answer to, but still is able to speculate because they involve combining things it does know about in novel (though not necessarily valid) ways.
My intuition is that creativity is a more of a feeling one has, rather than the result of some teaching method or cultural background. It seems very closely related to one's interests and also the novelty effect. Just think about the first time you experienced something, like a great song or your first love. The mind is just bubbling with thoughts. How can that feeling be experienced again with the same object like it was the first time? It can't. It's never the same as the first time. Even if we can mentally forget, the subconscious somehow remembers it's had that experience, so it isn't fresh anymore.
So, yes, you need to make connections between existing things to come up with something new, but once the fascination with a thing dissipates and it becomes familiar, any further creativity in that area quickly dies off. Our interest just moves on.
Perhaps the really creative people are just the ones who have this ability to see familiar things with ever fresh eyes?
It follows that, maybe we programmers should see ourselves as working class poets or writers.
Weaving our magic words like wizards casting their spells, with every line written, we watch as our work of fantasy hardens into reality.
Our faithful computer always does our will.
With infinite patience, it takes our every instruction until each one has been precisely executed, down to the last word.
A bit idyllic, true, because there is always the dark side, the bugs. But otherwise, pure magic.
And, nothing wrong with other professions, but, more that 20 years after starting out, I can still remember why I wanted to be a programmer.
At least not until we invent time travel.
Too bad.
Steve Jobs predicts ChatGPT. Off by 40 years, but nobody's perfect.
What exactly will be different in the future from the current situation?
The value in gl_FragDepth, if written to, is final, but gl_Position is not and will go through the clip/NDC transformation and since the trick to get the extra precision is to put the depth range into [0,1] instead of [-1,1], this would fail.
So my guess is, it probably wouldn't work on WebGL/OpenGLES without also setting gl_FragDepth, which is, as you mentioned, impractical performance-wise.
Maybe I'm nitpicking, but to me scripting is just programming/extending a certain fixed piece of software to execute instructions not already programmed into it without having to modify that software itself. Usually using an API. Not unlike computer programming, which aims to make a piece of hardware execute some instructions without needing to alter the said hardware. The main difference is conceptual (the platform targeted: hardware or software). If the script happens to be run by a VM emulating a real processor because your software includes such a thing, I think the distinction becomes purely conceptual.
Now, the technology is obviously super cool, but what I don't quite understand yet is what is the best use case for this? Is it really game scripting? Or compiling C++ on the fly?
It's not exactly a simple drop in replacement for a Lua interpreter.
And this is quite an interesting story. Since the Sierra games' source code was never publicly released, it makes me think how radical id were to open source their games at the time, in the 90's.
Introspection (reflection) would go even further and provide at runtime all the information that you have at compile time about an object. But that's not required for assignment and destruction operations to work.
C doesn't have any of that, so a struct copy is just a shallow copy, a bit by bit copy of the entire struct contents. Which works pretty well, except for pointers/references.
I think the actual question should be "can C get automatic memory management like in C++ without having the equivalent of C++'s type system"?
Though I can't put my finger on it, my intuition says it can, if the interested people are willing to look deep enough.