Jump to content
  • Advertisement
Sign in to follow this  
indieboy

OpenGL migration to msvc

This topic is 4790 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 using dev-cpp and opengl for a project, but then i decided to move on and start using msvc. So i recreated the project on msvc .net 2003 and it compiles and run nicely, except all polygons now look weird and converge to a single point in the middle of the scene.. i know it sounds noobish and i think it should be something very silly but anyway.. i would very glad if someone could help me .. =) ps: i managed to work once in release build, but now both builds are wrong and i don't know what to do =(

Share this post


Link to post
Share on other sites
Advertisement
O_o is it a large project? because some source would be nice, maybe you're using fans (thatd do it) also i believe if you send the transpose of the matrix you really want, you could get some strange results (that may resemble that)

hope that helps
-Dan

EDIT: theres a 'p' in transpose (i cant type haha):-p

Share this post


Link to post
Share on other sites
Hi,

I migrated from Dev-C++ to MSVC++ .Net 2003 a few months ago. It took me two or three days to get everything running.
One hint I can give you is, that you should pay special attention to how you declare and initialize your variables. At least make sure, that every variable is initialized by some value! Usually 0 - however. Also make sure, that pointers are initialized to NULL!
Dev-C++ sometimes seems to initialize variables to 0 in most cases but MSVC++ in nearly all cases, doesn't!

Your problem seems to be very specific but maybe I could help a bit...

Bye,
ZMaster

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!