Convert OFF to GLB

Turn OFF models into GLB. The faces as one mesh with their vertex colors, coordinates unchanged.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop OFF files on the dialor turn it to pick what to do

An OFF mesh as one GLB file.The faces become one mesh with their vertex colors. Coordinates stay unchanged.

  1. What you get

    A single GLB file. OFF is a plain list of vertices and faces, and GLB is glTF 2.0 in one binary file. The faces are written as one mesh, and each vertex keeps its color.

    The coordinates are not changed, so the shape has the same positions in the GLB as in the OFF file.

  2. Check your colors

    Colors written from 0 to 255 instead of 0 to 1 come out too bright. If your OFF file uses the 0 to 255 range, expect the GLB to look brighter than the original.

  3. When it fails

    The conversion stops with input_corrupted when the file could not be parsed. No GLB is produced in that case.

    For other conversions of these formats, see every OFF conversion or every GLB conversion.

OFF and GLB.What each format is.

The formats

From · OFF

OFF Mesh

The Object File Format from geometry research. A plain list of vertices and faces.

Extensions
.off
MIME type
model/x-off
Kind
3D models
To · GLB

glTF Binary

glTF 2.0 in one binary file with meshes, materials and textures. The web's 3D format.

Extensions
.glb
MIME type
model/gltf-binary
Kind
3D models

In your code.The same OFF to GLB conversion through the API, for your app or your agent.

terminal
$ cv convert model.off model.glb
$ cv convert model.off model.glb

Questions.What people ask about OFF to GLB.

01OF 04

No. The coordinates stay unchanged.

Yes. The faces become one mesh with their vertex colors.

The colors in your OFF file are probably written from 0 to 255 instead of 0 to 1. Those values come out too bright in the GLB.

The conversion stops with input_corrupted when the file could not be parsed.

More conversions.Other ways in and out of OFF and GLB.