51 #include "SelectionObjectMarker.hh" 55 const ACG::Vec4f disabled_color (0.4f,0.4f,0.4f,1.f);
56 const ACG::Vec4f selected_color (0.f,1.f,0.f,0.5f);
62 if (_obj->
flag(
"vsi_objectId_disabled"))
67 else if (_obj->
flag(
"vsi_objectId_selected"))
83 _color = disabled_color;
87 _dst = GL_ONE_MINUS_SRC_ALPHA;
88 _color = selected_color;
bool stencilRefForObject(BaseObjectData *_obj, GLuint &_reference)
bool blendForStencilRefNumber(GLuint _reference, GLenum &_src, GLenum &_dst, ACG::Vec4f &_color)