You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Taking NUFLI one step further
2024-11-10
22:46
cobbpg
Registered: Jan 2022
Posts: 37
Taking NUFLI one step further
I'm working on a new converter for creating images the C64 can display with as much freedom as possible:
NUFLI Studio preview video
.
The images are NUFLI with the sprite colour limitations lifted: all sprite colours outside the FLI bug area can potentially change in every row. While this is impossible in general due to CPU time limitations, the solution is to generate the speedcode that updates the registers ahead of time. The code generator can make informed decisions about dropping the least impactful register changes to fit everything into the available budget. In practice, most pictures don't require all the 10 possible colour updates on every scanline, far from it.
Another big innovation compared to Mufflon is the improvement in conversion speed. Lifting the sprite colour change limitations makes it easy to fully parallelise the brute force colour search step for each 48x2 pixel area (or 24x2 pixels over the FLI bug), and this allowed me to implement it as a compute shader. The whole process takes about 0.25 seconds on my three-year-old gaming laptop. Besides, when using the internal editor, only the affected areas are recomputed, and they can be previewed in VICE right away (note that the video shows some lag that's probably introduced by OBS somehow; it doesn't happen outside recording).
My hope is that making the feedback practically instantaneous (even when using an external image editor) opens the door for pixel artists to develop a much better intuition about this image format. Also, removing the limitation of only changing sprite colours every second row should make it a lot less frustrating to work with.
I'm not sure what to call this image format. This is 95% NUFLI, the only real difference is that the speedcode is also generated ahead of time (when run on NTSC, there's a patching step done by the displayer routine to make it work), so the files are 4096 bytes bigger (they load from $1000 instead of $2000, the rest of the structure is almost identical). I'm leaning towards "NUFLI2" to make it somewhat search engine friendly, but I'm open to ideas.
At the moment I'm in the process of writing a manual for the tool and a deep-dive article about the technical details. Hopefully neither of those will take too long!
... 86 posts hidden. Click
here
to view all posts....
2025-01-22
08:50
Digger
Registered: Mar 2005
Posts: 442
Here's another great test case, would be interesting to see.
https://x.com/roramsay/status/1533154426403307522?s=46&t=dDGkSa..
2025-01-22
15:16
cobbpg
Registered: Jan 2022
Posts: 37
View in the converter with CPU usage breakdown (the picture is just 240x160 pixels, so I had to pad it):
Viewed in VICE:
I'm positively surprised how much of the checkerboard pattern got preserved. I expected worse.
2025-01-22
21:20
Peacemaker
Registered: Sep 2004
Posts: 277
I prefer the original LN gfx styles.
Previous
-
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
| 10 - Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
WVL/Xenon
Dr. Doom/RAD
CreaMD/React
Electric/Extend
Andy/AEG
t0m3000/hf^boom!^ibx
rosettif
Guests online: 534
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Coma Light 13
(9.6)
4
Mojo
(9.6)
5
Edge of Disgrace
(9.6)
6
Uncensored
(9.6)
7
Comaland 100%
(9.6)
8
Wonderland XIV
(9.6)
9
Unboxed
(9.5)
10
Memento Mori
(9.5)
Top onefile Demos
1
Nine
(9.8)
2
Layers
(9.6)
3
Party Elk 2
(9.6)
4
Cubic Dream
(9.6)
5
Copper Booze
(9.6)
6
Libertongo
(9.5)
7
Dawnfall V1.1
(9.5)
8
Rainbow Connection
(9.5)
9
Onscreen 5k
(9.5)
10
Cambrian Comrades
(9.5)
Top Groups
1
Oxyron
(9.3)
2
Booze Design
(9.3)
3
Performers
(9.3)
4
Triad
(9.3)
5
Censor Design
(9.2)
Top Diskmag Editors
1
Magic
(10)
2
Jazzcat
(9.5)
3
hedning
(9.3)
4
Newscopy
(9.2)
5
Elwix
(9.1)
Home
-
Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.153 sec.