Re: [JAVA3D] GetNormals problem

2000-05-22 Thread Mauro Fabozzi
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 20, 2000 12:23 AM Subject: [JAVA3D] GetNormals problem Hi How I get the Normal Vector of the tetrahedron create with TriangleArray. My class tetrahedron is below: import javax.media.j3d.*;

[JAVA3D] Fw: [JAVA3D] Picking GeometryInfo Geometry

2000-05-22 Thread Mauro Fabozzi
I've solved my problem using TRIAGLE_ARRAY instead of TRIANGLE_FAN_ARRAY. Is it possible that the picking on GeometryInfo doesn't work with an idexed goemetry? Thanks to Daniel Dvorak for the reply. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 22,

[JAVA3D] Fw: [JAVA3D] New picking semantics in 1.2

2000-05-22 Thread Mauro Fabozzi
I met the same problem with Java3D 1.2. I've solved the problem using the pickCanvas. If it can be useful, i've attached my class that allow to pick the first face that compose a dodecahedron (my dodecahedron is made using a group of shape3d where each geometry is obtained from a GeometryInfo

[JAVA3D] Fw: [JAVA3D] PickRay and point of intersection

2000-05-29 Thread Mauro Fabozzi
See how "Intersect" works looking for the example IntersectTest.java into the PickingTest directory (see the demo directory generated by the Java3d 1.2 setup program). By, Mauro. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 29, 2000 1:30 PM

[JAVA3D] Fw: [JAVA3D] Fw: [JAVA3D] PickRay and point of intersection

2000-05-29 Thread Mauro Fabozzi
the Java3D tutorial which again didn't go into detail on identifying the coordinate of the actual Intersection point. Mauro Fabozzi wrote: See how "Intersect" works looking for the example IntersectTest.java into the PickingTest directory (see the demo directory generated by the Java3d

[JAVA3D] Fw: [JAVA3D] Transforming canvas mouse coordinates into virtual world one's

2000-06-12 Thread Mauro Fabozzi
You should use the method Canvas3D.getImagePlateToVworld(Transform3D t) that create into the "Transform3D t" the transformation that you need to obtain the 3D coordinate. By, Mauro. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 12, 2000 12:39 PM

[JAVA3D] Fw: [JAVA3D] Picking Geometry Info Shapes

2000-07-14 Thread Mauro Fabozzi
Warning: currently the picking Utilities are not working with GeometryInfo structure in which the Geometry Type is indexed (e.g. TRIANGLE_FAN_ARRAY, TRIANGLE_STRIP_ARRAY, etc.). Try to use others simple structures. I hope this is useful for you. By Mauro. - Original Message - From:

[JAVA3D] Fw: [JAVA3D] Picking - all help is appreciated

2000-07-20 Thread Mauro Fabozzi
Try using some part of this code. public class PickObjectBehavior extends Behavior { private int x, y; private Material highlight; private Shape3D selectedShape = null; private WakeupCriterion mouseEvent; private PickCanvas pickCanvas; private PickResult pickResult; private Transform3D

[JAVA3D] Fw: [JAVA3D] Geometry of dodecahedron ??

2000-08-01 Thread Mauro Fabozzi
This is the file you need: i hope that its format is clear enought . By, Mauro. Hi I need the geometry of the regular object dodecahedron (12 faces). I have the tetrahedron, icosahedron e octahedron. Where do I get the file with this geometry? Thanks []s Haroldo

[JAVA3D] Fw: [JAVA3D] Exact picking

2000-08-30 Thread Mauro Fabozzi
I've solved this problem using a NOT INDEXED Geometry (Using an TRINAGLE_FAN Geometry i'had the same problem). "Not Picking an Indexed Geometry" is an Official Bug of Java 3D that will be solved in the next release. Good Luck, Mauro. - Original Message - From: [EMAIL PROTECTED]