Re: [osg-users] Problem to load images

2017-08-16 Thread Robert Osfield
HI Rômulo, I can't spot anything specific in your code that might cause a problem loading images. It could be the paths to the files, personally I'd not hard-wire the filenames even for early code. The other thing is perhaps there is something odd about you are building/linking the OSG. The

Re: [osg-users] Problem to load images

2017-08-15 Thread Rômulo Cerqueira
Hi Robert, thanks for your reply. Follows my code: Code: #define BOOST_TEST_MODULE "NormalMapping_test" #include // OpenSceneGraph includes #include #include #include #include #include #include #include #include // Rock includes #include #include // OpenCV includes #include

Re: [osg-users] Problem to load images

2017-08-14 Thread Robert Osfield
Hi Rômulo, The only thing the debug output tells us is that your assert is failing, but not why the pointers you are testting are NULL. You haven't posted the code that is meant to set these pointers so there is no way we can help you, we aren't omnipresent gods Please post the code you are

Re: [osg-users] Problem to load images

2017-08-13 Thread Rômulo Cerqueira
Hi Nick and Robert, the attached file is the output from my C++ program. Any suggestions to solve that? Thanks in advance, Rômulo Cerqueira -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71407#71407 Attachments:

Re: [osg-users] Problem to load images

2017-08-12 Thread Rômulo Cerqueira
Hi Trace and Nick, this attachment is my output when I perform the following commands: Code: export OSG_NOTIFY_LEVEL=DEBUG osgviewer --image gray_texture_d.jpg ... Thank you! Cheers, Rômulo -- Read this topic online here:

Re: [osg-users] Problem to load images

2017-08-10 Thread Trajce Nikolov NICK
Hi Robert, I will ... I am in the middle of setting up my laptop with fresh install, once I am ready I will do so On Thu, Aug 10, 2017 at 5:08 PM, Robert Osfield wrote: > Hi Nick, > > On 10 August 2017 at 15:34, Trajce Nikolov NICK < > trajce.nikolov.n...@gmail.com>

Re: [osg-users] Problem to load images

2017-08-10 Thread Robert Osfield
Hi Nick, On 10 August 2017 at 15:34, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > I have the exact same behavior with 3.5.5 with png files. Curious what > this can be > >> And any information to help us work out what it might be?? I can't help anyone with so little to go

Re: [osg-users] Problem to load images

2017-08-10 Thread Trajce Nikolov NICK
Hi Robert, Romulo, I have the exact same behavior with 3.5.5 with png files. Curious what this can be Nick On Thu, Aug 10, 2017 at 7:53 AM, Robert Osfield wrote: > Hi Rômulo, > > Given osgivewer --image is work then it suggests that the jpeg file itself > is OK, and

Re: [osg-users] Problem to load images

2017-08-09 Thread Robert Osfield
Hi Rômulo, Given osgivewer --image is work then it suggests that the jpeg file itself is OK, and the the OSG's jpeg plugin is OK and being found on loading. This suggests the error coming from your application for some reason. Could you post a code snippet for others to review to see if we can

Re: [osg-users] Problem to load images

2017-08-08 Thread Nabil KHALIFA
Hello, you should add the osgdb_jpeg.dll to the exe folder. On 8 August 2017 at 00:36, Rômulo Cerqueira wrote: > Hi, > > currently I have a problem to load and process image files in my OSG c++ > code. I got the message: > > > Code: > Warning: Error in reading to