0
\$\begingroup\$

Basically I'm building a first person shooter game using DirectX9. And now, I'm working on the modeling side. But before I start modeling, I have to make sure that I create all the models with accurate size. So it doesn't look too big or too small in the game. But I'm having problem deciding the characters height value including the main character and the NPC characters. I think it would be easy to measure other models/houses/walls/doors size if I have the characters height. Otherwise, I will messed up everything.

I assume that all the characters are 1.8 meter in height, including the main one. Though not sure that how to represent that value in DirectX vector ( DirectX unit == ? ) but If I set the camera height that value, it looks too low from the ground ( in my eyes ). Now what is the next value? Should I switch to fit? Which would very big value like 6. Or is there any standard value for that case which I don't know?

I hope you guys have understand my situation. Actually I'm very new to this kind of stuffs. So hopping to get some help or suggestion which would be great for me.

\$\endgroup\$
0

1 Answer 1

4
\$\begingroup\$

There is no "standard," although for reasons of numerical stability you will want to choose some conversation factor between modeling and rendering units that keeps them small (don't make characters 10,000,000 units tall, prefer to make them more like 1 to 10 units tall).

Pick values that work for you, your pipeline, and your game. This means adjusting the modeling units (maybe on export) or rendering units (by adjusting projections and whatnot) accordingly until you find a balance that makes sense for your game and how you think about the problems space.

\$\endgroup\$
9
  • \$\begingroup\$ So, should I rely on my eyes in that case? \$\endgroup\$ Commented Sep 13, 2016 at 14:00
  • \$\begingroup\$ You can rely on the math if you're good at visualizing it in your head. Failing that, your eyes are a good tool to use. Adjust the parameters of your projection transforms, see how they feel, adjust scale and sizes, see how that feels. Find something works for you. \$\endgroup\$
    – user1430
    Commented Sep 13, 2016 at 14:02
  • \$\begingroup\$ Ah... I have actually thought about that before but also hoped for the better... \$\endgroup\$ Commented Sep 13, 2016 at 14:06
  • \$\begingroup\$ Anyway, thanks so much for your great answer. Though in fact, I'm not really good at visualizing. So this is another problem... \$\endgroup\$ Commented Sep 13, 2016 at 14:13
  • \$\begingroup\$ Do you have any value in your mind that you may want to suggest me to use as FPS game character height? \$\endgroup\$ Commented Sep 13, 2016 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .