DXMesh Exporter for pnpTC -- Section: DXStudio Goodies --
PnPTCDXStudioFileHMapExportPlugIn: A pnpTC export plugin for *.dxmesh
Recently, I played with PnP TerrainCreator (www.pnp-terraincreator.com). It worked very well, and the documentation and plug-in reference is very detailed. So, I created a plugin for exporting to DXStudio's mesh format '*dxmesh'. It uses Worldweaver's DXMeshAPI 1.0.1 and is mainly based on the plugin reference code by the TerrainCreator people.
Features
This exporter is adapting the programming layout of the pnpTC plugin demos (and re-using quite a lot of their code). Creating quads from heightmap bits, exporting textures, lightmaps and reducing polygons is in. Plus some additional features that might be helpful for using the meshes with DXStudio. There is a chance the plugin will be added to the official pnpTC distribution some time in future. Until this might happen, please download from this site.
Installation
Place the file PnPTCDXStudioFileHMapExportPlugIn.dll into pnpTC's plugin folder, e.g. C:\Programme\PnP TerrainCreator\PlugIns and DXMeshAPI.dll into the main application folder, e.g. C:\Programme\PnP TerrainCreator.
On Startup, pnpTC should detect the new plugin. Do *not* place the DXMeshAPI.dll into the plugin folder of pnpTC. This would cause an error message on startup.
Usage with DXStudio
Please see this DXStudio wiki for usage of pnpTC with the exporter plugin and DXStudio: Wiki-Link.
These are links to pnpTC wiki entries: Graphics and Game Engines and DXStudio.
Bugs of current version (1.4)
* (keep 'em coming!)
Screenshots
History
| 1.0 |
5/1/2009 |
First test release, based on the tutorial on the pnpTC site |
| 1.2 |
5/9/2009 |
Complete overhaul, adapting to the pnpTC exportes demo code |
| 1.3 |
5/16/2009 |
Corrected 'no Delete textures when exporting detail maps' bug. Added 'set lowest terrain to height 0' option. Using DXMesh API 1.0.0 |
| 1.4 |
6/19/2009 |
Adapted to DXMesh API 1.0.1, fixed 'set lowest terrain to height 0' bug, added internal call to optimize mesh before saving |
Downloads: Plug-In
Downloads: Usage Examples
| Description |
File |
Filedate |
Size |
Remarks |
| DXStudio terrain test document |
pnpTC_terrain_test.zip |
5/9/2009 |
2.3 MB |
A DXStudio document (zipped *.dxstudio), using a 4x4 tiled terrain (dxmesh, exported with the plugin).For DXStudio 3.0.29 and up. |
| DXStudio terrain test document with installer |
pnpTC_terrain_test.exe |
5/9/2009 |
15.8 MB |
A DXStudio document including the DXStudio installer, using a 4x4 tiled terrain (dxmesh, exported with the plugin). |
| Exported DXStudio test terrain |
pnpTC_terrain_Tiles_4x4.zip |
5/9/2009 |
2.0 MB |
A exported test terrain. 4x4=16 tiles, lightmap. This is the one used in the demos above. |
|