Re: Shaders & Textures in Next

Alex Barrett <[email protected]> Tue, 2 Jun 2026 15:23:21 +0100
Newsgroups gmane.games.flightgear.devel
Message-ID <CANVy52SapEZsh6xQdu_MB2BRTRBWYsXHsGM5=HzEbT=Ud1NOfg@mail.gmail.com>
Hi Stuart,

Thank you for the reply.
I gave that a go and the good news is I was able to restore textures!

The issue seems to be that the gltf format requires different
positioning/animation, or maybe just passed in a different format and I
can't find any information about how that might be? An example of an
aircraft that, in .ac format, works fine apart from the textures, once
exported to gltf with PBR compatible textures ends up looking like it's
just come out of a blender (which it did...but not that one)

https://avionyx.co.uk/Images/gltfcommander.png

Are we going to need to look at redoing all the aircraft we maintain
entirely in terms of models and animations?

Also if we're using models in gltf format does that mean we won't be able
to fly with those running older versions of FG via multiplayer as
presumably they won't be able to see the models. We'll have to produce
packages with aircraft still in .ac format for the multiplayer model if
we're going to maintain backwards compatibility with other versions online?
That feels like quite a lot of work for many developers that we could
probably do with putting rather a lot of effort into making sure people are
aware and able to have time to discover the necessary work required.

Many thanks
Alex

On Tue, 2 Jun 2026 at 15:02, Patrick Callahan <[email protected]>
wrote:

> Stuart,
>
> Is anyone considering working on developing migration documentation in the
> near future?
>
> Who are the likely players?
>
> -pat
>
> On Tue, Jun 2, 2026 at 8:28 AM Stuart Buchanan <[email protected]> wrote:
>
>> Hi Alex,
>>
>> On Tue, Jun 2, 2026 at 1:09 PM Alex Barrettwrote:
>>
>>> Hi All,
>>>
>>> As a grunt level aircraft contributor I was wondering if there's some
>>> documentation on the requirements for Next and textures - if appropriate.
>>>
>>
>> That's still to be developed, but fundamentally: migrate the aircraft to
>> gltf with PBR textures.
>>
>> There's some instructions in the wiki on what options to set in Blender.
>>
>>
>>> Most of the aircraft seem to be coming out as entirely textureless and
>>> accompanied with errors such as:
>>>
>>> 6.20 [WARN]:io
>>> /builds/flightgear/fgmeta/simgear/simgear/scene/model/ModelRegistry.cxx:564:
>>> Image loading failed: 6.20 [WARN]:osg
>>> /builds/flightgear/fgmeta/dist/include/simgear/scene/util/OsgIoCapture.hxx:63:
>>> Error reading file /run/media/avionyx/filestore/FG
>>> Files/Aircraft/Bell_412/Models/Interior/Panel/panel.jpg: file not handled
>>> 6.20 [ALRT]:osg
>>> /builds/flightgear/fgmeta/dist/include/simgear/scene/util/OsgIoCapture.hxx:63:
>>> osgDB ac3d reader: could not read texture "panel.jpg"
>>>
>>
>> That looks very like OSG hasn't been compiled with the JPG plugin,
>> perhaps because OSG hasn't found a JPG library?
>>
>> If you have compiled OSG yourself, please check the plugins.  If it's
>> from our CI, then that may need updating.
>>
>> -Stuart
>>
>> -Stuart
>> _______________________________________________
>> Flightgear-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>>
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>

_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel