OpenSceneGraph
OpenSceneGraph copied to clipboard
Texture's are not loaded with GLTF
I have a GLTF model , when i try to load using "osg::ref_ptrosg::Node model = osgDB::readRefNodeFile("3dmodel.gltf")" i can't see any texture's loaded along with it, even "cessna.osgt" is loading without texture's.
System Environment: OS : Ubuntu 24.04.1 LTS OSG Version : OpenSceneGraph Library 3.7.0
Original cessna model has no textures attached. And for your GLTF model, you may have a look at osgverse (https://github.com/xarray/osgverse), which has a more complete GLTF plugin which supports KTX/WebP textures, character animations and blendshapes.