I’m learning animation nodes and am creating a tree to create fast edge line objects, displaced according to distance from camera, fov, and render resolution to create a single pixel thick edge line.
Obviously, something like that isn’t going to show up right in my viewports, which may have different resolutions even if I’m in camera view.
I know that I might not be able to make things work for multiple viewports, but is there any way that I can find out the resolution, eye position, and zoom of, say, viewport[0] and use that to drive a custom property?
If I can do that, is it also possible to drive on the basis of “am rendering” so that I can use viewport values when previewing, but render values when rendering?