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

Is there any way to get calculated tangent and bitangent for normal mapping? #13

Open
jagsrajput21 opened this issue May 8, 2018 · 2 comments

Comments

@jagsrajput21
Copy link

No description provided.

@javagl
Copy link
Owner

javagl commented May 8, 2018

There is no built-in way to do this right now.

On the one hand, something like this would not really fit into the library conceptually, because the OBJ file format does not have the concept of tangents or bitangents.

On the other hand, it would be a very reasonable and useful extension for the goal to provide the geometry data of OBJ in a renderable form. (This would go hand in hand with a utility method to compute the normals (if they are not contained in the OBJ file)).

I'll definitely consider this, but cannot make any promises yet.

@jagsrajput21
Copy link
Author

Thanks. It would be great if you include this in it.

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