Drawing infront



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

    On 07/01/2005 at 13:50, xxxxxxxx wrote:

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

    ---------
    Hi,

    I want to use simple drawing methods like BaseDraw::Line2D and BaseDraw::Point2D but I want them to be drawn infront of everything.

    Currently, if an object moves infront of my drawing area, the object covers the drawing code.

    I thought setting the Z component of a vector to 0 would fix it, but it doesn't seem so



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

    On 08/01/2005 at 06:42, xxxxxxxx wrote:

    What are you returning in your draw method? Afaik it depends on what is currenlty drawn. I guess you need to draw when the handles and axis are drawn. Just check for the flags and then draw when it´s their turn (or returning the flags might do it too). But am not absolutely sure.



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

    On 08/01/2005 at 09:24, xxxxxxxx wrote:

    Sorry I forgot to mention this is in a TagData plugin. I don't have access to the drawpass :(

    I am just returning TRUE which means success


Log in to reply