Hi biv,

osgEphemeris has code to convert images to c code, used to embed the sun/moon
images.

I reinvented something similar with a ".cpp" writer plugin, which dump the
contents of an osg::Image as c++ code; e.g.: "osgimgconv foo.png foo.cpp"
It's rather immature and not in osgToy yet, but I can send it if you wish.

Cheers
-- mew


Gerrick Bivins wrote:
> Hi all,
> Does osg support xpm image files? We'd like to be able to compile some
> images into our app so we
> don't have to distribute them and put extra handling logic(environment
> vars)just for this in our code. wxWidgets has this feature but I didn't
> see it (as a plugin anyway) in OSG. Is there possibly another way to do
> something like this in OSG?
> biv
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to