Hi there!
I tried to make tree objects that include their bitmaps using a code like in the AC 18 library tree object:
DEFINE TEXTURE "TextureTree3D" 1, A, B, 1, 0
DEFINE MATERIAL "TreeMat3D" 20,
0, 0, 0,
0.58, 0.85, 0.2, valueOpacity,
50,
0,
0.878401, 0.513481, 0.412253,
0, 0, 0,
0,
ind(fill, "emptyFill"), 1,
ind(texture, "TextureTree3D")
The pictures are saved in the object and the code refers them by number
(DEFINE TEXTURE "TextureTree3D" 1, A, B, 1, 0)
So I saved a .png bitmap with alpha channel as an object and added this code. It worked but the alpha channel transparency was not found.
Did I miss something? Or is there a special way to save pictures in objects for this purpose? (ref. GDL manual page 213)
I think it is convinient to save bitmaps together with objects, but they need to be transparent.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.