Skip to content

Importing .mtl files for .obj files #1607

Answered by ffreyer
huynmela asked this question in Q&A
Discussion options

You must be logged in to vote
  1. WGLMakie doesn't have matcaps so it just uses whatever color is set.
  2. Maybe you're trying to render a normal texture as a matcap? Try color = texture_pic instead. (Matcaps are textures that use normals to map color onto a mesh. Afaik that usually only includes front facing normals so there isn't much transforming you can do.) The loading is done by FileIO/MeshIO. I'm not aware of any mtl loading capabilities. Makie also doesn't have a clean concept of materials yet (well maybe RPRMakie does)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by huynmela
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants