Archive 17/01/2023.

[Editor] Selectable node origin

codingmonkey

Hi folks )
I tried to add similar to Blender’s object origins. Or whatever, just simple helper to select nodes in Editor’s viewport even if node do not have own drawable or if node have only light component within. I guess now selection for all types objects (Drawables and Lights) are pretty handy.
Also there is info feature about selected node and model format.

Options:
Shift = on/off text near origins
Left Ctrl = Hide Extended info / Hide All origins names
Left Alt = show extra info (you probably need pressing few times for see all info about selected node (currently info about only model))
Left Ctrl + Origin click = select parent node (back)

There is one bug but I do not figure out with it yet: if you try open one by one various scenes, you probably got crash of editor :slight_smile:
So if this bug will be solved and this feature are needed in master I do PR.

Repo for testing : github.com/MonkeyFirst/Urho3D/t … AndAltInfo
(for testing you may just copy dir (Urho3D\bin\Data\Scripts) into your Urho3D dir )

codingmonkey
  1. add some fixes into Origins
  2. also add style-fix to world Grid plane, now on view angles far planes are transparent.
    two techniques with new GridShader.glsl
    alpha tech

    addalpha tech

Repo : github.com/MonkeyFirst/Urho3D/t … dGridPlane

1vanK

Nice!

codingmonkey

Nice!
:wink:

add Paint selection tool

Repo : github.com/MonkeyFirst/Urho3D/t … tSelection

[video]https://youtu.be/auu4ToZGT4E[/video]

weitjong

Nice indeed