Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Internet & the Web   »   Constructing a mesh from points

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Feb 1, 2006, 03:57 AM
lhhai
New Member
lhhai is offline
 
Join Date: Jul 2005
Location: Ho Chi Minh city, Viet Nam
Posts: 15
lhhai See this member's comment history on his/her Profile page.
Constructing a mesh from points

Hi all,
This is my problem:
I have a set of point (x,y,z). They represents a surface.
Now i want to use TriangleList to render them, so the problem is to find out which triple of point forms a Triangle. Is there any algorithm for that or any suggestion about keyword so that i can search them from google.

Thank in advance
Hoang Hai

Reply With Quote
 
     

Answers
 
 
Old Feb 1, 2006, 08:18 AM   #2  
LTheobald
Ultra Member
LTheobald is offline
 
LTheobald's Avatar
 
Join Date: Feb 2004
Location: Cambridge, UK
Posts: 1,046
LTheobald See this member's comment history on his/her Profile page.LTheobald See this member's comment history on his/her Profile page.
Call LTheobald via Skype™ Send a message via MSN to LTheobald
I think this question may be a little too specialised for us to answer. Can I ask what "TriangleList" is?
  Reply With Quote
 
     
 
 
Old Feb 1, 2006, 06:15 PM   #3  
lhhai
New Member
lhhai is offline
 
Join Date: Jul 2005
Location: Ho Chi Minh city, Viet Nam
Posts: 15
lhhai See this member's comment history on his/her Profile page.
TriangleList is just a list of triangle (but this term is common for those who works with DirectX, OpenGL or Java3D). However, my problem is not connected with any specific technology, it's just an algorithm problem.
We have a list of point and I want to connect each 3 points to form triangle. These triangle are connected (the have shared edged) and they form a mesh.
The problem is to choose which points are good to form a triangle.

If you have any suggestion about forums that is more approriate, I appreciate your ideas. tell me.

Thanks for your answer.
  Reply With Quote
 
     
 
 
Old Feb 1, 2006, 08:19 PM   #4  
Ademan
Junior Member
Ademan is offline
 
Join Date: Jan 2006
Posts: 42
Ademan See this member's comment history on his/her Profile page.
Well, I hate to tell you, but you're out of luck, unless you can make some assumptions. First of all, the definition of a triangle is "a convex polygon with three segments joining three non-collinear points. Each of the three segments is called a side, and each of the three non-collinear points is called a vertex." ( GoMath.com)

So in reality, if you have a bunch of points, any 3 points creates a triangle. However, since you're talking about a mesh, it is POSSIBLE that you could do this, but ONLY if its a convex shape (Convex)

I suppose it'd be POSSIBLE to extract all the INTENDED triangles out of the mesh, however, if its a non convex mesh, there is absolutely no way.

Where are you getting these points? Are you sure you can't get the triangle data too? most model formats (in fact all I can think of) provide triangle indices.

hope that helps
-Dan
  Reply With Quote
 
     
 
 
Old Nov 20, 2007, 07:43 AM   #5  
red_cartoon
Junior Member
red_cartoon is offline
 
red_cartoon's Avatar
 
Join Date: Nov 2007
Posts: 52
red_cartoon See this member's comment history on his/her Profile page.
Use Delaunay triangulation algorithm
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
Ill and repulsive mesh on basement floor speedball1 Plumbing 1 Aug 13, 2006 06:23 AM
constructing a deck foundation Tommyp!972 Construction 2 Feb 22, 2006 04:36 PM
Constructing a pond JJK Other Home & Garden 0 Jan 7, 2006 08:01 AM
Points. RickJ Feedback 17 Nov 9, 2005 05:33 AM
How do I finish my drywall w/ mesh tape? Alwayslost Construction 4 Aug 25, 2005 12:05 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 09:54 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.