How to resize objects at different z-positions to exactly fit camera (width and height)?

… I believe there was a post here published recently describing how to do this, but I can’t find it anymore. Does anyone have an idea what I’m talking about? There was also an example with cubes (red and blue I believe) stretched to fit the width and height of the camera positioned at different z-values. Thanks!

@looeee you should add it to THREE math :smile:


cool, thanks @Fyrestar! :grin: this one really ages well :+1:

1 Like

It’s this topic you’re talking about, it was useful for me.

No it’s not, but thanks! :wink:
:point_up: The topic I was looking for was exactly the one found by @Fyrestar.

1 Like