Viewport camera issues

I have been experimenting and here is a showcase of an issue I found, i made a placeholder model which is quite tall and has a smaller block on top and then I generate a index viewport gui with a script

  • ignore how the model doesn’t fit, as I haven’t set the height well, real models fit in

    image
  • the issue is as you can see how the top is barely visible due to camera being 3d and the parts being hidden behind the bigger one

My question is, is there a way to make the camera more like a plane, where it would work like a top-down view but from a side (so the black viewport would showcase the top thing as well, similary to the top image)? I have tried to find a solution for this but haven’t found anything.

When the model is smaller then these kinds of extensions can be seen but as the height gets bigger those small details on top/bottom vanish.

2 Likes

roblox doesn’t have a native orthographic camera setting, so u have to fake it.

​set the camera’s FieldOfView down to a super low number (like 1 or 2), and then move the camera’s CFrame WAY further back from the model. low fov + huge distance flattens the perspective completely, so it’ll look 2d/flat and the top won’t get hidden by the angle anymore. :palm_up_hand:

3 Likes

I will do some calculations and testing now, and let you know if it worked well

3 Likes

worked just like what I needed, thanks!

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.