Hi Everyone,
I'm fairly new to Maxscript. I'm using 3ds Max 2017.
I need to set the x and y dimensions of the viewport in pixels. (We don't necessarily need to set the z dimension.)
Is it possible to do this in Maxscript? If so, how to do it?
Thank you in advance,
Jay
what is your expactation? shall 3dsmax resize the window to your settings? what shall 3dsmax do with all the other gui-windows?
Thank you very much for asking.
My ultimate goal really is to render an object to specific pixel location in a bitmap. To give a simple example, I'd like to render a [20,20,20] cube at pixel location [300,200] of a 800x600 pixel bitmap.
I previously posted a couple of messages here about this, but got no response. So, in trying to break down this problem in simpler problems, I figured that one of the steps involved is to set the viewport dimensions in pixels. Hence my question.
Hope this clarifies it. Thanks again!
Thank you very much for the info. I tried unsuccessfully to look up how (or even whether) this can be done in Maxscript.
Do you happen to know how to set the relevant parameters of the camera (with orthographic projection), please?