MeshLink can be found in "Create-Panel --> Geometry --> Guruware"
A procedural object for loading single files or file-sequences using supported importers (for now OBJ and PLY, see gw::PlyImp).
To support your custom importers, they need to use an ImporterExtension Interface - contact me if you want to know more about it.
You can also load an "Object-File-List" (*.ofl), this files are similar to Image File Lists (*.ifl)
rot: any +/- combinations, how many times to rotate about x-axis by 90 degree
some.obj | +++ --> rotates 270° clockwise about x-axis
some.obj | - --> rotates 90° counter-clockwise about x-axis
some.ply | +- --> doesnt rotate at all
Included is a slightly improved obj-importer.
This is the same importer which comes with 3dsmax, but with some minor bug-fixes, speed-improvements,
vetexcolor-import and a redesigned importer-dialog.
The Importer is only used in combination with this procedural object, and will NOT show up in the default importer-list.
Importers have a "Auto-Update"-checkbox, for live updates on config change.
Imported materials are Physical Materials.
Tooltips show MXS-property names and data-type.
- importers [int]
- enabled [bool]
- filename [string] - eq. for sequence filename=d:/some_path/afile534.obj
takes all files named afile with exact 3 digits at end (files with 4 digits are ignored)
afile534.obj doesnt have to exist
- singleFile [bool]
- useSequenceMaterial [bool]
- showVertexColors [bool]
- scale [float] animatable
- usecache [bool]
- freeMem [int]
- playbackType [int]
- playbackStart [int]
- playbackEnd [int]
- playbackRate [float]
- playbackFrame [float] animatable
- playbackSnapFrames [bool]
- outOfRangeType [int]
bool LoadCache(string) - filename
bool SaveCache(string) - filename
void Verbose(int) - set to 1 to print some info to mxs-listener while caching
Main Params, here a single file or a file-sequence can be loaded using supported importers.
Supported importers can be configured here.
Importer configurations are stored per object instance, and saved with a max-file.
Cache Params define if loaded meshes are cached for faster playback.
Caches can be loaded/saved for later use.
Playback Params define how the loaded sequence is played back.
Playback works like in PointCache-Modifier.
Sub-Frame meshes are calculated if possible (frameA and frameB have same number of vertices/normals/uvs/...).
Out-of-Range types can be set as needed.
Icon Params define how the viewport-icon is show in the viewports.
The Axis-Tripod shows the orientation and scale of imported file/file-sequence.