Well, a couple of ways that I could think of....

In software, you can generate a contour line through the elements of
your GeometryArray - tris/quads. The contour line is the locus of points
where the signed normal distance of the vertices from the cutting plane
is equal to zero. In the case of a sphere, you will get a circle - possibly
a great circle depending upon where you cut the sphere.

In "hardware", I think you may be able to use 2 appropriately
oriented parallel ModelClip planes to achieve the effect. This would
produce a ring actually, but if the distance between the clip planes is
small enough it will look like a line contour. Haven't tried it,
but looks like it would work.


Regards

Vaidya


>On Wed, 9 Oct 2002 07:50:48 -0700, Scholl, Ed <[EMAIL PROTECTED]> wrote:

>Hello-
>Can anyone give me some pointers to draw the 2D outline obtained from the
>intersection of a cutting plane with my 3D world?  i.e. if I specify a
>cutting plane that intersects with a sphere, I want to display the resulting
>circle.
>
>-Ed
>
> ==========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to