Re: [JAVA3D] code for .stl(stereo lithography) file creation in java

2004-06-11 Thread R K Shyam Prakash
There are couple of readers available in J3d.org. When I checked them a year before, they were not working perfectly fine. May be you can try there > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED] On Behalf Of Rahul Khanna > Sent: Friday, June 11, 20

[JAVA3D] Java JNI

2004-03-18 Thread R K Shyam Prakash
Title: Message Hi,    This is not actually a Java3d question. Hope you can help me with this.I am using Visualization Toolkit(VTK ref:www.vtk.org) for my 3d programming which comes with a java binding.  My application works well on Windows,Solaris and Linux. But on HP UX I am facing lots

[JAVA3D] Vlume Calculation

2004-03-14 Thread R K Shyam Prakash
Hi, I have a 3d model represented by a set of triangles. Assuming that the model does not have any holes in it, is there any algorithm using which I can calculate its volume? Can some body point me in the right direction. Thanks Shyam ==

[JAVA3D] Java 3D -- Domain specific Implementation?

2004-01-02 Thread Shyam Prakash
Hi,     I am building an engineering application using Visualization Toolkit (VTK) and Java. We are looking into an option where we can port the existing application into Java 3D. However I have observed that Java 3D is not a domain specific implementation and the kind of algorithm

Re: [JAVA3D] Canvas3D incompatible with card-layout?

2003-12-08 Thread Shyam Prakash
Following links could be helpful http://www.j3d.org/faq/swing.html#tabs http://www.j3d.org/tutorials/quick_fix/swing.html --Shyam > -Original Message- > From: Discussion list for Java 3D API [mailto:JAVA3D- > [EMAIL PROTECTED] On Behalf Of Nikolai V. Chr. > Sent: Monday, December 08, 2

Re: [JAVA3D] Center of gravity of a polygon

2003-12-08 Thread Shyam Prakash
Hello,     Thanks for the reply. I have succeeded in calculating the centroid of the polygon. If anybody else is interested, then following link could be useful.   http://lists.cs.columbia.edu/pipermail/acis-alliance/2003-September/000171.html   --Shyam   =

[JAVA3D] Center of gravity of a polygon

2003-12-05 Thread Shyam Prakash
Hello,     I have a polygon represented by a set of points. Can somebody tell me how can I calculate the center of gravity of this polygon.   Thanks Shyam === To unsubscribe, send email to [EMAIL PROTE

[JAVA3D] Curve Fitting

2003-09-11 Thread Shyam Prakash
Hello All,     I have a 3 dimensional curve which is effectively a collection of straight lines. I want to fit a 3d spline on this(I want to create a smooth curve). Does anybody know where to find a curve fitting algorithm for this? Any suggestions will be of great help

Re: [JAVA3D] Antwort: Re: [JAVA3D] Antwort: Re: [JAVA3D] AW: [JAVA3D] Determining the triangles lying on a plane

2003-09-11 Thread Shyam Prakash
Thanks. It sounds feasible.   --Shyam   -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of George Perera Sent: Thursday, September 11, 2003 6:23 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Antwort: Re: [JAVA3D] Antwort: Re: [JAVA3D] AW

Re: [JAVA3D] Antwort: Re: [JAVA3D] AW: [JAVA3D] Determining the triangles lying on a plane

2003-09-11 Thread Shyam Prakash
George,     I believe this alone is not sufficient, there is one more catch. Consider two triangle parallel to each other but lying on two different planes(say with different z- depth). The below said algorithm will fail in this case since the angle between these triangles will be

Re: [JAVA3D] AW: [JAVA3D] Determining the triangles lying on a plane

2003-09-11 Thread Shyam Prakash
are not 0 or PI, then the triangles can NEVER be in the same plane. I really don't understand what you want to do !   Cheers,   Florin -Ursprüngliche Nachricht- Von: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]Im Auftrag von Shyam Prakash Ges

Re: [JAVA3D] Determining the triangles lying on a plane

2003-09-11 Thread Shyam Prakash
de us with some more details. Some code may help.   Dirk   - Original Message - From: Shyam Prakash To: [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 6:04 PM Subject: [JAVA3D] Determining the triangles lying on a plane   Hell

[JAVA3D] Determining the triangles lying on a plane

2003-09-10 Thread Shyam Prakash
Hello All,   My problem is some thing as follows. I pick one of the  triangles from the 3d object(say tri1). Now I want to determine all the triangles which make certain angle with tri1(say 10 degrees) and lie on the same plane as tri1. I can calculate the angle usin

Re: [JAVA3D] Plane equation

2003-09-02 Thread Shyam Prakash
meant.   Dirk - Original Message - From: Shyam Prakash To: [EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:49 AM Subject: [JAVA3D] Plane equation   Hello,   Not exactly a java 3d question. I have a plane with certain normal say (0,0,1)

[JAVA3D] Plane equation

2003-09-02 Thread Shyam Prakash
Hello,     Not exactly a java 3d question. I have a plane with certain normal say (0,0,1), i.e along the XY plane. Now I want to rotate this plane about X axes by a certain alpha value. Does any body know how the value of plane’s normal changes(a relation between alpha value,