3 Home
Cedric Steiert edited this page 2024-11-06 22:36:03 +01:00

Web3D X3D/VRML2

📝Reference

Category: Import-Export
Menu: File --> Import/Export --> X3D Extensible 3D (.x3d/.wrl)
Website: https://extensions.blender.org/add-ons/web3d-x3d-vrml2-format/

Usage

Import file formats

  • .x3d
  • .wrl

Export file formats

  • .x3d

Properties

Import (.x3d/.wrl)

General

Import as collection
Import each file inside a collection named after its own filename for better scene structure.

Transform

File Unit Select the unit type of the file to be imported. Most programs assume meters as per x3d specification, however some may not. Changing this to [Meter, Decimeter, centimeter, Millimeter, Inch] will change the Scale fields value to account for the unit difference between blender (meter) and the file. Use CUSTOM to set the scale value field manually.

Scale Scale factor used when importing an object. Set File Unit to CUSTOM to change it's property manually.

Forward / Up Axis
Since many applications use a different axis for 'Up', these are axis conversions for Forward and Up axes. By mapping these to different axes, you can convert rotations between applications' default up and forward axes.

Blender uses Y forward, Z up (since the front view looks along the +Y direction). For example, it's common for applications to use Y as the up axis. In that case, -Z forward, Y up is needed. Default: -z forward, y up.

Mesh

Solidify Enable this to add a solidify modifier to each imported mesh with the Solidify Value as width. This feature got introduced as solid FALSE gets not applied inside blender to the mesh (as it would only affect the viewport and not the render due to proper material setup), so the user can account for it. Please give feedback wether you always want the modifier to be added to meshes with solid FALSE.

Solidify Value Value used as width for solidify modifier. To change, enable Solidify above.

File format specifics

VRML (.wrl)

  • currently supported nodes: TODO

X3D (.x3d)

  • TODO

Export (.x3d)

note: a basic .wrl exporter is in the pipeline to be implemented and added to the extension in the future. Still, could take a while...

Include

Limit to ... Selection Only
When checked, only selected objects are exported. Instanced objects, such as collections that are instanced in the scene, are considered 'selected' when their instancer is selected. Can be chained with the other limit options.

Limit to ... Visible Only
When checked, only visible objects are exported. Can be chained with the other limit options.

Limit to ... Active Collection
When checked, only object from the active collection are exported. Can be chained with the other limit options.

Include data ... Hierarchy
Export parent child relationships. By default enabled.

Include data ... Named Decorations
Add prefixes to the names of exported nodes to indicate their type. By default enabled.

Include data ... H3D Extensions
Export GLSL shaders for H3D. WARNING: This feature is disabled for blender versions higher than 2.79 as the needed API method for exporting shaders got removed from blender. This feature may get fixed eventually, but no support expected.

Transform

File Unit Select the unit type of the file to be exported. Most programs assume meters as per x3d specification, however some may not. Changing this to [Meter, Decimeter, centimeter, Millimeter, Inch] will change the Scale fields value to account for the unit difference between blender (meter) and the file. Use CUSTOM to set the scale value field manually.

Scale
Scale factor which should gets used before export. Deafult: 1.0. Set File Unit to CUSTOM to change it's property manually.

Forward / Up
Since many applications use a different axis for pointing upwards, these are axis conversion settings for Forward and Up axes. By mapping these to different axes, you can convert rotations between applications' default up and forward axes.

Blender uses Y forward, Z up (since the front view looks along the +Y direction). For example, it is common for applications to use Y as the up axis. In that case, -Z forward, Y up is needed. Default: -z forward, y up.

Geometry

Apply Modifiers
Export objects using the evaluated mesh, meaning the resulting mesh after all Modifiers have been calculated. By default enabled.

Triangulate
Write quads into 'IndexedTriangleSet'.

Normals
Write normals with geometry.

Compress
Compress the exported file.

File format specifics

VRML (.wrl)

  • currently supported nodes: TODO

X3D (.x3d)

  • TODO