-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add MSFT_texture_xnb extension #2548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
If MonoGame can reasonably "own" it, please create an issue with a prefix registration request (see https://github.com/KhronosGroup/glTF/blob/main/extensions/Prefixes.md). In a case of any legal reasons preventing MonoGame from owning the XNA prefix, please register another prefix and rename the extension. |
|
I was going to make this a MSFT_texture_xnb but I wasn't sure if I could reasonably do that (even though I do work at MS). |
That's not our concern. The extension spec and the prefix should be owned by the same entity (unless it's @bghgary WDYT? |
|
I'm not aware of any rules from Khronos or Microsoft against putting it as MSFT prefix, but I'm not sure it makes sense since XNA is not being advanced by Microsoft. @dellis1972 Is XNB owned by some entity? Is there a spec for it? I did a quick search and didn't see anything obvious. Feel free to ping me internally if you want to chat. |
The Spec is licences to Microsoft. This is a link to the doc on the format. Its a backup from the original MS doc. |
|
If it's a Microsoft spec, then MSFT prefix sounds fine to me. This glTF extension should be specific and point to this XNB spec. If this XNB spec ever advances, we will need a new glTF extension. |
|
I'd strongly suggest hosting that document in a more permanent place than someone's personal GitHub repo. |
The spec used to be hosted on MS servers at one point. I'll chat with the MonoGame maintainers , see if we can host it on our website. |
|
So I think this is good to go. We are just waiting on moving the docx for the XNA format to the monogame docs site, so I can link it in this PR. |
This extension adds the ability to specify textures using the XNA Binary format (XNB). An implementation of this extension can use the textures provided in the XNB files as an alternative to the PNG or JPG textures available in glTF 2.0.
This extension is used by users of XNA like frameworks such as MonoGame,FNA and KNI to load glTF files at runtime by including XNB textures.