Re: [JAVA3D] line following a mouse pointer

2003-10-05 Thread trz
Rudy Wuite wrote: > > I am having difficulty in trying to figure out how to draw this line > when the mouse pointer is over a space where a pick ray would intersect > nothing in the scene. > > Does anyone have an idea how I can achieve this, or where I can find > relevant literature to help me achi

Re: [JAVA3D] getting polygon array for object file

2003-10-05 Thread Ewan Borland
Finding specific nodes in a loaded model is a common problem. I use this utility class (NodeFinder.java attached) to find the node I want. For your purpose something simliar to the example below should suffice. -Ewan // Load the model ObjectFile myLoader = new ObjectFile(); Scene myScene = myLoad

[JAVA3D] J3D 1.3.1 for Linux

2003-10-05 Thread Michael Pfeiffer
Does anybody know something about the state of Java3D 1.3.1 for Linux? At the moment only the (not very good working) BETA version is available. I tried to contact several persons from blackdown.org by mail but did not get any answer. -- Virtual Worlds Productions Software Development Group http://

Re: [JAVA3D] getting polygon array for object file

2003-10-05 Thread Madeti, Henu S. (UMR-Student)
Thanks a lot Evan. The code worked and i am able to get the geometry array. But there is a problem after that. Im trying to get the trianglearray set and modify the attributes to few arrays. This is how im doing GeometryArray ga = (GeometryArray)geometries.nextElement(); TriangleArray count =

Re: [JAVA3D] getting polygon array for object file

2003-10-05 Thread Ewan Borland
You should be able to access the coordinate data as an array of double values in the following manner (the important bit is checking whether or not the data is BY_REFERENCE before you request it): GeometryArray ga = (GeometryArray)geometries.nextElement(); TriangleArray ta = (TriangleArray)ga; /

[JAVA3D] Floating point oparations.

2003-10-05 Thread Alexandre
Good morning for all. I would like to know about floating point operations at java. I am working on a finite element application in 3D and a need to know if floating point operations with java can be trust. Can I use java for this type of applications? Thanks. Alexandre Carvalho ===

Re: [JAVA3D] Floating point oparations.

2003-10-05 Thread Fábio Roberto de Miranda
Can I use java for this type of applications? Many people think you can. This URL links you to a forum of scientific computing practicioners who use Java: http://www.javagrande.org/pastglory/index.html Though some people think you should take Java floating point with a grain of salt: http://www.cs