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

Can i export as glb after changing materials? #290

Open
jfalih opened this issue Jan 19, 2025 · 3 comments
Open

Can i export as glb after changing materials? #290

jfalih opened this issue Jan 19, 2025 · 3 comments

Comments

@jfalih
Copy link

jfalih commented Jan 19, 2025

I am working with React Native Filament and want to know if it is possible to export a 3D model as a .glb file after modifying its materials within the application. If so, could you please guide me on how to perform this export while retaining the material changes? Are there any specific methods or limitations I should be aware of?

Thank you in advance for your help!

@jfalih jfalih changed the title Can i export as glb after change materials? Can i export as glb after changing materials? Jan 19, 2025
@hannojg
Copy link
Member

hannojg commented Jan 21, 2025

No thats not possible with the current API yet. I am not even sure if filament by itself supports it.
I'd recommend going over to the google/filament repo, and find an issue / PR or in the code to see if its possible.
If it is you can make a PR to add it to react-native-filament 👍

@jfalih
Copy link
Author

jfalih commented Jan 22, 2025

Can I set a parent of a material and change it dynamically? (based on loaded .glb) @hannojg

@jfalih
Copy link
Author

jfalih commented Jan 23, 2025

I've been using Babylon.js so far and am looking for an alternative. I usually use modular .glb files to create avatars. Does React Native Filament support this? For example combination: hair_01.glb, body_01.glb, shirt_02.glb.

Hair Options:

  • hair_01.glb
  • hair_02.glb
  • hair_03.glb

Body Options:

  • body_01.glb
  • body_02.glb

Shirt Options:

  • shirt_01.glb
  • shirt_02.glb
  • shirt_03.glb

Pants Options:

  • pants_01.glb
  • pants_02.glb
  • pants_03.glb

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

No branches or pull requests

2 participants