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


Forums > C64 Coding > Bitmap fade in/out helper tool
2018-04-14 12:47
Golara

Registered: Jan 2018
Posts: 61
Bitmap fade in/out helper tool

I'm not sure if this question belongs here or in the graphics section, but I'll post here. Is there any tool that generates tables for fading in/out bitmaps ? The effect I want to do is to "draw" a bitmap in stripes from top to bottom (Look at the gif bellow, low fps capture, each line shows up each frame)

I'd like to make the colors darker at first, then replace them with the correct ones. Seems easy, on one frame use the bitmap color as an index into a table of the darker version of this color, on the other use the actual color. Is there some tool that helps with colors like that ? I have the worst case of coder colors, I can't make it myself however hard i tried. lol

Thanks ;)
 
... 3 posts hidden. Click here to view all posts....
 
2018-04-14 13:20
Golara

Registered: Jan 2018
Posts: 61
Quote: When I first coded a fader, I found this here helpful

Source: http://hitmen.c02.at/html/c64_docs.html

You just need two tables, one with all the 16 colors, another one showing which color to be replaced by which other color, black of course resulting in black.


I made a small program that generates a table with colors picked by me, but it doesn't look as pretty as I hoped it would. Maybe this graph will help
2018-04-14 13:47
Groepaz

Registered: Dec 2001
Posts: 8581
there is another doc by deekay(?) or veto(?) that shows various color ramps for fading. mmmh
2018-04-14 14:02
Joodas

Registered: Oct 2011
Posts: 6
Screen Fade Editor
2018-04-14 14:05
Joodas

Registered: Oct 2011
Posts: 6
Color Fade Editor
2018-04-14 20:46
Digger

Registered: Mar 2005
Posts: 279
The above editors let you edit the delay values for each char ($00-$ff), then you need to generate look up tables per each combination of nibbles, so after a given delay you can update the nibbles based on the previous value, i.e. for color transition $00 > $1d:

$00 > $b6 > $ce > $ f3 > $1d

Check the source of http://csdb.dk/release/download.php?id=119154 to see how it's done (from line 456), feel free to grab my 16k fade tables ;)

It's possible to specify the order of colours that each pixel will get through before it "lands" at its specific colour – i my case I turn all pixels from black $0 to white $0f, and then let them fade to their target values.
2018-04-14 21:28
dano

Registered: Jul 2004
Posts: 132
Fade Maid V1.0

loved to use that one. still requires the source by digger and guys to work on. easy to adapt to own needs and already used by me at times. :)

the tables i created by myself, but i will take a peek at that graph aswell.
2018-04-16 10:23
enthusi

Registered: May 2004
Posts: 646
For this I used simple table look ups and iirc the code pre-calcs several color rams based on the original one.
Mermaid
2018-04-16 10:40
v3to

Registered: Feb 2005
Posts: 140
Colfade doc
2018-04-16 12:12
Oswald

Registered: Apr 2002
Posts: 4255
I have used censor's ancient old tools for the obviously color cycled shit in Party Groove it was quite usable despite c64 based.
2018-04-16 17:54
Golara

Registered: Jan 2018
Posts: 61
Thanks you all. I got more than I asked for. I gotta make nice fadeins now, no excuse haha.
Previous - 1 | 2 | 3 - 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
hedning/G★P
F7sus4/Samar
blendo75
Salvo Bee/HF
Groepaz
Wildstar/Retro64
Glasnost/Camelot
iceout/Avatar
Raistlin/Genesis*Pro..
morphfrog
chesser/Nigaz
Scorpie/F4CG
Guests online: 60
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 Comaland 100%  (9.6)
5 The Shores of Reflec..  (9.6)
6 Wonderland XII  (9.6)
7 Lunatico  (9.6)
8 We Come in Peace  (9.5)
9 Incoherent Nightmare  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 FMX Music Demo  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 Pandemoniac Part 2 o..  (9.5)
4 Treu Love [reu]  (9.5)
5 Merry Xmas 2017  (9.4)
6 Dawnfall V1.1  (9.4)
7 Arok 20 Invitation  (9.4)
8 In Memoriam BHF  (9.4)
9 Dawnfall  (9.4)
10 Synthesis  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.4)
5 Crest  (9.3)
Top Cover Designers
1 Duce  (9.8)
2 Electric  (9.8)
3 Junkie  (9.6)
4 The Elegance  (9.4)
5 Cuc  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.061 sec.