naps are handy for game design
-
(i have no idea)
it looks like if the car were for some reason moving 1000 miles per hour, that would give me about 17 seconds to swap in map tiles, which should hopefully be more than plenty as only the road is going to have a physics representation
my current plan to make geometry and texture streaming lickety split is to simply not bother and load all of the models and textures into memory up front, and use instancing where possible. I figure most map tiles will be a spline or mesh for the road, a point cloud for instancing trees and grass, and a few odds and ends like road signs, the occasional house, guard rails, and so on. the map tiles will probably also have an elevation map
-
my current plan to make geometry and texture streaming lickety split is to simply not bother and load all of the models and textures into memory up front, and use instancing where possible. I figure most map tiles will be a spline or mesh for the road, a point cloud for instancing trees and grass, and a few odds and ends like road signs, the occasional house, guard rails, and so on. the map tiles will probably also have an elevation map
originally i wanted to have the routes be procedural by stitching together tiles semirandomly, but i've since soured on the idea so instead the route will be completely fixed and probably linear, but the game will be able to swap out the next map tile for a terminus if you don't pass its time gate. on the plus side this means racing ghosts will be viable.
mym had a great idea that i'll likely incorporate, which is to have a racing poltergeist (solid racing ghost) mode
-
originally i wanted to have the routes be procedural by stitching together tiles semirandomly, but i've since soured on the idea so instead the route will be completely fixed and probably linear, but the game will be able to swap out the next map tile for a terminus if you don't pass its time gate. on the plus side this means racing ghosts will be viable.
mym had a great idea that i'll likely incorporate, which is to have a racing poltergeist (solid racing ghost) mode
ah, jolt only supports <5 km worlds without turning on double precision. I wonder if it'll let me seamlessly finesse map chunks and the car around as needed instead
-
ah, jolt only supports <5 km worlds without turning on double precision. I wonder if it'll let me seamlessly finesse map chunks and the car around as needed instead
I got my little demo rendering to a texture last night.
-
I got my little demo rendering to a texture last night.
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.
-
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?
-
-