THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/11/2010 at 19:30, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;
I need to do some kind of simple outline rendering(aka cartoon or cel rendering) on every
editor window update. So i am wondering if it is possible
to get VideoPostData executed on every editor-window update.
It only executes on direct rendering, but I need my code there to execute,
because I need the VolumeData, am I right ?
I have tried SceneHookData, but i dont get Ray-Information there,
so it would be much harder to get the redering information.
I have set the Flags to PLUGINFLAG_VIDEOPOST_INHERENT|PLUGINFLAG_VIDEOPOST_GL
the priority is VPPRIORITY_EXTERNAL and
GetRenderInfo returns VIDEOPOST_REFRESH|VIDEOPOST_STOREFRAGMENTS
Even "Execute" and "GlDraw" are not executed.... even i select all Enhanced OpenGL
modes in the editor window.
Do you know how I get VideoPostData executed on every editor
window update ?
Or do you kow how to get raytracing information in SceneHookData ?
On 04/11/2010 at 04:30, xxxxxxxx wrote:
Where do you want to render in the picture viewer or the editor?
On 05/11/2010 at 10:35, xxxxxxxx wrote:
Directly at the main Editor-Window.
I don't draw there, I only want to get the VolumeData
every time the editors view Changed. Not in the Picture Viewer.