Units to Pixles

Blitz3D Forums/Blitz3D Programming/Units to Pixles

Ok I think my brain has finally turned into oatmeal here.

Im trying to design a HUD texture to place on a surface that fills the cammera view so that I can referance the offsets within the texture as X,Y to update data.

Now this should be simple, right? The only problem Im having in I want it to scale to the size of the window, so Im looking for a way to get pixle perfect scaling at a range of .02 from the cammera. That is the surface needs to fill the entire display.

Any ideas?

;-

At the default CameraZoom:

At a distance of 1.0 units from the camera, the screen is 2.0 units wide and 1.5 units high.

Thanks guys