108 karma · joined June 28, 2019
On the nail
If there's any interest I would like to share it, if only for the "import all files in folder" thing. But how should I go about sharing it? A Github repo? Or somewhere inside Overleaf?
For example, to get light and shadows, your shader should have access to some (probably global) variable about the position and direction of eg. a spotlight. Very often composite lighthing is achieved by combining multiple shader passes (a base pass for global ilumination, and one for each light for example), each literally adding more light (additive pass). Now, in order to avoid adding light for pixels where the light source is blocked (ie. shadow) the most common technique is using what's called a Z-buffer (just a floating point texture). You want to know for each light in the scene where their light reaches, so (before all lighting is applied) you set up a single shader pass that combines all solid geometry on the scene and using the light position and direction as the camera transform, and use a special shader whose only purpose is writing the objects distance to the Z-buffer. Now, every time you want to know whether a point in space is reached by your light, you go about sampling this Z-buffer (after doing some geometry) and compare the point's distance to the saved value in that direction. Yes, it can be very buggy and precision errors abound, and every engine worth their salt already does this for you, but lets you get in there and modify the process.
Everything else are variations on this theme. Deferred rendering is rendering data instead of colors into an intermediate texture which is later processed to get the colors. Blur effects are 2D convolutions of the rendertexture (eg by a Gaussing kernel). Tesseletion shaders are about generation new geometry in the vertext shader. Even drawing text is achieved through font atlasing and small rectangles.
"Master Python and Pandas, make them work for you, attack new challanges, earn good money"
Shouldn't it be "There are 1.44 standard minutes in 1 metric minute" ?
>I was amazed to know that woodworking was such a deep-rooted tradition
I believe we can talk about two ways of anthropomorphisation: assigning feelings to things in our mental model of it, or actually trying to emulate human-like thought processes and reactions in its design. It made me wonder when will models come out that are trained to behave, say, villainously. Not just act the part in transparent dialogue, but actually behave in destructive manners. Eg putting on a facade to hear your problems and then subtly mess with your head and denigrate you.
For comparison, the initial value of the iteration (1.2) would be 85% accurate, which without context might sounds like a lot but is pretty abysmal
In case anybody is interested in the art displayed on the right side; It's by Josan Gonzalez, who does amazing dystopic illustrations. The pic in question turns out to be the cover for a Brazilian edition of the book, and I'm guessing it's otherwise unrelated to the series, which is a pitty because Jason's art is amazing.
Here's a slightly animated showreel of his artbook "The Future is Now":
I just want to point out that that is an issue with radians too (pi/3). Whenever this happens I just use that same integer representation (or rational as some poster said) and then remember to multiply by tau before using a math library. With a turns-based library it would only make my life (very slightly) easier
Having two conditions on the same edge was confusing because being on different sides reads like an OR. And it's too my personal preference that it be entirely pictoric (eg. the same tiny tree but drawn inside a little circle through the edge as forming a part of it, or the same but crossed out for the bone). That way AND vs OR would be easy to read too, depending on weather the icons go along the edge for AND (eg in two little circles, or maybe a bigger one split across), or the icons are on the sides of the edge (with the circle being cut by the edge)
Samo Burja is a social theorist with a scientist's soul. He manages a political consulting firm by day, and tries to explain how civilizations work by night. He often touches on geopolitics, technology, institutions, epistemology, societal collapse, etc in one stroke. A lot of his claims seem outlandish for three seconds, but are actually very thought out. The guy's really sharp and did many podcasts throughout the pandemic, which was a treat. Don't be put off by the low view-count, the guy's a rising star and I hope to see more of him
Civilization: Institutions, Knowledge, and the Future: https://www.youtube.com/watch?v=ACdYmuFyjWM