Skip to main content

write_vrml

Function write_vrml 

Source
pub fn write_vrml(meshes: &[ExportMesh<'_>]) -> String
Expand description

Write meshes as VRML 97.

One Shape per mesh, each an IndexedFaceSet over its own coordinates, with a material where a colour was given. Written rather than read: VRML is a scene-description language with a great deal in it that is not geometry, and a reader that took only the geometry would be claiming more than it did.