InitRenderStruct
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/11/2011 at 21:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13
Platform: Windows ;
Language(s) : C++ ;---------
Hi,
I used CustomDataType Gradient in VideoPostData's Execute function.
Now R13, Gradient->InitRender function requires InitRenderStruct.
How can I get InitRenderStruct in VideoPostData's Execute function?Best regards,
Takamitsu
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2011 at 01:38, xxxxxxxx wrote:
Hi,
In this case you have to initialize the InitRenderStruct with the current document and assign the volume data manually:
if (!vps->doc) return RENDERRESULT_OUTOFMEMORY; InitRenderStruct irs; // Initialize the InitRenderStruct with the infos from the document irs.Init(vps->doc); // Assign the volume data of the VideoPostStruct to the InitRenderStruct volume data irs.vd = vps->vd;
Tell me if this work for you.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2011 at 03:07, xxxxxxxx wrote:
Thank you for your help!
It was able to do well by the method.