Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


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

Registered: Dec 2016
Posts: 3
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 20:58
Oswald

Registered: Apr 2002
Posts: 4136
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 04:09
Cruzer

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

Registered: Oct 2002
Posts: 430
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 09:25
Mr. SID

Registered: Jan 2003
Posts: 340
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 09:46
Oswald

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

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

Registered: Aug 2004
Posts: 703
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 15:41
algorithm

Registered: May 2002
Posts: 682
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 12:11
polyp2000

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

Registered: Aug 2004
Posts: 703
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 23:14
Repose
Account closed

Registered: Oct 2010
Posts: 129
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
The Git/Silicon Limi..
jim_64
Tim/Active
BjørnRøstøen/Panoram..
GH/MSL/Toondichters
Guests online: 61
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.5)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.6)
2 FMX Music Demo  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Synthesis  (9.5)
6 Dawnfall  (9.4)
7 Treu Love [reu]  (9.4)
8 Field Sort  (9.4)
9 KAOS 64  (9.3)
10 One-Der  (9.2)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 The Judges  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Drax  (9.6)
4 LMan  (9.6)
5 Linus  (9.5)

Home - Disclaimer
Copyright © No Name 2001-2017
Page generated in: 0.68 sec.