Everything related to http://resources.maxwellrender.com
#292738
hello all :D

edit*************
added video tutorial :idea:

http://www.mediafire.com/file/myw1gmtnf ... torial.avi

****************

i am happy to share with you a partial workaround for the mxi batch conversion problem:

the problem:

-converting an X number of mxi into another file format automatically
-the choice to applying simulens features ("rightside controls") on all these images

the workaround:

a layer between windows and mxcl -d:

http://www.autohotkey.com/

http://www.autohotkey.com/forum/

Autohotkey is a mighty of a tool, check the hompage to find out what it can do and check if you feel like installing it.

For us it will automate and manage the input into the maxwell render window, automatically batching a sequence of mxi files we define in a script.

the limitations:


- only converts files with identical filenames and consecutive numbering at a time
naming needs to be in the following manner:

filename_1.mxi
filename_2.mxi
..
filename_10.mxi
..



- no option for adjusting multilight or any "leftside controls" like iso/shutter

- scattering will not work

- Only on english WINDOWS

- the current script will support maxwell 1.7.1 only.. it will need to be adapted for new releases, but that should not be a problem

- it alway tries to write the last file in sequence twice.. thanks to my limited coding ability i could not find out how to stop it from doing so.. but it is not a show stopper, just press no if it asks you... if anyone knows a solution plz tell so i can update this post!
-----------------------------------------------------------------------

important info:

this script is given as is! it worked for me and it should work for everyone following the instructions, but i can not be responsible if it causes you any trouble - use at your own risk!

please always work with copys of the original mxi !

STEP1:

download and install autohotkey on your computer

STEP2:

copy paste the script below into your text editor and save as something like BATCH_MXI.ahk

STEP3:

convert your files into the right numbering scheme (no leading zeros)
i use XNview's renaming feature. works great!

STEP4:

start mxcl -d and read the instructions given in the header of the script!

-------------------------------------------------------------------------

this sounds complicated.. actually it is a little bit... but you'll manage :)

enjoy,

:p
Code: Select all
; MXI Batch conversion script v0.1 

; script created by polynurb with help from the great resources and helpful people found at the autohotkey forum 

; released to the Maxwell Community for the sake of peacefull batching  

; QUICKSTART:

; these are your options:

;"firstFileNumber" sets where in the sequence to start from. naming convention strictly "number" WITHOUT ANY ZEROS!

;"iterationNumber" sets how many files are processed counting up from "firstFileNumber"

; "fileName" sets the PATH and FILENAME_ to be used for batching. 

; "%fileName%.jpg" in second last row replace filetype as needed (.jpg/.hdr/.png...etc.)

; please edit macro for use with 32 bit version as described below

; open mxcl -d BEFORE running the script

; if you need SIMULENS/SCATTERING/VIGNETTING also set these parameters before running the script - they will be applied to all images 

; use a freeware tool to number images correctly for batching. XN works great!

firstFileNumber = 1
iterationNumber = 100


firstFileNumber--
Loop %iterationNumber%
{
   fileName := "C:\YourRenders\yourFile_" . (A_Index + firstFileNumber)
   Gosub ProcessFile
}

ProcessFile:

; This is the macro - exchange win64 with win32 as needed!

WinWait, Maxwell Render® 1.7.1 - win64,
IfWinNotActive, Maxwell Render® 1.7.1 - win64,, WinActivate, Maxwell Render® 1.7.1 - win64,
WinWaitActive, Maxwell Render® 1.7.1 - win64,
Send, {CTRLDOWN}{SHIFTDOWN}o{SHIFTUP}{CTRLUP}
WinWait, Open MXI, Files of &type:
IfWinNotActive, Open MXI, Files of &type:, WinActivate, Open MXI, Files of &type:
WinWaitActive, Open MXI, Files of &type:
Send, %fileName%.mxi{ENTER}
WinWait, Maxwell Render® 1.7.1 - win64,
IfWinNotActive, Maxwell Render® 1.7.1 - win64,, WinActivate, Maxwell Render® 1.7.1 - win64,
WinWaitActive, Maxwell Render® 1.7.1 - win64,
Send, {CTRLDOWN}{ALTDOWN}s{ALTUP}{CTRLUP}
WinWait, Save image dialog, Save as &type:
IfWinNotActive, Save image dialog, Save as &type:, WinActivate, Save image dialog, Save as &type:
WinWaitActive, Save image dialog, Save as &type:
Send, %fileName%.hdr{ENTER}


Return

I'm working with Maya and when I place MXS referen[…]

Porcelain test with SSS

Never worked with Keyshot but that does look like […]

Renders my own stuff

thank you for the comments, i'm encouraged to do m[…]

Fernando, I believe in you to solve this problem ![…]