Forum Discussion
Sike1234
10 years agoVisitor
Guys
I'm working on a Scene Graph project and I have to overlay a non-transparent image over video while it is playing.
I saw this example and believe it is a great place to start. Looking at the 2DVideoLayers example (note : great example )
I changed the object from roScreen to roSGScreen ... and ran into some issues.
orig = screen=createobject("roscreen",true)
new screen=createobject("roSGScreen",true)
I made some changes and did some debugging to find that I get stuck on line 119 screen.setalphaenable(true) 'enable transparency
roSGScreen does not have this method and I was wondering what the equivalent for setaplhaenable(true) might be using the roSGScreen object ?
Ran into some issues and wanted to ask someone if I'm going in the right direction.
Also trying to use roVideoPlayer instead of roVideoScreen.... and then use roImageCanvas to paint the image on top of the video.
Any suggestions / help
I'm working on a Scene Graph project and I have to overlay a non-transparent image over video while it is playing.
I saw this example and believe it is a great place to start. Looking at the 2DVideoLayers example (note : great example )
I changed the object from roScreen to roSGScreen ... and ran into some issues.
orig = screen=createobject("roscreen",true)
new screen=createobject("roSGScreen",true)
I made some changes and did some debugging to find that I get stuck on line 119 screen.setalphaenable(true) 'enable transparency
roSGScreen does not have this method and I was wondering what the equivalent for setaplhaenable(true) might be using the roSGScreen object ?
Ran into some issues and wanted to ask someone if I'm going in the right direction.
Also trying to use roVideoPlayer instead of roVideoScreen.... and then use roImageCanvas to paint the image on top of the video.
Any suggestions / help