Mine is a basic 3D CAD drawing application written in C++
I am trying to integrate cycles in my application. I could build cycles scene and session in memory. Now I need to bake textures of each object and export the scene. I could not find how to bake textures. Spent more than a year but no luck. Tried exploring how blender is doing but lost in its RNA and python stuff.
Can you please provide a code sample?
Thanks in advance.