zak
10-06-2011, 17:38
Hi Petr, All
i refer to your example Tga_Masking in the TBGL_BonusPack_1_6_0_10 (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95&task=viewcategory&catid=5)can be found in this path: TBGL_BonusPack_1_6_0_10\SpecialEffects\Tga_Masking
it is a great example and can be utilized to encode secret messages such as yours hand written "alpha" word. i have tried it with another tga picture archaic.tga to give the impression of old memories in another universe, i found the picture on my hard disk with another name.
just before a minute i was about to ask you a question and now i found the solution, but i have decided to continue my post.
the question was that i want to put a sphere in the middle of this archaic device, but when i want to use the tbgl_color 0,255,255 before it all the archaic device colored with cyan color like the ball. but now i found that putting tbgl_color 255,255,255 ie color white at the beginning of the loop will cancel the cyan color effect.
i begins to read about alpha channel and its usage.
attached Petr example (the outside sphere only) with the archaic picture. or you can download the example from the TBGL_BonusPack_1_6_0_10 (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95&task=viewcategory&catid=5)
7278
i refer to your example Tga_Masking in the TBGL_BonusPack_1_6_0_10 (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95&task=viewcategory&catid=5)can be found in this path: TBGL_BonusPack_1_6_0_10\SpecialEffects\Tga_Masking
it is a great example and can be utilized to encode secret messages such as yours hand written "alpha" word. i have tried it with another tga picture archaic.tga to give the impression of old memories in another universe, i found the picture on my hard disk with another name.
just before a minute i was about to ask you a question and now i found the solution, but i have decided to continue my post.
the question was that i want to put a sphere in the middle of this archaic device, but when i want to use the tbgl_color 0,255,255 before it all the archaic device colored with cyan color like the ball. but now i found that putting tbgl_color 255,255,255 ie color white at the beginning of the loop will cancel the cyan color effect.
i begins to read about alpha channel and its usage.
attached Petr example (the outside sphere only) with the archaic picture. or you can download the example from the TBGL_BonusPack_1_6_0_10 (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95&task=viewcategory&catid=5)
7278