• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Smooth Shapes / Images

 
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic