|
![](/i/fill.gif) |
Slime nous apporta ses lumieres en ce 2005-08-02 17:57:
>>I have a box, bottom on Y=0 and top on Y=1. I want to scale the box along
>>the Z-axis, but in a way that the top of the box (at Y=1) is scaled by the
>>factor of 2, and the bottom of the box (at Y=0) by the factor of 1 (no
>>scale).
>
>
> This can't be done directly in POV-Ray. POV-Ray only supports linear
> transformations, which basically means (for your example) that if the far
> side of the box is diagonal, the near side of the box is going to be
> diagonal too. You can't do an "uneven scaling."
>
> If you're really only concerned about boxes, then the shape you described
> could be made instead with CSG. If you're working with more complex shapes,
> you may have to model them as an isosurface, since you *can* apply any sort
> of transformation you want to an isosurface function.
>
> - Slime
> [ http://www.slimeland.com/ ]
>
>
I know! Once, I've done a inversely proportional scaling relative to a plane on an
isosurface.
Alain
Post a reply to this message
|
![](/i/fill.gif) |