Hello good ppl!

i am quite new to OSG, though i managed to build it from source with several 
plugins. now one of them is not working - PNG. and i do need it.

i am using MinGW gcc compiler suite and w7/x64 system.

i built osg 3.xy from sources, with libpng, zlib, libjpg and coin plugins, 
which i also built from sources.

i have a model that is supposed to load .png files as textures, but i'm getting 
this message with all the files

Code:
Warning: Could not find plugin to read objects from file ".\textures\13.png".


[Arrow] i tried renaming the png file to some nonsense and the program screamed 
that the file does not exist - so i guess the file path in the model is all 
right.
[Arrow] i also tried putting the folder with osg plugins into the system path, 
as suggested in one of the threads.
[Arrow] then i tried renaming the texture to load in the model then saving the 
texture into .jpg file - it worked. so the plugins themselves DO work.
so where is or can the prblem be? [Question]  why does the plugin not work? 
[Question] 
i do have mingw_osgdb_png.dll in the plugins folder, which is accessible from 
the console i run my applcation, or the osgviewer program.
you may ask why do i need png textures when i am able to use .jpg textures - 
the answer is easy - i need transparent textures.


Thank you for your time!

Cheers,
Andrey  [/code]

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





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

Reply via email to