Login  Register

2D Graphics to 3D package

Posted by tamb20 on Jul 27, 2016; 8:52am
URL: https://forum.jogamp.org/2D-Graphics-to-3D-package-tp4036988.html

Hi,

I have a 2D program and I would like to upgrade it to 3D.

However, I face some issue with Graphics 3D package.

The graphics method in 2D package is:

public abstract void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle);


What I can do to find the method in 3D which needs to add  (int z ) to the method.

I have installed java 3D to my computer. So, which package  I can import to have z direction included.

Thank you