[Closed] Render Elements
I am scriptin small script where I have to render some renderelements to file. The problem is that I don’t have wound at help how to render elements.
How can I render RenderElements?
Render elements render automatically after you enable them. You get extra render windows under the normal one with your specified elements.
re = maxOps.GetCurRenderElementMgr()
re.removeallrenderelements()
re.addrenderelement (specular elementname:"test_specular")
re.SetRenderElementFileName 0 "C:\\3dsmax6\\maps\ est.png"
rendsavefile = true
render()
I made the elementrendering but when the script render it doesn’t render element and seve it. But when I hit render button it will render ans save all. What is wrong in my render command?
Hi, I just saw this thread and I was having the same problem. After a bit of research I got it from the Discreet Techs that you cannot save these out.
I was trying to get mat IDs so I ended up scripting black and white materials to give me the same result. If you are interested I could discuss other possible options with you.
regards,
Brad