Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Copyright 2026 Open Brain Institute

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License.

"Derivative Works" shall mean any work based on the Work.

"Contribution" shall mean any work of authorship intentionally
submitted to the Licensor for inclusion in the Work.

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor.

2. Grant of Copyright License.

Subject to the terms and conditions of this License, each Contributor
hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable copyright license to reproduce,
prepare Derivative Works of, publicly display, publicly perform,
sublicense, and distribute the Work and such Derivative Works.

3. Grant of Patent License.

Subject to the terms and conditions of this License, each Contributor
hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
and otherwise transfer the Work.

If You institute patent litigation against any entity alleging that
the Work or a Contribution constitutes patent infringement, then any
patent licenses granted to You under this License for that Work shall
terminate as of the date such litigation is filed.

4. Redistribution.

You may reproduce and distribute copies of the Work or Derivative Works
thereof in any medium, with or without modifications, provided that
You meet the following conditions:

(a) You must give any other recipients of the Work a copy of this License.

(b) You must cause any modified files to carry prominent notices
stating that You changed the files.

(c) You must retain all copyright, patent, trademark, and attribution
notices from the Source form of the Work.

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file.

5. Submission of Contributions.

Unless You explicitly state otherwise, any Contribution intentionally
submitted for inclusion in the Work by You to the Licensor shall be
under the terms and conditions of this License.

6. Trademarks.

This License does not grant permission to use the trade names,
trademarks, service marks, or product names of the Licensor.

7. Disclaimer of Warranty.

Unless required by applicable law or agreed to in writing,
Licensor provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied.

8. Limitation of Liability.

In no event and under no legal theory shall any Contributor be liable
to You for damages arising from the use of the Work.

9. Accepting Warranty or Additional Liability.

While redistributing the Work or Derivative Works thereof, You may
choose to offer support or warranty protection for a fee, but only
on Your own behalf and not on behalf of any Contributor.

END OF TERMS AND CONDITIONS

This software includes the following third-party libraries:

- tinygltf (MIT License) - https://github.com/syoyo/tinygltf
- nlohmann/json (MIT License) - https://github.com/nlohmann/json
- stb_image (Public Domain) - https://github.com/nothings/stb
- stb_image_write (Public Domain) - https://github.com/nothings/stb
