This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

§ - scale (SceneScript element)

 <scale X Y Z R

This language element may be used inside a  <trait block.

Each of X, Y, Z and R may be an expression.

This scales the objects or axis' that it is applied to. Set this first, then define the object(s). For most uses, objects should be defined around zero. Axis are scaled relative to parent axis, or to the world co-ordinate space if there is no parent axis. There are two ways to use this language element; in the X Y Z form and the X Y Z R form.

The R parameter only applies in the case where the  <scale language element is applied to a sphere, when it scales the radius of the sphere independently of the position from the parent axis or world space. Otherwise you may use the X Y Z form of the command, the R is not required. However, note that when the R is not supplied, it is set to zero, which will make spheres shrink out of view, so when making spheres, be sure to use X Y Z R.


 <scale 1 1 1 results in an object of exactly the size it is defined with it's geometric elements.  <scale 1 .5 1 results in an object that is only 1/2 as large on the Y axis, but normally sized on X and Z.  <scale 2 2 2 results in a double-sized object.

See also  <translate and  <rotate.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 213