OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

Texture's are not loaded with GLTF

Open raghulsekar opened this issue 10 months ago • 1 comments

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

raghulsekar avatar Mar 03 '25 16:03 raghulsekar

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.

xarray avatar Mar 05 '25 00:03 xarray