Imports a 3D model and stores meshes into a chunk in order to be visualized by a object3d-mesh.
This module does not display anything. To display the model use the object3d-mesh module with a chunk-item-get module.
dae, obj, ase files are supported.
Name of the model file. Supported files are:
Number of meshes in the model.
Size of each mesh as an array.
Send a 1 value when the module is processing the operation (load, save, get etc).
A flow-from-1-to-0 must be used to trigger something when the operation is completed or canceled.
Name of the chunk where the model is stored.
Items used to store 3D models
| Data type | Stored in items [1] n is the index of the mesh |
Example keys |
|---|---|---|
| vertices | vertices-00n |
vertices-000, vertices-001, vertices-002, etc. |
| indexes | indexes-00n |
indexes-000, indexes-001, indexes-002, etc. |
| texture coordinates | texcoords-00n |
texcoords-000, texcoords-001, texcoords-002, etc. |
| texture filenames | texture-00n |
texture-000, texture-001, texture-002, etc. |
| specular colors | specular-00n |
specular-000, specular-001, specular-002, etc. |
| diffuse colors | diffuse-00n |
diffuse-000, diffuse-001, diffuse-002, etc. |
| ambient colors | ambient-00n |
ambient-000, ambient-001, ambient-002, etc. |
| mesh names | name-00n |
name-000, name-001, name-002, etc. |
When enabled, the model is normalized to fit within a unit cube and centered at the origin. This ensures that the model is appropriately scaled and positioned for visualization.
Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.
For more details about information/help creation, see create-help-file.
Free multi-line text attached to the module, saved with the patch. It is only meant as an internal note for the patch designer: it is not displayed in the interface.
visible only in god mode, see setup-panel-tab-expert.
Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).
Read-only, not saved. Private ID used to store and recall the values of this control in presets.
Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.
Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.
Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.
Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.
version 7.0.250121
Edit All Pages