Download presentation
Presentation is loading. Please wait.
Published byNeal Richard Modified over 9 years ago
1
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1 JavaFX 3D in 7 Minutes Jim Weaver Java Technology Ambassador Oracle Corporation @JavaFXpert james.weaver@oracle.com
2
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 2 JavaFX 3D in 7 Minutes
3
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 3 JavaFX 3D Use Cases ■ Inventory and Process Visualization ■ Scientific and Engineering Visualization ■ 3D Charting ■ Mechanical CAD and CAE ■ Medical Imaging 3 ■ Product Marketing ■ Architectural Design and Walkthroughs ■ Advanced User Experience ■ Mission Planning ■ Training ■ Entertainment
4
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 4 JavaFX 3D Use Cases ■ Inventory and Process Visualization ■ Scientific and Engineering Visualization ■ 3D Charting ■ Mechanical CAD and CAE ■ Medical Imaging 4 ■ Product Marketing ■ Architectural Design and Walkthroughs ■ Advanced User Experience ■ Mission Planning ■ Training ■ Entertainment
5
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 5 Inventory and Process Visualization Example 5
6
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 6 3D Model of the Cranes 6
7
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 7 “JavaFX 3D gives you the ability to use 3D geometry, cameras, and lights in JavaFX.”
8
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 8 Mesh Geometry (3D Shapes) ■ Predefined shapes ■ Box ■ Cylinder ■ Sphere ■ User-defined shapes ■ Using TriangleMesh / MeshView 8
9
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 9 9 Creating Primitive Shapes and Materials
10
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 10 3D Materials and Textures ■ PhongMaterial has these properties ■ Ambient color ■ Diffuse color, diffuse map ■ Specular color, specular map ■ Specular power ■ Bump map ■ Self-illumination map 10 https://wikis.oracle.com/display/OpenJDK/3D+Features
11
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 11 Duke’s nose has a Diffuse Map texture 11
12
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 12 This planet has a Bump Map texture 12
13
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 13 UV Mapping Textures to Shapes 13 Tip: A texture is a 2D image to be mapped on a 3D surface Source: http://en.wikipedia.org/wiki/File:UVMapping.pnghttp://en.wikipedia.org/wiki/File:UVMapping.png
14
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 14 Placing a Texture on a Sphere 14
15
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 15 Placing a Texture on a Sphere 15
16
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 16 3D Lights ■ Lights are nodes in the scene graph ■ PointLight ■ AmbientLight ■ Default light provided if no active lights 16
17
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 17 Lights, Camera, Action!
18
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 18 Example 3D / multi-touch app: ZenGuitar3D
19
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 19 Rotating Instrument Picker with Scroll Gesture
20
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 20 Using Scroll Gesture for X/Y Rotate
21
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 21 Playing with JavaFX 3D
22
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 22 Start Here: http://javafxcommunity.comhttp://javafxcommunity.com
23
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 23 Download JDK 8 Early Access Release
24
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 24 Jim Weaver Java Technology Ambassador Oracle Corporation @JavaFXpert james.weaver@oracle.com JavaFX 3D in 7 Minutes
25
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 25
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.