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

script to batch process multiple gltfs. #37

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

emileswain
Copy link

I'm currently learning how to best prepare gltfs and wanted a way to batch process a bunch of gltfs into a project and would...

  1. Copy gltfs into public folder.
  2. provide a json file providing settings for each gltf to convert
  3. Add shadow cast and receive props to meshes.
  4. Resolve a weird behaviour where `export default function Model (){} wouldn't import for some reason. changed to export default (props)=>{}

This is a work in progress, so there is still some tidy up to do, which when i get around to i would ideally address any pull request comments/suggestions.. (i.e. refactor methods from sync to async and wrap up properly into promises.)

@emileswain emileswain changed the title Contrib/batch script to batch process multiple gltfs. Sep 19, 2020
@gsimone
Copy link
Member

gsimone commented Nov 26, 2020

@emileswain there's been a few changes in the lib since the PR was open, let me know if you are still working on this or I'll close in a few days - we can always reopen if you want!

@emileswain
Copy link
Author

Sorry, i downed tools completely for xmas. I'll pick this up some time soon hopefully.

@chrisbward
Copy link

@emileswain dude! long time!!! I'm giving this a go today - a lot to be desired from docs of this repo... fun fun

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.

None yet

3 participants