Align imported models to a common origin

Hello all!



So I’m loading a bunch of models I scavenged from all over the net. The problem is that the models are never to a 0/0/0 origin point. Some are far “out there” if you know what I mean. When I compose a scene in blender I can move all objects to their right places manually, but this doesn’t work for procedurally generated scenes. Those different origin points of the various models really come back to haunt me then.



Is there a way to normalize all models to start at the same origin? Maybe in Blender or in Mesh Lab? Or something I can do in the code? I didn’t have any luck so far. In Blender I can do Object-> Transform → Geometry to Origin but it doesn’t seem to have an effect on the rendered scene.

Never mind, it does work exactly like that in Blender, I was just importing the wrong model so my changes didn’t show up >.> I apologize.