GeometryInfo Question

View: New views
3 Messages — Rating Filter:   Alert me  

GeometryInfo Question

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please help,

I have a question that I hope someone can answer or an idea.

Say I have a set of point3f Objects from a QuadArray (outerPoly) and a LineArray of a polygon that can be either a "hole" or "sliced" from the outerPoly (such as a "trimming" from the outerPoly Object). I wish to then create another polygon Object from the result - a GeometryArray with the LineArray "points" removed. Can I use the GeometryInfo (or some other utility for Java3D) to do this?


Thank you.
[Message sent by forum member 'dinaharchery' (dinaharchery)]

http://forums.java.net/jive/thread.jspa?messageID=292432

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: GeometryInfo Question

by Dirk L. van Krimpen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dinaharchery,

Suppose you're trying to trim surfaces. Well, if it were planar surfaces,
it wouldn't be too difficult. I did a similar thing by creating windows in a
wall, using GeometryArrya. You just recreate the array including the
new points. However, if you trim a free form surface, you have to take
the surface points bewteen the vertices in account. As you will agree,
ther are a lot more calculations needed for that. If you are using Bezier
surfaces, you could possibly try to create a Bezier curve at that trimming
edge and get its vertices. Then you may use these vertices within your
recraeted GeometryArray. For B-Spline surfaces it might be more
difficult.

Dirk L. van Krimpen

----- Original Message -----
From: <java3d-interest@...>
To: <interest@...>
Sent: Saturday, August 09, 2008 3:21 AM
Subject: GeometryInfo Question


> Please help,
>
> I have a question that I hope someone can answer or an idea.
>
> Say I have a set of point3f Objects from a QuadArray (outerPoly) and a
> LineArray of a polygon that can be either a "hole" or "sliced" from the
> outerPoly (such as a "trimming" from the outerPoly Object). I wish to then
> create another polygon Object from the result - a GeometryArray with the
> LineArray "points" removed. Can I use the GeometryInfo (or some other
> utility for Java3D) to do this?
>
>
> Thank you.
> [Message sent by forum member 'dinaharchery' (dinaharchery)]
>
> http://forums.java.net/jive/thread.jspa?messageID=292432
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@...
> For additional commands, e-mail: interest-help@...
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: GeometryInfo Question

by java3d-interest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A ver estoy pensando en voz alta pero el el QuadArray los vertices se describen en sentido antihorario. deberias describir tu linea en sentido horario y luego triangular nuevamente para obtener el hueco.
[Message sent by forum member 'nramire1' (nramire1)]

http://forums.java.net/jive/thread.jspa?messageID=293532

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price!