Comments (3)
Thanks! In the past couple days, after bouncing around the web- I eventually landed on glTF... seems like I'm going to be putting my energy more into trying to make that work as opposed to Obj parsing... but I have a lot to learn and your repo is one of the rare resources out there to learn from!
from webgl-obj-loader.
Thank you for your comments!
gltf is a very nice format for many reasons, one of them being that it has standardized its material parameters around a metallic/roughness PBR workflow. As a warning, your linked articles from webglfundamentals.org cover a blinn-phong shading model, which means you'll either need to do some conversion or learn from a different resource.
The cook-torrance paper has all the details, but it's not exactly easy reading. There are some really good notes from epic too.
from webgl-obj-loader.
Thanks for making this issue! It's always encouraging to see people using this library.
You're absolutely correct that the documentation is (severely) lacking for MTL support. We have been trying to add support for MTL's in phases with the actual code being the bulk of the support and the documentation is a part of the last phase. Part of my goal for the documentation is to convert the single README to a full suite of documentation including API specifics as well as tutorials/examples of how to use each component of this library.
As you can imagine, performing such a task requires a lot of time and I haven't had much to be able to devote to this library lately (at least, not since the implementation of the MTL support). However, this issue is a great reminder of the importance of this library for beginners to WebGL, so I will try my best to bump the priority of the webgl-obj-loader and add documentation soon.
from webgl-obj-loader.
Related Issues (20)
- Add support for calculating tangents and bitangents HOT 1
- development example dosen't work well. HOT 1
- Texture bug HOT 1
- version is undefined and OBJ is undefined HOT 2
- UV layout, error in the code. HOT 2
- Missing TypeScript header file HOT 4
- Add submesh support HOT 2
- Clarify attribute indexing documentation HOT 5
- Update triangulate() to provide a better triangulation algorithm
- error HOT 3
- 'window' is not defined in node.js HOT 4
- I get "" in filename on the sponza HOT 2
- Wrong parsing when faces is quade with uv HOT 2
- Write better tests for triangulation HOT 1
- Layout.SPECULAR_EXPONENT Attribute size
- error TS2307: Cannot find module 'webgl-obj-loader' HOT 5
- DownloadModels() use. HOT 3
- how do I load a model in webgl2 with multiple material/objects?
- Threejs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgl-obj-loader.