Jump to content
  • Advertisement
Sign in to follow this  
kaoslifekaos

strange problem!

This topic is 5407 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

i was working on a project to study basic 3d drawing and i managed to draw a model. then i carry the project to my laptop. i installed directx and sdk. run the project and see something really strange. its like all the polygons have a vertex at origin. when i change it from trianglelist to linelist, i see there are lines to points from the origin. what can be the problem? i cant even search for it in the web :) so i decided to ask you.

Share this post


Link to post
Share on other sites
Advertisement
Sounds like it found the center of gravity!!

Try glDisable(GL_CENTER_OF_GRAVITY); <--- Just joking!!

um well there is a poly type which does almost a similar thing!GL_FAN_STRIP

us see ot consists of a convex poly and simple generates triangles Vert[0] + Vert[i+1] + Vert[i+2]
Which means in wireframe assuming it doesnt just draw the border it would almost be the same!

What do you mean origin? Is that the center or the first Vert?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!