- 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.*;
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,
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
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
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
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
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:
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
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
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]
10 matches
Mail list logo