# QueasyCam Problem

**URL:** <https://discourse.processing.org/t/queasycam-problem/447>\
**Category:** Libraries\
**Created:** [May 27, 2018, 8:40pm UTC](https://discourse.processing.org/t/queasycam-problem/447 "2018-05-27T20:40:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VansiusProductions](https://avatars.discourse-cdn.com/v4/letter/v/4da419/32.png) [@VansiusProductions](https://discourse.processing.org/u/VansiusProductions)\
**Post date:** [May 27, 2018, 8:40pm UTC](https://discourse.processing.org/t/queasycam-problem/447/1 "2018-05-27T20:40:16Z")

</div>

Hi,

I’m currently using the [QueasyCam](https://github.com/jrc03c/queasycam) library. When I move around the scene, the box will eventually disappear. How do i fix this?

[Gif to show what is happening](https://gyazo.com/a927c71bbe3b0189542e24b474317384)

I used the sample code provided

Thanks

---

<div class="post-metadata">

**Author:** ![nicolaskellum](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/nicolaskellum/32/15860_2.png) [@nicolaskellum](https://discourse.processing.org/u/nicolaskellum)\
**Post date:** [May 27, 2018, 9:07pm UTC](https://discourse.processing.org/t/queasycam-problem/447/2 "2018-05-27T21:07:22Z")

</div>

Hey!

In this case you would need to make use of the `perspective()` function in Processing which you can find in the reference [here](https://processing.org/reference/perspective_.html). 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.

---

<div class="post-metadata">

**Author:** ![VansiusProductions](https://avatars.discourse-cdn.com/v4/letter/v/4da419/32.png) [@VansiusProductions](https://discourse.processing.org/u/VansiusProductions)\
**Post date:** [May 27, 2018, 11:42pm UTC](https://discourse.processing.org/t/queasycam-problem/447/3 "2018-05-27T23:42:08Z")

</div>

Thanks! That solved the problem!
