file

 

Tag: file
Parent tag: scene
Attributes:

  • name (string) – the absolute or relative path and file name

Child tags (none)

The file name can be defined using the absolute path of the file, or the relative path considering the location of the project file.

The allowed file formats are: 3ds, obj, ply, dae, ogre xml mesh, lwo, stl, and nbo. All but the last are popular file formats and Assimp is used to assist loading them. The last format, nbo (nau binary object), is a binary format that has been developed in particular for Nau. A nbo file can be built using Composer, Nau’s GUI.

Example:

<file name="../../models/cube.obj"/>
<file name="D:/Nau/head/models/bench.obj"/>