Convert OFF to JPG
Turn OFF models into JPEG. The faces drawn from the front, right and above in an orthographic view with Y taken as up, fit to 1024 pixels on the longer side unless width or height says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop OFF files on the dialor turn it to pick what to do
A mesh drawn as three JPG views.You get one JPG that shows your OFF model from the front, right and above.
What you get
A single JPG with the faces drawn from three sides: front, right and above. The views are orthographic, with Y taken as up. The longer side is fit to 1024 pixels unless you set Width or Height.
One light from the upper left shades the faces. Faces use their vertex colors, and light gray where the file has none. The background is white unless you set Background.
Size and quality
Set Width (px) and Height (px) together to fix the exact frame. The model is centered in it. With only one of them, the other follows the aspect ratio. With both, the picture can be stretched.
Quality is 90 unless you change it. Above 90 the file grows quickly while the picture barely changes. Set Background to a color written as #RRGGBB to replace the white.
Colors that come out white
Vertex colors must be written from 0 to 1. Colors written from 0 to 255 come out white. JPG is lossy, so the picture keeps less detail than the render itself.
To change the result afterward, you can resize JPG or compress JPG.
OFF and JPG.What each format is, and the options this conversion takes.
- 01 · background
Background
The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.
default #ffffff - 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 8192 - 03 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 04 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 8192
The formats
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
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same OFF to JPG conversion through the API, for your app or your agent.
$ cv convert model.off model.jpg$ cv convert model.off model.jpgQuestions.What people ask about OFF to JPG.
It shows the front, right and above, drawn as orthographic views with Y taken as up.
Its vertex colors are probably written from 0 to 255. Colors in that range come out white, so write them from 0 to 1.
The faces are drawn in light gray and shaded by one light from the upper left.
Yes. Set Width (px), Height (px) or both, each from 1 to 8192. With both, the model is centered in the exact frame.