OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Animated Gifs on iOS


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
a.terenzi (Alessandro Terenzi)
Appreciator


Joined: 03 Sep 2009
Posts: 252

PostPosted: Tue Apr 02, 2019 3:25 pm    Post subject:
Animated Gifs on iOS
Reply with quote

Hi,
I'm using OSG 3.6.3 on iOS and, as far as I understand, using imageio plugin the loading Gif images works fine, but I cannot see animations if the Gif is animated.

Looking at the imageio plugins source code, unless I missed something, no ImageStream is ever created, instead just a single Image is returned with the image stored at index 0.

Am I missing something or the imageio plugin should be updated to support animated Gifs?

Thank you!

Cheers,
Alessandro
Back to top
View user's profile Send private message
a.terenzi (Alessandro Terenzi)
Appreciator


Joined: 03 Sep 2009
Posts: 252

PostPosted: Tue Apr 02, 2019 3:54 pm    Post subject:
Reply with quote

I'm thinking to create a osg::ImageSequence if the actual Gif file contains more than 1 image and return that instead of a osg::Image object...

I will test this approach more in depth and submit the improvement if there's no other way to use animated Gifs on iOS.

Cheers,
Alessandro
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12267

PostPosted: Tue Apr 02, 2019 7:05 pm    Post subject:
Animated Gifs on iOS
Reply with quote

Hi Alessandro,

On Tue, 2 Apr 2019 at 18:12, Alessandro Terenzi <> wrote:
Quote:
I'm thinking to create a osg::ImageSequence if the actual Gif file contains more than 1 image and return that instead of a osg::Image object...

I will test this approach more in depth and submit the improvement if there's no other way to use animated Gifs on iOS.

The ImageSequence approach should work, though I've never heard it
used for working around lack of animated gifs support under iOS before
:-)

One other possible direction you could look at is building the OSG's
libgif based plugin and explictly use this instead of the imageio
based on.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Chris Hanson
Guest





PostPosted: Wed Apr 03, 2019 12:19 pm    Post subject:
Animated Gifs on iOS
Reply with quote

Quote:
One other possible direction you could look at is building the OSG's
libgif based plugin and explictly use this instead of the imageio
based on.


  This would be my recommendation.


 
Quote:

Robert.
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts about showing an animated .gif onto a... Gianluca Natale General 1 Tue Aug 29, 2017 4:21 pm View latest post
No new posts Play 3D animated Characters in Android SirErnest General 1 Thu Jun 09, 2016 9:08 pm View latest post
No new posts GIF plugin and animated GIFs cbuchner1 General 7 Fri Jan 09, 2015 12:30 am View latest post
No new posts Animated 3d-models for OSG aldaril_kote General [3rdparty] 8 Mon Sep 22, 2014 8:54 am View latest post
No new posts loading animated GIFs or TIFF files w... cbuchner1 General 1 Wed Nov 06, 2013 9:40 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP