Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / January 2004

Tip: Looking for answers? Try searching our database.

Newbie problem: turning a list of verticies into a 3D object

Thread view: 
Jim Brannan - 05 Jan 2004 17:14 GMT
Hi all,

I have written some code that outputs a list of verticies that need to
be displayed as a Shape3D object. The problem is that I can't think of
an easy way to sort them into a list that will allow the object to
displayed correctly when passed into the Triangulator class or know of
a class that will take a random list of verticies and output the
required Shape3D object. Can anyone please help?

Thanks,

Jim
Artur Biesiadowski - 05 Jan 2004 22:08 GMT
> Hi all,
>
[quoted text clipped - 4 lines]
> a class that will take a random list of verticies and output the
> required Shape3D object. Can anyone please help?

It cannot be done in general case - there is a lot of ways to connect
all vertices. As long as your object is convex, computing bounding
convex hull should give reasonable result - for nice introduction see
http://www.cse.unsw.edu.au/~lambert/java/3d/hull.html

Artur


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.