English Amiga Board


Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

 
 
Thread Tools
Old 11 July 2018, 15:29   #41
ajk
Registered User
 
ajk's Avatar
 
Join Date: May 2010
Location: Helsinki, Finland
Posts: 1,341
Transparency in this context has to do with how much will show through if you have two images on top of each other. So it does not directly affect the brightness, rather how much or little the colour covers what it is on top of.



There are also computer architecture / memory alignment related reasons to use a 32 bit value to represent a pixel, rather than 24 bits, even if transparency isn't particularly needed.
ajk is offline  
Old 11 July 2018, 19:37   #42
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
Quote:
Originally Posted by BullyDog View Post
That's what I thought is luminosity but instead we call it transparency. The RGB goes from dark to bright like dark red to pink for R. Transparency are what add brightness to the color.

I have that correct?
No.

If R,G and B are all set to 0 then it is black. If they are all set to 255 then it is white. It really is as simple as that.

With OpenGL, 0 is absolute minimum and 1 is absolute maximum (this allows fractions to determine what the level is, which works with any bit depth, be it 4-bit, 8-bit or even 12-bit for the R, G and B levels).

Transparency is more for overlays, be it on a genlock (for a caption or logo on a TV broadcast display) or for OpenGL texture mixing for shaders. If the alpha (transparency level) is set to 0, then it is fully transparent and technically invisible, and if it is set to 1, then it is fully visible and fully opaque. (The 0 and 1 might be the other way around, but that's how I understand it).

This is all highly technical, but there's plenty of information out there for people who are interested.

EDIT: Ajk, you've summarised it better than I ever could. I was lacking a visual example.
Foebane is offline  
Old 11 July 2018, 20:44   #43
BullyDog
Registered User
 
BullyDog's Avatar
 
Join Date: Jul 2018
Location: Texas USA
Age: 73
Posts: 184
I guess it's back to classes for me boys.
BullyDog is offline  
Old 12 July 2018, 07:36   #44
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by Foebane View Post
I really hate it when I hear people say, "Why isn't a kilobyte just 1000 bytes instead of 1024? That's stupid!" That's because computers work on a principle of Base 2, not Base 10. It's really, really simple.
Sure, but what has that got to do with anything discussed here?
britelite is offline  
Old 12 July 2018, 10:06   #45
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,771
Quote:
Originally Posted by Foebane View Post
I really hate it when I hear people say, "Why isn't a kilobyte just 1000 bytes instead of 1024? That's stupid!" That's because computers work on a principle of Base 2, not Base 10. It's really, really simple.
Try telling that to hard drive manufacturers.
Hewitson is offline  
Old 12 July 2018, 10:27   #46
britelite
Registered User
 
Join Date: Feb 2010
Location: Espoo / Finland
Posts: 818
Quote:
Originally Posted by Foebane View Post
Ajk brought it up, not me.
No he didn't, he talked about memory alignment, your comment had nothing to do with that.

EDIT: but yeah, let's not go off topic
britelite 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
AGA games on non-AGA hardware - a curiosity squirminator2k Amiga scene 27 19 July 2018 10:50
SysInfo reports AGA as does set patch. No AGA! pixelsmack support.Hardware 29 15 July 2017 07:17
Five-A-Side Soccer AGA OR Football Glory Inside AGA earok request.Old Rare Games 3 27 December 2016 13:12
SWOS Career Saves on AGA and none AGA machines Peanutuk support.Games 6 08 March 2004 19:48
probs with Shadow Fighter AGA & Sabre Team AGA Skumball support.WinUAE 1 10 September 2002 22:33

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 08:32.

Top

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