Jump to content

Suggested feature: Final render flag


Recommended Posts

A comment by BoltBait on a leveling plugin thread made me remember a feature I've wanted. It would be useful if there were a "final render" flag a plugin could test to see if the render code was out of the phase where the user was modifying the controls and instead doing the final render pass. That way, any information in the image that was added to help the user adjust the controls could be omitted. Or the image could be, for instance, rendered with anti-aliasing enabled. I have no idea how had it would be, or if it's even possible, but I do notice there always seems to be a render pass done after the plugin is closed with an OK.

Link to comment
Share on other sites

I fully support this suggestion as I have asked Rick for it many times as far back as 21 September 2008.

Of course, when using your own UI, it is easily possible. What we're asking for is a way to determine when the OK button is pressed when using Indirect UI.

I imagine something like:


if (IsCancelRequested) ...
only for when the OK button has been pressed:


if (IsFinalRender) ...


if (IsOKButtonPressed) ...
Link to comment
Share on other sites

This probably goes without saying, but the flag should also be set when the "repeat last effect" is used. Maybe it would make more sense for the flag to have the opposite sense, like "IsInteractive."

Edited by MJW
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...