Add a Render Effect [SOLVED]
On 06/02/2017 at 23:17, xxxxxxxx wrote:
I have a question:
How to add a Render Effect into a current Render Setting via python? For example,add a NormalPass Effect.
Thank you for any help!
On 07/02/2017 at 07:10, xxxxxxxx wrote:
Hi kjya2008, thanks for writing us.
With reference to your support request, adding a Render Effect in the current Render Setting is as straightforward as much as adding a VideoPost to the current RenderData.
Actually the steps to carry out are:
- Retrieve the current RenderData (GetActiveRenderData())
- Allocate the new VideoPost instance related to the specified effect by specifying its ID
- Insert the allocated instance in the RenderData (InsertVideoPostLast(...))
- Enable an event add (EventAdd())
On 07/02/2017 at 16:50, xxxxxxxx wrote:
Thank you very much!