PDA

View Full Version : How to set the "viewport blowup" values do?


jthwax
05-07-2009, 01:49 PM
How to set the "viewport blowup" values do?
I use the following methods to set and get the test.


box_blowup = (Box2 bp1 bp2 bp3 bp4)

viewport.setblowuprect viewport.activeviewport box_blowup

true_box_blowup = viewport.getblowuprect viewport.activeviewport


But, examined that the project actually does not tally,
I would like to ask how can the same?

ZeBoxx2
05-07-2009, 02:51 PM
make sure that the width and height you set conform to the same aspect ratio as your renderWidth / renderHeight; blowUp rendering always uses the same aspect ratio and trying to set values with a different aspect ratio will result in 3ds Max setting values as close to that aspect ratio as possible.


box_blowup = (Box2 0 0 30 40)
(Box2 0 0 30 40)
viewport.setblowuprect viewport.activeviewport box_blowup
OK
true_box_blowup = viewport.getblowuprect viewport.activeviewport
(Box2 0 0 53 40)

53.0/ 40.0
1.325

rendImageAspectRatio
1.33333

jthwax
05-11-2009, 02:38 PM
Thank you ~ ZeBoxx2 ~

CGTalk Moderation
05-11-2009, 02:38 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.