PDA

View Full Version : how to assign mesh size


daimaku
11-03-2006, 08:56 AM
hello, i'm making a game using directx 9 and visual c# express 2005, i have made few models in 3d max, when i load the meshes in directx the mesh is big and is in the middle of the screen, i need to know how i can assign the size of the mesh in directx ? thanks in advance for all the help.

Reedbeta
11-03-2006, 12:40 PM
The different size that the mesh appears probably has to do with the location of the camera, not the mesh. You need to position the camera further away.

daimaku
11-03-2006, 05:26 PM
i have changed the camera view, but now the object are to far, they are smaller, but i need to see then closer and smaller because i'm making a remake of the oldiest lode runner, but i want to make it in a 2d enviroment with 3d graphics, any ideas ?

Reedbeta
11-03-2006, 06:43 PM
I don't understand what you mean by "closer and smaller". Things appear larger when they're closer and smaller when they're farther away, that's just how perspective works. Maybe you could post some screenshots to help clarify what you mean?

daimaku
11-04-2006, 05:54 AM
sorry, i got this

http://www.daimaku.info/carat/runner_got.jpg

and i need this

http://www.daimaku.info/carat/runner_need.jpg

that's all, i want to use directx to make a 2d game with 3d, but the game is all 2d enviroment.

sorry but i'm new with game develepment, but i have a lot of experience with programming in .net, only that I need is a little bust with the directx api.

thanks in advance.

Reedbeta
11-04-2006, 09:36 AM
Sounds like what you want is an orthographic projection rather than a perspective one. Google it for more info.