Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement coordinate system transformation #25

Closed
jklae opened this issue Aug 18, 2021 · 0 comments
Closed

Implement coordinate system transformation #25

jklae opened this issue Aug 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jklae
Copy link
Owner

jklae commented Aug 18, 2021

Description
The coordinate system of the Eulerian simulation will be normalized. Accordingly, DXViewer acts as a mediator between the drawing coordinate system and the simulation coordinate system.

Todo

  • Modify the view matrix according to the difference between the two coordinates. Transformation between two coordinates is done using a view matrix.
  • Let the projection matrix scale with the size of the simulation domain. _gridScale, which interferes with simulation calculations, is deprecated. To compensate for this, the projection matrix is ​​adjusted.

Note
This issue is related to jklae/GridLiquid2D#4.

@jklae jklae added the enhancement New feature or request label Aug 18, 2021
@jklae jklae closed this as completed Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant