Honestly, 45 fps on a 8 year old Mac book pro doesn't sound that bad. My old gaming laptop from around that time doesn't even boot up anymore and ran most games quite sluggishly in the years leading up to it kicking the bucket.Jasoco wrote: ↑Wed Oct 13, 2021 8:47 pm It sucks because if it weren't for the performance of the actual raycasting it would be perfect. I only have the resolution set to 320 columns but also implemented options to cut it in half (160) or adjust anywhere in-between (where it lets you have the rays on the edges of the screen be doubled but the rays in the center are still normal) with an option for automatic based on your frame rate which helps with performance but it still does have issues with big rooms. It's also a big problem because while I have a 2019 16" MacBook Pro with a discrete GPU, the performance is even worse on machines a few years older. Even my 2013 MBP only gets 45FPS on average. So if I ever release what I have, hardly anyone will be able to play it.
Yes and yes. Changing the texture of a model is really simple, I use it through out Lead Haul to change the door textures when you unlock them or open them for the first time. Semi transparent textures are a little trickier but it will render fine as long as you draw the transparent object after everything around it. I'm sure that if you're good enough with shaders you might even be able to implement something like ssr for you're reflections.Jasoco wrote: ↑Wed Oct 13, 2021 8:47 pm Can canvases that are used for the polygons in g3D be changed on the fly? Or do I actually have to destroy the 3D object and recreate it every time a bullet or blood splash hits the wall or floor? And would I even be able to do reflective floors? Like make 3D textures that are partially transparent so you can see stuff under it?
This.
It sounds like you've made something super impressive and interesting, I'm sure a lot of people would be interested in it. What raycasters have that a more conventional 3D engine lacks is the novelty and quirks which makes it stand out, poor performance or not, it's still at the very least an interesting tech demo worth sharing.