Members - Reputation: 152
Posted 16 October 2001 - 10:49 PM
if you want to draw a big map say 600x400 metres use 1pixel = 1meter
if you want to draw a smaller more detailed map 10p = 1m
So long as you stick to the same scale for the whole map/scene/whatever it will look right.
Remeber that in some video modes pixel shapes are different to others, so in one mode a 100x100 pixel box may look square but in another it may not.
Just play about until you get something that looks right
Hope I've been of some use
Edited by - xstreme2000 on October 17, 2001 5:50:55 AM
Members - Reputation: 208
Posted 16 October 2001 - 10:52 PM
You''ll have to think up some scale and work to that.
I''m assuming you mean 2D?
What do you want to draw it with? DirectDraw?
I''d start by going through the tutorials in the DirectX SDK. There is no DirectDraw in DirectX 8, so just use the SDK that''s on your PC.
It can be found in MSDN.
Members - Reputation: 278
Posted 16 October 2001 - 11:14 PM
Just remember that whatever you choose has to be the same and it doesnt really matter whether you make it a meter or a kilometer, because the height of your camera from, the floor will always be proportional to the world, in other words if the camera is 2 meters from the ground (roughly the height of a man) then the rest of the level can be made by real life measurements as well, but if you say that the camera will be 10 meters from the ground (5 times higher than normal) the rest of the world will also have to be made 5 times larger.
Once you have the points into your engine OpenGL or DirectX will be able to calculate the actual pixels depending on how you set up your camera.
Hope any of this helped, and sorry if
I may have got of track a bit.