Setting glViewport

How do you set glViewport in JME3. I want to alter the coords to my own.
is glViewport that same as Camera.setViewPort. It appears not to be. There is a lower level that defines the window

Also, can you set coords for the GUI Node. Right now it is just the screen size. I want to define it to be a fixed like 3D view, -1 to 1 in a since, so resolution doesn’t matter.
How do you change the “glOrtho()” settings. I want to define my own coords, so they are easier for many sizes.

I hope I make sense.

Thanks,
Kevin

Camera. Viewport. Set Ortho. It’s all right there on camera.

Make your own ViewPort with its own camera setup. Don’t mess with the existing guiNode or you will end up unhappy.