|
Translucent Primitives in 32-Bit Mode |
Mr. Big
Member #6,196
September 2005
|
How do I draw a translucent triangle? |
umperio
Member #3,474
April 2003
|
Why don't you check allegro examples? I'm sure http://www.allegro.cc/manual/miscellaneous/available-allegro-examples/exblend should help you with what you need and maybe others as well. |
Mr. Big
Member #6,196
September 2005
|
I checked out that webpage but none of the examples show up... |
Fladimir da Gorf
Member #1,565
October 2001
|
drawing_mode(DRAW_MODE_TRANS, 0, 0, 0);
OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori) |
Mr. Big
Member #6,196
September 2005
|
Thanks! |
Fladimir da Gorf
Member #1,565
October 2001
|
I think you have to use set_trans_blender for that. OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori) |
Neil Walker
Member #210
April 2000
|
The website only contains references to the demos. You need to download the actual stuff to see them If you've downloaded the binary from this site then that doesn't include the manuals, samples, demos, etc. just the library. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Tobias Dammers
Member #2,604
August 2002
|
Quote: But how do I make the color of the triangle translucent?
That depends. --- |
Thomas Fjellstrom
Member #476
June 2000
|
set_trans_blender for translucent primitives, and set_alpha_blender for using alpha masks. -- |
|