> Okay.. here is what I'm trying to do. I'm trying to scale the height field to
> make the default unit for the coordinate system to be 1 meter. So let's say for
> simplicity that the 1 regular unit in POV-Ray is being scaled by about 1000. The
> goal is to be able to use actual distances and sizes for translating and scaling
> objects on the height field.
>
> Now when initializing the height field and scaling it everything seems to work
> fine. However, scaling and translating objects or moving a camera works
> according to the original units, i.e. 1 unit along an axis corresponds to the
> new 1000 correspondence of the height field. So using translate 1 moves a huge
> distance rather than just moving 1 meter. Is there a recommended way to achieve
> this objective?
>
>
>
>
In POV-Ray, one unit is whatever you want it to be.
You apply your scaling to the hight field. You scale it by 1000
horizontaly and 100 verticaly. You decide that 1 unit = 1m.
You next model and locate your objects acording to that scale. You DON'T
scale from that point on.
One thing that you must remember: Don't scale after you translate your
objects.
Alain
Post a reply to this message
|