Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in General Emulation. |
Acmlm's Board - I2 Archive - General Emulation - What's the N64's graphic format? | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 1546/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
I'm trying to draw some graphics from a save state but can't get the colours to come out right. I have it as trrrrrgg gggbbbbb, is that right? And what's the t for? | |||
MathOnNapkins Math n' Hacks Level: 67 Posts: 431/2189 EXP: 2495887 For next: 96985 Since: 03-18-04 From: Base Tourian Since last post: 1 hour Last activity: 32 min. |
| ||
I would guess that t would stand for transparency, like an alpha channel. Edit: hmm, I misread it the first time. I thought there were two t's. A question: those aren't bits are they? B/c that would be 15 bit color with some other flag called t. Does each letter represent a nibble? That would make a lot more sense since it would allow many levels of transparency and color I'd expect from the N64, though I know very little about that machine. (edited by MathOnNapkins on 09-11-04 08:38 PM) |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 1548/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Nope, they're bits. I think the t might be a transparency bit where 1=totally transparent. Perhaps there's a problem with my code? This is how I read the colours: X = CLng(fData(i)) + CLng(fData(i + 1)) * 256 N64Colour = (X And 31&) + (X And 992&) + (X And 31744&) I've tried switching bytes in the first line and numbers in the second (if you're wondering about the numbers, check them out in Binary ), either way it always looks like this (3x magnified): The fact that it's half missing isn't a problem, the game just mirrors it. (edited by HyperHacker on 09-11-04 10:04 PM) (edited by HyperHacker on 09-11-04 10:05 PM) |
|||
Geiger Buster Beetle Level: 34 Posts: 107/460 EXP: 241080 For next: 12571 Since: 03-15-04 From: Indianapolis, IN, USA Since last post: 6 hours Last activity: 6 hours |
| ||
The N64 can use either 15 or 24 bit color. If your colors do not look right, try swapping the red and blue channels. ---Evil Peer |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - General Emulation - What's the N64's graphic format? | | | |