Sign in to follow this  
doodo

Unit of measurement

Recommended Posts

Just curious, been reading over some examples of physic done in OpenGl on a typical grid line 20x20. Although, I’m puzzled by how people represent measurements within a 3d environment. OpenGl enables you to define a line, polygon by a floating point number. Although, what does 1 represents? Are you allowed to define your own unit of measurement within the 3D api. For example, 1.00 for one foot? 1.00 for one meter? 1.00 for one mile? 1.00 for one KM? What do you use? This may seem like a simple question but it has puzzeled me to no end.

Share this post


Link to post
Share on other sites
Quote:
Original post by doodo
OpenGl enables you to define a line, polygon by a floating point number. Although, what does 1 represents? Are you allowed to define your own unit of measurement within the 3D api.

For example,
1.00 for one foot?
1.00 for one meter?
1.00 for one mile?
1.00 for one KM?
It's entirely up to you (although sometimes one scale may be more appropriate than another due to world size or precision issues).

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