Announcement

Collapse
No announcement yet.

Render To Texture via Backburner per Maxscript??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Render To Texture via Backburner per Maxscript??

    Dear users,

    I want to tell Max via script to submit a job to the renderfarm in texture baking mode. I don’t know what to code to tell max to connect to the backburner and submit a render to texture job directly without using the gui and connecting manually.

    These are several independent code fragments that I found, but none of them is suitable:

    1. object teapot is submitted as render to texture, “network job assignment"-window is opened, waiting for user input:

    NetworkRTT($Teapot01)

    2. selected object will be rendered in texture baking mode, but locally:

    render rendertype:#bakeSelected frame:nFrame to:_networkRender_BM vfb: off cancelled:&wasCanceled

    3. scene is submitted to the renderfarm, but from the Camera as still rendering or animation, not in texture baking mode:

    netManager = NetRender.GetManager()
    netManager.connect #manual "holodeck"
    job = netManager.newJob()
    job.submit()

    Another chance for me would be to address the Render to Texture Dialog box of max directly. But how can I achieve this? If I open it with Maxscript, it is not instantly available to the global variable gTextureBakeDialogue. Why?
    -> Correction, in max2009, it seems to be fixed, means, the Texture Bake Dialog is instantly available via "gTextureBakeDialog" as soon as it is open. In Max8 this was not the case.

    Can anybody help? Thanks in advance

    Robert
    Last edited by Robert1977; 27-05-2009, 12:34 PM.
    Robert

    Max, VRay, Fusion:

    https://www.youtube.com/watch?v=g5fSLrVzpxg
    https://www.youtube.com/watch?v=bpmJgTb_9Ro
Working...
X