3d models format support
Add support for 3D models (3ds, dxf or obj) for all types of Gfx content
I would love to see .W3X or .W3D file format support. CnC3 and RA3 used .W3X files for all 3D objects (IIRC).
http://www.ppmsite.com/forum/index.php?f=112
EDIT, useful links for modders: http://www.cnclabs.com/downloads/details.aspx?id=238 https://github.com/huwpascoe/w3d_blender
From I comment I made on ppm:
it would actually be quite straightforward for us to add 3D model support to OpenRA. Our voxel parser converts the voxel data into a model (with some special properties) at load time, and so all we would need to do is define an alternative format that gives the engine the polygon and texture data in the format it expects directly. These would be limited to relatively simple/low complexity models, so I wouldn't recommend it for infantry or buildings.
The properties of this (so far theoretical) model format would be:
- The same animation setup as voxels, using named sections/limbs and an external hva.
- A single embedded texture (say 256x256 or 512x512 px) that is rendered using one of the in-game palettes.
- An embedded normal map matching the color texture, using the same index/direction assignments as the ra2 (format 4) voxels.
The only tricky part would be writing a converter to generate these files, but it may be possible to reuse parts of an existing 3d -> voxel converter if someone wanted to take on that challenge.
This would be more restrictive than W3D or a general format, but significantly more likely to be implemented.