Sign in to follow this  
republicall

echivalence to 1 meter

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this