Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Concave polylines not possible?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Sat Dec 15, 2007 5:01 pm    Post subject: Concave polylines not possible? Reply with quote

In the help file you got an example of a concave polyline,

now I tried several polylines looking like a "U" that are triangulated to a convex shape

I guess you falsely use a delaunay triangulation if convexionate is not selected




the yellow marked area should not be part of the triangulation


delaunay triangulations are always convex, for concave polygons you need an algorithm like "sweep line"
Back to top
View user's profile Send private message
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Sat Dec 15, 2007 5:10 pm    Post subject: Reply with quote

It's just a matter of rendering then. If you've got a concave polyline consisting of one polygon, DeleD might still render it convec, although the data itself if correctly concave. If you're annoyed by that, you've got to triangulate the polygon manually.
_________________
Behold! The DeleD Wiki! Please help us expanding it Smile
DeleD on IRC
Back to top
View user's profile Send private message
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Sat Dec 15, 2007 5:22 pm    Post subject: Reply with quote

how to do that?
create several polylines, merge them and weld the vertices? at the shared edges?
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sat Dec 15, 2007 5:45 pm    Post subject: Reply with quote

You can use the Triangulate function for that. Or the Optimize function, which will break up the concave polygon in convex pieces. Using Optimize usually gives better results than triangulation.

Edit: moved to DeleD forum because it is a question, not a bug.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Sat Dec 15, 2007 5:47 pm    Post subject: Reply with quote

I just created several convex polylines and merged them, implementing a sweep line algorithm to triangulate them for rendering is really no fun Smile

corner cutting would be a option is conjunction with plücker coordinates to determine line contour intersections inside the cut triangle
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Sat Dec 15, 2007 6:05 pm    Post subject: Reply with quote

Basiror wrote:
I just created several convex polylines and merged them, implementing a sweep line algorithm to triangulate them for rendering is really no fun Smile

corner cutting would be a option is conjunction with plücker coordinates to determine line contour intersections inside the cut triangle


I must admit I have no idea what you´re talking about. Embarassed Laughing

Did you try the Optimize and/or Triangulate commands on a concave polyline?

Alternatively, you can triangulate or convexionate a polyline at creation. But I bet you knew that already.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Basiror
DeleD PRO user


Joined: 12 Dec 2007
Posts: 59

PostPosted: Sun Dec 16, 2007 2:41 pm    Post subject: Reply with quote

the convexionate was not an option in my case since I wanted to do some extruding and vertex adjustments, merging several quads did the job though
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum