schleuss.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
This instance has a focus on IT security, general computing, retro video games and game collector discussion. Please, no #NSFW and other 18+ discussion on this instance. See rules for more details

Server stats:

8
active users

#graphics

1 post1 participant0 posts today

Dear #shader #graphics #programming community:

Where is the rendering error on my raymarched sphere grid coming from?

Farther away spheres distort in circular patterns when stacked. Dunno if it's caused by space repeating function running out of accuracy, and far away grid components starting to count in..

But it's kind of hard to do a grid without a repeating function!

Any ideas appreciated.

Here's how I edit screenshots of the 80*25-character VGA text mode to simulate the CRT look:
1) Take a screenshot of DOSBox. (It has square pixels and no extra pixel column between the 8*16-pixel characters.)
2) Add 1 black column to the right side of each character. (VGA does this in some text modes.)
3) Double the width and the height. Use nearest neighbour interpolation.
4) Make every 2nd pixel row of the characters lighter and the rest darker. This simulates the gaps between the horizontal sweeps of the electron beam.
5) Aspect ratio correction: Resize the width to 20/27 of the original. Keep the original height. Use linear interpolation. The ratio comes from (4/3)/((80*9)/(25*16)) where 4/3 is the aspect ratio of old screens and (80*9)/(25*16) is the aspect ratio of the image with square pixels.
#tutorial #graphics

I'm looking at blending a blurry surface (anti-aliasing with an extra step). As far as I can tell, a smooth ramp combined with an OkLab blending (in the case of black and white as seen below it is equivalent to a linear mix(c₀,c₁,v³) where v is the ramp height) gives the best results.

I'm extremely surprised by how much difference these changes make. In particular, I'm very surprised by how the eyes/brain notice so strongly the discontinuity with the linear ramp.

The first version of Windows Help (WINHELP.EXE) used a magnifying glass icon for the Search button, which the dev team soon learned was not universal:

"The WinHelp team received a question from one of the overseas offices asking why the icon for Search was a frying pan."

devblogs.microsoft.com/oldnewt

The Old New Thing · The symbolism of the magnifying glass is not universal - The Old New ThingJust making things bigger?

Atari 2600 Graphics Construction
We've talked about this topic before, but I recently found a video, from Mark Rotondella, on how the Atari VCS/2600 creates its graphics. (6 minutes)

youtube.com/watch?v=FnoY5yRtOg

It makes the useful observation that the first programmable game system (that is, with interchangable cartridges that contained prog
setsideb.com/video-on-atari-26
#retro #2600 #atari #graphics #MarkRotondella #retro #vcs #video #youtube