There is no spoon
Difference between revisions of "Legacy:T3D StaticMesh"
From Unreal Wiki, The Unreal Engine Documentation Site
(T3D sample Brush data added) |
|||
Line 4: | Line 4: | ||
ucc batchexport myPackage T3D StaticMesh | ucc batchexport myPackage T3D StaticMesh | ||
− | Sample File: | + | Sample File: Some basic triangle in Unreal Editor |
− | + | ||
[[File:T3DSM_TriangleUED.png]] | [[File:T3DSM_TriangleUED.png]] | ||
Line 26: | Line 25: | ||
T3D Brush Drawing:<br> | T3D Brush Drawing:<br> | ||
− | [[File:T3DSM_BrushDraw.png]] | + | [[File:T3DSM_BrushDraw.png]]<br> |
+ | T3D Brush data:<br> | ||
+ | <uscript> Vertex -00128.000000,+00128.000000,+00000.000000 | ||
+ | Vertex -00128.000000,-00128.000000,+00000.000000 | ||
+ | Vertex +00128.000000,+00128.000000,+00000.000000</uscript> | ||
T3D StaticMesh Drawing:<br> | T3D StaticMesh Drawing:<br> | ||
[[File:T3DSM_Draw.png]] | [[File:T3DSM_Draw.png]] |
Revision as of 02:03, 15 October 2009
T3D Staticmeshes files are generated with the UCC command in order to export all StaticMeshes data from package or level. It creates one .t3d file for each unique staticmesh found in the package. They are exported using this command: ucc batchexport myPackage T3D StaticMesh
Sample File: Some basic triangle in Unreal Editor
Begin StaticMesh Name=TriOriginal Version=2.000000 BoundingBox.Min.X=-128.000000 BoundingBox.Min.Y=-128.000000 BoundingBox.Min.Z=0.000000 BoundingBox.Max.X=128.000000 BoundingBox.Max.Y=128.000000 BoundingBox.Max.Z=0.000000 Begin Triangle Texture SMTest.Tex.256x256 //Texture applied to the triangle SmoothingMask 0 //Unknown effect Vertex 0 128.000000 128.000000 0.000000 1.000000 0.000000 //Vertex Coordinates (x,y,z)+ Texture U,V data Vertex 1 -128.000000 -128.000000 0.000000 0.000000 -1.000000 Vertex 2 -128.000000 128.000000 0.000000 0.000000 0.000000 End Triangle End StaticMesh
The vertices are ordered differently from the last one to the first one if we compare with T3D brush.
T3D Brush Drawing:
T3D Brush data:
Vertex -00128.000000,+00128.000000,+00000.000000 Vertex -00128.000000,-00128.000000,+00000.000000 Vertex +00128.000000,+00128.000000,+00000.000000