3D Transitions?
John Smith
John_Smith at symantec.com
Wed Aug 28 11:16:25 PDT 2013
What kind of transitions are you interested in, and do you think they should be in an external 3rd party library or the core JavaFX platform?
Current transitions are:
Basic transforms - these work fine in 3D
RotateTransition (works in 3D as you can rotate about any axis defined by a given point).
ScaleTransition (this will scale along x, y and z, so will work fine in 3D).
TranslateTransition (this will translate along x, y and z, so will work fine in 3D).
Timing and sequencing transitions - these work fine in 3D
PauseTransition
SequentialTransition
ParallelTransition
More complex transforms:
PathTransition (probably not applicable as it appears to me to be targeted towards 2D paths).
Style Transforms:
FadeTransition (I think that should work fine in 3D as it just changes opacity).
FillTransition (changes stroke fill - not applicable to 3D).
Because cameras are placed in Nodes and the basic 3D transitions (rotate/scale/translate) operate on 3D nodes, you can use these transitions to change camera position, including some of their niceties like easing and custom interpolators.
Additionally, there is enough public API exposed on the base animation system for you define your own Transitions, (for example 3D analogues of http://fxexperience.com/2012/03/canned-animations/), though game style systems might prefer to hook into the low level AnimationTimer (http://blog.netopyr.com/2012/06/14/using-the-javafx-animationtimer/).
-----Original Message-----
From: openjfx-dev-bounces at openjdk.java.net [mailto:openjfx-dev-bounces at openjdk.java.net] On Behalf Of John C. Turnbull
Sent: Wednesday, August 28, 2013 3:10 AM
To: openjfx-dev at openjdk.java.net
Subject: 3D Transitions?
Now that JavaFX 8 will include 3D support, are there plans for a set of Transitions especially suitable for 3D animations?
Thanks,
-jct
More information about the openjfx-dev
mailing list