Skip to content

Add distinction between unsupported extension / unsupported content #3000

Description

@mwestphal

Is your feature request related to a problem? Please describe.
F3D recently added support for header content checking before opening a file.
It works great however it does not tries to open faulty files anymore, which can be a bit confusing for users that now have file with valid extensions that f3d doesnt even try to open anymore.

Lets improve libf3d API to be able to dinstinguish between a file of unsupported extension and a file of unsupported content and improved F3D to take that into account in its error reporting.

In that context, adding an option to skip content check should also be considered.

Describe the solution you'd like

  • Improve scene/factory/reader API in order to know exactly why a file is not supported
  • Use the API in F3D application to improve error reporting
  • Add tests and doc

Metadata

Metadata

Assignees

Fields

No fields configured for Feature.

Projects

Status
In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions