Depth map



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

    On 30/05/2006 at 04:56, xxxxxxxx wrote:

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

    ---------
    Hi,

    I'm writing a Post effect plugin that (with other functionalities) could write a depth map. I read in this forum that I should switch on the near and far blur of the camera so that I can get the VPBUFFER_DEPTH from the Render object.
    I tried but I got nothing. A rendering with those options shows no difference (I set the values like it is writen in the documentation). Is there something else to switch on ?

    Otherwise, would it be possible to create a depth map for a saved picture with the method VolumeData::TraceGeometry ? If yes, could you explain me a bit how I should use it because the SDK doesn't explain a lot about that.

    Thanks a lot !

    Vincent


Log in to reply