|
Italiano
Français Deutsch |
| sphere
|
|
If a sphere has to be deformed by "scale< , , >" to a ellipsoid,
it's recommanded to do this according to the following |
|
sphere + scale<...> = ellipsoid general syntax: sphere{ <xM,yM,zM>, r scale<sx,sy,sz>
texture{ ... ... }
}
Here <xM,yM,zM>
are the coordinates of the center and r is the radius and sx,sy,sz
are the scale factors in x-, y- and z-direction.The samples here: sphere{<0,0,0>,1.0 scale<2,0.4,1>
translate< 0,0, 0> texture{...}}
sphere{<0,0,0>,1.0 scale<1,1,2>
translate<-1,2,-3> texture{...}}
sphere{<0,0,0>,1.0 scale<1,1,0.2>
translate< 2,3, 5> texture{...}} |
| © Friedrich A. Lohmüller, 2004 homepage: |