Experimental Object Navigation Widget

User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

Goal is to see where the center of rotation is. Problem is that it is different for various configurations. tS rotates around the bounding box center, or around the axis or around the mesh zero point. I don't think there's any way to satisfy all 3 with 1 widget.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Experimental Object Navigation Widget

Post by trueBlue »

Maybe there is! :idea:
With the Axis widget opened, run:

Code: Select all

Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
Pivot.PNG
Pivot.PNG (6.39 KiB) Viewed 3533 times
To restore, run:

Code: Select all

Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
Node.ConnectTo("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.ConnectTo("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

trueBlue wrote: 10 Feb 2020, 14:16 Maybe there is! :idea:
With the Axis widget opened, run:

Code: Select all

Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
Pivot.PNG

To restore, run:

Code: Select all

Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.Disconnect("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
Node.ConnectTo("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arcs", "DockingPosition")
Node.ConnectTo("/Widgets/Tools/Axes widget/Avg. origin docking", "Avg. center", "/Widgets/Tools/Axes widget/Arrows", "DockingPosition")
I don't see how changing the axis widget helps the object navigation widgets. Also in the last sample scene the first and second meshes don't have an axis.
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

ObjectNavWidget4.jpg
I think this is my final version for the object nav widget.

The spaces between the widget elements has been reduced. The large spaces made it difficult to see some of the elements and see their relationship to each other. The widget is still a little bit larger than standard.
The rotation controls are thicker and the open faces were closed. The arrow translation controls are shorter. The triangle translation controls open faces have been closed in and they are less transparent. The center control has an orange color.

Fixed the naming so the unofficial update widget scale control will work.

Requires the Unofficial trueSpace update
Install by loading the files into Widgets/Select
Shift click on the object nav widget until it shows

To uninstall make one of the normal widgets active then delete the nodes or just reset to default context
Attachments
Default object navigation widgetONW8.RsObj
(445.65 KiB) Downloaded 217 times
Default object navigation widgetONW7.RsObj
(420.23 KiB) Downloaded 196 times
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

ObjectNavUE4.jpg
A little side note. It looks like Unreal VR Editor universal widget was inspired by trueSpace.
You can see that the x/red and y/green are kindof reversed. That's because UE4 is z up right handed and trueSpace is z up left handed coordinates.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Experimental Object Navigation Widget

Post by trueBlue »

clintonman wrote: 14 Mar 2020, 02:24 ObjectNavWidget4.jpg
I think this is my final version for the object nav widget.

The spaces between the widget elements has been reduced. The large spaces made it difficult to see some of the elements and see their relationship to each other. The widget is still a little bit larger than standard.
The rotation controls are thicker and the open faces were closed. The arrow translation controls are shorter. The triangle translation controls open faces have been closed in and they are less transparent. The center control has an orange color.

Fixed the naming so the unofficial update widget scale control will work.

Requires the Unofficial trueSpace update
Install by loading the files into Widgets/Select
Shift click on the object nav widget until it shows

To uninstall make one of the normal widgets active then delete the nodes or just reset to default context
There is a few things that both of your widgets are not compatible with the Unofficial Updates
ONW Preferences.png
ONW Preferences.png (4.28 KiB) Viewed 3459 times
On Operating Visibilty - 'Partially works'
Look at Camera - 'Does not work and messes up your widgets'
Docking - Bounding Box Center - 'Does not work and messes up your widgets'
Workaround - Looks like your Bounding Box Center node is not needed, not sure though. Removing it makes it compatible with the above 'Docking - Bounding Box Center' script

Widget Switch / cycleNavWidget 'ID' attribute
CycleNavWidget.png
CycleNavWidget.png (3.92 KiB) Viewed 3455 times
Change the ID in both widgets
Default object navigation widgetONW7
And
Default object navigation widgetONW8

Additionally on the front panels too
Front panel.png
Front panel.png (14.59 KiB) Viewed 3455 times
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

trueBlue wrote: 14 Mar 2020, 17:16
There is a few things that both of your widgets are not compatible with the Unofficial Updates
ONW Preferences.png
On Operating Visibilty - 'Partially works'
Look at Camera - 'Does not work and messes up your widgets'
Docking - Bounding Box Center - 'Does not work and messes up your widgets'
Workaround - Looks like your Bounding Box Center node is not needed, not sure though. Removing it makes it compatible with the above 'Docking - Bounding Box Center' script

Widget Switch / cycleNavWidget 'ID' attribute
CycleNavWidget.png
Change the ID in both widgets
Default object navigation widgetONW7
And
Default object navigation widgetONW8

Additionally on the front panels too
Front panel.png
Thanks, I'll take a look.

Dont understand what you say about the ID. Looks like cycleNavWidget already has those values.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Experimental Object Navigation Widget

Post by trueBlue »

Maybe it was the front panel's ID that needed to be changed.
When testing I was getting an error.
Let me know if it would be easier to change those button scripts, making them compatible with your widgets.
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Experimental Object Navigation Widget

Post by clintonman »

Updated from trueBlue notes.

Added proper ID to the nodes.
Removed the Bounding Box Center node which wasn't doing anything.

To be compatible these 2 lines can be added to the top of each the on/off button scripts of the Object Navigation Widgets node.

Code: Select all

if(Node.Value("/Widgets/Select/Default object navigation widget", "ID") == "Default object navigation widgetONW7") return;
if(Node.Value("/Widgets/Select/Default object navigation widget", "ID") == "Default object navigation widgetONW8") return;
Edit:
Also note that these widgets don't use the tS default color scheme, but uses the XYZ=RGB color scheme.
Attachments
Default object navigation widgetONW7.RsObj
(420.23 KiB) Downloaded 186 times
Default object navigation widgetONW8.RsObj
(445.64 KiB) Downloaded 196 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Experimental Object Navigation Widget

Post by trueBlue »

clintonman wrote: 14 Mar 2020, 20:49 Updated from trueBlue notes.

Added proper ID to the nodes.
Removed the Bounding Box Center node which wasn't doing anything.
Is this the node that you mentioned was removed?
Is it needed?
BBDocking.png
Post Reply