Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Equinoxe_4 ! (Registered 2017-04-23) 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: 2
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: 4022
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: 866
Animation as in prerendered stuff or realtime effects?
2017-02-06 09:14
Bitbreaker

Registered: Oct 2002
Posts: 423
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: 333
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: 4022
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: 581
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: 674
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: 2
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: 581
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

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
Radiant/Panda Design
tlr
Pad/Atlantis
ZeSmasher/F4CG
ptoing
GH/MSL/Toondichters
Scooby/Light
TPM/Silicon Ltd
Drumtex/Megastyle
Perplex/Offence
JackAsser/Booze Design
Vent/TRIAD
Guests online: 48
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 The Shores of Reflec..  (9.7)
4 Coma Light 13  (9.6)
5 Lunatico  (9.6)
6 Comaland 100%  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Dawnfall V1.1  (9.5)
2 Daah, Those Acid Pil..  (9.4)
3 SidRok  (9.4)
4 Treu Love [reu]  (9.4)
5 Tunnel Vision  (9.3)
6 Dawnfall  (9.3)
7 One-Der  (9.2)
8 Globe 2016 [reu]  (9.2)
9 Hardware Accelerated..  (9.2)
10 Safe VSP  (9.1)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.4)
3 Censor Design  (9.4)
4 Crest  (9.3)
5 Camelot  (9.2)
Top Swappers
1 Jerry  (10)
2 Zyron  (10)
3 Derbyshire Ram  (10)
4 Splatterhead  (9.8)
5 Walker  (9.7)

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