Skip to content

Relationship between the Ops.Gl.Meshes length unit and canvas pixels #297

Discussion options

You must be logged in to vote

not really sure what you are aiming for. the length unit in the meshes is not really related to the canvas size at all, as it lives in 3d space. also the space it takes up on the canvas is really dependent on you camera position for example.

maybe you want something like PixelProjection? https://cables.gl/op/Ops.Gl.PixelProjection

also, grids help with orientation and getting a feeling for scale:

https://cables.gl/op/Ops.Gl.Meshes.Grid
https://cables.gl/op/Ops.Gl.Meshes.FloorGrid

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ianww
Comment options

Answer selected by ianww
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants