aspose file tools*
The moose likes JavaFX and the fly likes Smooth Shapes / Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Smooth Shapes / Images" Watch "Smooth Shapes / Images" New topic
Author

Smooth Shapes / Images

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 744
Hi

I've made a cube in Javafx 2.0, see here

But as everyone can see, the edges of the shapes / image are horrendous.
This is even with smooth set to true, but it appears to do nothing.
Setting it to false seems to make no difference.

I've tried googling this to find a solution, but have found nothing so was wondering if there was any to fix this.

Thanks for any help
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 142
    
    9
Anti-aliasing of 3D scenes has not been implemented in JavaFX 2.0's Prism rendering engine (as of the 2.0.2 version).
The feature is scheduled for a future update release.
See http://javafx-jira.kenai.com/browse/RT-5534 for the related feature request - login required but anybody can signup to view the request.

Anti-aliasing did work for the previous JavaFX releases (1.3.x) because they were not, be default, using JavaFX's new Prism rendering engine.
Anti-aliasing may work with the 2.0.2 release if you switch it to use a software or java2d graphics pipeline - I think there is a -D java command line option which can be used to set a property for that, but I don't know what the command line option is, nor how to determine it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Smooth Shapes / Images