Unit of measurement

Started by
1 comment, last by doodo 17 years, 10 months ago
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.
Advertisement
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).
Thanks jyk.

Just been eating away at my head over the last couple of days :)

This topic is closed to new replies.

Advertisement