migration to msvc
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 =(
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
hope that helps
-Dan
EDIT: theres a 'p' in transpose (i cant type haha):-p
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
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
As other people have said, it sounds a lot like a case of not setting initial values of variables.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement