Skip to content
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

Tutorials — reading and writing files #808

Closed
donmccurdy opened this issue Feb 5, 2023 · 4 comments
Closed

Tutorials — reading and writing files #808

donmccurdy opened this issue Feb 5, 2023 · 4 comments

Comments

@donmccurdy
Copy link
Owner

While the I/O classes are documented, e.g. to read/write .glTF files on disk... the two most reasonable next steps probably deserve guides, and we don't have them today:

  1. generate a glTF file 'from scratch' given basic vertex data and a texture
  2. read a glTF file, then unpack basic vertex data and a texture (e.g. for rendering)

I imagine those guides could be helpful to people who are writing converters, generating models procedurally, writing loaders for their own engines or applications, etc. This could go into the Introduction section, following the "Concepts" guide.

(Suggested by @bhouston)

@donmccurdy donmccurdy added this to the Backlog milestone Feb 5, 2023
@donmccurdy donmccurdy modified the milestones: Backlog, v3.1 Mar 5, 2023
@donmccurdy donmccurdy modified the milestones: v3.1, v3.2 Apr 4, 2023
@OldManMeta
Copy link

Hi Don - this is precisely the position I am in at the moment ;-) so your thoughts would be most welcome.

My workflow in this instance is - read file from disk=> edit/compress=> write file to disk.

Any hints on that would be awesome!

Cheers

@donmccurdy
Copy link
Owner Author

Hi @OldManMeta! Is compression the only edit you're trying to make, or were there others? Do you prefer to do this in a Node.js script, a web browser, a CLI tool, or something else? Maybe the best thing would be to start a discussion thread and we can figure out the rest.

@OldManMeta
Copy link

@donmccurdy - hey thanks for that. Wow - I didn't even see the discussions stuff before. I'll head over there! Cheers

@donmccurdy donmccurdy modified the milestones: v3.2, v3.3 May 16, 2023
@donmccurdy donmccurdy modified the milestones: v3.3, v3.4 May 30, 2023
@donmccurdy
Copy link
Owner Author

Merging this issue into #984.

@donmccurdy donmccurdy closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2023
@donmccurdy donmccurdy modified the milestones: v3.4, Website v2 Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants