Position mesh in screen coordinates

Blitz3D Forums/Blitz3D Programming/Position mesh in screen coordinates

Hi. We have a mesh and we want to put it all the time in the left-botton corner. We want to know how to calculate the x, y, z of the mesh when we use diferent graphic resolution(800x600, 1024x768, etc). How many pixels are there in one unit of space coordinate(PositionEntity(ent,1,1,1)).

Thanks a lot. EOS.

The 3d world has its own coordinate system.

You can set resolution to 640x480, 800x600, 1024x768 etc.
and it will have no effect on where entities appear on screen.

In the code archives there is a program called 'sprite control'. It is intended to place sprites using 2d (screen) coordinates. But because it creates quad-meshes you can actually use it to resize/place any mesh with it.

Thanks a lot Floyd and Ghislain