I was reading an issue of Linux Format today, and saw a parallax starfield in SDL. I hadn't tried SDL before, so I gave it a shot, and added some extra functionality like bliting images of planets, etc. I was surprised how easy it was.
Anyone else played around with SDL before? How do you rate it vs other graphic libraries?
I've included the code I threw together as an attachment if anyone wants to play with it. Just chmod +x build, then ./build to compile it, and ./cosmos to run it. It's hardcoded for my resolution (1080p), but it's easy enough to change the defines at the top of main.c.
Just another reason (aside from many others) not to use Edge. Firefox 153.0b5 DEx64 has a similar feature added recently in prior builds that I will turn off at some point when I get around to it. It's the new "Something looks suspicious" page that pops up here and there. It cleverly hides itself between web pages that I've actually visited; as a result, you know, of selecting a web page and telling the browser where to go. The interesting thing is that it does not produce these warnings from pages that I, as the only intelligent user of the browser in my system, have ever directed the browser to open!
What seems to be happening is that the browser looks at all the goofy ad links on a web page I do actually open and selects one that "looks suspicious" and then creates the "something looks suspicious" web page, which is neatly inserted, as mentioned, between web pages my RB ("real brain") has directed the browser to load in a session.
The thing is, I usually look at links I am considering to follow before I ask the browser to load them, and in cases I have noticed where the link does indeed look suspicious, most of the time I will choose to not follow the link at all. Doesn't everyone do this or something similar? I am picky about what I voluntarily load... (I don't like links that start off fine, with a site designaiton that seems normal enough but then is followed by indecipherable alphanumeric strings many, many lines long, etc. I tend to reject those because they look suspicious. They may not be, but I don't care...
I'll stay with Firefox, of course, if for no other reason than they usually let you turn off the junk you don't like. And because it isn't Edge... But at some point Microsoft will come to realize that putting your bookmarks on the left side is a Good Thing for a lot of people, just as Microsoft discovered when it had the bright idea of nailing the Windows taskbar to the bottom of the screen, when for decades Microsoft browsers had left that placement up to the user. They have finally reversed the obscenity of that decision. Finally.
Google was using the old CATPCHAs data to train their LLMs. What is the say they won't use this camera data of users to train their LLM? these companies need some strict regulations!
Depends on what you need. Might be a bit clearer on what you plan to do with it.
Sort of a waste if you get the newest and greatest, but don't know how to use it.
NTLite 2026.06.11200 by Razvan Serea
NTLite is a Windows configuration tool that allows you to modify your existing Windows install or an image yet to be deployed, remove Windows components, configure and integrate, speed up the Windows deployment process. Reduce Windows footprint on your RAM and storage drive memory. Remove components of your choice, guarded by compatibility safety mechanisms, which speed up finding that sweet spot. Windows Unattended feature support, providing many commonly used options on a single page for easy setup.
Easily integrate a single or multiple drivers, update or language packages. Package integration features smart sorting, enabling you to seamlessly add packages for integration and the tool will apply them in the appropriate order, keeping hotfix compatibility in check.
One of the important new features of NTLite (compared to its predecessors) is the ability to modify an already installed the operating system, by removing unnecessary components.
Supports Windows 11, 10, 8.1 and 7, x86 and x64, live and image. Server editions of the same versions, excluding support for component removals and feature configuration. ARM64 image support in the alpha stage. Does not support Checked/Debug, Embedded, IoT editions, nor Vista or XP.
NTLite 2026.06.11200 changelog:
New
Secure Boot Migration support: Verification, certificate staging, and boot-manager/sector update across the Image, Updates, Apply, and Create-ISO pages
(2023 CA migration, optional 2011 revocation, Anti-rollback, Boot sector choice etc)
Secure Boot Host Readiness: Live host Secure Boot migration monitor and Servicing-task control
Option under Image page - C:\Windows row, or load the host as the target - Updates - Secure Boot
Image: 'Sort mounted images first' option for the image list in Menu-Settings
UI: Hover description card for Components and Unattended pages, selectable text and quick access to Compatibility options
Command line: Relay commands into the already-running instance
Enables controlling already running NTLite via ntlite.exe Use /NewInstance to launch an additional instance using CLI operations (premium)
UI: 'New instance' option via main menu instead of a secondary ntlite.exe prompt
Apply: Hide individual Apply-page notes with a per-note dismiss (X), critical excluded
Settings: 'Unsigned RDP file launch warnings' tweak (RDP client), bypassing the April 2026 security-update prompt on RDP connections
Upgrade
Image: Live OS and deployed image editing now unlocked on free/test licenses, same licensing as images
Image: 'Recompress' option in manual dialog Remove Editions to shrink the WIM in one session
Image: SWM part size set inline on the Apply page and image dialogs, split-size popup retired
Image: Relative 'Last change' dates; editions grouped by build time to reduce noise
Image: 'Forget - Missing' on the Edit-cache menu to mass drop entries whose folder is gone
Components: Root groups reorganized - user-facing groups first, system/critical last
Components: Show filter options to view components by Template or App-type, since Apps are now merged into groups
Presets: Delete confirmation now lists the multi-selected preset names
UI: Design update propagated to the rest of the tool
UI: Filter and search match words in any order and partially, better results filtering Components
Unattended: Input-locale language derives from the user locale, with an independent keyboard picker, enables combinations previously unavailable
Unattended: Input-locale now allows for a user value override
Unattended: Localization OOBE WinPE now can be copied with the new WinPE Copy OOBE localization toggle, enter locale settings once for both stages
Updates: Downloader greys and locks updates the image already carries (hotfix and MSIX)
Updates: Resume interrupted update downloads
Command line: Many upgrades, see /?, now prints help to the console or redirected output
UI-Translation: Finnish language added, also thanks for Chinese Traditional (Matt), French (tistou77), Italian (clarensio), Russian (RDS), Swedish (1FF), Vietnamese (Vu Anh Vu)
Fix
Components: Containers removal breaking Apps deployment
Components: Microsoft Account had leftovers when Easy Migrate is kept
Image: Export to an existing WIM improvements, Append renamed to Merge
Image: Improved 26H1 live removal support
Image: No more 'X:\ not accessible' popup for certain drives during image scan
Presets: Manual image refresh picks up presets added/removed outside the app
Tweaks: Disabled visual-effect animations no longer return after first logon on a new profile
Tweaks: Live Visual Effects toggles (animations, drag full windows, font smoothing) now apply correctly
Download: NTLite 2026.06.11200 | 20.5 MB (Free, paid upgrade available)
Link: NTLite Home Page | NTLite Features | Screenshot
Get alerted to all of our Software updates on Twitter at @NeowinSoftware
Question
simplezz
Hi,
I was reading an issue of Linux Format today, and saw a parallax starfield in SDL. I hadn't tried SDL before, so I gave it a shot, and added some extra functionality like bliting images of planets, etc. I was surprised how easy it was.
Anyone else played around with SDL before? How do you rate it vs other graphic libraries?
I've included the code I threw together as an attachment if anyone wants to play with it. Just chmod +x build, then ./build to compile it, and ./cosmos to run it. It's hardcoded for my resolution (1080p), but it's easy enough to change the defines at the top of main.c.
cosmos.zip
Link to comment
https://www.neowin.net/forum/topic/1108349-parallax-starfield-sdl/Share on other sites
10 answers to this question
Recommended Posts