From: "Enrique Dumas" <[EMAIL PROTECTED]>
Sent: Sunday, December 23, 2001 6:26 PM


> Well, I want to draw in 3D an arc as in 2D with
> perspective

You have to compose it yourself out of straight line segments.
Start with a LineArray object.  Pick whatever 3D
parameterization you like, decide how many segments you want and
fill up the array with the coordinates and color.  This'll give
you a Geometry.  Attach that to a Shape3D and the Shape3D to a
scene graph, and you're good to go.

HTH,
Fred

> For example, in 2D, an avaible constructor is :
> public Arc2D.Float(float x,
>                    float y,
>                    float w,
>                    float h,
>                    float start,
>                    float extent,
>                    int type)
>
> "
> Constructs a new arc, initialized to the specified
> location, size, angular extents, and closure type.
> Parameters:
> x, y - The coordinates of the upper left corner of the
> arc. (Specified in float precision.)
> "
>
> I would like the same thing but with z coordinate.
>
> So If I can't do this thing, is it possible to draw 2d
> arcs ?
> -----------------------------------------------------
>
> --- "Gary L. Graf" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >     I'm not sure what you want.  An arc is really a
> > two dimensional concept.  If you are working in 3D
> > do
> > you want sections of a sphere, cone or cylinder (all
> > Java3D primitives) or some form of oddly curved
> > shape
> > in 3D fabricated out of a mesh?  - Gary Graf
> >
> > SUBSCRIBE JAVA3D-INTEREST Anonymous wrote:
> >
> > > Hi,
> > >
> > > I'd like to draw 3d arcs with java 3D, I looked
> > old posts on this forum but I did not found an
> > answer...
> > >
> > > Is it possible and how can I do ?
> > >
> > > Thanks
> > >
> > >
> >
>
================================================================
===========
> > > 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".
>
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
>
>
================================================================
===========
> 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