libnds Psuedo-GL, remove the floats
Posted: Mon Aug 01, 2011 6:48 am
What's the point in having the inlined floating point functions/wrappers? All they seem to do is confuse people, heck I still get confused and I've got about 2-3 months experience under my belt.
The co-ordinate system on the DS is not the same as a computer or dedicated 3D console, the co-ordinate system has a true physical limit of -32768 to +32767 as an integer, this means that game worlds have to be relatively small and cut out, depending on how you design it (those who use portals in indoor environments should be fine so long as the world moves around the player, not the player through the world) worse was the use of glOrtho in tutorials by Nehe instead of glOrthof32() which is the correct function. Since floating points are converted to fixed values it can get confusing, very quickly as to what floating value is what fixed value.
Before I had learned about the co-ordinate system properly, I was screaming at the glOrtho function, I just wanted a view that spanned 256x192 pixels, but glOrtho didn't make that easy.
I am actually writing a document for my website that explains, in depth, the way you should program your 3D Nintendo DS game, without using floats.
Sorry that I am ranting but why would you, Wintermute, put in functions into a library that is only going to utterly confuse a lot of people?
The co-ordinate system on the DS is not the same as a computer or dedicated 3D console, the co-ordinate system has a true physical limit of -32768 to +32767 as an integer, this means that game worlds have to be relatively small and cut out, depending on how you design it (those who use portals in indoor environments should be fine so long as the world moves around the player, not the player through the world) worse was the use of glOrtho in tutorials by Nehe instead of glOrthof32() which is the correct function. Since floating points are converted to fixed values it can get confusing, very quickly as to what floating value is what fixed value.
Before I had learned about the co-ordinate system properly, I was screaming at the glOrtho function, I just wanted a view that spanned 256x192 pixels, but glOrtho didn't make that easy.
I am actually writing a document for my website that explains, in depth, the way you should program your 3D Nintendo DS game, without using floats.
Sorry that I am ranting but why would you, Wintermute, put in functions into a library that is only going to utterly confuse a lot of people?