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 

Eric Wing's osgdb_ImageIO image plugin for OSX


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
Eric Sokolowsky
Guest





PostPosted: Thu Feb 26, 2009 3:51 pm    Post subject:
Eric Wing's osgdb_ImageIO image plugin for OSX
Reply with quote

Here's Eric Wing's ImageIO plugin. It was actually submitted to
osg-submissions in October 2007 but nothing was ever done with it. If
someone wants to take a stab at integration please go ahead. I want to
do it, but have no time... isn't that always the way?

-Eric S.



------ Start of attached email. Subject: Fwd: New image handling plugin for OS X (osgdb_ImageIO) ------
---------- Forwarded message ----------
From: "E. Wing" <ewmailing@gmail.com>
Date: Fri, 26 Oct 2007 16:43:59 -0700
Subject: New image handling plugin for OS X (osgdb_ImageIO)
To:
Only registered users can see emails on this board!
Get registred or enter the forums!


Yea! The Leopard NDA is finally lifted.

This is a submission for a new osg plugin, osgdb_ImageIO. This is the
first piece of the puzzle that we need to get 64-bit support on OS X.
This plugin is intended to partially replace the current osgdb_qt
(classic Quicktime) plugin. There are many issues with the current
osgdb_qt, but perhaps the biggest is that there are many APIs used in
it that have been marked deprecated for awhile now and will not make
it to 64-bit on OS X.

ImageIO is Apple's (semi-)new (as of 10.4 Tiger) fundamental image
framework that provides access to all image formats handled by the
platform. This new osgdb_ImageIO plugin intends to replace all of
osgdb_qt's image handling duties as well as introduce support to new
image formats as they become available to the platform (e.g. JPEG2000,
RAW, HDR, etc).

osgdb_ImageIO does not replace osgdb_qt's movie handling capabilities.
I envision that to be handled by a planned second plugin using Apple's
semi-new (10.4 Tiger) QuickTimeKit framework, tentatively osgdb_QTKit.
So this plugin is just the first step.

Would you please add this to src/osgPlugins/ImageIO?

Improvements over osgdb_qt plugin:
- Supports istream and ostream
- Supports a lot more image formats
- ImageIO framework should be well supported from 10.4 to the future
(which should include 64-bit and new/future image formats)
- Doesn't require explicit initialization/close-out
- (Hopefully) efficient...avoids the manual byte-by-byte manipulation
of the old QuickTime plugin. Calls Apple's Accelerate framework when
useful.
- Seems to fix/avoid AutoreleasePool related leak warnings which I
believe the current qt plugin triggers if not using Cocoa (i.e.
actually having an autorelease pool created).

Missing:
- No movie file support (planning/expecting a separate QTKit plugin to
handle that).
- Need to update osgDB::Registry for new plugin
- Need to update build system(s)

Additional Notes:
- The old Quicktime plugin will need to remain for both Windows users
(who happen to use it) and pre-10.4 OS X versions. It will also need
to remain for movies until we get a QTKit plugin written.
- This plugin probably could use additional testing for
16-bit/LUMINANCE/ALPHA stuff. I'm not terribly confident I understood what
needs to happen in these cases so behavior could be different/broken
compared to osgdb_qt.


Once I figure out all the build system details, I'm proposing that for
the next release of OSG, if building for OS X 10.4 or 10.5, the
ImageIO plugin gets built and set as the default image handling
plugin. For legacy 10.3 and Quicktime for Windows users, the existing
osgdb_qt plugin should remain available. For now though, I wanted to
make this piece of code available in case anybody has a pressing need
to get 64-bit going soon.


Thanks,
Eric


------ End of attached email ------


------------------
Post generated by Mail2Forum
Back to top
Stephan Maximilian Huber
Guest





PostPosted: Fri Feb 27, 2009 12:58 pm    Post subject:
Eric Wing's osgdb_ImageIO image plugin for OSX
Reply with quote

Hi,

Eric Sokolowsky schrieb:
Quote:
Here's Eric Wing's ImageIO plugin. It was actually submitted to
osg-submissions in October 2007 but nothing was ever done with it. If
someone wants to take a stab at integration please go ahead. I want to
do it, but have no time... isn't that always the way?

thanks Eric,

I am integrating it now and update it's source to 2.8. I'll submit it to
osg-submissions next week if everything went ok.

@Robert:

Is there a chance to get a private branch of osg/subversion with
write-access, so multiple people can try getting the cocoa-backend finished?

cheers,
Stephan



------------------
Post generated by Mail2Forum
Back to top
Eric Sokolowsky
Guest





PostPosted: Fri Feb 27, 2009 8:58 pm    Post subject:
Eric Wing's osgdb_ImageIO image plugin for OSX
Reply with quote

Excellent. I look forward to trying it out.

On Fri, Feb 27, 2009 at 7:58 AM, Stephan Maximilian Huber < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi,

Eric Sokolowsky schrieb:

Quote:
Here's Eric Wing's ImageIO plugin. It was actually submitted to
osg-submissions in October 2007 but nothing was ever done with it. If
someone wants to take a stab at integration please go ahead. I want to
do it, but have no time... isn't that always the way?



thanks Eric,

I am integrating it now and update it's source to 2.8. I'll submit it to
osg-submissions next week if everything went ok.

@Robert:

Is there a chance to get a private branch of osg/subversion with
write-access, so multiple people can try getting the cocoa-backend finished?

cheers,
Stephan

_______________________________________________
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


------------------
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 Image capture in memory icf80 General 8 Fri Apr 12, 2019 6:11 pm View latest post
No new posts Problems with dae plugin John Richardson Plugins [osgPlugins] 0 Thu Apr 11, 2019 5:00 pm View latest post
No new posts [PARTIALLY SOLVED] Problems with dae ... Nikkitta Plugins [osgPlugins] 4 Mon Apr 08, 2019 3:51 pm View latest post
No new posts Add search location for textures in F... bbjorn Submission 1 Mon Feb 04, 2019 2:22 pm View latest post
No new posts OSG GLTF loader plugin Chris Hanson General 0 Thu Dec 06, 2018 9:55 pm 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