libigl / libigl/libigl

writeOBJ can take an arbitrary number of dimensions for vertices, but readOBJ can't

Open
#454 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
5.1k
Forks
1.2k
Avg merge
7h 33m
Merged PRs (30d)
8

Description

I can call writeOBJ on a vertex matrix which stores an arbitrary number of dimensions for each vertex, and it will write every dimension out to the OBJ file. However, readOBJ doesn't match this behavior and only supports vertices with three dimensions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the readOBJ and writeOBJ entry points and comparing how each handles vertex dimensions. Check the existing OBJ parsing and writing behavior, then verify that readOBJ accepts the same arbitrary dimensions that writeOBJ emits. Done means round-tripping vertices with more than three dimensions works consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.