Had no response on Autodesk forums.
For some reason, Render to Texture is just completely broken for all versions of Max I currently have installed (2016, 2018 & 2019.) It did previously work when 2016 was the only version on my machine.
I can see the "CompleteMap" like result that's in the preview window but every texture outputs as pure black - with the exception of Normal maps coming out with the correct background colour but nothing else.
Are there any solutions or workarounds here?
I'd prefer to avoid external applications so that my workflow remains fast and contained.
Replies
Sorry, no solution as I haven't used RTT in many years......but....Max 2020 is only around the corner....who knows what it will bring? Enough said.
Arnold will probably have a separate set of commands for RTT - it does in maya. If it's anything like in maya you'll probably have to knock up a little script to make it useful as they really half arsed it in 2018.
Mental ray used to work but that's gone so no help I guess.
Did you reset xform on all the objects involved? (You'll have to delete and apply a new projection modifier.)
Without inspecting the file it would be hard to debug.
I had a quick check in the maxscript docs and there's an example rtt script here ...
https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/MAXScript-Help/files/GUID-61344DFE-8DA6-4E19-A184-BFD9ED093EFF-htm.html
judging by the code you should be able to bake with the framebuffer (vfb) enabled from script - this will help you debug as it'll give you the raw bake output rather than what's written to a file.
We are using Render To Texture here a ton, Max 2018, and it works well. We're baking both in V-Ray, and separately in Scanline.
You have Shell Materials turned on. Are those set up correctly for rebaking? We always turn that off (Render to files only), so the original materials are unaffected.
I'm going with busted scene
Edit..
Unless the target uvs aren't in 0-1 space .. Good point
I attached the test scene. It's just cylinders baking to a plane.
Since it doesn't work for you, I'd recommend integrating a solid baker into your pipeline, like Toolbag.