include image data in .ive write

19 views
Skip to first unread message

Trajce Nikolov NICK

unread,
Apr 6, 2020, 2:18:13 PM4/6/20
to osg-...@googlegroups.com
Hi Community,

I am struggling with something simple. I am reading an ive file with textures, and saving it back to ive with options

osgDB::ReaderWriter::Options("includeImageFileInIVEFile, compressImageData, compressed");

but the textures are not being saved into the ive.

What is wrong with this? Any hints?

Thanks a bunch as always!
Cheers!

--
trajce nikolov nick

OpenSceneGraph Users

unread,
Apr 6, 2020, 6:17:41 PM4/6/20
to OpenSceneGraph Users
Hi Nick,
I don't recognize the comma in the options string, but I don't have osg ready to test.
Can you try:
osgDB::ReaderWriter::Options("includeImageFileInIVEFile compressImageData compressed");

Laurens.

--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/CAO-%2BzimXSzRmHOOna%2BthMGrY10M_k9_1YzK3FiKQd7iAngEC5Q%40mail.gmail.com.
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Trajce Nikolov NICK

unread,
Apr 7, 2020, 12:03:26 PM4/7/20
to osg-...@googlegroups.com
Hi Laurens,

thanks for the hint. I debugged the code and the image saved inside the input ive was having empty fileName (although set by the producer of this input file). But this is happening with older osg. The latest osg seams to do it ok. So I ported the app to use the latest.

Thanks again 


_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+...@googlegroups.com.


--
trajce nikolov nick

OpenSceneGraph Users

unread,
Apr 7, 2020, 2:18:29 PM4/7/20
to OpenSceneGraph Users
On Tue, 7 Apr 2020 at 17:20, OpenSceneGraph Users <osg-...@lists.openscenegraph.org> wrote:
Hi Laurens,

thanks for the hint. I debugged the code and the image saved inside the input ive was having empty fileName (although set by the producer of this input file). But this is happening with older osg. The latest osg seams to do it ok. So I ported the app to use the latest.

You might want to update to using .osgb format as well, .ive has been deprecated since 3.0.
 

 
Reply all
Reply to author
Forward
0 new messages