Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

3D Render in Processing 3

$
0
0

Hi, I got changed my GUI in Processing3. Now I have issues with the 3d Render. I get this error message:

translate(), or this particular variation of it, is not available with this renderer. rotateX() can only be used with a renderer that supports 3D, such as P3D.

I tested with P3D and PDF. For controls i use Java AWT.

    @ Override
    public void settings() {
      size(1300, 700);      P3D or PDF
    }

    @ Override
    public void setup(){

        menu_setup();
    }

    void menu_setup(){
     mainFrame = new Frame();
     menuListen = new myMenuListener();
     myMenu = new MenuBar();
     mainFrame.setMenuBar(myMenu);
     mainFrame.setVisible(true);
    }

can anybody help me?

Regards Willi


Viewing all articles
Browse latest Browse all 2896

Trending Articles