Object GLow

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/12/2009 at 07:44, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
I remember asking about this before but I never solved this one and unfortunately I have put it off long enough.   LOL

I need to enable object glow in the render settings.

Here's what I have.

  
      RenderData * rd = doc->GetActiveRenderData();  
      PluginVideoPost * vp = rd->GetFirstVideoPost();  
    
      for ( vp; vp; vp->GetNext())  
      {  
          GePrint("In the Loop");  
          if(vp->GetType() == VPPRIORITY_OBJECTGLOW)  
          {  
              vp->SetParameter(VPPRIORITY_OBJECTGLOW, TRUE,0);  
          }  
      }  

I know that VPRIORITY_OBJECTGLOW  is not a video post plugin.   I need to know how do I identify the object glow plugin?  What is it called?

THanks,

~Shawn

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/12/2009 at 10:02, xxxxxxxx wrote:

solved this one..      for those of you out there interested in how to insert video post effects,,,

THis is how I inserted object glow

//ENABLE OBJECT GLOW
     
      RenderData * rd = doc->GetActiveRenderData();
      if (!rd) return FALSE;
      PluginVideoPost * pvp = PluginVideoPost::Alloc(VPobjectglow);
      if (!pvp) return FALSE;
     
      rd->InsertVideoPost(pvp,0);

the types of effects can be found under VP in the documentation.

:)

~Shawn