trueSpace 7.61 Unofficial Update Patches

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by trueBlue »

clintonman wrote: 11 Oct 2023, 18:54
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
Forgot to remove dimension protection.

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"
Testing Mesh Origin with Dimension's various functions like Edit Graphic
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!
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

trueBlue wrote: 12 Oct 2023, 12:12
clintonman wrote: 11 Oct 2023, 18:54
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
Forgot to remove dimension protection.

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"
Testing Mesh Origin with Dimension's various functions like Edit Graphic
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!
Not able to reproduce any problems without steps.
Clinton Reese

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by trueBlue »

Not able to reproduce any problems without steps.
Select the Scene
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
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

trueBlue wrote: 12 Oct 2023, 14:42
Not able to reproduce any problems without steps.
Select the Scene
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 40 times
Clinton Reese

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

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.
Attachments
PaintVertexColor02.RsObj
(255.03 KiB) Downloaded 36 times
Clinton Reese

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by trueBlue »

@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
SavePNG panel.png (9.72 KiB) Viewed 852 times
.
Attachments
Save Image as PNG with Alpha.RsObj
(50.53 KiB) Downloaded 39 times
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

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
.
Both your guesses are correct.

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 36 times
Clinton Reese

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

image saver node

compositing node replacement with support for png file alpha channel
Attachments
image saver01.RsObj
(30.3 KiB) Downloaded 33 times
Clinton Reese

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

Re: trueSpace 7.61 Unofficial Update Patches

Post by trueBlue »

clintonman wrote: 21 Oct 2023, 15:40
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
.
Both your guesses are correct.

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
Great improvements! :bananathumb:
Wonder why this image Saved as 32 Bit Depth?
Save As PNG.png
Save As PNG.png (9.33 KiB) Viewed 848 times
.
Removed the Save button and hooked up your save as dialog script to the Save script
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: trueSpace 7.61 Unofficial Update Patches

Post by clintonman »

trueBlue wrote: 21 Oct 2023, 16:37
clintonman wrote: 21 Oct 2023, 15:40
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
.
Both your guesses are correct.

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
Great improvements! :bananathumb:
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
"From the looks of it, if it shows all White, there is no Alpha?"
and if it shows black then there is alpha
Clinton Reese

http://clintons3d.com
Post Reply