GLBasic forum

Main forum => Bug Reports => Topic started by: mentalthink on 2012-Feb-22

Title: RGB extrange effect
Post by: mentalthink on 2012-Feb-22
HI in the last Update the 10.231 (Stable Version), have a little trouble, if you put a command rgb(x,x,x), on the X value it´s the same for the tree values , in example making a grab sprite don´t works well, in fact, don´t save the image... occurs something similar and another extrange effects in 3D, or any combination whit the RGB Command... not it´s too much trouble oncly changing a value  (x+1), any one , the Rgb turns Ok, but only for advice... I goes crazy to nigth for this little problem...
Title: Re: RGB extrange effect
Post by: Ruidesco on 2012-Feb-22
I thought the last version was 10.244, or at least that is what the updater downloaded for me some time ago. :doubt:
Title: Re: RGB extrange effect
Post by: MrTAToad on 2012-Feb-22
10.244 is the latest :)

Mentalthink - do you have a small example ?  There can be SETTRANSPARENCY differents for save/grab image, but thats the only "problem" I know of.
Title: Re: RGB extrange effect
Post by: mentalthink on 2012-Feb-22
Hi MrTatoad yes yesterday latenight I try whit this:
Code (glbasic) Select

drawrect 0,0,100,40, rgb(100,100,100)
grabsprite spr_Quad,0,0,80,40

while true
drawsprite spr_Quad,0,0
showscreen
wend


The effect of this code, in my Computer, perhaps somthing occurs in my Window$ (it´s making strange things), the sprite apperas only about half second, and don´t appears more... whit only change the RGB funtion like this:

RGB(198,200,200), the spr_Quad appears always in the screen...

How I told... perhaps it´s something wrong in my Computer...

Title: Re: RGB extrange effect
Post by: MrTAToad on 2012-Feb-23
Do you have any anti-aliasing settings set ?  Do games suffer from any problems ?

I can't think of a good reason for it to disappear unless you are using screens or deleting the sprite...
Title: Re: RGB extrange effect
Post by: mentalthink on 2012-Feb-24
No Mrtatoad the code I used was practically equal than I put..., perhaps how I told... it´s something extrange in Windows... Don´t care I solved the trouble whit this little offset un numbers. Only was for advice