Is that few or many people?
Not downloaded yet
In this archive from May 2018 to Dec 2018
So recently I decided to try out Arch on my laptop and so far I'm liking it and I've managed to set up most things. One issue that I do have that is starting to become a real deal braker for me is Bluetooth randomly disconnecting. And I do mean randomly, one time I can go without a disconnect for ho...
So I've been trying to find a solution on how to do this using the command line. I have a folder full of files I would like to compress into individual zip files. Now I'm using pigz and from what I've read online recursively zipping files individually would be using the following command pigz -k -K...
Joke's on them, I already have one from when people cheated by idling.
I've been using Arch for about a year now and honestly, I haven't ran into any stability issues. I've had more things come broken out of the box using Ubuntu, with Arch things are only as broken as you make them.
I've used a thread pool that started as many threads as std::thread::hardware_concurrency reported. The thread pool also has a task queue and with the use of conditional variables I've set the worker function the threads ran so that if the queue was empty they would sleep.
So when the rendering portion of the application came out, they raycaster would create rays/tasks by passing information about the source and the direction of the rays. Once the queue would start filling up the threads would start calculating how far the columns are, what color to use and if they should be shaded (North/South sides use full brightness while West/East are half brigthness). So in the end you'd end up with two vertices representing a vertical line. These were then put into a vertex array and once the task queue was empty all the threads idle again the main thread would get woken up and the screen would get drawn then.
Roughly something like this:
Though as it is, multithreading didn't prove to improve performance, mostly because most of the time was spent waiting on mutexes to unlock. If I remember right from benchmarking if you calculated how much time was spent on each ray, it took three times longer when doing it multithreaded than doing it single threaded. So when comparing the framerates there was a 30% loss in speed when switching to the multithreaded mode (I've made it so you could switch between the two at runtime).
I'd been pretty interested since I was thinking of doing something similar to the Doom or the Build engine. I've recently made a prototype of a Wolf3D-like raycasting engine in C++ using SFML.
I still have to do texture mapping in it but I'm at the point where I'm unsure if I should continue with the project because with my current implementation of raycasting it seems getting non-orthogonal walls at arbitrary heights would require a lot of hacks. And there is only so much you can do with a grid based map.
I'm also unsure if I should continue using SFML. It's great for prototyping stuff but I'm not sure how suitable is it for "real" game development?
I am using Blueberry however the only options it gives me is Connect/Disconnect or enter Mouse settings.
I've temporarily installed Blueman and repaired and trusted the mouse. Hopefully it'll work now.