Hallo,
when i use perspective(fovy, aspect, zNear, zFar) > favy & aspect works as it should
but zNear & zFar change nothing. I use Processing 4.4.10
setup() >P3D & PGraphics matrix...
.
.
matrix.beginDraw();
matrix.beginCamera();
matrix.perspective(fovy, aspect, zNear, zFar);
matrix.camera(eye.x, eye.y, eye.z,
center.x, center.y, center.z,
achse.x,achse.y, achse.z);
matrix.ambientLight(ambientLightcolor,ambientLightcolor,ambientLightcolor);
matrix.directionalLight(dl, dl, dl,0,0,-1);
matrix.lightFalloff(constant, linear, quadratic);
matrix.endCamera();
.
.
.
after cam() i shape different things with matrix.shape(…)
and finally
image(matrix,0,0);
and
matrix.clear();
The strange thing is that when I drive out with the camera, the clipping limit always starts right behind a certain shape.
Does anyone have a solution or idea?
thx…


