|
A plane can be defined by a normal to the plane and a point on the plane.
The x, y, z values of the normal are the a, b, c values of the plane equation
with the d value equal to -dot(normal, pointOnPlane).
This can be accomplished with the following code: // You supply these two.
// The eqn of the plane.
Say you want to clip your model by z value (ie. you have zmin and zmax). normal = (0, 0, 1)
Hope this helps,
--
|
- [JAVA3D] fit ModelClip Olivier Tassy
- Re: [JAVA3D] fit ModelClip Renoir Sewjee
- Re: [JAVA3D] fit ModelClip Olivier Tassy
- Re: [JAVA3D] fit ModelClip Dipl. Ing. Paul Szawlowski
- Re: [JAVA3D] fit ModelClip Ingo Brunberg
