Final trueSpace7.61 Beta 8 Std Unofficial Update

User avatar
trueBlue
Captain
Posts: 5207
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

@Clinton
Getting errors with the light(s) color picker(s)
Color Picker Error.png
Color Picker Error.png (13.28 KiB) Viewed 2524 times
Looks like the SetNodeValueInt is the problem
This seems to work

Code: Select all

var	dt = new Date();
var	ms = dt.getTime();//time in ms since Jan 1 1970
var	owner = System.ThisOwner();
var	util = System.CreateDO("Clintons3D Package/Utility functions");
//	util.SetNodeValueInt(owner + "/Pause", "StartTime", ms -1621201452793);
	util.SetNodeValueFloat(owner + "/Pause", "StartTime", ms -1621201452793);
Can you confirm?
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 08 Jul 2021, 20:02 @Clinton
Getting errors with the light(s) color picker(s)
Color Picker Error.png
Looks like the SetNodeValueInt is the problem
This seems to work

Code: Select all

var	dt = new Date();
var	ms = dt.getTime();//time in ms since Jan 1 1970
var	owner = System.ThisOwner();
var	util = System.CreateDO("Clintons3D Package/Utility functions");
//	util.SetNodeValueInt(owner + "/Pause", "StartTime", ms -1621201452793);
	util.SetNodeValueFloat(owner + "/Pause", "StartTime", ms -1621201452793);
Can you confirm?
Yeah, I see it. The problem is that the plugin integer value is limited to a maximum of about 2 billion and jscript limit is way beyond that so the plugin code fails with an overflow error. I think the truePause needs to be rewritten. I used that stupid magic number, "1621201452793" to make the time smaller and if a float is needed then the "Pause" attribute should probably be changed to a float/real value. I'll see about writing this thing properly and replace the magic number.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Here is a fix for the color picker error. It doesn't use the connectors to store the time, instead it uses a function set and no more magic numbers.
Replace the truePause_Plus node inside the Color Picker node.

Edit: removed attachment for further testing
Edit: is good now
Attachments
truePause_Plus.RsObj
(44.1 KiB) Downloaded 97 times
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 72 for trueSpace7.61 Beta 8 Standalone Unofficial Update

July 9, 2021

viewtopic.php?f=55&t=3731

Hopefully this is the final Update

Lights
Including: Lights.RsObj, light01.RsObj, light02.RsObj, light03.RsObj, light04.RsObj, WS - Default.RsSLgts, WS - Black.RsSLgts, WS - Modeling.RsSLgts, My Scene.RsScn, My Backup.RsScn. and My Recording.RsScn
Fixed error in Color Picker Author - Clinton Reese
Ctrl + RMB select the unselected light's shape, opens its floating panel

Widgets
All Widget Help files
Fixed an issue with duplicate Widget Help files showing


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Ctrl RMB is working well for the lights.

Now I see a strange behavior when RMB click in space when a camera or spotlight or projection light is selected. The view centers on the selected object. Maybe the RMB drag in space is misbehaving for those objects? RMB drag in space centers on them, but then so does a plain RMB click in space.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Yea, I saw that but could not find where it was coming from
Command History shows
ScriptObject.RunCmd("tools package/look at current selection", "Camera", "{2C152F81-45A2-4035-8896-9E49D60C8A7A}")

Edit: Found it
Background/Perspective/CenterObjectAllWindows script
User avatar
trueBlue
Captain
Posts: 5207
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 10 Jul 2021, 01:10 Ctrl RMB is working well for the lights.

Now I see a strange behavior when RMB click in space when a camera or spotlight or projection light is selected. The view centers on the selected object. Maybe the RMB drag in space is misbehaving for those objects? RMB drag in space centers on them, but then so does a plain RMB click in space.
Any suggestions?
Remove it?
Replace the Background widget's Ctrl + MB click - Look At Selection script with the CenterObjectAllWindows script
Add it to a toolbar icon?
Additionally that script could be modified and be used to Reset All Windows
LookAtSelectionAllWindowsButton.png
LookAtSelectionAllWindowsButton.png (12.58 KiB) Viewed 2520 times
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 10 Jul 2021, 13:42
clintonman wrote: 10 Jul 2021, 01:10 Ctrl RMB is working well for the lights.

Now I see a strange behavior when RMB click in space when a camera or spotlight or projection light is selected. The view centers on the selected object. Maybe the RMB drag in space is misbehaving for those objects? RMB drag in space centers on them, but then so does a plain RMB click in space.
Any suggestions?
Remove it?
Replace the Background widget's Ctrl + MB click - Look At Selection script with the CenterObjectAllWindows script
Add it to a toolbar icon?
Additionally that script could be modified and be used to Reset All Windows
LookAtSelectionAllWindowsButton.png
I would say remove it and add it to a toolbar button.
Clinton Reese

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

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 73 for trueSpace7.61 Beta 8 Standalone Unofficial Update

July 10, 2021

viewtopic.php?f=55&t=3731

Hopefully this is the final Update

Toolbars
Including: WorkspaceMain, WorkspaceMain2, BottomBar, and BottomBar2
Add
Look At Selection (All Windows) / Reset (All Windows)
LookAtSelectionAllWindowsButton.png
The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
User avatar
trueBlue
Captain
Posts: 5207
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Update 74 for trueSpace7.61 Beta 8 Standalone Unofficial Update

July 13, 2021

viewtopic.php?f=55&t=3731

Hopefully this is the final Update

Workspace Layers 4
Add
Popup Panel script
Automatically opens the floating panel when saved to a scene
WL4 panel.png
WL4 panel.png (8.82 KiB) Viewed 2513 times
Preference panel
Add
Status messages to Reconnect All Object Hider Nodes & Re-Hide Camera and Light ORA button scripts
Add
Save - Workspace Layers 4 button script
Saves the Workspace Layers 4 panel to CustomScriptsStore

Edge Bevel
Update - Clinton Reese 7/12/2021
Add
util.SetNodeValueInt commands to the startBevel script


The included Plugins.xml file has the Clintons3dPlugin, Clintons3dPluginExt and Clintons3dRsView, Installed and Loaded to the default path: C:\trueSpace761Std
WARNING: These 3 plugins are required to be Installed and Loaded when using trueSpace!
Post Reply