• Advertisement
Sign in to follow this  

Unit of measurement

This topic is 4339 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

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
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).

Share this post


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

  • Advertisement