|
Post by Roger Cabo on Dec 21, 2023 18:14:57 GMT 1
|
|
|
Post by (X) on Dec 21, 2023 18:24:29 GMT 1
That's a cool visual effect!
|
|
|
Post by scalion on Dec 22, 2023 8:09:12 GMT 1
FR : Les mystères du cerveau, je vois alternativement 3 pentagones et 5 triangles. Cela veut dire que mon cerveau résout l'ensemble avec des multiplications (3*5) puis (5*3) dont les permutations dépendent des éléments. A priori on devrait obtenir un résultat semblable avec 4 carrés (4*4) sauf qu'on verrait alternativement des petits carrés puis des gros !
US : The mysteries of the brain, I alternately see 3 pentagons and 5 triangles. This means that my brain solves the set with multiplications (3*5) then (5*3) whose permutations depend on the elements. A priori we should obtain a similar result with 4 squares (4*4) except that we would alternately see small squares then big ones!
Edit :
|
|
|
Post by (X) on Dec 22, 2023 16:09:26 GMT 1
10 10 est particulièrement fascinant.
10 10 is particularly fascinating.
10 10 ist besonders faszinierend.
|
|
|
Post by (X) on Dec 22, 2023 17:41:09 GMT 1
I crafted a little YouTube video to highlight this demo... Hope you like it.
|
|
|
Post by scalion on Dec 22, 2023 22:21:06 GMT 1
Same things with the dancefloor spotlights !!!
C'est en train de partir en délire total cette histoire.
|
|
|
Post by Roger Cabo on Dec 23, 2023 17:12:27 GMT 1
Would you do kind and explain what happen here? Global Object Win1RT, Halo(0 .. 6) // you declare 7 objects based on the properties of Win1RT and array them Halo(0)-(6) ? Set Halo(i) = D2Bitmap(Bitmap, False) // Then you pass each new written bmp the the Halo(0-6) Objects ? ---- The Optional AlphaCannel argument determines the desired alpha channel usage. By default D2Bitmap ignores the alpha channel of the loaded bitmap; the AlphaChannel% = WICBitmapIgnoreAlpha (2). The AlphaChannel% can be set to one of three enumerations : WICBitmapUseAlpha (0x00000000) WICBitmapUsePremultipliedAlpha (0x00000001) WICBitmapIgnoreAlpha (0x00000002)Is there a way to define alpha blending and alpha masking as well? Or does D2D performing an alpha masking property on mask-pixels value 255/0 ? Thank you..
|
|
|
Post by scalion on Dec 23, 2023 19:55:45 GMT 1
To be honest I didn't even look in the GFA-Basic help (shame on me!) I just tested with False and got the expected result (using the alpha channel). Effectively False = 0 = WICBitmapUseAlpha (0x00000000).
Unfortunately, as far as I know, advanced color mixing settings are not implemented in the current version of the Direct2D library. I'm sure it will come.
|
|