naps are handy for game design
-
This ended up being a bit of a journey because ES2 doesn't really give you good options for frame buffer formats and doesn't support MSAA frame buffer objects, and doesn't have either of these things exposed as extensions (or at least not any that appear on the three machines I care about) soooo I made a best effort to make it workable with the barebones frame buffer objects ES2 provides, and made it so it can upgrade to ES3 for better frame buffer objects when it is available.
In practice what that means is really old hardware can still have screen space distortions, there will just be banding (until I add dithering) and no MSAA, but the only such hardware I have to test this on doesn't support MSAA anyway.
Once I add dithering, I'll probably use RGB8 for the main frame buffer in all modes and so the only difference will just be ES2's lack of MSAA.
-
In practice what that means is really old hardware can still have screen space distortions, there will just be banding (until I add dithering) and no MSAA, but the only such hardware I have to test this on doesn't support MSAA anyway.
Once I add dithering, I'll probably use RGB8 for the main frame buffer in all modes and so the only difference will just be ES2's lack of MSAA.
oh cool, the rain effect actually does a pretty decent job obscuring the banding (the video shows ES3, I just tried it with ES3 features compiled out just now and it looks fine)
-
oh cool, the rain effect actually does a pretty decent job obscuring the banding (the video shows ES3, I just tried it with ES3 features compiled out just now and it looks fine)
i figured out how to "build jolt physics". no idea how to "use jolt physics", but i'm sure that's probably surmountable. this thing is 19 megs tho holy smokes
-
i figured out how to "build jolt physics". no idea how to "use jolt physics", but i'm sure that's probably surmountable. this thing is 19 megs tho holy smokes
maybe i should just see if i can write something reasonably fast for doing ray-triangle hit queries on low poly terrain before i bring in the titanic
-
maybe i should just see if i can write something reasonably fast for doing ray-triangle hit queries on low poly terrain before i bring in the titanic
come to think of it I probably don't really need a bvh or anything like that I just need to know what part of the map the player is currently in contact with and which parts are connected to that. in this case the game is just a network of roads, so the physics representation of the play space could just be whatever the closest line segment is, the local ground plane, and the road width
-
come to think of it I probably don't really need a bvh or anything like that I just need to know what part of the map the player is currently in contact with and which parts are connected to that. in this case the game is just a network of roads, so the physics representation of the play space could just be whatever the closest line segment is, the local ground plane, and the road width
somehow i got it into my head that i'd need to figure out what a bvh is or something. good prank. i'm gonna just use a linked list lol
-
somehow i got it into my head that i'd need to figure out what a bvh is or something. good prank. i'm gonna just use a linked list lol
the other thing that made me go UUUUUUUH was I fired up jolt's "car" vehicles sample and I don't think that's how cars work
-
the other thing that made me go UUUUUUUH was I fired up jolt's "car" vehicles sample and I don't think that's how cars work
@aeva it's how they work IN EUROPE!!1
-
@aeva it's how they work IN EUROPE!!1
@rygorous they frequently flip over sideways with little provocation and stay balanced perfectly on two wheels for a like a whole minute before gently fwumping back over onto all four wheels again? and rarely make contact with the ground while moving?
-
@rygorous they frequently flip over sideways with little provocation and stay balanced perfectly on two wheels for a like a whole minute before gently fwumping back over onto all four wheels again? and rarely make contact with the ground while moving?
-
-