[Closed] Zoomerator (like) Script for 3Ds Max?
Closest to this would be the blowup option for rendering, which allows you to pick a region to render with current fov and perspective but blown up to the whole screen/render output.
Thanks for your replies.
Is it possible to virtually magnify the viewport resolution and then display a part of it in a virtual viewport?.. by unlocking some channel or something via maxscript?!!
idk
I am not looking to render a large image, but to model geometry based on a bg projection image plate, and zooming it for best possible vertex placement.
You can get close to what you want using a second camera parented to your main camera. From there you adjust the fov to zoom and use the “Zoom Camera” Local X and Y rotation to handle the panning.
Without doing a lot of testing it gets a little hard to figure out how pixel perfect the results would be.
-Eric
Edit: Make sure you get Martin Breidt’s Image Plane script. Link it to your Main Camera, since viewport backgrounds are locked to the specific viewport and not a specific camera.
Hi Eric
As I said I want to do image based modeling and projection mapping; what you are saying will create a parallax between the bg plate and fg geometry as I zoom in and out (FOV). So if I zoom in and place a vertex on the apparent corner of the reference image it won’t be placed at that corner when looked through a different (projection) cam.
Zoomerator magnifies the image prolly by rendering a virtual viewport of much larger resolution (with same camera properties) and showing a piece of it.
Hmm, I wonder if you could set up a camera like that, you would have to base the tm of the camera on the camera that you are working with. You would have to take into account skewing the cameras view so that it matched the angles that the original camera has no matter where it is. There is a brain melter for sure.
Well almost…
I just found a feature in Max OpenGL mode called Virtual viewports…it lets you zoom into your current viewport without altering the cam settings or even without a cam…
Viewport Configuration> Regions (tab) / Virtual Viewports (box)
It has Zoom and X-Y offsets (pan)
But the dialog box needs to accessed each time you want to change the view, a script to make it accessible as a floating window would have been great. :lightbulb
Like I said, copy the camera, change the fov to zoom, then use the Local X/Y rotation of the zoom camera to pan. The Image Plane script is so you can lock the image to a specific camera, it has nothing to do with the zooming.
Did you even try my suggestion?
-Eric
Hi Eric
I gave a thought to your suggestion and I believe it won’t work.
The moment I alter the FoV of one cam the perspective will be skewed…so things that appear colinear from that pov won’t appear so with a different cam with different FoV, in this case the projection cam. In my case I needed coliniriaty of points when viewed from both the projection cam and the new zoomed cam, which is only possible if the projection cam itself acts as the zoom cam.
Anyway the virtual viewports itself is the very feature I was looking for, and (I guess )unlike Maya it is already built-in in Max.
I am not so sure that PiXeL_MoNKeY’s idea would not work. with no optical distortion U can imagine a line from camera to every viewed pixel in infinity. If U copy camera A and rotate the copy around camera’s pivot (not target) U are using just lines from this imaginery collection. But I could be wrong and it is not what U are looking for. so anyway good luck.