elm-obj-file icon indicating copy to clipboard operation
elm-obj-file copied to clipboard

Encode and decode 3D geometry in the OBJ file format

Results 4 elm-obj-file issues
Sort by recently updated
recently updated
newest added

Closes #2 This adds support for tangents generation functionality: ``` normalMappedFaces : Obj.Decode.Decoder ( TriangularMesh.TriangularMesh { position : Point3d.Point3d Length.Meters coordinates , normal : Vector3d.Vector3d Quantity.Unitless coordinates , uv :...

Tangents would allow rendering with [normal mapping](https://en.wikipedia.org/wiki/Normal_mapping). Tangent can be calculated from positions and uv of three vertices from a face. TBD: a tangent probably needs to store an additional...

This can potentially happen under the hood for `Obj.Decode.faces` and `Obj.Decode.texturedFaces`. Right now they would fail if the normals are missing. Not sure how big of a deal this actually...

Just wanted to open this to save someone an hour or two some day in the future. Above a certain number of vertices seems to run into the ["Too much...