Get DDV / DDU



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

    On 21/06/2006 at 21:07, xxxxxxxx wrote:

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

    ---------
    Hi All,

    i need the 2 vectors called ddu and ddv from volumedata in my materialplugin.

    I returned in getrenderinfo the correct SHADER_DUDVREQUIRED but always my volumedata (sd->ddv) return 0.0,0.0,0.0 vector.

    Any help?

    Cheers
    Renato T.



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

    On 24/06/2006 at 15:24, xxxxxxxx wrote:

    Can someone help me ?

    Cheers
    Renato



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

    On 24/06/2006 at 16:19, xxxxxxxx wrote:

    ok, i got it, thanks Cris.

    LONG FastFurMaterial::GetRenderInfo(PluginMaterial *mat)
    {
         return SHADER_DUDVREQUIRED|SHADER_CHANGENORMAL;
    }


Log in to reply