Convert OFF to PNG
Turn OFF models into PNG. 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 picture of your 3D model from three sides.You get one PNG with the front, right and top views of the mesh.
What you get
A single PNG that shows the faces of the OFF mesh drawn from the front, from the right and from above. The views are orthographic, with Y taken as up.
One light from the upper left shades the model. Vertex colors are used where the file has them, and light gray where it has none. The background is transparent.
Size of the picture
The picture is fit to 1024 pixels on the longer side. Set Width (px) or Height (px) to change that. One of them alone sets that side, and the other side follows the aspect ratio.
Set both to fix the exact frame, with the model centered in it. The picture can be stretched when both are given. Each accepts 1 to 8192.
Colors to watch
Colors written from 0 to 255 instead of 0 to 1 come out white. If your model looks white, check the range of the colors in the file.
OFF and PNG.What each format is, and the options this conversion takes.
- 01 · 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 - 02 · 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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same OFF to PNG conversion through the API, for your app or your agent.
$ cv convert model.off model.png$ cv convert model.off model.pngQuestions.What people ask about OFF to PNG.
No. It is a flat picture of the views. The mesh itself is not stored in it.
Yes. The model is drawn on a transparent background.
Colors written from 0 to 255 instead of 0 to 1 come out white. Models with no colors are light gray.
Yes. Set both Width (px) and Height (px) for the exact frame. The model is centered in it, and the picture can be stretched. To change the size of a PNG later, use resize PNG.