Scale and world size questions
Posted: Wed Jan 10, 2007 11:33 pm
First question is what is the maximum x,y,z cordinates that I can use in irrlicht?
Second question what would be a good scale to use. For example if I move an object from the orgin to 1 foot in the air. Would I want to move it by (0,1,0) or (0,100,0). I realize I can do both but I would think that 1 would be a poor choice becuase to move small amounts I would loose accuracy due to floating point precision. If I do 100 it seams like this would be a bit over kill?
Third question is what is the maximum values that a point can be at, for example if I have a point at the orgin and I want to move it to the farthest corner possible? Also what happens if I move beyond the maximum value would I get an overflow that is just ignored and warp to the other side or would the application crash. (assuming I don't change any behavior of the engine)
Second question what would be a good scale to use. For example if I move an object from the orgin to 1 foot in the air. Would I want to move it by (0,1,0) or (0,100,0). I realize I can do both but I would think that 1 would be a poor choice becuase to move small amounts I would loose accuracy due to floating point precision. If I do 100 it seams like this would be a bit over kill?
Third question is what is the maximum values that a point can be at, for example if I have a point at the orgin and I want to move it to the farthest corner possible? Also what happens if I move beyond the maximum value would I get an overflow that is just ignored and warp to the other side or would the application crash. (assuming I don't change any behavior of the engine)