OpenSceneGraph
OpenSceneGraph copied to clipboard
Load .obj's texture.png file fail: Error reading file texture.png: not implemented
platform: windows10
osg version: 3.6.5 get from vcpkg
Can load obj model but without texture, osg show
Error reading file path/to/texture.png: not implemented
Error reading file texture.png: not implemented
2 lines
Process load osgdb_obj.dll It needs other plugins?
Did you manage to build the plugins? To get the plugins that depend on other libs to build, you need to tell vcpackage not only to build osg , but also the plugins. command seems to be something like: vcpkg install osg[plugins,tools] Laurens.
On Tue, May 24, 2022 at 6:44 PM HWZen @.***> wrote:
platform: windows10
osg version: 3.6.5 get from vcpkg
Can load obj model but without texture, osg show Error reading file path/to/texture.png: not implemented Error reading file texture.png: not implemented 2 lines
— Reply to this email directly, view it on GitHub https://github.com/openscenegraph/OpenSceneGraph/issues/1142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXFTWXQTSZ62ZD25MPRUXTVLUBQHANCNFSM5W2GPP6A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Yes, It needs libpng and libjpeg, but vckpg did not build them automated. I rebuild osg when I install libpng and libjpeg, it works fine now.