Design 1, Design 3 (Computer and Video Games) | |
Unit 13 - 25th December 2001 |
Using Solosnake's ASE to Unreal Converter
As we saw earlier, using .dxf Files for importing models into Unreal has certain disadvantages. One of those is the fact that models added as brushes cannot be displayed with smooth edges. Another one is that textures carefully attached to your model in a 3D programme won't transfer to UNREAL. Dáire "Solosnake" Stockdale wrote a piece of code, which does the transformation from Studio Max to .t3d format, which is a brush import format for UNREAL and contains the information about texture coordinates. Download Solosnakes's ASE2T3D Converter here.
Let's suppose we have modeled and textured a creature in 3D Studio Max. (Actually the model was exported from Lightwave and given the silly blue and white carneval skin in Studio Max.) In the File menu you will find the Export submenu and may select "Max ASCII (.ase)" as the format of your choice. The resulting .ase file is an ASCII file, starting with the lines underneath and followed by a long list of mesh vertex and mesh face descriptions. |
![]() |
*3DSMAX_ASCIIEXPORT
200 |
Screenshot from the StudioMax Export Dialogue field. |
*GEOMOBJECT
{ *NODE_NAME "object" *NODE_TM { *NODE_NAME "object" *INHERIT_POS 0 0 0 *INHERIT_ROT 0 0 0 *INHERIT_SCL 0 0 0 *TM_ROW0 1.0000 0.0000 0.0000 *TM_ROW1 0.0000 1.0000 0.0000 *TM_ROW2 0.0000 0.0000 1.0000 *TM_ROW3 0.0000 0.0000 0.0000 *TM_POS 0.0000 0.0000 0.0000 *TM_ROTAXIS 0.0000 0.0000 0.0000 *TM_ROTANGLE 0.0000 *TM_SCALE 1.0000 1.0000 1.0000 *TM_SCALEAXIS 0.0000 0.0000 0.0000 *TM_SCALEAXISANG 0.0000 } *MESH { *TIMEVALUE 0 *MESH_NUMVERTEX 403 *MESH_NUMFACES 790 *MESH_VERTEX_LIST { *MESH_VERTEX 0 33.0000 202.0000 114.0000 |
|
|
Next thing to do is to open solosnake's ASE-T3D converter, and to set the input filename and output filename. (I did not find out how to type the T3D filename into the filename requester box, so I use to select another .t3d file and change the name afterwards.) What we get as a .t3d file is something like that: Begin Brush
Name=fox And so forth untill we reach polygon number 789. |
The only way I found to have the texture name included with the .t3d file is to insert it manually.
I change
Begin Polygon Flags=32768 Link=0
to
Begin Polygon Item=OUTSIDE Texture=fox_skin Flags=32768 Link=0
for each of the lines in the .t3d file. Solosnake told me however that this bug has been corrected in the most recent update of his software.