Skip to content

Add XZ grid in EditView#115

Merged
marques-bruno merged 6 commits into
devfrom
add_grid
Apr 21, 2020
Merged

Add XZ grid in EditView#115
marques-bruno merged 6 commits into
devfrom
add_grid

Conversation

@marques-bruno
Copy link
Copy Markdown

  • Fixed grid on XZ plane, with resizable units (in EditView's toolPanel)
    In a scene in meters, a cube of size 1 will take 1 square, in mm it will take
  • XYZ Axis displayed as lines in the EditView to replace the frame

Still todo before merge:

  • Change grid size depending on zfar instead of arbitrary 1000units
  • adapt texture resolution according to grid subdivision (or explore mipmapping?)
  • remove previous frame view and toggle XYZ axis using previous frame checkbox in toolpanel

@marques-bruno marques-bruno self-assigned this Apr 15, 2020
@marques-bruno
Copy link
Copy Markdown
Author

It works. Not perfect, but will do for now

@marques-bruno marques-bruno merged commit e11e2c2 into dev Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant