Roach
10-04-2000, 05:26 AM
Greetings,
Does any one have any familerarity with creating simi-transparent models? I am trying to have a cone type structure positioned over a globe. I need to have the cone structure transparent over the globe so that I can see the items that are under the cone. (I hope I discribed this enough). As of right now, it is not transparrent, though I am following what my book tells me to do. Here's a snipit of the code.
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glColor4f(0.7, 0.7, 0.0, 0.1);
glBegin(GL_POLYGON);
.
. // Stuff to make the cone.
.
glEnd();
Any ideas? http://www.opengl.org/discussion_boards/ubb/confused.gif
Thanks
Roach
Does any one have any familerarity with creating simi-transparent models? I am trying to have a cone type structure positioned over a globe. I need to have the cone structure transparent over the globe so that I can see the items that are under the cone. (I hope I discribed this enough). As of right now, it is not transparrent, though I am following what my book tells me to do. Here's a snipit of the code.
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glColor4f(0.7, 0.7, 0.0, 0.1);
glBegin(GL_POLYGON);
.
. // Stuff to make the cone.
.
glEnd();
Any ideas? http://www.opengl.org/discussion_boards/ubb/confused.gif
Thanks
Roach