JavaFX and (Affine)Transforms

Pedro Duque Vieira pedro.duquevieira at
Fri May 4 13:39:07 PDT 2012

Problem is, in certain apps, I have one like that, you do not want so
separate the label from the other components on the scene graph, you just
want to make it readable.

It's a Billboard behavior, very used in 3D computer graphics, usually to
render sprites parallel to the camera but also useful in these cases.


On Fri, May 4, 2012 at 5:29 PM, Alexander Kouznetsov <
alexander.kouznetsov at> wrote:

> However there is another approach for that. You can put label in not
> transformed layer on top of other content and use localToScene methods to
> get the pivot point to move it along with the content.
> Best regards,
> Alexander Kouznetsov
> On 04.05.2012 19:34, Pedro Duque Vieira wrote:
>> +1 for this.
>> If you have a look at java3D they have this part pretty well figured, you
>> can get/set transforms and apply calculations to them.
>> Related to this issue is this one:
>> You can't do something like a Billboard behavior right now.
>> That is for instance, making a label in a 2d scene always show parallel to
>> the bottom of the screen and left to right whatever the
>> transforms applied to its parents are, so the user can read it.
>> Best regards,

Pedro Duque Vieira

More information about the openjfx-dev mailing list