File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Smooth Shapes / Images

 
colin shuker
Ranch Hand
Posts: 750
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 235
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic