Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Strange transparency problem

Author
Message
wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 19th Jan 2013 04:09 Edited at: 19th Jan 2013 06:21
Hey folks,
I can't figure this one out. I have a video streamed to an image and ghosted to make the black transparent - which it is for the most part. However at certain camera angles (I guess this is the problem??) the whole plane is visible.

Here's the code, perhaps I forgot something important.


EDIT
disabling the zdepth fixes the transparency problem, but of course looks quite odd.

EDIT2
Got that MF'ef by disabling the zwrite!

http://mattsmith.carbonmade.com/
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th Jan 2013 08:06 Edited at: 19th Jan 2013 08:08
Language please...

I was wondering how this would have been achieved... was thinking of SET OBJECT TRANSPARENCY 0-6 myself... thanks for sharing...

EDIT

BTW what is the .3DS image for and what does it contain?

wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 19th Jan 2013 14:57
It was a ripple effect for when my character is wading in the water.
This is what was going on that's now fixed:
http://www.youtube.com/watch?v=94x4huVtcas

http://mattsmith.carbonmade.com/
MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th Jan 2013 16:26
Very nice!

wattywatts
17
Years of Service
User Offline
Joined: 25th May 2009
Location: Michigan
Posted: 19th Jan 2013 16:41
Thanks! This project is a lot of work but I really like how it's turning out.

http://mattsmith.carbonmade.com/

Login to post a reply

Server time is: 2026-07-07 00:49:15
Your offset time is: 2026-07-07 00:49:15