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

Modifying the Screen To World Space node #1930

Merged
merged 1 commit into from Oct 14, 2020
Merged

Modifying the Screen To World Space node #1930

merged 1 commit into from Oct 14, 2020

Conversation

e1e5en-gd
Copy link
Contributor

@e1e5en-gd e1e5en-gd commented Oct 13, 2020

Fixes #1866

Modifying the Screen To World Space node
screen_to_world_v2

Input parameters:

  • Screen X - value of screen coordinates along the X axis (data type Int);
  • Screen Y - the value of the screen coordinates along the Y axis (data type Int).

Options:

  • Separator Out - whether or not to separate the output parameters (vectors) into components (XYZ).

Output parameters:

  • World - coordinates of a point in 3D space (data type Vector)
  • Direction - normalized direction vector from the camera towards the point/cursor indication (data type Vector).
  • X, Y, Z - components of the corresponding vectors (data type Float).

Modifying the Screen To World Space node

Input parameters:
- Screen X - value of screen coordinates along the X axis (data type Int);
- Screen Y - the value of the screen coordinates along the Y axis (data type Int).

Options:
- Separator Out - whether or not to separate the output parameters (vectors) into components (XYZ).

Output parameters:
- World - coordinates of a point in 3D space (Vector data type)
- Direction - normalized direction vector from the camera towards the point/cursor indication (data type Vector).
- X, Y, Z - components of the corresponding vectors (data type Float).
@luboslenco luboslenco merged commit aaa699c into armory3d:master Oct 14, 2020
@e1e5en-gd e1e5en-gd deleted the screen-to-world-space-modif branch October 14, 2020 11:53
@e1e5en-gd e1e5en-gd restored the screen-to-world-space-modif branch October 14, 2020 14:29
@e1e5en-gd e1e5en-gd deleted the screen-to-world-space-modif branch October 14, 2020 14:29
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.

Screen To World wrong offset
2 participants