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


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

Registered: Jan 2018
Posts: 212
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 14:02
Joodas

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

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

Registered: Mar 2005
Posts: 437
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: 234
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: 677
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: 150
Colfade Doc
2018-04-16 12:12
Oswald

Registered: Apr 2002
Posts: 5094
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
Account closed

Registered: Jan 2018
Posts: 212
Thanks you all. I got more than I asked for. I gotta make nice fadeins now, no excuse haha.
2018-04-17 14:55
Golara
Account closed

Registered: Jan 2018
Posts: 212
I used the colorfade doc by Veto to generate the tables and the tool by Fade Maid to generate the delay values, the fade code and table generator is my own. I think it looks great :) Thanks you all.
https://i.imgur.com/sd7MKx3.mp4
2018-04-17 15:22
ChristopherJam

Registered: Aug 2004
Posts: 1409
Oh nice!
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
Harry Potthead
instant
Tchad/Jam
Linus/MSL
csabanw
Derision/Longshot
psych
Guests online: 101
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Party Elk 2  (9.6)
4 Cubic Dream  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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