:orphan:

##############
COLLADA Reader
##############

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

+----------------------------------------------------------------------+
|                        **COLLADA**                                   |
+-----------------------------------------+----------------------------+
| **File Extension**                      | DAE                        |
+-----------------------------------------+----------------------------+
| **Supported Versions**                  | Any                        |
+-----------------------------------------+----------------------------+
| **Platforms**                           | |wy| |ly| |my| |an| |iy|   | 
+-----------------------------------------+----------------------------+
| :ref:`collada_tessellation`             | |t_green| Supported        | 
+-----------------------------------------+----------------------------+
| :ref:`collada_brep`                     | |c_grey| N/A               | 
+-----------------------------------------+----------------------------+
| :ref:`collada_pmi`                      | |c_grey| N/A               |
+-----------------------------------------+----------------------------+

The file extensions of COLLADA files that you can expect to be loaded by HOOPS Exchange include:

* `.DAE`

How to Import From COLLADA 
==========================

To load a COLLADA file, use :cpp:func:`A3DAsmModelFileLoadFromFile`.
The :cpp:struct:`A3DParamsLoadData` structure is used to customize the loading behavior:

.. code-block:: c

   A3DAsmModelFile* pModelFile = 0;

   A3DRWParamsLoadData sReadParam;
   A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
   sReadParam.m_sGeneral.m_bReadSolids = true;

   // ... set other A3DRWParamsLoadData fields as necessary

   A3DAsmModelFileLoadFromFile("path/to/file.dae", &sReadParam, &pModelFile);

See :doc:`/guide/basic_operations/load_model` for more about loading model files.

.. _collada_tessellation: 

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

The triangle information is parsed and provided via HOOPS Exchange.

.. _collada_brep: 

B-rep
=====

This concept is not supported by COLLADA.

.. _collada_pmi: 

PMI
===

This concept is not supported by COLLADA.

Assembly
========

This concept is not supported by COLLADA.

Textures
========

Textures are fully supported when parsing COLLADA.

Views
=====

This concept is not supported by COLLADA.
