Skip to content

feat(examples): add @credit tags and relax credit field requirements#8800

Merged
mvaligursky merged 1 commit into
mainfrom
mv-example-credits
May 28, 2026
Merged

feat(examples): add @credit tags and relax credit field requirements#8800
mvaligursky merged 1 commit into
mainfrom
mv-example-credits

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

Adds attribution metadata to example files and relaxes the credit block format.

Changes:

  • Add @credit blocks to ~60 examples covering models, HDRIs, splats, and textures whose .txt credit files live under examples/assets/
  • Add gsplat author credits: Stéphane Agullo (apartment, biker, bicycle), Andrii Shramko (Roman Parish), Christoph Schindelar (Skatepark), azad_geniusxr (Basketball Player)
  • Make source and license optional in @credit blocks (only title and author required); parser, runtime, and eslint rule updated to match
  • Renderer skips the "· source" / "· license" segments when those fields are absent, so credits no longer show a trailing "unknown"
  • Fold soft newlines in @config description blocks so multi-line descriptions render as flowing paragraphs; blank // lines still preserve paragraph breaks
  • Replace HTML markup in dithered-transparency description with the supported markdown-lite syntax (`, **)

API Changes:

  • @credit: source and license are now optional. Existing examples that include them are unaffected.

- Add @credit blocks to ~60 examples covering models, HDRIs, splats, and
  textures whose .txt credit files live under examples/assets/.
- Add gsplat author credits: Stéphane Agullo (apartment, biker, bicycle),
  Andrii Shramko (Roman Parish), Christoph Schindelar (Skatepark),
  azad_geniusxr (Basketball Player).
- Make `source` and `license` optional in @credit blocks; only title and
  author are required. Parser, runtime, and eslint rule updated.
- Renderer skips "· source" / "· license" segments when those fields are
  absent, so credits no longer show a trailing "unknown".
- Fold soft newlines in @config description blocks so multi-line
  descriptions render as flowing paragraphs; blank `//` lines still
  preserve paragraph breaks.
- Replace HTML markup in dithered-transparency description with the
  supported markdown-lite syntax.
@mvaligursky mvaligursky self-assigned this May 28, 2026
@mvaligursky mvaligursky merged commit c7ad2df into main May 28, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-example-credits branch May 28, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant