Create Icon In C4D



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

    On 15/02/2004 at 05:29, xxxxxxxx wrote:

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

    ---------
    Dear all,
    Anyone has any idea or sample how to create icon using C4D, and how to call it from c++ sdk?
    Thanks and regards in advance



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

    On 15/02/2004 at 12:02, xxxxxxxx wrote:

    I assuming you mean an icon for your plugin?
    It's really easy because C4D can use a tif image for an icon :)
    Simply render out a scene with a low resolution at about 32x32 and 24x24, make sure you choose TIFF for the filetype and enable the Alpha Channel option in the render settings.
    Your icon will be created and ready for c4d.
    You can tell what icon to use in the registerxxxxxxx method for your plugin type.
    For a toolplugin it would be

        
        
        
        
        Bool RegisterMyPlugin(void)
        
        
        
        
        {
        
        
        
        
        String name = "Plugin Name";
        
        
        
        
        return RegisterToolPlugin(PLUGIN_ID, name, 0, "pluginicon.tif", "Description of plugin", gNew plugin);
        
        
        
        
        }
        
        
        
    

    Have a look at the sdk examples, almost all the samples have icons



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

    On 15/02/2004 at 17:43, xxxxxxxx wrote:

    I think I am a bit confused now. What i am trying to do is creating the icon within the C4D toolbar. I have to create one image and put in into the C4D toolbar or creating my own toolbar. Can anyone tell me how to do that?
    Thanks and regards


Log in to reply