Sign in to follow this  

rocket disapears !- FIXED !! no need to reply

This topic is 4598 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The problem is that when the rocket is at a normal to the camera I can see it: eg when I see this then it has the correct colors etc / | | | | | | Then when its viewed along the line of fire like the below I can just about (if I'm lucky) see a small part of its outline: _ / Why would it disapear like this ? I draw my rocket like this:

DrawRocket()
{
GLUquadricObj *rocket = NULL;
glPushMatrix();
 	glCallList(rocketlist);
 glPopMatrix();
}

Display list for rocket

rocketlist=glGenLists(1);
glNewList(rocketlist, GL_COMPILE);
		rocket = gluNewQuadric();
		gluQuadricDrawStyle(rocket, GLU_FILL);
		gluQuadricNormals(rocket, GLU_SMOOTH);
		gluCylinder(rocket, 1.2, 1.2, 8.0, 5, 5);
		glTranslatef(0.0, 0.0, 8.0);
		gluCylinder(rocket, 1.2, 0.2, 3.0, 5, 5);
   glEndList(); 






thanks

Share this post


Link to post
Share on other sites
First off, congratulations!
Now I find it more helpful to the community if you did one of the following, instead of just editing the topic-title, which wasn't bad at all.
1) Delete the topic using the edit-page. (Check the box and press submit)
2) Edit the topic-title (like you did), but also provide the solution that you used to fix the problem.

Again, I'm happy to see you fixed the bug.

Share this post


Link to post
Share on other sites

This topic is 4598 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this