Jump to content
  • Advertisement
Sign in to follow this  
ade-the-heat

rocket disapears !- FIXED !! no need to reply

This topic is 4842 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!