45 #include "SelectionObjectMarker.hh" 49 const ACG::Vec4f disabled_color (0.4f,0.4f,0.4f,1.f);
50 const ACG::Vec4f selected_color (0.f,1.f,0.f,0.5f);
56 if (_obj->
flag(
"vsi_objectId_disabled"))
61 else if (_obj->
flag(
"vsi_objectId_selected"))
77 _color = disabled_color;
81 _dst = GL_ONE_MINUS_SRC_ALPHA;
82 _color = selected_color;
bool stencilRefForObject(BaseObjectData *_obj, GLuint &_reference)
bool blendForStencilRefNumber(GLuint _reference, GLenum &_src, GLenum &_dst, ACG::Vec4f &_color)