camera.SetBackPlane();ÂÃ, I assumed that controlled the camera range, that is how far off into the distance it sees. But no matter what I set it too, it still sees only the same distance.
If this is not the correct command, how can I increase the range(distance) the camera sees?
That is the correct command. The backplane of the frustum is from the cameras position. And it does work ;)
I set it to higher values and it wouldn't see any further. Is 1000 the maximum size? I was going higher than that and it wouldn't go higher or see any further?
I in the meantime I redid all my models(very simple ones) and made them much smaller to fit into the 1000 range and into the game world :)
No. I've used values of 10K or more. Sure your not setting it twice somewhere?
OK I do remember something about Direct3D and a clipping problem. The 1000.0 value jogged my memory. Has to do with Z buffer writing....i'll look through the docs.
I recommend scaling things down anyway. Units in direct 3D are arbitrary so pick a scale that has meaningful representation. 1.0 = 1 meter or whatever you like.
And the problem is your front plane. DX uses the ratio of the near and far clipping planes to determine Z buffer resolution. Increase your near (front) plane to something greater than 1.0f, say 10.0f and see if that helps.
Thanks will try that in another one as I remade all the models smaller. Nice to know that can adjust for it in the future :)