| | 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.... |
| | 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. |
| | Shake
Posts: 133 |
Yes Steppe, that is BMP2IFLI by Algorithm, easy to use and the result is good |
| | Zeitgeist Account closed
Registered: Dec 2001 Posts: 22 |
Quote: Hey!
I want that palette too! :)
... and I want one for Photoshop, men :-). |
| | 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... |
| | 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 |
| | 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. |
| | 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.
|
| | 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. |
| | 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 |
| | 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 | |