Orlando Llanes (@steadfastcoder) header
Orlando Llanes (@steadfastcoder) profile picture

Indie Game Developer | Coder

inveniam viam aut faciam
Joined June 2020
Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)Photo by Orlando Llanes (@steadfastcoder)
Orlando Llanes retweeted
Quick mini-tutorial on how I drew a rug #pixelart
11
121
2
1,560
21,456
Orlando Llanes retweeted
For some reason GIFs broke in the article (worked fine in preview), and Twitter removed all the videos (???). Without them, some examples are harder to understand. Here's the full version where everything works and you can try the live demos: vlsch.com/blog/fluid-simulat…
1
8
1,046
1) I'm currently at a fork in the road. One that I keep returning to. I was settled on using Unreal Engine 5 as my last option since I can't focus on making my own engine right now. Then Unreal Engine 6 was announced.
1
22
3) I'm on a 3rd option which takes me deeper in a direction I didn't want to go. I'm currently looking into using Bevy, which means I'll have to learn Rust...
1
12
4) I'm looking forward to the day I can focus on my compiler and game engine, because I want tools that "just work".
10
Orlando Llanes retweeted
Comparing Sorting Algorithms
5
78
2
555
39,618
Orlando Llanes retweeted
BEHOLD THE BITAP ALGORITHM FOR FUZZY STRING MATCHING IN C Fuzzy string search mostly means a 2D Levenshtein matrix, heap allocations, and branch mispredictions everywhere, etc. Just learned this today. I went to wikipedia list of algo page and randomly stumbled upon this. Every character updates all 64 states in parallel using just bit ops. Completely branchless. Beautiful.
3
21
354
12,405
Orlando Llanes retweeted
This changed my perception of TRYING...
80
233
11
2,916
487,226
Orlando Llanes retweeted
Both NeXT and 3DFX tried to “do the right thing” with color spaces, and it wound up generally making them look worse than competing options. I didn’t really understand it properly until years later. It is natural to think that a pixel with a value of 1.0 is emitting twice the photons as a pixel with a value of 0.5, so you can do the obvious linear math to calculate partial pixel coverage, blending a foreground over a background, or interpolating between colors in a texture. If displays are “linear”, that is correct. NeXT and 3DFX were much closer to linear than other contemporary displays. NeXT had crossover from the deep graphics understanding at Pixar, and 3DFX had the SGI heritage. They did this intentionally. If you have 10+ bits per channel like the professional rendering systems, linear displays are The Right Thing. Unfortunately, NeXTStation Colors were 4 bits per channel and 3DFX was 5 or 6 bits per channel, and there… it was not the right thing. Human eyes aren’t linear intensity sensors. We mostly register relative changes in intensity, so we can tell the difference between 0.01 and 0.02 as a huge doubling, while 0.99 to 1.00 is almost imperceptible. This distribution of intensities is often referred to as the “gamma” of the display system, but the actual curves like sRGB are a bit more complicated. If you only have a small number of discrete pixel values, you definitely don’t want to spread them evenly from 0 to 1! If you do, you will have good precision in the brights, but very stark “intensity bands” in the dark colors. If everything was authored specifically for 3DFX, you would still have the fundamental problem with the dark bands, but more accurate blending and filtering. The problem was that artists made all of their textures in paint programs on conventional non-linear displays, so when they were drawn by 3DFX cards, they got the characteristic “washed out color” look. You can mathematically correct textures for differences in display gamma, but I didn’t really understand the issue back in the glQuake days, and we were so enthralled by the absolute performance of 3DFX that the color fidelity didn’t get as much attention as it should have. Even today, tons of games don’t properly handle gamma across their textures and render targets. High resolutions and 24 bit color masks most of it, but you still see it in some slight shimmerings in high contrast textures and edges.
Does anybody know why 3DfX 1 cards had such a washed out color output? In my research, circa '97 I found many people complaining about the colors. Is it gamma? 16-bit color? What can it be?
154
497
45
6,644
214,050
There's a new Dungeons & Dragons in theaters, but it's no match for the Dungeons & Dragons from 2000, with the worst deleted scene ever put on a DVD
209
2,119
320
19,891
3,082,872
1) I want to have dynamic lights, shadows, and glowing effects in my games. I've been researching bits and pieces of how this is done. I've always thought it was accomplished by using different shades and a shader.
2
31
2) I forgot where I learned this, but glowing effects seem to be "as simple as" using a bloom filter. Still have to figure out lights, but the best model seems to be point lights. Still need to research further for shadows.
1
27
3) I may end up structuring my games as ray tracing scenes which have a dynamic global light for solar/lunar cycles, landscapes, weather, etc; and dynamic point lights for room lights, torches, flashlights, etc.
9