
ChrisDP
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2016
09:31 AM
Combining image files into one local file
Hi, we are currently using set of three images (png's) as part of a intro animation in our app. We are placing the three Posters as different layers on top of each other. Our channel is built using the Scene Graph SDK. The three images have their own Poster node and each one is rotated during the intro. After the main intro is complete we are running into memory problems related to graphics memory. The problems presents it self as image tearing and ripping when animating Poster translations.
I just want to say that we are aware some of the things we are doing in our channel is really pushing the bounds of what we expect from a Roku.
We have found that moving the three posters off the visible bounds of the screen helps free up a lot of the graphics memory. Using this we would like to generate a local png that is visually the same as the three posters after they finish rotating. We can then replace the three posters with one that looks the same when the intro completes.
We need to be able to create this image locally as it is posable the three images it is based off of could change.
We haven't been able to find a way to do this and couldn't find any discussions of anyone else trying to do something like this in Scene Graph. Any ideas would be appreciated.
Thanks.
I just want to say that we are aware some of the things we are doing in our channel is really pushing the bounds of what we expect from a Roku.
We have found that moving the three posters off the visible bounds of the screen helps free up a lot of the graphics memory. Using this we would like to generate a local png that is visually the same as the three posters after they finish rotating. We can then replace the three posters with one that looks the same when the intro completes.
We need to be able to create this image locally as it is posable the three images it is based off of could change.
We haven't been able to find a way to do this and couldn't find any discussions of anyone else trying to do something like this in Scene Graph. Any ideas would be appreciated.
Thanks.
Christopher Dwyer-Perkins
Developer, REDspace
redspace.com
Developer, REDspace
redspace.com
2 REPLIES 2
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2016
10:45 AM
Re: Combining image files into one local file
This is not SG unique, the need to save to local file arrises on differ occasions.
There is proposal on this, please add your voice in support here viewtopic.php?f=34&t=47658
There is proposal on this, please add your voice in support here viewtopic.php?f=34&t=47658
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2016
09:58 AM
Re: Combining image files into one local file
Good news, now you can getPng() viewtopic.php?f=34&t=47658#p537040