English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 18 July 2024, 19:28   #61
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,271
Quote:
Originally Posted by TCD View Post
Yes, I meant EHB I don't have time to play the game right now, but maybe somebody else could provide said files?
Just gave it a quick spin. Loading screens and menus seem to be 5bpls, but ingame is indeed EHB. (Zoned USS file if anybody wants to second guess me )
paraj is offline  
Old 18 July 2024, 19:40   #62
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
Interesting. I only checked the color count of some of the in-game screenshots we have on HOL and they have less than 32 colors.
TCD is offline  
Old 18 July 2024, 19:48   #63
Amigajay
Registered User
 
Join Date: Jan 2010
Location: >
Posts: 2,976
Quote:
Originally Posted by TCD View Post
Interesting. I only checked the color count of some of the in-game screenshots we have on HOL and they have less than 32 colors.
Are we talking Desert Strike here? If so in the manual states they used EHB mode to bring shadows, smoke and shading.

So i guess if colour count a screenshot with an explosion or smoke over something more than just the desert.

Btw the manual states the cut scenes were drawn in 32 colours.
Amigajay is offline  
Old Yesterday, 06:21   #64
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
Quote:
Originally Posted by Amigajay View Post
So i guess if colour count a screenshot with an explosion or smoke over something more than just the desert.
That's what I tried. As an example:


That screenshot uses 31 unique colors.

I didn't analyze every screen the game produces, so there might be some that have more than 32 colors.
TCD is offline  
Old Yesterday, 08:35   #65
Aardvark
Registered User
 
Join Date: Jan 2019
Location: Finland
Posts: 657
Quote:
Originally Posted by TCD View Post
Interesting. I only checked the color count of some of the in-game screenshots we have on HOL and they have less than 32 colors.
The shadow of the helicopter is EHB effect.
In WinUAE, the "No-EHB Denise" option under Adv. Chipset can be toggled on/off while emulation is running.

Without EHB, there is only about 21 on-screen colors.
Aardvark is offline  
Old Yesterday, 14:44   #66
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
Okay, that is interesting So EHB is used, but not for the full 64 colors. Would be great if somebody could explain why it is used.
TCD is offline  
Old Yesterday, 15:05   #67
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,130
Quote:
Originally Posted by TCD View Post
Okay, that is interesting So EHB is used, but not for the full 64 colors. Would be great if somebody could explain why it is used.
I'm guessing so that the shadow could be transparent over any colour.
Dunny is offline  
Old Yesterday, 15:11   #68
Amigajay
Registered User
 
Join Date: Jan 2010
Location: >
Posts: 2,976
Quote:
Originally Posted by Dunny View Post
I'm guessing so that the shadow could be transparent over any colour.
Exactly, even if there is only 21 colours, shadow of the helicopter/smoke will need to double that to 42, plus any additional colours for the big screen flash explosion.

As i say above, the manual says why they used EHB mode. I’m sure the tradeoff of a couple of fps was worth it for the extra colours, i know coming from the Mega Drive version, the intro, menu and explosions along with much better sound makes for an all round better game, even if it is slightly slower, not so much of a problem compared to John Madden or Road Rash (still playable of course!).
Amigajay is offline  
Old Yesterday, 15:27   #69
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
The manual is clearly written by a person from the marketing department. I meant an explanation why they *didn't* use 64 colors, but only used 32 while EHB is used would be interesting.
TCD is offline  
Old Yesterday, 15:40   #70
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,130
Quote:
Originally Posted by TCD View Post
The manual is clearly written by a person from the marketing department. I meant an explanation why they *didn't* use 64 colors, but only used 32 while EHB is used would be interesting.
It was for the shadows, I thought. If you use more than 32 colours then you end up the shadow not being effective on some of your colours.
Dunny is offline  
Old Yesterday, 15:41   #71
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,674
It's interesting that the helicopter shadow is bitplane 6 but so much else seems to rely on a either with black.
Karlos is offline  
Old Yesterday, 18:48   #72
lionagony
Registered User
 
lionagony's Avatar
 
Join Date: Jan 2023
Location: Toronto
Posts: 422
I came across this interesting message from Bob Pariseau from 1985 in Google Groups about EHB. It has a sample program by Dale Luck, has anyone ever compiled it, would be interesting to see? https://groups.google.com/g/net.micr...m/5qnZJg7ts5cJ
lionagony is offline  
Old Yesterday, 19:10   #73
AestheticDebris
Registered User
 
Join Date: May 2023
Location: Norwich
Posts: 472
Quote:
Originally Posted by TCD View Post
The manual is clearly written by a person from the marketing department. I meant an explanation why they *didn't* use 64 colors, but only used 32 while EHB is used would be interesting.
The hardware can't do 64 selectable colours. You select 32 of them and EHB adds an extra 32.that are the half bright versions. So you're always going to be a bit limited in what the results are.
AestheticDebris is offline  
Old Yesterday, 19:15   #74
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
Quote:
Originally Posted by AestheticDebris View Post
The hardware can't do 64 selectable colours. You select 32 of them and EHB adds an extra 32.that are the half bright versions. So you're always going to be a bit limited in what the results are.
So the result should be 64 different (not selectable) colors. The screenshots I've looked at have 32 different colors max.
TCD is offline  
Old Yesterday, 19:43   #75
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,271
Quote:
Originally Posted by TCD View Post
So the result should be 64 different (not selectable) colors. The screenshots I've looked at have 32 different colors max.
Yes, but are they the same 32 colors for all of the screenshots? Probably not.

All of the in-game assets (tiles/sprites/etc.) are likely using the same 32 color palette, and maybe you won't actually see >32 distinct colors at the same time, but that doesn't mean the game didn't benefit from EHB. This way they could just designate BPL6 the shadow bitplane, and it would always work regardless of what the artists were doing and would never need to perform complex ingame color swapping.


Here's the palette from the save state I uploaded yesterday:



Maybe if you're at the transition from ocean to desert and certain enemies appear you'll see "actual" benefit, but even if not, I can certainly see why you'd use it from a development standpoint.
Attached Thumbnails
Click image for larger version

Name:	DesertStrike.png
Views:	70
Size:	2.1 KB
ID:	82749  
paraj is offline  
Old Yesterday, 20:24   #76
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
So to see more than 32 colors in a screenshot, both ocean and desert need to be visible and some smoke and explosions might do that. I'll get my best agent on that tomorrow

Edit: I just wanted to know why it was done and that explanation makes a lot of sense, so thank you
TCD is offline  
Old Yesterday, 20:55   #77
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,271
Quote:
Originally Posted by TCD View Post
So to see more than 32 colors in a screenshot, both ocean and desert need to be visible and some smoke and explosions might do that. I'll get my best agent on that tomorrow

Edit: I just wanted to know why it was done and that explanation makes a lot of sense, so thank you
I understand what you're looking for, and it would be great for a better "show off" screenshot. Can't promise that desert/ocean transition will deliver, but you want a situation that uses as many of the base colors as possible.
paraj is offline  
Old Yesterday, 21:25   #78
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 32,206
Quote:
Originally Posted by paraj View Post
Can't promise that desert/ocean transition will deliver, but you want a situation that uses as many of the base colors as possible.
Roger that
TCD is offline  
Old Yesterday, 23:31   #79
AestheticDebris
Registered User
 
Join Date: May 2023
Location: Norwich
Posts: 472
It's also entirely plausible that a developer thought "that would be a cool use of the feature" and so implemented it, even though in the end, once all the assets were created, it turned out to be mostly pointless.
AestheticDebris is offline  
Old Today, 02:09   #80
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,130
Quote:
Originally Posted by AestheticDebris View Post
It's also entirely plausible that a developer thought "that would be a cool use of the feature" and so implemented it, even though in the end, once all the assets were created, it turned out to be mostly pointless.
That would be my take on it.

"Hey we can add shadows for free with EHB"
"What kind of performance hit is that extra bitplane?"
"Negligible"
"Might as well then "

kind of deal.
Dunny is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
which game made the best use of half bright mode? donnie Retrogaming General Discussion 66 18 April 2022 15:31
Converting a given palette to Extra Half-Brite roondar Coders. General 19 11 July 2020 06:33
Query about Extra Half-Brite (EHB) Foebane Amiga scene 15 13 September 2015 12:18
How do pseudo-3D racing game engines work? absence Coders. General 2 29 May 2010 00:05
[half OT] Good news! Winamp 5.0x no longer interferes with WinUAE (fullscreen)! andreas support.WinUAE 2 22 August 2004 02:26

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:25.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10127 seconds with 16 queries