How to cite a web site - Sorted PickResult 0: PickResult: sgp:javax.media.j3d.Locale@124fb8e : javax.media.j3d.BranchGroup :
Wednesday, October 31st, 2007Sorted PickResult 0: PickResult: sgp:javax.media.j3d.Locale@124fb8e : javax.media.j3d.BranchGroup : com.sun.j3d.utils.geometry.Sphere, Sphere : javax.media.j3d.Shape3D, Spherejavax.media.j3d.TriangleStripArray@12b486c The transformation matrix required to convert the terminal node of the scenegraph path (Shape3D) to Virtual World coordinates is displayed. This is the transformation matrix that was in effect when the pick took place. LocalToVworld Transform: -0.5243562077058301, -0.8502316137753383, 0.04644104194946784, 0.35220520974733893 0.3928339572694004, -0.19315917400790997, 0.8990945531548112, 5.215472765774056 -0.7554680995624017, 0.4896894285499475, 0.4352840614012915, 0.5764203070064573 0.0, 0.0, 0.0, 1.0 Next, the intersection information for the ray is displayed. In this case, the ray intersected six Nodesin the model. For each intersection, the distance of the intersection from the ViewPlatformis calculated along with the point s coordinates in Virtual World coordinates. As you can see from the Z-coordinates and distances, five of the intersections were with Nodesat the front of the Spherewhile one was with a node at the rear of the Sphere. node:javax.media.j3d.Shape3D@12b485a PickIntersection: geomIndex = 0 dist:13.190385327169809 ptVW:(0.3082159939737674, 5.101595194311164, -0.40544525181089597) PickIntersection: geomIndex = 0 dist:11.285273011880047 ptVW:(0.2697997524391042, 4.782074528439611, 1.4723671948932975) PickIntersection: geomIndex = 0 dist:11.28272787795884 ptVW:(0.2766647006417829, 4.784127302928557, 1.4754390646997604) PickIntersection: geomIndex = 0 dist:11.282690605316592 ptVW:(0.26386760841671225, 4.797646503054273, 1.4773578620510737) PickIntersection: geomIndex = 0 dist:11.279971427880689 ptVW:(0.27735265885195876, 4.796380438058344, 1.4802262351804227) PickIntersection: geomIndex = 0 dist:11.28272787795884 ptVW:(0.2766647006417829, 4.784127302928557, 1.4754390646997604) Sorted Object 0: Sphere Closest Object: Sphere The second illustrated pick intersection is more complex (figure 16.2). As you can see, the sphere is still the closest intersection; however, the pick ray passes through the entire model. In this example (output following), the VRML part intersections are (sorted from nearest to farthest): 1. Sphere: 2 intersections 2. Cone: 2 intersections 3. Cone: 2 intersections 4. Box: 2 intersections 272
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.