View Single Post
  #5 (permalink)  
Old 08-08-2007, 02:00 AM
hung hung is offline
Junior Member
 
Join Date: Jul 2007
Location: Hong Kong
Posts: 49
Send a message via MSN to hung Send a message via Yahoo to hung Send a message via Skype™ to hung
Default

Quote:
Originally Posted by Erel View Post
You could also draw on the fore layer using transparency.
That way, the background will not be altered from the drawings.
Yes, I used fore layer in first sample but I found the problem that the fore layer transparency is referring to background image only, if second image overlaps first image, the transparent part of second image will show the background image part, but not the first image part (as attached in my first message).

When I use background layer to draw overlap image, in the Repaint loop, I need to draw the background image portion, then first image, at last the second image, so I can see the second image is on top of first image (as attached).

So what I see is the transparency of forelayer will redraw background image, but instead if it would be good if the transparency is on forelayer then on backgound layer, so when I use fore layer, I don't need to redraw backgound image in the Repaint loop but got the result as in the attached image.
Attached Images
File Type: jpg transparent problem3.JPG (13.3 KB, 15 views)
Attached Files
File Type: sbp fallingball.sbp (5.7 KB, 23 views)
__________________
Yours,

Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth
Reply With Quote