I was build a tube using glDrawElements() and cone using standard glu function. Inside the tube there is a cone. My question, I want to see the cone when I come close to the object. What I did so far, I just changed the opacity of the tube but unfortunately I can see the cone. But when I changed the command to build the tube using standard glu function, it’s works !! can you tell me what are the problem. Is it because of the glBlendFunc or anything else ??
here I attached portion of the code …
glInterleavedArrays(GL_N3F_V3F, 0, v6f_cyl);
glDrawElements(GL_TRIANGLES, 96, GL_UNSIGNED_BYTE, indices_table_cyl);