
RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2012
09:27 AM
Re: Changing From roImageCanvas to roScreen questions
Probably by never drawing anything that isn't transparent on top of the video - for example, your overlays could be translucent so you could see the video through the images your are drawing. I'll see if there is any other solution.
- Joel
- Joel
idunno
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2012
01:13 PM
Re: Changing From roImageCanvas to roScreen questions
How do you make overlays transluscent?

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2012
02:03 PM
Re: Changing From roImageCanvas to roScreen questions
You can use Adobe Photoshop or the gIMP which is free, or another graphic editor that allows you to manipulate images in .png format.
- Joel
- Joel
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012
06:04 PM
Re: Changing From roImageCanvas to roScreen questions
It's worth noting (just in case you are using it) that rotation in roScreen is not equivalent to rotation in roImageCanvas. Last time I checked, roScreen could only rotate by 90 degree increments.
P.S. We would *happily* write a compatibility library so you could use roScreen like roImageCanvas if rotation was fixed, as we would be doing it anyway to fix KidPaint. Really, the only thing that's kept KidPaint from being fixed from the buggy implementation that exists using multiple (many!) canvases is that the rotation we need can't be achieved through roScreen. We would actually implement rotation ourselves (albeit slowly) if we could convert both directions between bytearray and roBitmap, but that's missing as well last time I checked. In fact that's what blocked us getting a very low-end (slow) VNC client working (the TCP server that speaks the protocol is written already...).
P.S. We would *happily* write a compatibility library so you could use roScreen like roImageCanvas if rotation was fixed, as we would be doing it anyway to fix KidPaint. Really, the only thing that's kept KidPaint from being fixed from the buggy implementation that exists using multiple (many!) canvases is that the rotation we need can't be achieved through roScreen. We would actually implement rotation ourselves (albeit slowly) if we could convert both directions between bytearray and roBitmap, but that's missing as well last time I checked. In fact that's what blocked us getting a very low-end (slow) VNC client working (the TCP server that speaks the protocol is written already...).
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012
07:24 PM
Re: Changing From roImageCanvas to roScreen questions
Since 4.5 or so firmware, you can rotate to any angle.
- Joel
- Joel
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012
09:40 PM
Re: Changing From roImageCanvas to roScreen questions
"RokuJoel" wrote:
Since 4.5 or so firmware, you can rotate to any angle.
Hmm, then I guess I have some work to do, don't I? 😉
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2012
11:18 PM
Re: Changing From roImageCanvas to roScreen questions
"kbenson" wrote:"RokuJoel" wrote:
Since 4.5 or so firmware, you can rotate to any angle.
Hmm, then I guess I have some work to do, don't I? 😉
I was actually testing this out the other day.. don't get your hopes up too high... 😉
Also, still limited to 90 degree rotations on the Roku 1.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012
12:48 AM
Re: Changing From roImageCanvas to roScreen questions
"TheEndless" wrote:"kbenson" wrote:"RokuJoel" wrote:
Since 4.5 or so firmware, you can rotate to any angle.
Hmm, then I guess I have some work to do, don't I? 😉
I was actually testing this out the other day.. don't get your hopes up too high... 😉
Also, still limited to 90 degree rotations on the Roku 1.
Actually, I just checked some old email, and I was notified about this. I think the lack of arbitrary rotation angles on the Roku 1 that caused me to not go forward with creating a roImageCanvas shim. So, first, sorry to Roku for shooting my mouth off about it not being supported, that's what I get for not paying attention.
Second, since I said I would work on implementing the an roImageCanvas to roScreen shim if they provided rotation, I'll at least try. 🙂
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
Sike1234
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2016
12:13 PM
Re: Changing From roImageCanvas to roScreen questions
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
- « Previous
-
- 1
- 2
- Next »