Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124586

3d Mesh inverts and scales up after scaling down to a certain amount

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      I am using Jdk 8 build 84 with Netbeans Lambda 8, Windows 7 64-bit

      Description

      I have imported a mesh using www.interactivemesh.org's FX 3D converter, and then created a class to display the mesh, or multiple mesh's in a class extending a group.

      I use

      cene.setOnKeyPressed((event)
       ->{
           if(KeyCode.UP.equals(event.getCode()))
           {
               f.setScaleX(f.getScaleX()+ .1);
               f.setScaleY(f.getScaleY()+ .1);
               f.setScaleZ(f.getScaleZ()+ .1);
               System.out.println("kaw");
           }
           
           
           if(KeyCode.DOWN.equals(event.getCode()))
           {
               f.setScaleX(f.getScaleX()- .1);
               f.setScaleY(f.getScaleY()- .1);
               f.setScaleZ(f.getScaleZ()- .1);
               System.out.println("kaw");
           }
       });

      to scale the group larger and smaller based on the key pressed.

      When it gets to a certain point it will disappear, and then invert it's colors and start to grow.


      I have some pictures I want to attach, but I cannot find the attachment tab.

        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              jorsawjfx Jay Orsaw (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: