Giter Club home page Giter Club logo

gltf-converter's Introduction

GLTF Exporter

This app allows to you allows you to convert to glTF format version using the three.js GLTFExporter.

Instructions

Clone/download the repo. Node.js and NPM are required.

Run this command once.

> npm install

Then run this command to build code and start the server.

> npm start

Supported formats:

  • 3MF
  • AMF
  • FBX
  • OBJ and MTL
  • GLTF and GLB version 2 (because why not? )
  • Collada ( DAE )
  • PCD (ASCII and Binary)
  • PLY (ASCII and Binary)
  • STL (ASCII and Binary)

Upload any textures alongside the model in JPG, PNG, GIF, BMP format ( just upload all the files at the same time and the converter will handle the rest ).

Not all three.js loaders have been implemented, however adding a new one is quite simple. Pull requests are welcome, or open an issue if you need a loader added.

Limitations

  • The exporter currently always exports MeshStandardMaterial. Other materials will be converted to this material type and may lose information
  • Models are loaded using three.js loaders. Some of these (FBX, Collada, OBJ, glTF) support pretty much everything that you can throw at them. Others are more limited, however if you upload a model and it doesn't even display in the original preview below, you can help improve the loaders by filing a bug report and sharing your model.
  • Color management on the viewer is not correct, so the "Result" window will look darker. You can safely ignore this.

All conversion happens on your PC, at no point are any models or textures uploaded to my server or stored in any way.

gltf-converter's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar looeee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gltf-converter's Issues

Support for TGA texture

Can you add support for TGA textures ? I got this error when loading FBX model with TGA textures.


Warnings
FBXLoader: TGA loader not found, creating placeholder texture for

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.