MD2MeshReader
From K-3D
Description
| Reader that loads external MD2 (.md2) files into the document by reference |
| Plugin Status: | Experimental |
| Categories: | All Plugins, Experimental Plugins, MeshReader Plugins |
Metadata
| Name | Value |
|---|
Properties
| Label | Description | Type | Script Name |
|---|---|---|---|
| File | Input file path. | k3d::filesystem::path | file |
| Center on Origin | Center the output mesh around the origin. | k3d::bool_t | center |
| Scale to Size | Scale the output mesh to fit within a fixed-size bounding-box. | k3d::bool_t | scale_to_size |
| Size | Output mesh size when "Scale to Size" is enabled. | k3d::double_t | size |
| Output Mesh | Output mesh | k3d::mesh* | output_mesh |
| Frame | Frame of model | k3d::int32_t | frame |
Description
MeshReader plug-in which is able to load the basic geometry of a Quake MD2 format file.
What this plug-in support
Mesh importing and animation (accessed through Frame property see 'How to use it' for more information)
What this plug-in don't support yet
This plug-in almost do pretty much everything for a reader except texture coordinates which will probably be added on a second iteration.
How to use it
This is a document plug-in type. It can be loaded from the Create submenu on the top menubar. To load a MD2 simply create a MD2MeshReader node
Create->MeshReader->MD2MeshReader
On the node properties panel there is a property called File, click on the browse button on the right and browse for the MD2 file you want to load. Once this is done the file should be seen on the Viewport. Please note that due to differences in the coordinate systems, the geometry might not be seen at first, this might be because either the geometry is too small or too big so try zooming in or out until you see the loaded geometry. To traverse the animation frames use the Frame property on the node properties panel.
Pointer to test
Pending...
Link to further reading
ToDo
Texture coordinates importing

