Jump to content
  • Advertisement
Sign in to follow this  
republicall

echivalence to 1 meter

This topic is 3384 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
The answers to your questions are: 'as big as you like', and 'whatever you like'.

DirectX (and OpenGL for that matter) don't deal with units, that part is up to you. Both graphics APIs use some arbitrary dimensional unit, which you are free to equate to whatever you like.

For instance, in my planet renderer, I use 1 unit in OpenGL to represent 1 kilometre. In a smaller demo of a city, I used 1 unit to represent 1 metre.

Share this post


Link to post
Share on other sites
thank you for your answer. So 1 meter can be 1 unit. I knew i can choose but maybe there is a standard in the indie community. You see i will activate an option for gamers to upload their space ship models made by blender or whatever exports .x for now. But if they consider something else for 1 meter(10 units) the space ship could be too large.

Share this post


Link to post
Share on other sites
I would use 1 unit to 1 metre just to keep it simple. If you're going to be including physics then a lot of the various XNA physics engines use 1:1m. For example the JigLibX engine use 1:1m for it's height map.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!