GetDDescription() is not called in VideoPostData
-
On 13/11/2014 at 14:59, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13+
Platform: Windows ;
Language(s) : C++ ;---------
as the title says, I couldn't figure out how to get GetDDescription() to be called in my VideoPostData plugin, I searched the forums but most of the topics are about object/tag plugins -
On 14/11/2014 at 02:50, xxxxxxxx wrote:
Hello,
GetDDescription should be called for an active video post effect. Do you work on a simple post effect or a renderer? Do you define parameters in a resource file and are these parameters displayed correctly?
Best wishes,
Sebastian -
On 14/11/2014 at 03:02, xxxxxxxx wrote:
Hi,
I'm working on a renderer "but the same problem happens in the video post effect" , and I wanna do ALL parameters in the GetDDescription() function "even the static ones" , the plugin inits correctly, and I display name using:
RegisterVideoPostPlugin(MY_PL_ID, String("my renderer name"), PLUGINFLAG_VIDEOPOST_ISRENDERER, MyPluginVP::Alloc, "", 0, 0);it displays the name in the renderer drop down list, but with an empty description "the function is not called at all, I tested it with GePrint()"
edit: all parameters are created as enum inside the .cpp file, and should be used in the GetDDescription() according to this, there is no .res file or .str file or .h file "the whole folder is not created, tell me if this would make a problem and a work around for this"
-
On 14/11/2014 at 05:13, xxxxxxxx wrote:
Hello,
you have to create a default resource file. Simply define an empty ID_VIDEOPOSTPROPERTIES group and use GetDDescription to add your parameters.
best wishes,
Sebastian -
On 14/11/2014 at 09:54, xxxxxxxx wrote:
Hi Sebastian,
thanks a lot !
Smile
[URL-REMOVED], so I see it needs a minimum of "empty" .res file containing the NAME, I didn't need ID_VIDEOPOSTPROPERTIES here though, thanks again for the help
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.