Started this week working on my own project since school started -.-
I started to built random level generation which Iām going to use for my project. The last time I posted something about it was a (very much alpha) video on page 10 in this thread.
Began work on a multi threading tool I call game of threads. Has three sets , Overlord - handles Whippers , whipper - Controls slaves , Slave - operates methods.
Each whipper can activate slaves at its own rate. The overlord can assign , kill , pause and control the whippers (ie an individual thread).
I left my computer logged on so my cousin can come in and mess things up. Sly, buddy, youāre subscribed to some weird things on reddit now. Love you <3
Spent almost the whole day working on finding curves that describe different parameters for my order-independent transparency stuff. I even wrote a small program that could find correct coefficients to create a graph that passed through a set of points with minimal quadratic error. That numerical analysis class at my uni actually was helpful in the end! In the end I managed to solve everything but the result was a bit disappointing so itās probably not really useful in practice⦠Still, I managed to fix a few issues and I also understand the math behind it all a bit more now.
No, I tested a number of points, figured out the basic shape of it, then simply used an algorithm which randomly modified the coefficients and tried to minimized the total squared error. For example, I had values which looked like the shape of ax/exp(bx), so I ran it through a program that found the correct values of a and b, and in the end I figured out that A was the alpha value of the pixel, and b required a second function to compute, and in the end I could simplify the whole expression to a much simpler function.