Nothing wrong with your code ... same as I use.
I think what your seeing is expected behavour when using a non-ortho camera. Basically, world coords 0,0,0 and 0,50,0 will not necessarily have the same viewport x coord. Position a sphere at each world coord and you'll see what I mean.
Other than that .. do you have a short working example?
Stevie
I think what your seeing is expected behavour when using a non-ortho camera. Basically, world coords 0,0,0 and 0,50,0 will not necessarily have the same viewport x coord. Position a sphere at each world coord and you'll see what I mean.
Other than that .. do you have a short working example?
Stevie