Experimental Object Navigation Widget
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation Widget
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.
Re: Experimental Object Navigation Widget
Maybe there is!
With the Axis widget opened, run:
To restore, run:
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")
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")
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation Widget
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.trueBlue wrote: ↑10 Feb 2020, 14:16 Maybe there is!
With the Axis widget opened, run:Pivot.PNGCode: 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")
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")
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation 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 218 times
-
- Default object navigation widgetONW7.RsObj
- (420.23 KiB) Downloaded 197 times
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation Widget
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.
Re: Experimental Object Navigation Widget
There is a few things that both of your widgets are not compatible with the Unofficial Updates On Operating Visibilty - 'Partially works'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
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 Change the ID in both widgets
Default object navigation widgetONW7
And
Default object navigation widgetONW8
Additionally on the front panels too
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation Widget
Thanks, I'll take a look.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
Dont understand what you say about the ID. Looks like cycleNavWidget already has those values.
Re: Experimental Object Navigation Widget
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.
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.
- clintonman
- Captain
- Posts: 5430
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Experimental Object Navigation Widget
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.
Edit:
Also note that these widgets don't use the tS default color scheme, but uses the XYZ=RGB color scheme.
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;
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 188 times
-
- Default object navigation widgetONW8.RsObj
- (445.64 KiB) Downloaded 197 times
Re: Experimental Object Navigation Widget
Is this the node that you mentioned was removed?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 it needed?