Final trueSpace 7.61 Beta 8 Unofficial Update

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

New Update for trueSpace7.61 Beta 8 Unofficial Update
viewtopic.php?f=55&t=3732
RC9 July 06, 2020

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 to a clean directory before installing this update. This update precedes all previous updates and recommend that you delete any and all previous updates.

My Scenes
Update
Scene.RsScn

ShowCameraAndLights
HideCameraAndLights
Updated
Disconnect and Connect the Object hider to Object Render Attributes

DeleteORA
Add
&& Node.ConExists(curNode, "Input Attributes"
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

New Update for trueSpace7.61 Beta 8 Unofficial Update
viewtopic.php?f=55&t=3732
RC10 July 06, 2020

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 to a clean directory before installing this update. This update precedes all previous updates and recommend that you delete any and all previous updates.

My Scenes
Update
Scene.RsScn

ShowCameraAndLights
HideCameraAndLights
Updated
Disconnect and Connect the Object hider to Object Render Attributes

DeleteORA
Add
&& Node.ConExists(curNode, "Input Attributes"

Workspace Layers 3 Author - Clinton Reese
This version does not need the Clintons3dRsView.rsx plugin nor the Web Server to be active.
Included is a different Locking script that is incorporated and UnDo's the last selection when Active
WL3UU.png
If this version does not fit your needs, you can Right click the Workspace Layer's toolbar icon that opens your web browser to the original Workspace Layers 3 made by Clinton Reese. In with which you can download and install all of the required items and it will overwrite this modified version.
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

New Update for trueSpace7.61 Beta 8 Unofficial Update
viewtopic.php?f=55&t=3732
RC11 July 12, 2020

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 to a clean directory before installing this update. This update precedes all previous updates and recommend that you delete any and all previous updates.

Lights.RsObj

Spot & Projector lights Preferences aspect
Update
Add
Hotspot Angle - Scrubber with Min/Max values, Max is the Default
Near Clip Plane - Scrubber with Min/Max values, Max is the Default
Reset Defaults button - LMB - Resets all Defaults / RMB - Resets - Spot Cone
Preferences.png
Preferences.png (15.71 KiB) Viewed 2310 times
Projector
Update
Moved Square bitmap to Projector Preferences and unexported the SpotCone attribute

YafaRay IES Spot
Update
IESimport script per Clinton Reese's update and unexported the SpotCone attribute

CustomCommands
Add
ConvertSpotToIES.RsObj scripts - Author - Clinton Reese
Newly updated scripts with major improvements. Many thanks Clinton!
Other updates:
Compatible with new Projector lights
Remove circular mask code from BitmapBuffer
Several little tweaks
ConvertSpotToIES.png
ConvertSpotToIES.png (22.83 KiB) Viewed 2325 times
Toolbars.RsObj
Add
IES Profiles / Spot Cone
iesSpotButton to all Workspace(s) toolbar(s) Lights
AgentID = {5B44AED2-C4BF-460B-A1D9-7C83F91B307A}
TagAlias = /Widgets/Select/Spot light widget
Lights toolbar.png
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

@Clinton
Notice that if you select a jScript.RsObj (Maybe other nodes too) and run LE.Unencapsulate('') equals Crash? :(
Proposing the following changes unless you see something that is not correct.

//LMB Unencapsulate
if(!Node.IsRenderable(Node.Selection())) return;LE.Unencapsulate('')
Maybe add a modal question?

//LMB 3D Encapsulate
if(!Node.IsRenderable(Node.Selection())) return;LE.RectEncapsulationDialog('{5B3DD4D4-BD80-480A-BFD8-0B3A19DF1558}', true)
Note:
1) Would like to make this not run, if only one object is selected too.
Seems silly to 3D Encapsulate one object.
2) Make 3D Unencapsulate icon

//LMB Flatten
if(Node.IsLight(Node.Selection())) return;if(Node.IsCamera(Node.Selection())) return;if(!Node.IsRenderable(Node.Selection())) return;MeshModifiers.FlattenNodes('');

//RMB Flatten
if(Node.IsLight(Node.Selection())) return;if(Node.IsCamera(Node.Selection())) return;if(!Node.IsRenderable(Node.Selection())) return;MeshModifiers.FlattenNodes('');Node.ConRemove(Node.FirstSelected(), "UvProjection");
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 trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

trueBlue wrote: 14 Jul 2020, 17:14 @Clinton
Notice that if you select a jScript.RsObj (Maybe other nodes too) and run LE.Unencapsulate('') equals Crash? :(
Proposing the following changes unless you see something that is not correct.

//LMB Unencapsulate
if(!Node.IsRenderable(Node.Selection())) return;LE.Unencapsulate('')
Maybe add a modal question?

//LMB 3D Encapsulate
if(!Node.IsRenderable(Node.Selection())) return;LE.RectEncapsulationDialog('{5B3DD4D4-BD80-480A-BFD8-0B3A19DF1558}', true)
Note:
1) Would like to make this not run, if only one object is selected too.
Seems silly to 3D Encapsulate one object.
2) Make 3D Unencapsulate icon

//LMB Flatten
if(Node.IsLight(Node.Selection())) return;if(Node.IsCamera(Node.Selection())) return;if(!Node.IsRenderable(Node.Selection())) return;MeshModifiers.FlattenNodes('');

//RMB Flatten
if(Node.IsLight(Node.Selection())) return;if(Node.IsCamera(Node.Selection())) return;if(!Node.IsRenderable(Node.Selection())) return;MeshModifiers.FlattenNodes('');Node.ConRemove(Node.FirstSelected(), "UvProjection");
!Node.IsRenderable(Node.Selection()) puts an unreasonable restriction on the use of the LE.Unencapsulate('') command. Now if you 3d encapsulate something you have no choice but to use the 3d unencapsulate and it won't be the same result.
One more thing if you add a Mesh and WldMatrix connector to a script it will read as renderable and still crash.

Did some tests and I don't see any one line solution. Needs a full script to examine each selected item before running LE.Unencapsulate on each selected item.

Place a mesh somewhere in the scene. Use the rotation widget LMB RMB there is no difference. Now 3d encapsulate the torus. Now LMB RMB rotate are not the same. Dont remove the option of having this and other behaviors.

I don't see any negative effect of flattening a light or camera. I run it and they still seem to work. If there is a reason for it go ahead. If not, don't fix it if it's not broken.
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

Thank you for the response.
I will not change anything per your advice.
Was just hoping to stop the crash!
Another idea, !Node.IsRenderable(Node.Selection()) (Add modal question with explanation about possible crash)
Yes = LE.Unencapsulate('')
No = return
Untested, just an idea

I am not understanding what is meant by:
Place a mesh somewhere in the scene. Use the rotation widget LMB RMB there is no difference. Now 3d encapsulate the torus. Now LMB RMB rotate are not the same. Dont remove the option of having this and other behaviors.
What is meant by, "Dont remove the option of having this and other behaviors"
Are you referring to that something is wrong with the Rotation widget?
Or something else, currently in the Unofficial Updates?
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 trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

trueBlue wrote: 14 Jul 2020, 22:46 Thank you for the response.
I will not change anything per your advice.
Was just hoping to stop the crash!
Another idea, !Node.IsRenderable(Node.Selection()) (Add modal question with explanation about possible crash)
Yes = LE.Unencapsulate('')
No = return
Untested, just an idea

I am not understanding what is meant by:
Place a mesh somewhere in the scene. Use the rotation widget LMB RMB there is no difference. Now 3d encapsulate the torus. Now LMB RMB rotate are not the same. Dont remove the option of having this and other behaviors.
What is meant by, "Dont remove the option of having this and other behaviors"
Are you referring to that something is wrong with the Rotation widget?
Or something else, currently in the Unofficial Updates?
You can have the modal but if you answer yes it will still crash. Better than nothing though.

I was trying to show that 3d encapsulate a single object has an effect. If you take it away it takes away the option of using that effect.
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

Gotcha!
BTW... the icon with the LE.Unencapsulate('') command was added to the U Updates. It is not present in the original programs.
So I am the one responsible for the crash. :oops:
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 trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

trueBlue wrote: 14 Jul 2020, 23:55 Gotcha!
BTW... the icon with the LE.Unencapsulate('') command was added to the U Updates. It is not present in the original programs.
So I am the one responsible for the crash. :oops:
The way I remember is that you wanted to get rid of it and I talked you into keeping it. So it's only fair I try to fix it. So here we go...
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 trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

Not as bad as I thought it would be. This will do the basic LE.Unencapsulate('') without crashing.

made it to page 100! :bananamouse:
Attachments
LEUnencapsulate04.RsObj
(5.11 KiB) Downloaded 138 times
Clinton Reese

http://clintons3d.com
Post Reply