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


Forums > C64 Productions > The Art of Wiring
2002-12-12 01:44
Eyeth
Account closed

Registered: Apr 2002
Posts: 98
The Art of Wiring

Hello, CSDb denizens;

I'm thinking of doing two small demos; One for the SuperCPU and one for a plain c64. I already have some ideas I'd like to try out in these demos.

I will be cross-assembling it and testing it out under winVICE and of course, on the real machine for the SuperCPU one.

Anyway, I'd appreciate any tips in wiring graphics and pictures for my nascent c64 demo efforts. I already wired a Santa piccy for my SuperCPU full-screen FLI demo and managed to muddy the conversion.

That said, I do have high standards and I want to adhere to them. So, I need to do a better job in wiring graphics/pictures to show for it.

First of all, I wonder if it's possible to use a painting program like Photoshop or Paint Shop Pro for the initial production of the picture? I heard there was a c64 palette of 16 or 256 colors for those PC programs? How do I use this palette under those programs?

Should I then save the resulting file to a .BMP, .GIF or .JPEG? What conversion program should I use? Any intermediate steps? I've already used ConGo with my Santa conversion and it didn't go over too well, so I'd like to explore/use other utilities other than ConGo.

I'm thinking of using the drazlace (interlaced Multi-Color Mode) mode for my c64 demo effort and an IFLI mode for my SuperCPU demo effort. Hopefully conversion efforts will yield good results for these two modes I'm contemplating.

Thanks,
-Todd Elliott
 
... 53 posts hidden. Click here to view all posts....
 
2002-12-12 09:23
Steppe

Registered: Jan 2002
Posts: 1510
Wasn't there another tool for Windows too? It was recently released by a guy called Algorhytm (or something like that). I tried that and liked it, although the customization options of xray are much better.
2002-12-12 10:22
Shake

Posts: 133
Yes Steppe, that is BMP2IFLI by Algorithm, easy to use and the result is good
2002-12-14 12:37
Zeitgeist
Account closed

Registered: Dec 2001
Posts: 22
Quote: Hey!

I want that palette too! :)


... and I want one for Photoshop, men :-).
2002-12-14 18:21
QuasaR

Registered: Dec 2001
Posts: 145
Hi guyz! Bug Groepaz to release his RAYDOMAT which is (what I have seen...) the most advanced graphic-converter...
2002-12-15 03:15
Eyeth
Account closed

Registered: Apr 2002
Posts: 98
Hello.

I came across a site by Philip "Pepto" Timmermann giving out an excellent treatise on c64 colors.

I went into Photoshop and created a c64 palette using his RGB values. The conversion results were surprisingly good. I would load in a JPEG and convert it to indexed color using the 16 color palette and Photoshop is very good at this.

However, it's an intermediate step. I still need to convert the resulting image into a suitable c64 format.

Also, is there an IFLI palette? What are the RGB values for the IFLI mode of 136 colors? I could create one for Photoshop and use that.

Enjoy.
-Todd Elliott
2002-12-15 12:01
JCB
Account closed

Registered: Jun 2002
Posts: 241
There isn't really such thing as an IFLI palette ie you can't load a picture into photoshop and apply those colours because IFLI relies on your TV being crap and blending 2 of the 16 (yes 16 not 136 hehe) colours together when they're next to each other, so converting a picture in photoshop wouldn't give you the correct 2 interlaced pixels but rather 1 which was the resultant "blended" colour.

I'm pretty sure there are tools around on PC to convert straight from a PC bitmap to an IFLI one and select the correct mix of pixels to create that "more than 16 colours" effect.. If not I could probably do one when I've got time.
2002-12-15 14:07
Zeitgeist
Account closed

Registered: Dec 2001
Posts: 22
Quote: Hi guyz! Bug Groepaz to release his RAYDOMAT which is (what I have seen...) the most advanced graphic-converter...

... which I do hereby officially :-). Come on, Groepaz, get yourself together.
2002-12-17 16:49
Six

Registered: Apr 2002
Posts: 293
If anyone comes up with a RGB palette that aproximates IFLI mode, let me know. I need one for the IFLI painter in my suite of cross-development tools.

S.o.D.
2002-12-19 14:01
chatGPZ

Registered: Dec 2001
Posts: 11360
Zeitgeist: to be honest, i was trying my best to get the thing released before christmas (hogging on it for several years now :=P)....however, unfortunatly i got stuck on the SDL port (ie linux) and i dont want to release a windoze-only version for that matter.... oh well :o)
Eyeth: if you have access to a windos pc that can run plain dos-apps (ie no w2k/nt/xp) drop me a mail...you might want to be one of my betatesters :=) hehe
2002-12-19 16:37
MagerValp

Registered: Dec 2001
Posts: 1074
Quote: If anyone comes up with a RGB palette that aproximates IFLI mode, let me know. I need one for the IFLI painter in my suite of cross-development tools.

S.o.D.


#include <stdio.h>

unsigned char vic_r[16] = {0x00, 0xff, 0x68, 0x70, 0x6f, 0x58, 0x35, 0xb8, 0x6f, 0x43, 0x9a, 0x44, 0x6c, 0x9a, 0x6c, 0x95};
unsigned char vic_g[16] = {0x00, 0xff, 0x37, 0xa4, 0x3d, 0x8d, 0x28, 0xc7, 0x4f, 0x39, 0x67, 0x44, 0x6c, 0xd2, 0x5e, 0x95};
unsigned char vic_b[16] = {0x00, 0xff, 0x2b, 0xb2, 0x86, 0x43, 0x79, 0x6f, 0x25, 0x00, 0x59, 0x44, 0x6c, 0x84, 0xb5, 0x95};

typedef struct _rgb {
unsigned char r;
unsigned char g;
unsigned char b;
} rgb;

void mixtwocols(rgb *c, char c1, char c2) {
c->r = (vic_r[c1] + vic_r[c2]) / 2;
c->g = (vic_g[c1] + vic_g[c2]) / 2;
c->b = (vic_b[c1] + vic_b[c2]) / 2;
}

int main(void) {
rgb mixcol;

/* mix red with light red */
mixtwocols(&mixcol, 2, 10);
printf("red mixed with light red: r=%2x g=%2x b=%2x\n", mixcol.r, mixcol.g, mixcol.b);

return(0);
}
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 - 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
Darkflight
Andy/AEG
E$G/HF ⭐ 7
Higgie/Kraze/Slackers
Nuckhead/Backbone So..
Luke/The Obsessed Ma..
jmagic
Rebok/BOOM!/Tropyx
www.gb64.com
psych
Perff/No Name
Guests online: 181
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Wonderland XIV  (9.6)
10 Comaland 100%  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

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