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 / November 2003

Tip: Looking for answers? Try searching our database.

Help needed with triangulator class

Thread view: 
Dan Madeira - 11 Nov 2003 22:06 GMT
Hi,

I've started on an university project and one part involves taking a
set of vertices defining a 3d object and converting them into a
Shape3D object for display. Now the problem is that the number of
vertices is not fixed as it relies on data processed in an ealier
stage. This means that I can't set an array size to be used in the
GeometryInfo class. Is there an easy way of bypassing this or should I
be using another method?

Cheers,

Dan Madeira
Chris Ender - 14 Nov 2003 21:27 GMT
Hi Dan
You can store your data in an ArrayList and copy it to an array when the
list is complete.
I am not sure if is genius style, but it works.
Chris

> Hi,
>
[quoted text clipped - 9 lines]
>
> Dan Madeira


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.