Skip to content

World2UI With Depth lua method#386

Merged
themrdemonized merged 5 commits intothemrdemonized:all-in-one-vs2022-wpofrom
SaloEater:all-in-one-vs2022
Oct 23, 2025
Merged

World2UI With Depth lua method#386
themrdemonized merged 5 commits intothemrdemonized:all-in-one-vs2022-wpofrom
SaloEater:all-in-one-vs2022

Conversation

@SaloEater
Copy link
Contributor

@SaloEater SaloEater commented Oct 16, 2025

I am doing a mod that draws anomalies on the ui and I want to draw icons on the edges of the screen when they are offscreen. Currently, world2ui returns correct coordinate when camera less than 90 degrees to the coordinate but when it's higher engine inverts that value and this PR is an attempt to identify when that happens

Basically I want to understand when I should flip world2ui coordinates to draw ui texture where I want it to be
issue_with_world2ui

themrdemonized and others added 5 commits April 26, 2025 18:03
Fix filters of vs2022 projects

(cherry picked from commit d9bafaf)
…-one-vs2022

# Conflicts:
#	src/Layers/xrRenderPC_R1/vs2022/xrRender_R1.vcxproj.filters
#	src/Layers/xrRenderPC_R2/vs2022/xrRender_R2.vcxproj.filters
#	src/Layers/xrRenderPC_R3/vs2022/xrRender_R3.vcxproj.filters
#	src/Layers/xrRenderPC_R4/vs2022/xrRender_R4.vcxproj.filters
#	src/xrEngine/vs2022/xrEngine.vcxproj.filters
#	src/xrGame/vs2022/xrGame.vcxproj.filters
…yer and servers as mark that coordinates are inverted
@SaloEater SaloEater changed the title All in one vs2022 World2UI With Depth lua method Oct 16, 2025
@themrdemonized
Copy link
Owner

I think you should specify precisely what this PR does, the title doesn't match the description. Does it fixes wrong position of offscreen entities, or not yet? What does depth have to do with that?

@SaloEater
Copy link
Contributor Author

SaloEater commented Oct 21, 2025

@themrdemonized изначально этот метод возвращает позицию обьекта на UI. А когда ты стоишь спиной к объекту для которого тебе нужны координаты, то эти координаты приходят в инвертированном виде.
Мне же просто нужно знать пришли ли координаты в нормальном или в инвертированном виде, это и есть цель нового метода.

@themrdemonized themrdemonized merged commit 47701cd into themrdemonized:all-in-one-vs2022-wpo Oct 23, 2025
9 of 10 checks passed
themrdemonized added a commit that referenced this pull request Jan 24, 2026
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.

2 participants