<div dir="ltr"><div dir="ltr">On Wed, 21 Oct 2020 at 09:35, OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="direction:ltr">Hello, i trying to load model and watch him with the osgviewer.</div><div style="direction:ltr">I have in the folder all of the files to load it and the textures. </div><div style="direction:ltr">But, when I run the osgviewer with the model its loading it but the images not.</div><div style="direction:ltr">It's writing me "InputStream::readImage(): Unable to find a plugin for jpg"</div><div style="direction:ltr">Someone know if there is a way to add this plugin?</div></blockquote><div><br></div><div>From the details provided we can determine what is wrong, you'll need to do more checks at your end.</div><div><br></div><div>It may be that you have the jpeg plugin already and it's just not on your search path.  How did you build the OSG?  Where did you install it?  Have you set any paths to find binaries and libraries associated with the OSG? <br></div><div><br></div><div>The plugins are located in a osgPlugins-version directory.  The jpeg plugin will be in the form osgdb_jpeg.so / osgdb_jpeg.dll.</div><div><br></div><div>One tool you can use to find out where the OSG is looking for plugins is to enable verbose console output by setting the env var OSG_NOTIFY_LEVEL to DEBUG and then run your application with your data. You don't mention anything about what platform you are using so I can't say what the best way to set the env vars might be in your case.</div><div><br></div><div>The DEBUG console output will include all the paths checked for loading plugins and files.  Look output for the jpeg plugin amongst the list and the paths checked.</div><div><br></div><div>If you built the OSG yourself then check the CMake settings to see if it's found libjpeg.</div></div></div>