|
|
houmr schrieb:
> In fact the result of the transformation is kind of uneven shearing. The shear
> is along the y axis, but the value is proportional to the y coordinate. (If you
> imagine a cube, the angle formed by upper side and the z axis is about twice of
> the angle formed by the bottom side and the z axis. So the sheared box becomes
> wider on one side and narrower on the other side. All the faces remain planar).
> I need to use this transformation to compensate a distortion involved by an
> optical system while projecting the rendered images. Since the models are of
> arbitrary and real sceneries, I doubt being able to convert it to isosurfaces.
If the faces really remain planar, you can create the desiered shape
using...
(a) an intersection of planes (Warning: Does not bound properly!)
(b) an intersection of well-sized boxes
(c) a prism object
...
to name just the first three ideas that cross my mind.
Post a reply to this message
|
|