:orphan:

###########
VRML Writer
###########

.. rst-class:: format-title-block

+----------------------------------------------------------------------+
|                        **VRML**                                      |
+-----------------------------------------+----------------------------+
| **File Extension**                      | VRML                       |
+-----------------------------------------+----------------------------+
| **Supported Versions**                  | 1.0 and 2.0                |
+-----------------------------------------+----------------------------+
| **Platforms**                           | |wy| |ly| |my| |an| |iy|   | 
+-----------------------------------------+----------------------------+
| :ref:`vrml_wr_tessellation`             | |c_green| Supported        | 
+-----------------------------------------+----------------------------+
| :ref:`vrml_wr_brep`                     | |c_grey| N/A               | 
+-----------------------------------------+----------------------------+
| :ref:`vrml_wr_pmi`                      | |c_grey| N/A               | 
+-----------------------------------------+----------------------------+

VRML (Virtual Reality Modeling Language) is a file format used to create 3D interactive scenes and objects for the web. It was developed in the 1990s to represent virtual reality environments in a standard format that could be easily shared and viewed over the internet. VRML files contain information about the geometry, appearance, and behavior of 3D objects and can include textures, colors, animations, and interactivity.

VRML is a triangle format and our VRML writer allows developers to export the triangle representation of the model which includes coloring. The file extensions that you can create when you export the data are:

* .VRML
* .WRL


How to Export to VRML
=====================

To export a model to VRML, use :cpp:func:`A3DAsmModelFileExportToVrmlFile`.

.. code-block:: c

   A3DAsmModelFileExportToVrmlFile(m_psModelFile, sExport.m_psFileName);

   
.. _vrml_wr_tessellation: 

Tessellation
============

HOOPS Exchange will tessellate the model according to user defined tolerances and export the model as a valid VRML file. RGBA coloring will be included in the export.

.. _vrml_wr_brep: 

B-Rep
=====

This format does not support the concept of a B-rep.

.. _vrml_wr_pmi: 

PMI
===

PMI is a concept not supported by this format.

Assembly
========

This format does not support a concept of an assembly.

Views
=====

Views are a concept not supported by this format.

Limitations
===========

Textures are not currently exported to VRML.
