ST-NICCC Competition
category: code [glöplog]
Hi Folks!
The idea came up to held an interesting scene compo when Axis reengineered
the data file format of the famous Atari ST demo „STNICCC 2000“ by Oxygene
Aim is to port that demo on as many platforms as possible. The Atari
8bit version parses the original Atari ST data file (640kb) and renders the
polygon stream as fast as it can. The time counter shows the actual time
spent for complete rendering and stops when it restarts the flight.
Heaven, 1st November 2018
Deadline for Compo... Revision 2019!
Data file and file format desciption here at
http://arsantica-online.com/st-niccc-competition/
The idea came up to held an interesting scene compo when Axis reengineered
the data file format of the famous Atari ST demo „STNICCC 2000“ by Oxygene
Aim is to port that demo on as many platforms as possible. The Atari
8bit version parses the original Atari ST data file (640kb) and renders the
polygon stream as fast as it can. The time counter shows the actual time
spent for complete rendering and stops when it restarts the flight.
Heaven, 1st November 2018
Deadline for Compo... Revision 2019!
Data file and file format desciption here at
http://arsantica-online.com/st-niccc-competition/
sneak peek:
ps: I had trouble with colors and "non-indexed mode". It is time to fix them now :)
ps: I had trouble with colors and "non-indexed mode". It is time to fix them now :)
Cool.
quick ~1h hack
colors are still wrong (does it's really 3-bit per component? sometimes it looks like additional MSB of each component is also used), plus it's running in 32bpp because it's made from (unreleased) demo leftovers :D
colors are still wrong (does it's really 3-bit per component? sometimes it looks like additional MSB of each component is also used), plus it's running in 32bpp because it's made from (unreleased) demo leftovers :D
Atari ST palette format ;)
ok. we found a bug in the description for the colors.
i have updated the file description on
http://arsantica-online.com/st-niccc-competition/
i have updated the file description on
http://arsantica-online.com/st-niccc-competition/
Hey guys, looks like there sneaked in a little mistake in the palette part of the file format description.
The colors are right, but they are stored at the wrong index of the palette. The bitmask is stored backwards. So bit 0 goes to palette index 15 and vice versa.
File-format description will be updated soon.
The colors are right, but they are stored at the wrong index of the palette. The bitmask is stored backwards. So bit 0 goes to palette index 15 and vice versa.
File-format description will be updated soon.
link me beautifull: http://arsantica-online.com/st-niccc-competition/
On my side, I also have color issues. But they are different than the one of wbc\\bz7 and pohar. I need to learn to code properly ...
ok, in fact I just to learn to count.. maximum value of a byte is 255 not 256...
My colors are wrong !!!
pohar if you have read the color on intel you need to swap the bytes:
Code:
uint16_t col9 = bswap_16( short_from_file );
int blu3 = (col9 & 0x007);
int gre3 = (col9 & 0x070)>>4;
int red3 = (col9 & 0x700)>>8;
uint32_t col24 = red3<<21 | gre3<<13 | blu3<<5;
I have already fixed it, thx
another quick hack in c#.. works a treat :)
anyone knows what is up with those self-intersecting polygons?
is there a standard way on howto render those? i assume only the front-facing part should be used?
is there a standard way on howto render those? i assume only the front-facing part should be used?
I'm getting problems with frame #77, from my parser it's the first frame with non-indexed polygons, the first two polygons has 14 vertices, then 3 polygons with 0 vertices...
fixed... stupid mask values.
hint: if you think you have a rendering bug... double check with the ST demo .... ;)
Why the image is not shown?
Cool... Jaguar!
I'm having problems with the palette.
The palette itself seems to be correct, but the palette associated to each polygon seems wrong.
See the 1st frame, where the front facing polygons should be yellow (in the ST demo), while they are red-ish in my implementation.
Can anyone help?
Updated web version is here:
http://dantonag.it/stniccc/goDemo.html
The palette itself seems to be correct, but the palette associated to each polygon seems wrong.
See the 1st frame, where the front facing polygons should be yellow (in the ST demo), while they are red-ish in my implementation.
Can anyone help?
Updated web version is here:
http://dantonag.it/stniccc/goDemo.html
I think you might be masking wrong here:
var blu3=((curcolor&0x007))&0xff;
var gre3=((curcolor&0x070)>>4)&0xff;
var red3=((curcolor&0x700)>>8)&0xff;
Should be &0x07 I'm guessing.
var blu3=((curcolor&0x007))&0xff;
var gre3=((curcolor&0x070)>>4)&0xff;
var red3=((curcolor&0x700)>>8)&0xff;
Should be &0x07 I'm guessing.