Re: [osg-users] cannot load PNG image

2010-01-07 Thread Robert Osfield
Hi Tufan, Do you have the png plugin built? Check your osgPlugins-version/ directory for which osgdb_*.dll you have. If you don't have it you'll need to grab the 2rd party dependencies compile the OSG from source. See the documentation on compiling the OSG on the wiki. Robert. On Thu, Jan 7,

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
Hi, I have osgdb_png.dll in C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin\osgPlugins-2.8.2 directory. But still cannot load PNG. Thank you! Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22212#22212

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Robert Osfield
Hi Tufan, On Thu, Jan 7, 2010 at 11:28 AM, Tufan Taş tas.tu...@gmail.com wrote: I have osgdb_png.dll in C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin\osgPlugins-2.8.2 directory. But still cannot load PNG. Check that this OpenSceneGraph/bin directory is on your path. Robert.

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
Hi, Yes C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin is in my path. I don't get any error messages I can load bmp image but cannot png. I don't know why. Thank you! Cheers, Tufan -- Read this topic online here:

Re: [osg-users] cannot load PNG image

2010-01-07 Thread selman duatepe
Hi Tufan, Check also that C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin\osgPlugins-2.8.2 directory is in your path. If directory is in your path, attach your texture and code. I will try it. Selman On Thu, Jan 7, 2010 at 1:47 PM, Tufan Taş tas.tu...@gmail.com wrote: Hi, Yes

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Robert Osfield
Hi Tufan Selman, On Thu, Jan 7, 2010 at 1:59 PM, selman duatepe selmanduat...@gmail.com wrote: Check also that C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin\osgPlugins-2.8.2 directory is in your path. I would not advice this, as this can cause problems later on when you might

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Jean-Sébastien Guay
Hi Tufan, Yes C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin is in my path. I don't get any error messages I can load bmp image but cannot png. I don't know why. The difference is that the BMP plugin does not need any additional DLLs (other than the plugin itself of course) but

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
Hi Tufan, Did you add the bin folder of the 3rdParty directory to your path ? Maybe your program don't find the libpng13.dll. Mourad On Thu, Jan 7, 2010 at 3:12 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hi Tufan, Yes C:\Users\Tufan\Desktop\New

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
I have tried all of your comments add the path of plugins bin but not worked also I have previously downloaded 3rdparty dependencies coppied libpng13.dll into my osg bin but still not working. Do you have any more comments I am really stucked -- Read this topic online here:

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Jean-Sébastien Guay
Hi Tufan, I have tried all of your comments add the path of plugins bin but not worked also I have previously downloaded 3rdparty dependencies coppied libpng13.dll into my osg bin but still not working. Do you have any more comments I am really stucked Try setting OSG_NOTIFY_LEVEL=DEBUG

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
Thanks for your advices adding 3rdParty path solved my problem for PNG file. But still I cannot load a .flt file. My osgPlugins-2-8-2 directory contains osgdb_openflight.dll but nothing appears on the screen. Cheers, Tufan -- Read this topic online here:

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
Which 3rdParty archive did you download and what is your VS version ? SP1 ? What do you get when setting osg notify level to debug ? ( osg::setNotifyLevel(osg::DEBUG_INFO)) Mourad On Thu, Jan 7, 2010 at 3:26 PM, Tufan Taş tas.tu...@gmail.com wrote: I have tried all of your comments add the

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
3rdParty_Win32Binaries_vc90sp1 I get nothing when setting notify level. Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22238#22238 ___ osg-users mailing list

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
The following is my code for the openflight mode. Am I missing something in the code? Only blue screen appears. osg::Node* mapNode; mapNode = osgDB::readNodeFile(C:\\Users\\Tufan\\Desktop\\buffs.flt); osg::Group* root = new osg::Group(); root-addChild(mapNode); osgViewer::Viewer viewer;

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
mapNode is it NULL ? Did you try opening it with osgviewer.exe ? Maybe sharing the file will help finding out. On Thu, Jan 7, 2010 at 4:02 PM, Tufan Taş tas.tu...@gmail.com wrote: The following is my code for the openflight mode. Am I missing something in the code? Only blue screen

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
No mapNode is not null I initialized it as void viewWindow() { osg::Node* mapNode = osgDB::readNodeFile(C:\\Users\\Tufan\\Desktop\\buffs.flt); //mapNode = osgDB::readNodeFile(C:\\Users\\Tufan\\Desktop\\wood.png);

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Chris 'Xenon' Hanson
On 1/7/2010 7:07 AM, Robert Osfield wrote: A better thing to look at next is whether the plugin is loading for this you can enable verbose debugging to see whether the plugin has been located and loaded. In a terminal type: set OSG_NOTIFY_LEVEL=DEBUG runmyapp mymodel.osg Then look at

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Tufan Taş
Hi, Thanks for your replies I just rebuil my OSG and the problem is solved. Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22276#22276 ___ osg-users mailing list