Skip to content

Color/texture embeded in an .obj file #840

Answered by vsg-dev
Joaopmoliveira asked this question in Q&A
Discussion options

You must be logged in to vote

.obj files are currently loaded by the vsgXchange:assimp loader . You can list the available options by using vsgconv --features i.e.

$ vsgconv --features vsgXchange::assimp

The relevant part is:

   vsg::Options::Value      type
    -------------------      ----
    crease_angle             float
    discard_empty_nodes      bool
    generate_sharp_normals   bool
    generate_smooth_normals  bool
    two_sided                bool

There isn't any option listed for colours so I expect what you are seeing is simply a mapping of what vsgXchange::assimp is doing with what assimp provides from loading the .obj. The discrepancy could be due to vsgXchange::assimp or assimp, or perhaps just an od…

Replies: 1 comment

Comment options

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