networking - Maxscript, backburner rendering renderElements -


i have made script takes files directory, , sends them backburner network rendering. when run script renders fine without render elements dont show in backburner monitor nor save. if open of files manualy , send them render backburner works fine, not script? render element vrayalpha, dont think matters.

this code im using

on btnrender pressed (     outputfilesdir = textmodelsout.text + "*.max"     torender = getfiles outputfilesdir     man = netrender.getmanager()      man.connect #automatic "255.255.255.0"     man.getcontrol()       s in torender      (         rendermodelpath =  getfilenamepath s  + filenamefrompath  s         job = man.newjob file:rendermodelpath         job.submit()     )     man.disconnect()  ) 

and quote maxscript documentation, says render element data not available processed.

jobs can not have maps included, , render element data not available submitted job render elements process correctly. these problems resent when submitting job file, not when submitting current scene.

anyways solution use job.newjob() open each scene , submit current scene.

you should include code (or @ least of it) can check issues , test our selves.

however, use struct called netrenderautomation, developed gravey. can find here:

http://forums.cgsociety.org/showthread.php?f=98&t=1059510&page=1&pp=15

i haven't had problems it, , easy use, , allowed modify it, if need special features self.

hope can use answer. else feel free post code, , i'll it.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -