hi everyone, i’m working on a script for bake cycles rendering lighting and any other render engine, it creates an orthografic camera and moves it through every polygon on the mesh , it’s very slow but it produces good results, i didn’t found how to convert the mesh polygons to triangles so it only works for triangle meshes ( it renders each polygon how many times as triangles has the polygon when it should render the polygon just a time)
since it’s based on the current rendering engine, it has to access to the render result image pixels, there is not a direct way for do this so it first saves the render result then reload it from disk for all polygons , so it’s very inefficient, being the main problem the massive number of E/S operations
sorry for my bad english hehe
Attachments
bake_GI_fix.zip (4.02 KB)