Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread Paul Martz
If you set OSG_NOTIFY_LEVEL=DEBUG_FP in your environment, you can see each 
directory that OSG searches when attempting to lead the plugin.

   -Paul


On 7/4/2011 8:41 AM, abdelrahman.salah...@gmail.com wrote:

Hi

i'm having problem reading PNG files.. the program crash or print 'could not
find plugin to read objects from file directory/file.png '
i have the osgdb_png in the right directory,. and i have the libpng13.dll in the
right directory..
i need some pointers plz.

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


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread Raymond de Vries

Hi,

Fyi: (most of the times) libpng depends on libz too. Do you have that 
one in your path as well?


hth
Raymond


On 7/4/2011 4:49 PM, Paul Martz wrote:
If you set OSG_NOTIFY_LEVEL=DEBUG_FP in your environment, you can see 
each directory that OSG searches when attempting to lead the plugin.

   -Paul


On 7/4/2011 8:41 AM, abdelrahman.salah...@gmail.com wrote:

Hi

i'm having problem reading PNG files.. the program crash or print 
'could not

find plugin to read objects from file directory/file.png '
i have the osgdb_png in the right directory,. and i have the 
libpng13.dll in the

right directory..
i need some pointers plz.

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


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


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread abdelrahman . salah . cs

Hi

@ Paul, i have already done this,. and still no clue.

@ Raymond, yes i have that one too.

any pointers ?



On , Raymond de Vries ree...@xs4all.nl wrote:

Hi,




Fyi: (most of the times) libpng depends on libz too. Do you have that one  
in your path as well?





hth



Raymond







On 7/4/2011 4:49 PM, Paul Martz wrote:



If you set OSG_NOTIFY_LEVEL=DEBUG_FP in your environment, you can see  
each directory that OSG searches when attempting to lead the plugin.



-Paul







On 7/4/2011 8:41 AM, abdelrahman.salah...@gmail.com wrote:




Hi




i'm having problem reading PNG files.. the program crash or print 'could  
not



find plugin to read objects from file directory/file.png '


i have the osgdb_png in the right directory,. and i have the libpng13.dll  
in the



right directory..



i need some pointers plz.




___



osg-users mailing list



osg-users@lists.openscenegraph.org



http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






___



osg-users mailing list



osg-users@lists.openscenegraph.org



http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



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


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread Paul Martz

On 7/4/2011 9:20 AM, abdelrahman.salah...@gmail.com wrote:

Hi

@ Paul, i have already done this,. and still no clue.

@ Raymond, yes i have that one too.

any pointers ?


Do you see the same problem when you run:
  osgviewer --image file.png

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


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread abdelrahman . salah . cs
thanks everyone, i was using incompatible version of the dlls,. it works  
fine now ,.
there is no transparency.!! is that how it is supposed to be?! or am i  
still doing something wrong.


regards
abdo


On , Paul Martz pma...@skew-matrix.com wrote:

On 7/4/2011 9:20 AM, abdelrahman.salah...@gmail.com wrote:




Hi





@ Paul, i have already done this,. and still no clue.





@ Raymond, yes i have that one too.





any pointers ?






Do you see the same problem when you run:



osgviewer --image file.png





-Paul



___



osg-users mailing list



osg-users@lists.openscenegraph.org



http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



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


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread Paul MARTZ
Again I ask does it display correctly with osgviewer? If not it's a problem 
with your image. 

Paul Martz
Skew Matrix Software
Http://www.skew-matrix.com


On Jul 4, 2011, at 11:22, abdelrahman.salah...@gmail.com wrote:

 thanks everyone, i was using incompatible version of the dlls,. it works fine 
 now ,. 
 there is no transparency.!! is that how it is supposed to be?! or am i still 
 doing something wrong.
 
 regards 
 abdo
 
 
 On , Paul Martz pma...@skew-matrix.com wrote:
  On 7/4/2011 9:20 AM, abdelrahman.salah...@gmail.com wrote:
  
  
  Hi
  
  
  
  @ Paul, i have already done this,. and still no clue.
  
  
  
  @ Raymond, yes i have that one too.
  
  
  
  any pointers ?
  
  
  
  
  Do you see the same problem when you run:
  
   osgviewer --image file.png
  
  
  
-Paul
  
  ___
  
  osg-users mailing list
  
  osg-users@lists.openscenegraph.org
  
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problems Reading PNG Files

2011-07-04 Thread Torben Dannhauer
Hi abdelrahman,

yes, DLL versioning in windows is a bit akward, but thats not an OSG specific 
issue. The basic rule is: Know what kind of compiler you use and use only 
binaries which were compiled with exact that compiler.

That's the reason why you can find compiled binaries for VS 2005 Sp1, VS2008 
Sp1 and VS2010 Sp1.

Cheers,
Torben

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





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