QueasyCam Problem

Hi,

I’m currently using the QueasyCam library. When I move around the scene, the box will eventually disappear. How do i fix this?

Gif to show what is happening

I used the sample code provided

Thanks

1 Like

Hey!

In this case you would need to make use of the perspective() function in Processing which you can find in the reference here. This deals with field of view, aspect ratio, and most importantly in your case, near and far clipping planes when rending in P3D. Try fiddling around with the last parameter and that should help you edit how soon or late you will see objects disappear from view.

1 Like

Thanks! That solved the problem!

1 Like