Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 946 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
rgb - vec_set #364598
03/19/11 14:19
03/19/11 14:19
Joined: Mar 2004
Posts: 206
The Netherlands
R
Roy Offline OP
Member
Roy  Offline OP
Member
R

Joined: Mar 2004
Posts: 206
The Netherlands
Hello,

I've just come across something strange.
When using vec_set(sky_color, vector(200,255,200)); in function main, the vector doesn't seem to be using rgb colours, but bgr. The first number represent blue, the second green and the third red (I'm using A7).
Does anyone know why this is?

Thanks,

Roy

Re: rgb - vec_set [Re: Roy] #364601
03/19/11 14:31
03/19/11 14:31
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
http://www.conitec.net/beta/asky_color.htm

The COLOR* vector is in BGR format.


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1