[osg-users] Warning: Error in reading to jpg images

Rômulo Cerqueira romulogcerqueira at gmail.com
Sat Nov 4 15:37:47 PDT 2017


Hi community!

I got some problems by loading JPG images using OSG.

When I read them directly using osgviewer, the images are loaded with success. 


Code:

osgviewer --image /home/romulo/gray_texture_n.jpg




However, the problem occurs when I read the images by OSG code, as presented in my unitary test code: https://github.com/Brazilian-Institute-of-Robotics/simulation-normal_depth_map/blob/master/test/NormalMapping_test.cpp

I got the following output message:

Code:

Warning: Error in reading to "/home/romulo/gray_texture_n.jpg".




How can I fix this? I will appreciate any information or help on the same.

Cheers,
Rômulo[/code][/b]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72307#72307




Attachments: 
http://forum.openscenegraph.org//files/screenshot_from_2017_11_04_19_31_10_130.png




More information about the osg-users mailing list