Convert X3D to JPG
Turn X3D models into JPEG. All shapes drawn from the front, right and above in an orthographic view with Y 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 X3D files on the dialor turn it to pick what to do
An X3D scene as a single JPG picture.The model is drawn once, shaded and centered, at quality 90.
What you get
One JPG picture of the X3D scene, drawn in an orthographic view with Y up. The view looks at the shapes from the front, the right and above, and the longer side is fit to 1024 pixels unless Width (px) or Height (px) says otherwise.
One light from the upper left shades each shape in its material color. A shape with no material is light gray. The background is white unless you set Background.
What is left out
Textures are not shown, so a shape with a texture comes out in its material color or in light gray. Cones come out upside down.
JPG cannot be transparent, so transparent areas take the Background color. Set Background as #RRGGBB, such as #ffffff for white.
Size and quality
Set Width (px) or Height (px) to change the size. With one of them set, the other follows the aspect ratio. With both set, the frame is exactly that size, the model is centered in it, and the picture can be stretched.
Quality runs from 1 to 100 and starts at 90. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes. To shrink the result afterward, you can compress JPG.
X3D 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
X3D
The XML successor of VRML for web 3D scenes.
- Extensions
- .x3d
- MIME type
- model
/x3d +xml - 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 X3D to JPG conversion through the API, for your app or your agent.
$ cv convert model.x3d model.jpg$ cv convert model.x3d model.jpgQuestions.What people ask about X3D to JPG.
No. The picture is always drawn in the same orthographic view from the front, the right and above, with Y up.
No. Textures are not shown. Each shape is shaded in its material color, or light gray if it has none.
The longer side is fit to 1024 pixels unless you set Width (px) or Height (px). Each can be set from 1 to 8192.
JPG cannot be transparent. Transparent areas are filled with the Background color, which is white by default.