suvakas
01-24-2008, 08:38 AM
Hi guys,
I ran into an issue I can't find an answer from the forums neither from the help file.
Is there a way to draw a custom render region via maxscript so that the visual feedback for the user looks the same or similar as the standard region rendering? You know..this resizable rectangle for defining a region to render before you hit the actual render button.
Imagine, that there is a rollout with a button named "Define region" and when you press the button it allows you to draw a custom rectangle over a view using a mouse.
So far i've found a command viewport.setRegionrect, but it doesn't give me visual feedback.
I think even drawing a simple rectangle over an active viewport would do what i want. Is there such way? Drawing a rectangle on to a viewport?
Maybe someone knows something..or some spot in the help file i could check out.
Thanks in advance!
Suvakas
I ran into an issue I can't find an answer from the forums neither from the help file.
Is there a way to draw a custom render region via maxscript so that the visual feedback for the user looks the same or similar as the standard region rendering? You know..this resizable rectangle for defining a region to render before you hit the actual render button.
Imagine, that there is a rollout with a button named "Define region" and when you press the button it allows you to draw a custom rectangle over a view using a mouse.
So far i've found a command viewport.setRegionrect, but it doesn't give me visual feedback.
I think even drawing a simple rectangle over an active viewport would do what i want. Is there such way? Drawing a rectangle on to a viewport?
Maybe someone knows something..or some spot in the help file i could check out.
Thanks in advance!
Suvakas
