Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Using NUFLI / FLI Etc for animation
2017-02-05 17:39
polyp2000
Account closed

Registered: Dec 2016
Posts: 5
Using NUFLI / FLI Etc for animation

Anyone know what kind of scope there is for "modifying"
the contents of these pictures on the fly ?

How about something really simple like a changing a section to a solid block of color
 
... 1 post hidden. Click here to view all posts....
 
2017-02-05 19:58
Oswald

Registered: Apr 2002
Posts: 5017
Quote: For FLI it's trivial. Just sta 8 color values to get a solid char

in case of nufli sprites will come in the way + you forgot d800
2017-02-06 03:09
Cruzer

Registered: Dec 2001
Posts: 1048
Animation as in prerendered stuff or realtime effects?
2017-02-06 08:14
Bitbreaker

Registered: Oct 2002
Posts: 499
Also FLI content in NUFLI is changed in even and sprite stuff in odd lines. Have fun determining where the block you want to manipulate shall start/end, as you always interfere on the next line either with FLI or sprite.
2017-02-06 08:25
Mr. SID

Registered: Jan 2003
Posts: 421
I guess you could try making two NUFLI images (one normal, the other one modified), and compare the data to see what differences are.
And then generate a small piece of code that will apply those changes.
2017-02-06 08:46
Oswald

Registered: Apr 2002
Posts: 5017
Quote: in case of nufli sprites will come in the way + you forgot d800

okay no d800 in nufli O:-)
2017-02-06 13:44
ChristopherJam

Registered: Aug 2004
Posts: 1370
Yeah, real time generated content's going to be hard; allocating colour attributes is non trivial, and for anything beyond replacing one FLI 8x1 at a time you're going to need to either track recent requests or mark pixels as "I'm going to replace this one soon so IDK if you trash it for a bit"
2017-02-06 14:41
algorithm

Registered: May 2002
Posts: 702
Mr SIDS implementation would work well for NU-FLI. The method of rendering separate images and then marking the changes and then updating these per frame. Although ideally would be beneficial to use non dispersed dithering if possible. Would have around 7000 cycles or so left per frame to make the relevant changes
2017-02-07 11:11
polyp2000
Account closed

Registered: Dec 2016
Posts: 5
If such modes are implemented on only a portion of the screen - does this free up sprites that can be animated?
2017-02-08 05:43
ChristopherJam

Registered: Aug 2004
Posts: 1370
Quote: If such modes are implemented on only a portion of the screen - does this free up sprites that can be animated?

Yes.
2017-04-01 21:14
Repose

Registered: Oct 2010
Posts: 222
This remotely helps, but I solved the algorithm for optimal colouring of FLI, it can be done very quickly. Has anyone else found this solution?

Now don't ask me exactly how it works right now, but I had to count colours in special way. It had something to do with unique colours per 4x8 block and subtract that from the most frequent color and then that's your colour nybble.

I never could find a good solution for IFLI though, however my algorithm was a decent start point, but not always optimal.

Btw there is always the problem of the errors (the pixels that can't be coloured as requested). I think the best way to handle it is to find the closest replacement in perceptual space (look up L*A*B). Or else you could build the error into the dither algorithm.
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
DeeKay/Crest
Dr. Doom/RAD
Kickback
Jazzcat/Onslaught
Didi/Laxity
Bieno/Commodore Plus
Chico/Civitas
Scooby/G★P/Light
St0rmfr0nt/Quantum
manganoid/Hokuto Force
Nordischsound/Hokuto..
Guests online: 118
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.044 sec.