Maya 2011 lower tris and polys

hey im trying to import a model that i made in maya 2011 to unity but it has very high tris (150,000) 0_0
how do i export in low resolution with less tris? all thats in the scene is basicly a square and a bunch of spheres.how am i to do this?

Its not possible just to export in lower triangle count. There is optimize tool in Mesh if I remember right. If you still have histories on the spheres, you could just remove vertical and horizontal splits from them to optimize.

Though, if you have bunch of spheres and a square you shouldn’t have 150k tris :slight_smile: I mean, you can fit 35-75 unreal 3 / gears of war quality characters to that amount… :smile:

Do not export a scene with lot of cube and spheres/

If all cubes are the same, export one cube and one sphere separately to unity, create a prefab and then duplicate it at the right coordinate in your Unity scene.

In Maya you can use the following command to get the position and rotation information of each of your objects from a selection :

string $ls[] = `ls -sl -l`;

for ($item in $ls)
{

float $pos[] = `xform -q -a -ws -t $item`;
float $rot[] = `xform -q -a -ws -ro $item`;

print ("\n - " + $item);
print ("\n\t - Position : " +  $pos[0] + ", " +  $pos[1] + ", " +  $pos[2] );
print ("\n\t - Rotation: " +  $rot[0] + ", " +  $rot[1] + ", " +  $rot[2] );
}

This is a light script, but with this kind of code you can after that write infos or your objects in an ASCII file and then loading it in Unity with a custom script :slight_smile:

Anyway, good luck :smile: