yes, that was the problem.
Anyway thanks for the help, uvw looks fine with your code.
Moderators: Ratow, hedphelym, coordinators



format "Camera \"perspective\" \"float fov\" [45]\n" to:tmpLxs
format "Film \"fleximage\"" to:tmpLxs
format "\"integer xresolution\" [%]" renderwidth to:tmpLxs
format "\"integer yresolution\" [%]" renderheight to:tmpLxs 
fn dumpcam = (
for c in cameras do (
if iskindof c camera do (
format "LookAt % % %\n % % %\n % % %\n\n" c.position.x c.position.y c.position.z c.target.position.x c.target.position.y c.target.position.z (c.position.x*(-1)) (c.position.y*(-1)) (c.position.z*(-1)) to:out_file_scene
format "Camera \"perspective\"" to:out_file_scene
format " \"float fov\" [%]\n" c.fov to:out_file_scene
format " \"float screenwindow\" [-1.000000 1.000000 -0.750000 0.750000]\n\n" to:out_file_scene
)
)
)macroScript Macro_LR category:"Luxrender" buttontext:"LR Render" tooltip:"Render in Luxrender"
(
on execute do (filein "LuxRender.ms")
)Return to LuxMax (Autodesk 3Ds Max Exporter)
Users browsing this forum: No registered users and 1 guest