About Store Forum Documentation Contact



Post Reply 
Image.draw3D() Alpha
Author Message
laugan Offline
Member

Post: #1
Image.draw3D() Alpha
Hi to all!

I try to use Image.create2D() wirh Alpha channel to draw it above 3d object ("BB" in video).
From the one side (first part of video) everything is as it should be.
But from the other side (second part of the video) alpha does'nt work correctly. Is it okay or there's a solution to make Alpha always work korrect?

Video:




UPD:
Got new data:
If we draw from left to right (left image, center, right) it disappears from the right side.
If we draw from right to left (right image, center, left) it disappears from the left side.

So it depends on which image we draw first. Why?
(This post was last modified: 05-21-2013 04:21 PM by laugan.)
05-21-2013 03:53 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Image.draw3D() Alpha
Please sort according to depth from camera and draw from back to front.
05-23-2013 02:15 PM
Find all posts by this user Quote this message in a reply
laugan Offline
Member

Post: #3
RE: Image.draw3D() Alpha
Thanks Esenthel for your reply! But i have one more question: if i have, for example, 2 Memx with Item and Chr and i want such images be both above Items and Chrs, how can i sort 2 Memx's at the same time? Or there's any other solution?

And also Game::ObjMemx doesn't support sorting :(
(This post was last modified: 05-23-2013 03:48 PM by laugan.)
05-23-2013 03:21 PM
Find all posts by this user Quote this message in a reply
Post Reply