Notifications
Clear all
[Closed] Progress Bar for "How to" script
Oct 21, 2009 4:37 pm
Hey all,
I think this might be an easy one…but is there a way to put a progress bar in this script to show the progress of the rendering?
rollout image_button_test "Image Button"
(
button theButton "Press To Render!" width:300 height:169
on theButton pressed do
(
theBmp = render outputsize:[300,169] vfb:off
theButton.images = #(theBmp, undefined, 1,1,1,1,1 )
)
)
createDialog image_button_test 310 179
Its a neat little script…the progress bar would help it…and i would love to see how its implemented. Thanks alot guys!
3 Replies
Oct 21, 2009 4:37 pm
Not really as you need to be able to track the progress, this usually done inside of a for loop.
Oct 21, 2009 4:37 pm
The render() method does not provide good feedback of the progress. It has an option to show a progress at the bottom of Max, but this also hides all rollouts as a side effect which is probably not what you want to see…
So in short it can be done in the SDK (see the Exposure preview windows), but not in out-of-the-box MAXScript.