I have a grid of instances. They are scaled to… whatever size they are scaled to. Scale can change. I need to find out how many of the objects can fit within the viewport / screen based on their current scale. However, I am having a problem determining what the rendered height/width of each object is. Of course, how many of the objects can fit within the screen is also affected by their distance from the camera, which will be fixed in this case.
Q1: What is the best way to determine how many rendered objects, at current scale, can fit into the screen ( in a grid ) at a given distance from the camera? Is there a function for this? I think I am trying to convert rendered widths to pixel widths… ?
Q2: Is it best to even assume the camera distance first? Or should I assume objects are at z:0 and then adjust camera to fit objects?