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.

Dark GDK / dbSetCameraToImage( )

Author
Message
Benjames8
16
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 19th Apr 2011 08:26 Edited at: 19th Apr 2011 08:47
So I wondering if anyone knows a way to make all (0,0,0) colored pixels to transparent I\'v acomplished this by saving the image to a bmp file then loading it and pasting the image with transparency. But it is really freaking slow. there is another perameter in the
dbSetCameraToImage() function with iGenAlpha could this perhaps be the answer?

I think a really cool effect can be accomplished.

[edit] Is there a way to set the camera's viewport where there are transparent portions ( so its not just a box )

[edit] NVRM that would defeat the purpose. cause Im trying to get that tracer effect that comes with turning off the backdrop .
Morcilla
23
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 19th Apr 2011 11:44
Quote: " Is there a way to set the camera's viewport where there are transparent portions "

Remember that you can make objects to appear only at certain cameras wih set object mask... Wouldn't that achieve what you want? Show only one object and the others shown as 'transparent' for that camera....

Quote: "Im trying to get that tracer effect that comes with turning off the backdrop"

I don't know if that will be as cool as you describe, but yes you can do this (I guess you want it just for one object) with an additional camera and set object mask. Turn of the backdrop for the additional camera and play around.
Oh eventually you'll need a screen quad object to output the render of the additional camera, won't you?
Good luck

Benjames8
16
Years of Service
User Offline
Joined: 6th Jan 2010
Location: Your Nightmares
Posted: 20th Apr 2011 05:02
Want i was initially thinking that I wanted to put a hole in the center of the screen, but i soon decided it was probably impossible my next guess is the camera to image but, now the object mask thing seems to me a very reasonable effect to get out of all this.

Login to post a reply

Server time is: 2026-06-12 09:26:39
Your offset time is: 2026-06-12 09:26:39