IntelliJ Java IDE
The moose likes JavaFX and the fly likes Smooth Shapes / Images Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "Smooth Shapes / Images" Watch "Smooth Shapes / Images" New topic
Author

Smooth Shapes / Images

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 706
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
Greenhorn

Joined: Jan 26, 2012
Posts: 16
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.
 
 
subject: Smooth Shapes / Images
 
Threads others viewed
Null Pointer Exception
Story for MAP
Copyright
AffineTransform "transform" method
JComboBox
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture