JDK-8101976 : Implement picking support for 3D primitives
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2012-08-31
  • Updated: 2015-06-16
  • Resolved: 2013-02-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Description
Need to support picking of new 3D primitives. This include new API work that include the return of pick result such as interested point, triangle and vertex information. 
Comments
The implementation is now merged in mainline.
18-02-2013

More unit tests: javafx/scene/Mouse3DTest/shouldPickBoxFromAngle javafx/scene/Mouse3DTest/shouldNotPickRotatedBoxOutside javafx/scene/Mouse3DTest/shouldNotPickBoxFromInsideIfCulled javafx/scene/Mouse3DTest/shouldPickBoxInteriorByPerspectiveCameraFromInside javafx/scene/Mouse3DTest/shouldNotPickBoxByPerspectiveCameraFromBehind javafx/scene/Mouse3DTest/shouldPickSphereFromBack javafx/scene/Mouse3DTest/shouldPickRoughSphereFrontFaceInsideOfShape javafx/scene/Mouse3DTest/shouldNotPickSphereFromInsideIfCulled javafx/scene/Mouse3DTest/shouldPickSphereInteriorByPerspectiveCameraFromInside javafx/scene/Mouse3DTest/shouldNotPickSphereByPerspectiveCameraFromBehind javafx/scene/Mouse3DTest/shouldPickCylinderFromBack javafx/scene/Mouse3DTest/shouldPickRoughCylinderFrontFaceInsideOfShape javafx/scene/Mouse3DTest/shouldNotPickCylinderFromInsideIfCulled javafx/scene/Mouse3DTest/shouldPickCylinderInteriorByPerspectiveCameraFromInside javafx/scene/Mouse3DTest/shouldNotPickCylinderByPerspectiveCameraFromBehind javafx/scene/Mouse3DTest/shouldNotPickMeshXYOutsideOfIt javafx/scene/Mouse3DTest/shouldNotPickMeshXYByPerspectiveCameraFromBehind javafx/scene/Mouse3DTest/shouldNotPickMeshGeneralByPerspectiveCameraFromBehind javafx/scene/Mouse3DTest/shouldPickNearestFace2 javafx/scene/Mouse3DTest/shouldNotPickShapesIfNearerPickExists javafx/scene/Mouse3DTest/shouldPickNearestShapeOfMany
18-02-2013

Unit Tests: javafx/scene/MouseTest3D/shouldPickBoxFromFront javafx/scene/MouseTest3D/shouldPickBoxInteriorFromFront javafx/scene/MouseTest3D/shouldPickNotCulledBoxFromFront javafx/scene/MouseTest3D/shouldPickBoxFromTop javafx/scene/MouseTest3D/shouldPickBoxFromBack javafx/scene/MouseTest3D/shouldPickBoxFromBottom javafx/scene/MouseTest3D/shouldPickBoxFromLeft javafx/scene/MouseTest3D/shouldPickBoxFromRight javafx/scene/MouseTest3D/shouldNotPickBoxOutside javafx/scene/MouseTest3D/shouldPickBoxOnBounds javafx/scene/MouseTest3D/shouldPickSphereFromFront javafx/scene/MouseTest3D/shouldPickSphereInteriorFromFront javafx/scene/MouseTest3D/shouldPickNotCulledSphereFromFront javafx/scene/MouseTest3D/shouldNotPickSphereOutside javafx/scene/MouseTest3D/shouldPickRoughSphere javafx/scene/MouseTest3D/shouldNotPickRoughSphereOutsideOfItsTriangles javafx/scene/MouseTest3D/shouldPickSphereOnBounds javafx/scene/MouseTest3D/shouldPickRoughSphereOnBounds javafx/scene/MouseTest3D/shouldPickSphereOnBoundsOutsideOfShape javafx/scene/MouseTest3D/shouldPickCylinderFromFront javafx/scene/MouseTest3D/shouldPickCylinderInteriorFromFront javafx/scene/MouseTest3D/shouldPickNotCulledCylinderFromFront javafx/scene/MouseTest3D/shouldPickCylinderFromTop javafx/scene/MouseTest3D/shouldPickCylinderInteriorFromTop javafx/scene/MouseTest3D/shouldPickNotCulledCylinderFromTop javafx/scene/MouseTest3D/shouldPickCylinderFromBottom javafx/scene/MouseTest3D/shouldNotPickCylinderAboveIt javafx/scene/MouseTest3D/shouldNotPickCylinderNextToIt javafx/scene/MouseTest3D/shouldNotPickCylinderParallelToIt javafx/scene/MouseTest3D/shouldPickRoughCylinder javafx/scene/MouseTest3D/shouldNotPickRoughCylinderOutsideOfItsTriangles javafx/scene/MouseTest3D/shouldPickCylinderOnBounds javafx/scene/MouseTest3D/shouldPickRoughCylinderOnBounds javafx/scene/MouseTest3D/shouldPickCylinderOnBoundsOutsideOfShape javafx/scene/MouseTest3D/shouldPickMeshXY javafx/scene/MouseTest3D/shouldNotPickCulledMeshXY javafx/scene/MouseTest3D/shouldPickNotCulledMeshXY javafx/scene/MouseTest3D/shouldPickMeshXYParallel javafx/scene/MouseTest3D/shouldPickMeshXYFlippedTexture javafx/scene/MouseTest3D/shouldNotPickMeshXYBack javafx/scene/MouseTest3D/shouldPickMeshYZ javafx/scene/MouseTest3D/shouldPickMeshGeneral javafx/scene/MouseTest3D/shouldPickMeshGeneralStretchedTexture javafx/scene/MouseTest3D/shouldPickMeshOnBounds javafx/scene/MouseTest3D/shouldPickMeshOnBoundsOutsideOfTriangles javafx/scene/MouseTest3D/shouldPickNearestFace javafx/scene/MouseTest3D/shouldPickNearestThroughBackFace javafx/scene/MouseTest3D/shouldPickNearestBackIfNotCulled javafx/scene/MouseTest3D/shouldPickScene javafx/scene/MouseTest3D/shouldPickFirstShapeWithoutDepthBuffer javafx/scene/MouseTest3D/shouldPickNearestShapeWithDepthBuffer
05-02-2013

Implementation finalized in RT-28129
05-02-2013

Initial implementation pushed into the sandbox, changesets: rt: 107cb42df975 rt-closed: 68ccb159f4f1
21-01-2013

Added API for mouse picking support of 3d shape: Changeset: 377dcdb0daaf Author: Chien Yang <chien.yang@orcale.com> Date: Sat Nov 10 09:09:11 2012 -0800 URL: http://jfxsrc.us.oracle.com/sandbox/javafx/8.0/gfx-3d-api/rt/rev/377dcdb0daaf
10-11-2012