# Display objects in their original size \[SOLVED\]

**URL:** <https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622>\
**Category:** Coding Questions\
**Created:** [September 2, 2020, 6:11am UTC](https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622 "2020-09-02T06:11:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamTech](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/samtech/32/12897_2.png) [@SamTech](https://discourse.processing.org/u/SamTech)\
**Post date:** [September 2, 2020, 6:11am UTC](https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622/1 "2020-09-02T06:11:03Z")

</div>

Hey there! I have programmed an P3D Simulation and need to display some objects in the size I have initialized them so they appear to stay the same size even if I move my camera away from them. I think there is somewhere a hint() for that but I can not find it. It would be great if you could help me!

---

<div class="post-metadata">

**Author:** ![raron](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/raron/32/13651_2.png) [@raron](https://discourse.processing.org/u/raron)\
**Post date:** [September 2, 2020, 7:10am UTC](https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622/2 "2020-09-02T07:10:08Z")

</div>

Sounds like you mean a orthogonal (orthographic) projection?  
[Ortho()](https://processing.org/reference/ortho_.html)

But that will affect how everything looks, not just some objects.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 2, 2020, 7:44am UTC](https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622/3 "2020-09-02T07:44:09Z")

</div>

In Peasycam look at beginHUD()

Or see 9 in this list

> **[25 life-saving tips for Processing](https://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing/)**
>
> I have bundled a huge number and variety of code examples in this single mega-post. Please learn from my mistakes and experiences! ;-)

---

<div class="post-metadata">

**Author:** ![SamTech](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/samtech/32/12897_2.png) [@SamTech](https://discourse.processing.org/u/SamTech)\
**Post date:** [September 2, 2020, 5:36pm UTC](https://discourse.processing.org/t/display-objects-in-their-original-size-solved/23622/4 "2020-09-02T17:36:54Z")

</div>

Thank you raron and Chrisir for your reply!  
Sadly `ortho()` isn’t working in my sketch because every rotation of my camera gets ignored and a everything else is based on this rotation.  
And the `hint(DISABLE_DEPTH_TEST)` is the basis of my UI and does not work with the objects.

I’ve solved the problem by scaling the objects with `scale()` depending on the distance between camera and object. So this problem is solved. 😄
