Forum: Poser - OFFICIAL


Subject: Python script request: Scale all objects in scene?

Berserga opened this issue on Dec 23, 2004 ยท 36 posts


ronstuff posted Sat, 25 December 2004 at 10:53 AM

Actually, this is how the mechanics of the process works: Remember that this solution was created to address problems with Raytracing in Firefly, and to the best of my knowledge it is not required if raytracing is off. There is a very good reason why I've recommended the technique of parenting everything in the scene to a prop box rather than just scaling each object. The prop box (and simple ball) have their origins set to the World Origin in Poser. If you scale them up you will notice that they scale from the "floor" up, and keep their place on the ground. Other props (such as the high res ball) and most Poser objects have their origins located at their own center of mass. This means that they will scale from that point outwards, rather than from the common world center. The result is that when you have multiple objects in the scene, scaled on their own origins, they no longer have the same spatial relationship to other objects (they are not in the same place relative to each other). So, it is important to think of this technique as scaling up your 3D WORLD and not just scaling up your objects - and the only way to scale the world is to make everything scale from a common point. That is where the box comes in. By parenting everything to the box, INCLUDING spotlights AND camera, and then scaling the box, you are effectively scaling everything around the world origin. When the PARENT of an object is scaled, all of the child objects scale about the same point as the parent and not about their own centers. So this is about the easiest technique I've found that will produce the desired result in most situations. Of course, you want to turn OFF the visibility of the box so that it does not render.