Level of detail

Scott Palmer swpalmer at gmail.com
Mon Jul 29 13:17:57 PDT 2013

The concept of Level of detail was recently brought up.  I believe it was
referring to 3D, but the concept applies to 2D as well, when we have the
concept of 2D scaling ("zoom")

Is there a current plan to address this?

Is there a current technique that can be used to get something close?

For example, the two use cases I have right now:

If I have a lot of Text nodes and they become unreadable when zoomed out,
is there a way I could have them fade out and not cost me layout and
rendering time?

If I have an image that is rendered from SVG data and used in multiple
places in the scene graph.  I want to update it if the user changes the
zoom level so that it isn't blocky, or replace it with the vector graphics
used to render it if the user zooms in so much that the image size would be

I can't think of a reasonably easy way to implement those cases.

I'm thinking of some new kind of Pane that is sensitive to the size that it
will finally be rendered at.  It could be used to hide or replace it's
children based on the final bounds it will have on screen.


More information about the openjfx-dev mailing list