Jump to content


how to assign mesh size


5 replies to this topic

#1 daimaku

    New Member

  • Members
  • Pip
  • 6 posts

Posted 03 November 2006 - 04:56 PM

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.
"what happened, happened and couldn't happened in oher way"

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 5340 posts
  • LocationSanta Clara, CA

Posted 03 November 2006 - 08: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.
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 daimaku

    New Member

  • Members
  • Pip
  • 6 posts

Posted 04 November 2006 - 01:26 AM

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 ?
"what happened, happened and couldn't happened in oher way"

#4 Reedbeta

    DevMaster Staff

  • Administrators
  • 5340 posts
  • LocationSanta Clara, CA

Posted 04 November 2006 - 02:43 AM

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?
reedbeta.com - developer blog, OpenGL demos, and other projects

#5 daimaku

    New Member

  • Members
  • Pip
  • 6 posts

Posted 04 November 2006 - 01:54 PM

sorry, i got this

Posted Image

and i need this

Posted Image

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.
"what happened, happened and couldn't happened in oher way"

#6 Reedbeta

    DevMaster Staff

  • Administrators
  • 5340 posts
  • LocationSanta Clara, CA

Posted 04 November 2006 - 05:36 PM

Sounds like what you want is an orthographic projection rather than a perspective one. Google it for more info.
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users