New upgrades for Luxsi;
- new option "Export smooth meshes"
- corrected; before (" x, y, z = x, - z, y") and ("up" = 0, 0, 1"), now; ("x, y, z = x, y, z") and ("up" = 0, 1, 0")
- Code: Select all
CVector3 new_pos = gt.GetTranslation();
CVector3 new_pos_ci = ci_gt.GetTranslation();
// are not need "CString" type, CVector3 is a double precision floating point x,y,z coordinates.
//f << "LookAt " << CString(new_pos.GetX()).GetAsciiString() << " " <<CString(-new_pos.GetZ()).GetAsciiString() << " " << CString(new_pos.GetY()).GetAsciiString() << "\n";
f << "LookAt " << new_pos.GetX() << " " << new_pos.GetY() << " " << new_pos.GetZ() << "\n";
f << " "<< new_pos_ci.GetX() << " " << new_pos_ci.GetY() << " " << new_pos_ci.GetZ() <<"\n";
f << " 0 1 0 \n";
f << "Camera \"" << vProj.GetAsciiString() <<"\" \"float fov\" [" << vfov << "] \"float lensradius\" ["<< CString(vLensr).GetAsciiString() <<"] \"float focaldistance\" ["<< CString(vFdist).GetAsciiString() <<"]";
f << "\n\n";
}
-"UV map" works now in a correct way.
The video from Vimeo...
http://www.vimeo.com/16303750Greetings...