trueSpace 7.61 Unofficial Update Patches
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
trueSpace 7.61 Unofficial Update Patches
Stack View Patch
fixes instability when opening a new stack view and drag/docking it into position.
install - drag into the link editor and press the Run button
Problem Details
sequence of steps:
close the stack view
press the stack view button to open a new stack view
ctrl+drag the new stack view to the original stack view position
result - bad window artifact and unstable/crashy trueSpace
Fix
problem is caused by assigning an owner to the stack view so it does not get covered by the main tS window
so remove the owner assignment
result: upside - no crashes, downside - the main window can cover it up the floating stack view
Edit: Removed attachment. Updated file is below in new post.
fixes instability when opening a new stack view and drag/docking it into position.
install - drag into the link editor and press the Run button
Problem Details
sequence of steps:
close the stack view
press the stack view button to open a new stack view
ctrl+drag the new stack view to the original stack view position
result - bad window artifact and unstable/crashy trueSpace
Fix
problem is caused by assigning an owner to the stack view so it does not get covered by the main tS window
so remove the owner assignment
result: upside - no crashes, downside - the main window can cover it up the floating stack view
Edit: Removed attachment. Updated file is below in new post.
Last edited by clintonman on 16 Sep 2023, 15:44, edited 1 time in total.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Attached is the "original camera plus" widget from uu4clinton 2.0
trueBlue has offered to add it to the UU directly, so no patch installer for this one.
trueBlue has offered to add it to the UU directly, so no patch installer for this one.
- Attachments
-
- OriginalCameraPlus.RsObj
- (330.73 KiB) Downloaded 120 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Updated patchclintonman wrote: 15 Sep 2023, 19:16 Stack View Patch
fixes instability when opening a new stack view and drag/docking it into position.
install - drag into the link editor and press the Run button
Problem Details
sequence of steps:
close the stack view
press the stack view button to open a new stack view
ctrl+drag the new stack view to the original stack view position
result - bad window artifact and unstable/crashy trueSpace
Fix
problem is caused by assigning an owner to the stack view so it does not get covered by the main tS window
so remove the owner assignment
result: upside - no crashes, downside - the main window can cover it up the floating stack view
After the floating stack view is open it will automatically dock back into the default position.
This requires that the Info Panel is still in it's original position. If not then the panel remains floating.
Edit: attachment removed because it worked with all layouts except for the Default layout
Last edited by clintonman on 16 Sep 2023, 18:15, edited 1 time in total.
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Updated patchclintonman wrote: 15 Sep 2023, 19:16 Stack View Patch
fixes instability when opening a new stack view and drag/docking it into position.
install - drag into the link editor and press the Run button
Problem Details
sequence of steps:
close the stack view
press the stack view button to open a new stack view
ctrl+drag the new stack view to the original stack view position
result - bad window artifact and unstable/crashy trueSpace
Fix
problem is caused by assigning an owner to the stack view so it does not get covered by the main tS window
so remove the owner assignment
result: upside - no crashes, downside - the main window can cover it up the floating stack view
Edit: Removed attachment. Updated file is below in new post.
After the floating stack view is open it will automatically dock back into the default position.
This requires that the Info Panel is still in it's original position. If not then the panel remains floating
The previous patch worked for all layouts except the default.
Now it works with all the layouts.
- Attachments
-
- Stack View Patch04.RsObj
- (70.34 KiB) Downloaded 98 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Hide / Show Patch
Fixed bug so Hide and Show works without the need to check "Use Intensive Visibility mode".
No installer.
Fixed bug so Hide and Show works without the need to check "Use Intensive Visibility mode".
No installer.
- Attachments
-
- Visibility Function Set.RsObj
- (47.69 KiB) Downloaded 129 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Great, I will uncheck "Use Intensive Visibility mode" now that the Show and Hide toolbar buttons will workclintonman wrote: 17 Sep 2023, 14:11 Hide / Show Patch
Fixed bug so Hide and Show works without the need to check "Use Intensive Visibility mode".
No installer.
No longer need to go and get coffee!
Can not remember, I think I added the function; VisibilityMode()
Looks like all references to that can be removed?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
YeptrueBlue wrote: 17 Sep 2023, 14:54Great, I will uncheck "Use Intensive Visibility mode" now that the Show and Hide toolbar buttons will workclintonman wrote: 17 Sep 2023, 14:11 Hide / Show Patch
Fixed bug so Hide and Show works without the need to check "Use Intensive Visibility mode".
No installer.
No longer need to go and get coffee!![]()
Can not remember, I think I added the function; VisibilityMode()
Looks like all references to that can be removed?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
I have implemented all your trueSpace 7.61 Unofficial Update Patches except for the Stack View Patch
I added a Restore Stack script to UUCommands
This restores the current layout with one exception, if the current layout is the default_layout.rsl, it will be restored to the Default.rsl which is exactly the same
The UUFunctionSet/function OpenHistoryWindow(),
Runs: Activity.Run('Scripts/UUCommands/Restore Stack')
Hopefully, in the near future, your Stack View Patch installer will not change the upcoming UUCommands
I added a Restore Stack script to UUCommands
This restores the current layout with one exception, if the current layout is the default_layout.rsl, it will be restored to the Default.rsl which is exactly the same
The UUFunctionSet/function OpenHistoryWindow(),
Runs: Activity.Run('Scripts/UUCommands/Restore Stack')
Code: Select all
// Execute
// Called to execute the command
function Execute(params)
{
var WMS = WindowsManager.GetWindowsManagerNodeName();
var StackPanelNode = FindStackPanel(WMS);
var layout = Node.Value("/Project/Windows Manager Space", "LayoutName")
var fso = new ActiveXObject("Scripting.FileSystemObject")
if(StackPanelNode) {
System.Alert('Stack View ia already open')
return;
}
if(!fso.FolderExists(System.GetMainDir() + '\\Rs Main Libraries\\')) {
System.Alert('Rs Main Libraries folder does not exist\n\nSelect a layout from the top titlebar to restore the Stack View')
return
}
if(layout == 'default_layout') {
if(fso.FileExists(System.GetMainDir() + '\\Rs Main Libraries\\Layouts - Configurations\\Default.rsl'))
WindowsManager.LoadLayout('\\Rs Main Libraries\\Layouts - Configurations\\Default.rsl')
return
}
if(fso.FileExists(System.GetMainDir() + '\\Rs Main Libraries\\Layouts - Configurations\\' + layout + '.rsl')) {
WindowsManager.LoadLayout('\\Rs Main Libraries\\Layouts - Configurations\\' + layout + '.rsl')
}
}
function FindStackPanel(currentNode)
{
if(Node.ShortName(currentNode) == "StackPanelView Node") {
return currentNode;
}
var subObjCount = Node.SubObjectCount(currentNode);
if(subObjCount == 0) return;
for(var i=0;i<subObjCount;i++) {
var subObj = currentNode + "/" + Node.SubObject(currentNode, i);
var foundval = FindStackPanel(subObj);
if(foundval) {
return foundval;
}
}
}-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Freeze Transform
was easier to just change button labels from to "Local" to "Active" instead of replacing with the original check boxes
refined the help, but still not perfect because of the complexity of doing a combination of pivot and mesh manipulation.
changed a problem line of code, primitives where not behaving
was easier to just change button labels from to "Local" to "Active" instead of replacing with the original check boxes
refined the help, but still not perfect because of the complexity of doing a combination of pivot and mesh manipulation.
changed a problem line of code, primitives where not behaving
Code: Select all
//only valid for meshes
//if(Node.IsRenderable(selName))
if (Node.Exists(selName + "/Editable shape") || Node.Exists(selName + "/Shape"))
MeshModifiers.FlattenAxes(selName);- Attachments
-
- freezeTransforms07fe5e.RsObj
- (21.54 KiB) Downloaded 121 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Replacement Origin Function Set that won't run on dimension objects
- Attachments
-
- Origin Function Set01.RsObj
- (29.75 KiB) Downloaded 93 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
More reliable Origin Function Set Dimension bypass as suggested
- Attachments
-
- Origin Function Set03.RsObj
- (31.27 KiB) Downloaded 125 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Mesh Origin scripts need to be adjusted some more to avoid Dimensions
This Linear measurement was attached to the Cube before using Mesh Origin .
While in Edit Graphic mode is problematic
Origin to PE Selection is problematic
Set Snap Point Widget is problematic
I think the easiest solution would be to add a command to the Mesh Origin panel buttons to avoid Dimension(S)
Also, again, Origin to PE Selection does not RClick Cancel when there is no PE Selection
Status message is stuck
TODO: Need to check if the widget is still loaded
This Linear measurement was attached to the Cube before using Mesh Origin .
While in Edit Graphic mode is problematic
Origin to PE Selection is problematic
Set Snap Point Widget is problematic
I think the easiest solution would be to add a command to the Mesh Origin panel buttons to avoid Dimension(S)
Code: Select all
if(Node.ConExists('', 'Dimension')) return;Status message is stuck
TODO: Need to check if the widget is still loaded
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Change Light Type
updated script to not change the link editor location
works by copying the hidden LE2Data connector value - great suggestion
updated script to not change the link editor location
works by copying the hidden LE2Data connector value - great suggestion
- Attachments
-
- Change Light Type.RsObj
- (34.55 KiB) Downloaded 132 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Perfecto!clintonman wrote: 09 Oct 2023, 18:14 Change Light Type
updated script to not change the link editor location
works by copying the hidden LE2Data connector value - great suggestion![]()
Added a Convert Camera Type .
- Attachments
-
- Change Light Typefa2e.RsObj
- (62.53 KiB) Downloaded 124 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
@Clinton
Please try this Ctrl = RDrag Gesture Move in Z 'Up Down' for the Background widget
Put it the Background widget's Ortho and Perspective nodes
Hook up the Undoable and Gesture connectors
Navigate Up Down
Please try this Ctrl = RDrag Gesture Move in Z 'Up Down' for the Background widget
Put it the Background widget's Ortho and Perspective nodes
Hook up the Undoable and Gesture connectors
Navigate Up Down
- Attachments
-
- Navigate Up Down.RsObj
- (16.65 KiB) Downloaded 122 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Works in perspective, camera and left,right,front,back viewstrueBlue wrote: 09 Oct 2023, 23:36 @Clinton
Please try this Ctrl = RDrag Gesture Move in Z 'Up Down' for the Background widget
Put it the Background widget's Ortho and Perspective nodes
Hook up the Undoable and Gesture connectors
Navigate Up Down
No motion in top bottom views
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Also works in Isometric viewclintonman wrote: 10 Oct 2023, 00:13Works in perspective, camera and left,right,front,back viewstrueBlue wrote: 09 Oct 2023, 23:36 @Clinton
Please try this Ctrl = RDrag Gesture Move in Z 'Up Down' for the Background widget
Put it the Background widget's Ortho and Perspective nodes
Hook up the Undoable and Gesture connectors
Navigate Up Down
No motion in top bottom views
I find the Middle Mouse Drag speed in ortho views wildly to fast!
What do you think?
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Radial Modeler
Floating point rounding error when using the Measure Angle
Hexagon shape should give an angle of 60 degrees which translates to 6 sections to add up to 360 degrees
Problem is measurement was giving an angle of 60.0000000000001
Multiply that by 6 and it goes over 360 degrees giving an error if you try to do 6 sides only allowing 5 sides because it adds up to something like 360.0000000003
Floating point rounding error when using the Measure Angle
Hexagon shape should give an angle of 60 degrees which translates to 6 sections to add up to 360 degrees
Problem is measurement was giving an angle of 60.0000000000001
Multiply that by 6 and it goes over 360 degrees giving an error if you try to do 6 sides only allowing 5 sides because it adds up to something like 360.0000000003
- Attachments
-
- Radial Modeler.RsObj
- (95.61 KiB) Downloaded 126 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Mesh Origin
renamed panel button "Get Snap Point" to "Set Snap Point"
removed convert to editable from Set Snap Point Widget button
removed convert to editable from Set Snap Point button
new widget, PickOriginWidget with ctrl + rclick option to immediately snap the origin
renamed panel button "Get Snap Point" to "Set Snap Point"
removed convert to editable from Set Snap Point Widget button
removed convert to editable from Set Snap Point button
new widget, PickOriginWidget with ctrl + rclick option to immediately snap the origin
- Attachments
-
- PickOriginWidget01.RsObj
- (45.98 KiB) Downloaded 117 times
-
- MeshOrigin01.RsObj
- (139.23 KiB) Downloaded 141 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Forgot to remove dimension protection.clintonman wrote: 11 Oct 2023, 15:08 Mesh Origin
renamed panel button "Get Snap Point" to "Set Snap Point"
removed convert to editable from Set Snap Point Widget button
removed convert to editable from Set Snap Point button
new widget, PickOriginWidget with ctrl + rclick option to immediately snap the origin
removed dimension protection from Set Snap Point Widget
removed dimension protection from Set Snap Point
add dimension protect into script where snapping occurs
The Set Snap Point Widget status line still refers to "o" shortcut. This should be change to "ctrl + rclick"
- Attachments
-
- MeshOrigin02.RsObj
- (139.33 KiB) Downloaded 122 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Testing Mesh Origin with Dimension's various functions like Edit Graphicclintonman wrote: 11 Oct 2023, 18:54Forgot to remove dimension protection.clintonman wrote: 11 Oct 2023, 15:08 Mesh Origin
renamed panel button "Get Snap Point" to "Set Snap Point"
removed convert to editable from Set Snap Point Widget button
removed convert to editable from Set Snap Point button
new widget, PickOriginWidget with ctrl + rclick option to immediately snap the origin
removed dimension protection from Set Snap Point Widget
removed dimension protection from Set Snap Point
add dimension protect into script where snapping occurs
The Set Snap Point Widget status line still refers to "o" shortcut. This should be change to "ctrl + rclick"
This is why I put dimension protection in the Mesh Origin panel buttons . . .
Mesh Origin when using Dimension's Scene button .
What is the purpose of selecting the Scene in Dimensions?
I notice I am able to add Dimension's Linear Angle with the Scene selected!
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Not able to reproduce any problems without steps.trueBlue wrote: 12 Oct 2023, 12:12Testing Mesh Origin with Dimension's various functions like Edit Graphicclintonman wrote: 11 Oct 2023, 18:54Forgot to remove dimension protection.clintonman wrote: 11 Oct 2023, 15:08 Mesh Origin
renamed panel button "Get Snap Point" to "Set Snap Point"
removed convert to editable from Set Snap Point Widget button
removed convert to editable from Set Snap Point button
new widget, PickOriginWidget with ctrl + rclick option to immediately snap the origin
removed dimension protection from Set Snap Point Widget
removed dimension protection from Set Snap Point
add dimension protect into script where snapping occurs
The Set Snap Point Widget status line still refers to "o" shortcut. This should be change to "ctrl + rclick"
This is why I put dimension protection in the Mesh Origin panel buttons
Mesh Origin Set Snap Point Widget Edit Graphic.png
.
Mesh Origin Set Snap Point Widget Edit Graphic3.png
.
Mesh Origin Set Snap Point Widget.png
.
Mesh Origin when using Dimension's Scene button
Mesh Origin when using Dimension's Scene button.png
.
What is the purpose of selecting the Scene in Dimensions?
I notice I am able to add Dimension's Linear Angle with the Scene selected!
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Select the SceneNot able to reproduce any problems without steps.
Press any of the Mesh Origin's panel buttons
I added:
if(Node.ConExists('', 'Object'))Space.Unselect();
To all of the buttons except for the Set Snap Point Widget button
This needs a return to stop the widget:
if(Node.ConExists('', 'Object'))Space.Unselect();return
Select a Cube_Measurements or Scene_Measurements node and Set Snap Point Widget
The widget starts on a selected node that does not have a mesh, matrix, or any connectors
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
trueBlue wrote: 12 Oct 2023, 14:42Select the SceneNot able to reproduce any problems without steps.
Press any of the Mesh Origin's panel buttons
I added:
if(Node.ConExists('', 'Object'))Space.Unselect();
To all of the buttons except for the Set Snap Point Widget button
This needs a return to stop the widget:
if(Node.ConExists('', 'Object'))Space.Unselect();return
Select a Cube_Measurements or Scene_Measurements node and Set Snap Point Widget
The widget starts on a selected node that does not have a mesh, matrix, or any connectors
Fixes:
toggle origin display button - removed dimension restriction
fix bug Origin Function Set where 2D groups were allowed - now only 3D groups are allowed. The Scene is a 2D group.
It does not matter what is selected before the Set Snap Point Widget is run. The only thing that matters is the first object the widget is used on.
- Attachments
-
- MeshOrigin05.RsObj
- (139.8 KiB) Downloaded 98 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Vertex Paint
updated the rsx plugin to prevent a crash and add some checks and messages
http://clintons3d.com/plugins/downloads ... Plugin.rsx
Added a button so that it does not automatically convert the selected object to an editable mesh
The paint works with "Editable shape" and "Shape" nodes. Converting to editable will lose the mesh visualization streams that are not compatible with the Editable shape node.
"Prepare and Start" will do what the original uu9 "Start Painting" did. It will convert the selected object to editable mesh and if it's not an editable mesh it will open a material library with vertex color compatible materials.
"Start Painting" will just start the widget without altering the selected object or opening any libraries.
It should be noted that even if you do start the paint with a specific object selected nothing prevents painting on a different object instead.
I just received a note that some of the UI has changed since the last release. The changes are based on the last release version.
updated the rsx plugin to prevent a crash and add some checks and messages
http://clintons3d.com/plugins/downloads ... Plugin.rsx
Added a button so that it does not automatically convert the selected object to an editable mesh
The paint works with "Editable shape" and "Shape" nodes. Converting to editable will lose the mesh visualization streams that are not compatible with the Editable shape node.
"Prepare and Start" will do what the original uu9 "Start Painting" did. It will convert the selected object to editable mesh and if it's not an editable mesh it will open a material library with vertex color compatible materials.
"Start Painting" will just start the widget without altering the selected object or opening any libraries.
It should be noted that even if you do start the paint with a specific object selected nothing prevents painting on a different object instead.
I just received a note that some of the UI has changed since the last release. The changes are based on the last release version.
- Attachments
-
- PaintVertexColor02.RsObj
- (255.03 KiB) Downloaded 141 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
@Clinton
Can you take a peek at this and see if it is okay and or if any improvements need to be made?
I added your Image RGB2Alpha node as an indicator that the Bitmap has an Alpha
This is a big guess on my part
From the looks of it, if it shows all White, there is no Alpha?
Would be great if the Save script could check for an Alpha channel first
The plan is to add this to your Components - Compositing library in the upcoming UU9 .
Can you take a peek at this and see if it is okay and or if any improvements need to be made?
I added your Image RGB2Alpha node as an indicator that the Bitmap has an Alpha
This is a big guess on my part
From the looks of it, if it shows all White, there is no Alpha?
Would be great if the Save script could check for an Alpha channel first
The plan is to add this to your Components - Compositing library in the upcoming UU9 .
- Attachments
-
- Save Image as PNG with Alpha.RsObj
- (50.53 KiB) Downloaded 136 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Both your guesses are correct.trueBlue wrote: 21 Oct 2023, 11:14 @Clinton
Can you take a peek at this and see if it is okay and or if any improvements need to be made?
I added your Image RGB2Alpha node as an indicator that the Bitmap has an Alpha
This is a big guess on my part
From the looks of it, if it shows all White, there is no Alpha?
Would be great if the Save script could check for an Alpha channel first
The plan is to add this to your Components - Compositing library in the upcoming UU9
SavePNG panel.png
.
Changes:
file input, update on change
replace file dialog button with save as dialog script
add alpha check and indicator
removed the inputbitmap node
changed status message to match alpha status
- Attachments
-
- Save Image as PNG with Alpha07.RsObj
- (34.04 KiB) Downloaded 130 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
image saver node
compositing node replacement with support for png file alpha channel
compositing node replacement with support for png file alpha channel
- Attachments
-
- image saver01.RsObj
- (30.3 KiB) Downloaded 112 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Great improvements!clintonman wrote: 21 Oct 2023, 15:40Both your guesses are correct.trueBlue wrote: 21 Oct 2023, 11:14 @Clinton
Can you take a peek at this and see if it is okay and or if any improvements need to be made?
I added your Image RGB2Alpha node as an indicator that the Bitmap has an Alpha
This is a big guess on my part
From the looks of it, if it shows all White, there is no Alpha?
Would be great if the Save script could check for an Alpha channel first
The plan is to add this to your Components - Compositing library in the upcoming UU9
SavePNG panel.png
.
Changes:
file input, update on change
replace file dialog button with save as dialog script
add alpha check and indicator
removed the inputbitmap node
changed status message to match alpha status
Wonder why this image Saved as 32 Bit Depth? .
Removed the Save button and hooked up your save as dialog script to the Save script
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
"From the looks of it, if it shows all White, there is no Alpha?"trueBlue wrote: 21 Oct 2023, 16:37Great improvements!clintonman wrote: 21 Oct 2023, 15:40Both your guesses are correct.trueBlue wrote: 21 Oct 2023, 11:14 @Clinton
Can you take a peek at this and see if it is okay and or if any improvements need to be made?
I added your Image RGB2Alpha node as an indicator that the Bitmap has an Alpha
This is a big guess on my part
From the looks of it, if it shows all White, there is no Alpha?
Would be great if the Save script could check for an Alpha channel first
The plan is to add this to your Components - Compositing library in the upcoming UU9
SavePNG panel.png
.
Changes:
file input, update on change
replace file dialog button with save as dialog script
add alpha check and indicator
removed the inputbitmap node
changed status message to match alpha status![]()
Wonder why this image Saved as 32 Bit Depth?
Save As PNG.png
.
Removed the Save button and hooked up your save as dialog script to the Save script
and if it shows black then there is alpha
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Fixed the non working Open Folderclintonman wrote: 21 Oct 2023, 15:54 image saver node
compositing node replacement with support for png file alpha channel
Removed
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Those extra buttons dont match up with the image saver.trueBlue wrote: 21 Oct 2023, 17:06Fixed the non working Open Folderclintonman wrote: 21 Oct 2023, 15:54 image saver node
compositing node replacement with support for png file alpha channel
.
"Render to File" does not use the filename defined earlier, but opens up an entirely different folder
and "Open Folder" opens the Render to File folder also not matching with the filename
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Upload a new version without the non working items and I will replace the UU9 versionclintonman wrote: 21 Oct 2023, 17:13Those extra buttons dont match up with the image saver.trueBlue wrote: 21 Oct 2023, 17:06Fixed the non working Open Folderclintonman wrote: 21 Oct 2023, 15:54 image saver node
compositing node replacement with support for png file alpha channel
.
"Render to File" does not use the filename defined earlier, but opens up an entirely different folder
and "Open Folder" opens the Render to File folder also not matching with the filename
Edit: I changed the Open Folder script to use the filename and removed the Render to File button
-
the_ant
- Chief Petty Officer
- Posts: 155
- Joined: 02 Jun 2009, 09:26
- Type the number ten into the box: 0
- Location: Perugia - Italy
Re: trueSpace 7.61 Unofficial Update Patches
Hi TrueBlue and Clinton
hope I'm not Off-Topic but I noticed that in the instructions about UU9 Full & Std installation there is no reference to the interesting Clinton's plugins for import/export DAE and FBX-OBJ etc. (see attached). Am i wrong?
hope I'm not Off-Topic but I noticed that in the instructions about UU9 Full & Std installation there is no reference to the interesting Clinton's plugins for import/export DAE and FBX-OBJ etc. (see attached). Am i wrong?
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
In the UU9, the Clinton's Export Utilities toolbar is located here: .the_ant wrote: 26 Oct 2023, 17:40 Hi TrueBlue and Clinton![]()
![]()
hope I'm not Off-Topic but I noticed that in the instructions about UU9 Full & Std installation there is no reference to the interesting Clinton's plugins for import/export DAE and FBX-OBJ etc. (see attached). Am i wrong?![]()
LClick the Import FBX toolbar icon, checks if the Clintons3DFBX2019.rsx version 1638426 plugin is Installed and Loaded .
If not, the Package Manage opens, where you can Install and Load the plugin
You will need to Restart trueSpace
-
the_ant
- Chief Petty Officer
- Posts: 155
- Joined: 02 Jun 2009, 09:26
- Type the number ten into the box: 0
- Location: Perugia - Italy
Re: trueSpace 7.61 Unofficial Update Patches
Thanks TrueBlue...
is it possible insert that instructions sequence at the end of download page of every UU9 new version where you also explain how to install vray_ts.rsx?
If so it would be useful for all new downloaders...
is it possible insert that instructions sequence at the end of download page of every UU9 new version where you also explain how to install vray_ts.rsx?
If so it would be useful for all new downloaders...
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Once you found the toolbar and you tried to open the Import FBX, did you find the process intuitive?the_ant wrote: 26 Oct 2023, 19:16 Thanks TrueBlue...![]()
is it possible insert that instructions sequence at the end of download page of every UU9 new version where you also explain how to install vray_ts.rsx?
If so it would be useful for all new downloaders...![]()
If you installed Vray, there is a VRay ReadMe.rtf file in the trueSpace main directory that explains how to Install and Load the plugin
FBX_2 for trueSpace7.61
http://clintons3d.com/plugins/truespace ... inout.html
Look for the video link:
A sample video on how to install an rsx plugin for truespace can be found here. The video is for installing the Indigo Renderer, but it uses a similar rsx plugin.
-
the_ant
- Chief Petty Officer
- Posts: 155
- Joined: 02 Jun 2009, 09:26
- Type the number ten into the box: 0
- Location: Perugia - Italy
Re: trueSpace 7.61 Unofficial Update Patches
Hi TrueBlue
in my previous 761Std installation i loaded Clinton's plugins and Vray_ts.rsx together so when opened the imp/exp Clinton toolbar had no message
Now in last new installation with your last upgrade had the messages with instructions as you tell.
Thanks again and excuse me for the useless question.

in my previous 761Std installation i loaded Clinton's plugins and Vray_ts.rsx together so when opened the imp/exp Clinton toolbar had no message
Now in last new installation with your last upgrade had the messages with instructions as you tell.
Thanks again and excuse me for the useless question.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
This is why, I recommend in the instructions to Uninstall and Reinstall trueSpace to a clean directory before running UU9the_ant wrote: 26 Oct 2023, 20:22 Hi TrueBlue
in my previous 761Std installation i loaded Clinton's plugins and Vray_ts.rsx together so when opened the imp/exp Clinton toolbar had no message
Now in last new installation with your last upgrade had the messages with instructions as you tell.
Thanks again and excuse me for the useless question.![]()
![]()
Your questions are not useless!
Importing and Exporting is not for everyone, which is why I implemented Clinton's Import and Export plugins as Optional
This way, a user can Unload (Not Uninstall) these plugin(s) when not in use, which helps lower trueSpace Resources, Start, and Shutdown times!
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
3D Unencapsulate gave error while using on an older scene. Problem was using an invalid value from the LinkedOutputNode command
before
after
before
Code: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector
var children = [];
for(var i = 0; i < numLinkedChildren; i++) {
var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i)
children.push(child);
}Code: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector
var children = [];
for(var i = 0; i < numLinkedChildren; i++) {
var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i)
if(child && Node.Exists(child)) {
children.push(child);
}
}- Attachments
-
- 3D Unencapsulate.RsObj
- (19.88 KiB) Downloaded 130 times
-
- 3D Unencapsulate LE.RsObj
- (19.86 KiB) Downloaded 141 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Zoom to Selections
Zoom to Selection part can zoom to joints, bones, ik handles and ik locks.
Replace the node inside "Widgets/WidgetScripts"
Zoom to Selection part can zoom to joints, bones, ik handles and ik locks.
Replace the node inside "Widgets/WidgetScripts"
- Attachments
-
- Zoom to Selections.RsObj
- (80 KiB) Downloaded 149 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Object Nav Docking
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
- Attachments
-
- CycleObjectNavigationWidget0b8c.RsObj
- (12.72 KiB) Downloaded 130 times
-
- Object Navigation Widgets32a1.RsObj
- (116.92 KiB) Downloaded 138 times
Last edited by clintonman on 21 Nov 2023, 15:28, edited 1 time in total.
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
What about the missing Docking - Bounding Box Center? Edit: Never mind, I see it nowclintonman wrote: 20 Nov 2023, 22:15 Object Nav Docking
ObjNavDocking.jpg
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
Nice!
Thank you!
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
"BBox center" is the Bounding Box CentertrueBlue wrote: 20 Nov 2023, 22:31What about the missing Docking - Bounding Box Center?clintonman wrote: 20 Nov 2023, 22:15 Object Nav Docking
ObjNavDocking.jpg
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
Docking - Bounding Box Center is missing.png
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Edit: Never mind, I see it now
Nice!
Thank you!
Cross post
Nice!
Thank you!
Cross post
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
MeshOrigin
Moved the Snap Point Widget down to the related "Origin to Set Point" section. If you end by RClick, it sets the snap point and the "Origin to Set Point" button is the next step. The button could also go just above the dividing line since it can also Ctrl + RClick to do the snap immediately.
Snap Point Widget will set the XYZ value display.
Replace /Scripts/CustomCommands/MeshOrigin
Moved the Snap Point Widget down to the related "Origin to Set Point" section. If you end by RClick, it sets the snap point and the "Origin to Set Point" button is the next step. The button could also go just above the dividing line since it can also Ctrl + RClick to do the snap immediately.
Snap Point Widget will set the XYZ value display.
Replace /Scripts/CustomCommands/MeshOrigin
- Attachments
-
- MeshOrigin.RsObj
- (148.02 KiB) Downloaded 153 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Remove Orphan Materials
Works properly with scene instanced materials
Removes unused scene materials
Fixes issue, steps below:
create object with 3 different colors
point edit select the last 2 color faces and separate them out from the mesh
remove orphans
result is the first material will turn white or if scene instancing is used the object navigation widget will disappear along with part of the 2 color object
replace "Fix Orphan Materials" inside of /Material Editor/Material Editor/D3D Material Converter/Fix Orphan Materials
Requires Clintons3dPlugin.rsx v1638445 (Oct 13 2023) or greater
Works properly with scene instanced materials
Removes unused scene materials
Fixes issue, steps below:
create object with 3 different colors
point edit select the last 2 color faces and separate them out from the mesh
remove orphans
result is the first material will turn white or if scene instancing is used the object navigation widget will disappear along with part of the 2 color object
replace "Fix Orphan Materials" inside of /Material Editor/Material Editor/D3D Material Converter/Fix Orphan Materials
Requires Clintons3dPlugin.rsx v1638445 (Oct 13 2023) or greater
- Attachments
-
- Fix Orphan Materials.RsObj
- (17.46 KiB) Downloaded 149 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
UGH, just noticed you changed the ONW XYZ colorsclintonman wrote: 20 Nov 2023, 22:15 Object Nav Docking
ObjNavDocking.jpg
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
- Attachments
-

- ONW trueSpace XYZ Colors.png (24.44 KiB) Viewed 3293 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Oops.trueBlue wrote: 21 Nov 2023, 12:32UGH, just noticed you changed the ONW XYZ colorsclintonman wrote: 20 Nov 2023, 22:15 Object Nav Docking
ObjNavDocking.jpg
Replacement object navigation docking controls.
Switch button will cycle the docking position of the widget among "Left down corner", "Nearest corner", "Nearest silhouette corner", "Anchor origin" and "BBox center"
Setup:
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
No new upload was needed. Skip the replacement of the "ObjectNavigationWidgets" (no spaces) replaces Widgets/WidgetScripts/ObjectNavigationWidgets. I also removed that attachment from the post.
new steps are
"CycleObjectNavigationWidget" replaces /Widgets/WidgetScripts/CycleObjectNavigationWidget
"Object Navigation Widgets" replaces /Widgets/Select/Object Navigation Widgets
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
This does not seem to work when the Materials node does not existclintonman wrote: 21 Nov 2023, 06:03 Remove Orphan Materials
Works properly with scene instanced materials
Removes unused scene materials
Fixes issue, steps below:
create object with 3 different colors
point edit select the last 2 color faces and separate them out from the mesh
remove orphans
result is the first material will turn white or if scene instancing is used the object navigation widget will disappear along with part of the 2 color object
replace "Fix Orphan Materials" inside of /Material Editor/Material Editor/D3D Material Converter/Fix Orphan Materials
Requires Clintons3dPlugin.rsx v1638445 (Oct 13 2023) or greater
Steps
Add Cube and Scene Instance
Delete the Materials node
Cube turns White
Run the Fix Orphan Materials script
Alert: "No orphaned Materials found in this scene"
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
That's the opposite of what it does. If an unused material, an orphan, exists it removes it. It doesn't add or create missing materials.trueBlue wrote: 21 Nov 2023, 18:44This does not seem to work when the Materials node does not existclintonman wrote: 21 Nov 2023, 06:03 Remove Orphan Materials
Works properly with scene instanced materials
Removes unused scene materials
Fixes issue, steps below:
create object with 3 different colors
point edit select the last 2 color faces and separate them out from the mesh
remove orphans
result is the first material will turn white or if scene instancing is used the object navigation widget will disappear along with part of the 2 color object
replace "Fix Orphan Materials" inside of /Material Editor/Material Editor/D3D Material Converter/Fix Orphan Materials
Requires Clintons3dPlugin.rsx v1638445 (Oct 13 2023) or greater
Steps
Add Cube and Scene Instance
Delete the Materials node
Cube turns White
Run the Fix Orphan Materials script
Alert: "No orphaned Materials found in this scene"
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
UUFunctionSet Copy and Delete
This is a combination rsx plugin and script update that allows running the original trueSpace copy and delete without using script buffers.
The plugin has new commands added:
GetNodeValueInt will work like Node.Value for integers, but it will work inside toolbar buttons and function sets
GetNodeValueFloat for number values is the same - works in toolbar buttons and function sets
GetnodeValueString for text values will also read color values as text and matrix values as text
The GetNodeValueInt is used inside the UUFunctionSet to make running old style Copy and Delete. This was the motivation for these changes. I was following a tutorial and needed to record a macro using the copy, but it didn't record properly because the copy was run via a script buffer which is the only way to read node values in a functions set. The plugin function can be run inside the function set directly and so it can run the Delete directly. And this is compatible with the macro recorder.
The new required rsx plugin can be found here:
http://clintons3d.com/plugins/truespace ... index.html
new UUFunctionSet node with Copy and Delete changes is attached
This is a combination rsx plugin and script update that allows running the original trueSpace copy and delete without using script buffers.
The plugin has new commands added:
GetNodeValueInt will work like Node.Value for integers, but it will work inside toolbar buttons and function sets
GetNodeValueFloat for number values is the same - works in toolbar buttons and function sets
GetnodeValueString for text values will also read color values as text and matrix values as text
The GetNodeValueInt is used inside the UUFunctionSet to make running old style Copy and Delete. This was the motivation for these changes. I was following a tutorial and needed to record a macro using the copy, but it didn't record properly because the copy was run via a script buffer which is the only way to read node values in a functions set. The plugin function can be run inside the function set directly and so it can run the Delete directly. And this is compatible with the macro recorder.
The new required rsx plugin can be found here:
http://clintons3d.com/plugins/truespace ... index.html
new UUFunctionSet node with Copy and Delete changes is attached
- Attachments
-
- UUFunctionSet5808.RsObj
- (68.17 KiB) Downloaded 135 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Material Converter
ui change:
label "D3D Compiled -> D3D Shader" changed to "D3D Base -> D3D Compound"
see manual chapter 2, section 2.8.4 Creating and Editing objects in the Link Editor
bug:
create cube with default material
material converter
D3D Compiled -> D3D Shader
D3D Material -> Instancing
error line 18 SetActiveMaterial
problem is Name value is null not ""
no node to set default value so needed a try catch when reading the name
ui change:
label "D3D Compiled -> D3D Shader" changed to "D3D Base -> D3D Compound"
see manual chapter 2, section 2.8.4 Creating and Editing objects in the Link Editor
bug:
create cube with default material
material converter
D3D Compiled -> D3D Shader
D3D Material -> Instancing
error line 18 SetActiveMaterial
problem is Name value is null not ""
no node to set default value so needed a try catch when reading the name
- Attachments
-
- D3D Material Converter.RsObj
- (800.18 KiB) Downloaded 105 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
This has gone through some changes and has not been released yet
Can you add your updates to this one? There is a new Scene aspect too
Not so sure about the label change
If you read Chapter 5, they use Shaders through out the document
Not seeing Compound
Can you add your updates to this one? There is a new Scene aspect too
Not so sure about the label change
If you read Chapter 5, they use Shaders through out the document
Not seeing Compound
- Attachments
-
- D3D Material Converter44cb.RsObj
- (813.61 KiB) Downloaded 134 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Changes added
- Attachments
-
- D3D Material Converter8776.RsObj
- (813.93 KiB) Downloaded 157 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Found another bug in the 3D Unencapsulate scriptsclintonman wrote: 31 Oct 2023, 03:15 3D Unencapsulate gave error while using on an older scene. Problem was using an invalid value from the LinkedOutputNode command
beforeafterCode: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector var children = []; for(var i = 0; i < numLinkedChildren; i++) { var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i) children.push(child); }Code: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector var children = []; for(var i = 0; i < numLinkedChildren; i++) { var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i) if(child && Node.Exists(child)) { children.push(child); } }
around line 117 it will add 3d groups to the delete list. so if you have nested 3D groups they will get deleted
Code: Select all
//if transform node and is parent
//if(Node.ConExists(newNode, "WldMatrix") && Node.LinkedOutputNodeCount(newNode, "WldMatrix") > 0) {
if(Node.ConExists(newNode, "WldMatrix") && Node.LinkedOutputNodeCount(newNode, "WldMatrix") > 0 && Node.SubObjectCount(newNode) == 0) {
deleteMeList.push(newNode);
continue;
}- Attachments
-
- 3D Unencapsulate1b4d.RsObj
- (20.19 KiB) Downloaded 98 times
-
- 3D Unencapsulate LE941c.RsObj
- (20.15 KiB) Downloaded 107 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Where in these scripts can you add the following:clintonman wrote: 20 Dec 2023, 22:36Found another bug in the 3D Unencapsulate scriptsclintonman wrote: 31 Oct 2023, 03:15 3D Unencapsulate gave error while using on an older scene. Problem was using an invalid value from the LinkedOutputNode command
beforeafterCode: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector var children = []; for(var i = 0; i < numLinkedChildren; i++) { var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i) children.push(child); }Code: Select all
//gather list of child nodes, nodes connected to the transform WldMatrix connector var children = []; for(var i = 0; i < numLinkedChildren; i++) { var child = Node.LinkedOutputNode(theTransform, "WldMatrix", i) if(child && Node.Exists(child)) { children.push(child); } }
around line 117 it will add 3d groups to the delete list. so if you have nested 3D groups they will get deletedreplace the nodes inside "/Scripts/UUCommands/Encapsulate"Code: Select all
//if transform node and is parent //if(Node.ConExists(newNode, "WldMatrix") && Node.LinkedOutputNodeCount(newNode, "WldMatrix") > 0) { if(Node.ConExists(newNode, "WldMatrix") && Node.LinkedOutputNodeCount(newNode, "WldMatrix") > 0 && Node.SubObjectCount(newNode) == 0) { deleteMeList.push(newNode); continue; }
Space.RemEulerTrans(str)
Objects like the following will throw an error:
ERR Source object: /Scripts/UUCommands/Encapsulate/3D Unencapsulate LE Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 206, Char: 3 Script text: childMatrix = Node.Value(currentChild, "Matrix");
- Attachments
-
- 3D Group.RsObj
- (235.5 KiB) Downloaded 126 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Code: Select all
if(isaNURBS(currentChild)) {
childMatrix = Node.Value(currentChild + "/controlPointMesh", "Matrix");
} else {
if(!Node.ConExists(currentChild, "Matrix")) {
Space.RemEulerTrans(currentChild);
}
childMatrix = Node.Value(currentChild, "Matrix");//add 3 lines above this one
}-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
That area looks like it is for NURBS
How about line 18?
3D Unencapsulate
Not having much luck adding it to the other encaps scripts except the 3D Unencapsulate LE which is the same as above
How about line 18?
3D Unencapsulate
Code: Select all
for (var i = 0; i < numSelected; i++)
{
var currentEncapsed = Node.SelectionGetAt(sel, i);
Space.RemEulerTrans(currentEncapsed)
if(Node.IsCamera(currentEncapsed)) continue;
if(Node.IsLight(currentEncapsed)) continue;
if(Node.SubObjectCount(currentEncapsed) == 0) continue;
if(Node.IsRenderable(currentEncapsed)) continue;
if(isaNURBS(currentEncapsed)) continue;
CleanRenderAttr(currentEncapsed)
UnEncaps(currentEncapsed);
unencapsHappened = true;
}
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Current UU 10
Not sure why, I have 3 objects that are 3D Grouped
I applied Hair to one of the objects
I select the 3D Group, use Zoom to Selection, and get an error
I select the object with Hair, use Zoom to Selection, and get an error
Here is the scene:
Not sure why, I have 3 objects that are 3D Grouped
I applied Hair to one of the objects
I select the 3D Group, use Zoom to Selection, and get an error
I select the object with Hair, use Zoom to Selection, and get an error
Code: Select all
ERR Source object: /Widgets/WidgetScripts/Zoom to Selections/ZoomToSelection Error: Microsoft JScript runtime error Description: Type mismatch Error code: 0x800a000d - (null) Line: 571, Char: 2 Script text: objloc.x = objloc.x + tempvec.x ;
- Attachments
-
- 3D Group with Hair.RsScn
- (1.53 MiB) Downloaded 46 times
-
clintonman
- Captain
- Posts: 5659
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
Re: trueSpace 7.61 Unofficial Update Patches
Here is the fix for Zoom to Selection and Zoom to All when hair has too many vertices for the GetCenter command to work(tS bug).
It was fixed by using the bounding box to calculate the center when the GetCenter command fails.
It was fixed by using the bounding box to calculate the center when the GetCenter command fails.
- Attachments
-
- Zoom to Selections8791.RsObj
- (81.12 KiB) Downloaded 47 times
-
trueBlue
- Captain
- Posts: 5548
- Joined: 06 Jul 2009, 22:50
- Type the number ten into the box: 10
Re: trueSpace 7.61 Unofficial Update Patches
Works great, thank you!clintonman wrote: 03 Jul 2024, 03:32 Here is the fix for Zoom to Selection and Zoom to All when hair has too many vertices for the GetCenter command to work(tS bug).
It was fixed by using the bounding box to calculate the center when the GetCenter command fails.















