The Sentinel (1986)

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

#15
Here's a more realistic mockup of hybrid.  I'm spending a lot of time on mockups because I don't want to be developing something that's just not gonna work visually. I can use existing Boulder Dash kernel to check the hybrid display, albeit with the sprites shifted right rather than centered. We'd get a good idea of the visuals though.





Andrew Davie

#16
First screenshot. This is showing the hybrid image above but without the middle high-resolution sprite section. It's a basic test of if iCC could display recognisable 3D terrain. Verdict: maybe. Gonna depend on the hires sprite section.




Andrew Davie

#17
An experiment with applying iCC-like rolling to ZackAttack's kernel (shown here as a GIF running slower than would normally be the case - click on image to view animating). Better yet, try saving the image locally and viewing outside your browser.  Does "work" but a) the 40 pixel width is a killer, and b) it flickers a bit too much; mainly because each on pixel is on exactly 1/3 of the time, whereas in iCC we have most pixels on 2/3 of the time so the flicker is way less.  Colour 1,2 and 4 are on 1/3 of the time, 3,5,6 are on 2/3 of the time, and 7 is on all the time.  So, only 3/8 of the colours are on 1/3 of the time - a significant improvement on this GIF idea. Gonna shelve this one :(


Bomberman94

Wow never thought that this game is possible for the 2600! The colored graphics are great and should make a game possible - would like to see this in motion (I know - the next scene will be calculated and then shown on the screen but how fast is our Atari?).

Andrew Davie

#19
I am really delighted to have ZackAttack join me on this project. He set me straight on StrongARM and various aspects of programming in that "architecture" so to speak. Already he has developed a fully functional kernel that displays a 48-pixel sprite block centered over a 40-pixel wide PF background. Astounding!  This seems to be the way to go - we'll have a "high res" middle band, and lower-res playfield around the sides - as shown in my earlier mockups. Won't be too long before we have a runnable binary to show this kernel on hardware.

On the other side of things, I've grabbed the tinygl and successfully built on my machine. It appears to be running correctly and generating 3D images in the demo folder.



So the idea now is to

1) demonstrate the kernel showing a mockup Sentinel screen correctly (that is, not a 3D-generated view yet, but a picture of a 3D-generated view grabbed from online). This will show the display system working.

2) integrate the 3D engine and get it running on the '2600

3) hook up the kernel and 3D engine

4) generate some real-world sentinel 3D data and display!

Seems to be going very quickly, but I think we have a long road ahead. But a good start.




Andrew Davie

#20
Here's a mockup of a 40PF, 48sp kernel. This is what we're aiming for.
ZackAttack will be exploring various display technologies - iCC/ChronoColour and his own 2-line rollling-colour version. But the resolution/colours might be similar to this...



Andrew Davie

Quote from: Bomberman94 on 27 Jun 2024, 01:12 AMWow never thought that this game is possible for the 2600! The colored graphics are great and should make a game possible - would like to see this in motion (I know - the next scene will be calculated and then shown on the screen but how fast is our Atari?).

The mockups will no doubt be significantly better than reality.
I think it's do-able. We shall see.
The Sentinel is fairly static, so there's no need for a quick 3D engine. An update 1 Hz speed would be way way more than required. It's a strategy game, not fast at all. Having said that, will be interesting to see what is possible. I'd be happy with 1 second update speeds, but ... who knows.  Thing is, the screen sits there and doesn't change until you look around, and implementations on other machines take multiple seconds to redraw.

Andrew Davie

#22
We've got the conversion tools for image->kernel going in a rudimentary fashion. The palettes/colours are dodgy at the moment, but we do have a functional display kernel that shows a hybrid PF + sprite display. You can shift the sprite "window" left/right in 5 positions, too, thanks to @Zack magic.

Note, this is just a static image display - no 3D engine yet!

Video is shimmering a lot due to my capture being a bit slow today. To the eye there's a much more subtle 'shimmer' - and in any case we implemented chronocolour as well, so you can turn it off.


Another wrong-colour view...




Andrew Davie

#23
Now with correct palettes and... dithering. Lots more fixes to do - all of this is just experimenting, but it looks like a Sentinel display is 100% feasible now. The source image is included - that's the good-looking one :)



Bomberman94

Wow looks fantastic - it again raises the bar of ,,what is possible" on the 2600!

Andrew Davie

Seems that dithering will be a requirement to get decent images. That is, after the 3D render, do a dither. The process I have at the moment is to resize the image to (160,192), then quantize to the reference palette (8-colour R/G/B combinations) - keeping the palette order.  This and next few posts give examples with the 5-positions of the "TIA window" -- As we all know...TIA stands for TARGET IDENTIFICATION AREA... that's the hires window you can move left/right.


Andrew Davie

Another...


Andrew Davie

Last one. I think these images - running on hardware - prove that the basic display system proposed is workable for Sentinel. Going to start a multi-year journey now on getting a 3D engine working :P


Andrew Davie

Some improvements may be had by alternate resize routines in the code - we have a first-pass working-perfectly-fine version that downsamples the original 160x192 image (that will come from the render) into a lowres 40x192 used for playfield drawing. I suspect we may be able to marginally improve that with a bit of work, which will of course improve the resultant image onscreen.

Andrew Davie

Lots of work - have rewritten the resize routine and the lowres image colours are now less intense. The hires window over the top of that has also had some work to correct the masking - and now we have some unusual but quite interesting gameplay options.