|  |  | scott <sco### [at] laptop com> wrote:
> > BTW, works the same in Blender and possibly other modellers as well.
> Not used Blender that much, but in other modellers you define an "object 
> centre" point, and all transformations apply relative to that point.  So if 
> you have a complex scene with an object (or group) you can rotate/scale 
> about the object centre rather than the whole scene centre...
  How do you select whether you want to apply a transformation to a group
of objects as if it was a single object with a common center point, or
whether you want the transformation to be applied to each object individually,
independently of the other objects?
  Anyways, it's quite trivial to apply a transformation to an object in
POV-Ray in relation to a defined local center point:
#declare MyObject = ...;
#declare MyObjectCenter = <centerX, centerY, centerZ>;
...
object
{ MyObject
  translate -MyObjectCenter
  // add local transforms here
  translate MyObjectCenter
}
-- 
                                                          - Warp Post a reply to this message
 |  |