cms271828 2 Junior Poster

Hi

I've made a cube in Javafx 2.0, see http://www.colin-java.co.uk/pics/ftcfx.png

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.


It seems using a PerspectiveTransform makes a big difference, since this will display an image in the shape of a quadrilatrial in 2D. So using this with a lot of vector math, I could recreate the cube by manually drawing several PerspectiveImages.
But this is 'bad', cause all the 3D functionality of javafx2.0 is lost.
So supposing I wanted to make some 3D type game, I would really have to use the javafx 3D functionality, which then gives me jagged pictures as shown in the link

Let me know if any ideas come to mind

Thanks for any help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.