Coding

 Reply to this postStart new topic

get RGB of screen

HeresOtis
post Jul 11 2012, 06:04 AM
Post #1


Newbie In Training

Posts: 17
Joined: 23-November 11



Is there any possibility of getting the RGB value of a cornerA and cornerB of the screen? Or getting the value of the world area?
Go to the top of the page
 
+Quote Post
Deji
post Jul 15 2012, 04:55 PM
Post #2


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



No straight forward way...


--------------------
Go to the top of the page
 
+Quote Post
HeresOtis
post Jul 15 2012, 05:36 PM
Post #3


Newbie In Training

Posts: 17
Joined: 23-November 11



Can you explain cornerA and cornerB. If I have a square, what corner is A and which is B?
Go to the top of the page
 
+Quote Post
DK22
post Jul 15 2012, 06:47 PM
Post #4


Member

Posts: 197
From: Liberty City, Shoreside
Joined: 15-July 10



xD copying camera frame buffer somewhere (if you want to use it with CLEO), then working with it (RwRaster).
QUOTE
Is there any possibility of getting the RGB value of a cornerA and cornerB of the screen?

May I ask, why do you need this?
Go to the top of the page
 
+Quote Post
HeresOtis
post Jul 15 2012, 07:03 PM
Post #5


Newbie In Training

Posts: 17
Joined: 23-November 11



It was for emergency vehicle lights. I use a mod called Emergency Lights Mod (ELM)which people create and adapt police cars for the mod. The lights are somewhat connected to either left/right headlight/rear light and once either one of the 4 lights are on/off then the ELM light turns on/off with it. So I wanted to created a corona at the the spots of the ELM lights and check the RGB of it so the corona can change to that RGB, and somewhat give a better lighting/bloom effect.

This is a picture of an ELM-enabled vehicle:
Go to the top of the page
 
+Quote Post
Deji
post Jul 16 2012, 08:13 AM
Post #6


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



"Corner A" and "Corner B" are nothing, just like saying corner 1 and 2... You dont 'use' them...


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: