Final trueSpace 7.61 Beta 8 Unofficial Update

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 03:57

trueBlue wrote:
17 Aug 2019, 03:08
There is no interface to reset just the FOV for all of the views, just Reset View, which does rest the FOV, but also the location.
var Eye = Node.SubObject("/D3DView", 0);
How do you add 6 or 7 more SubObjects to the above line?
Then set their FOV to 0.500 ?
This gets all the nodes inside D3DView. So all the views would reset fov. The commented lines would limit to perspective style views.

Code: Select all

	var Cam = Node.Selection();

	var numeye = Node.SubObjectCount("/D3DView");

	for(var i=0;i<numeye;i++)
	{
		var Eye = "/D3DView/" + Node.SubObject("/D3DView",i);
		//if(Node.Value(Eye, "Perspective")) {
		Node.Value(Eye,"FOV") = 0.500;
		//}

	}

	if (Node.IsCamera(Cam))
	{
		Node.Value(Cam, 'FOV') = 0.500
	}
Clinton Reese

http://clintons3d.com

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 04:14

Unofficial Update Submission

This alters the object navigation widgets to use right mouse rotation to rotate around the object axis instead of the middle of the geometry.
Script changes disappear with a context reset, so it's safe for testing.

Demo usage:
1. create a cube
2. point edit the cube to move the entire shape some distance.
3. exit pe mode
4. left drag on the rotation arcs gives standard rotation, right drag gives rotation around the Matrix location. like a pivot

While experimenting I found that the PE widget already does this. It was altered to right click rotate around the pivot, but when there's no pivot it rotates around the Matrix location.
Attachments
Origin Rotation Widget.RsObj
(20.85 KiB) Downloaded 11 times
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2465
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 » 17 Aug 2019, 15:33

Awesome! Both work great!
Incorporated them into the update.
Question... Are the Auto Keyframing scripts not needed in the Camera(s) Move and FOV?
And in the Camera 2 Stand?

User avatar
trueBlue
Captain
Posts: 2465
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 » 17 Aug 2019, 17:56

New trueSpace 7.61 Beta 8 Unofficial Update 5 'Beta'

New - Camera, YafaRay Camera, and Entry Point camera, added a View button that Synchronizes with Model.
Open a Model view first. If it is not syncing with Model, select the cam and View from Object in Model.

New - Desktop panel has a Synchronize and Protect Workspace button. - Author Clinton Reese

New - All Lights - Added a Synchronize button, that synchronizes with Model and new Preferences.
Omni and Infinite has had their Enable Shadow un-exported so that Model can toggle them Off/On.

New - All toolbars that have Object render modes and Grids, have a RMB command that sets their render mode for all windows. - Author Clinton Reese

New - UnLookAt.xml Updated to include more Lights. - Author Clinton Reese

New- 4View layout has unique WinGUID toolbars for all four views. No prototype for ortho views.

New - My Scenes updated with new Cameras and Lights.

New - All of the WS light setups were updated to new Lights.

New - YafaRay libraries were updated with new Lights and Cameras.

New - S761 First Person Navigator, tS76 FPN Camera Keyframer, and tS761 Camera Advanced has been updated to be in sync with Model. It can be found in the Objects - tS7.61 Update objects library.

New - Camera FOV widget
RMB click in 3D Space resets all view's FOV to 0.500 and scene Camera to 1.000

New - WinGUID_Bar
Camera Move, Camera Rotate, and Camera FOV icons
RMB opens the current view's Eye Camera preferences in the Stack/Panels
Rectagle Zoom
Added Status message.
Object render and Grid modes
RMB sets All Windows

New - New View
Opens an updated 3D window with a unique WinGUID (No Prototype)
Save New View icon saves the size and loaction.

New - BottomBar2
Grid mode moved from the Object render modes.
Object render and Grid modes
RMB sets All Windows

Object Navigation Widget(s)
RMB + Drag on Arcs to rotate from the Pivot - Author Clinton Reese

Background widget/Look at selection
Changes:
MMB click - Moves the view to the current selection or Point Edit selection. Zooms
Ctrl + MMB click - Looks At Selection
Shift + MMB click - Moves the view to all objects in the scene
Zoom2All script
Added RsTool.ResetView(''); to the top of the script.

Widget/Tools/Vertex Snap
Updated 8/17/2019

@Clinton
If you do not like these changes to your Look at selection, I will not include them. But please try them out first!
For me these changes make it easier to use with the Arrow keys to select other objects.
I swapped out the original Ctrl+ MMB Double click that Zooms to selected object with MMB click because it is easier to use.
Adding RsTool.ResetView('') to the Zoom2All fixes the wonkiness that sometims happens.
Removed due to update

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 18:21

trueBlue wrote:
17 Aug 2019, 17:56
...

@Clinton
...
For me these changes make it easier to use with the Arrow keys to select other objects.
...
How so? Arrow keys aren't mentioned in the description above.
Clinton Reese

http://clintons3d.com

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 18:29

Vertex Snap Bug Fixes:

error in getPoint2 script in the case where 2 items are not selected first. was locking out all other use cases including object mode snapping
added 3 missing nodes from original script for automatically converting the selection to points which removes limitation of only allowing vertex selections
added second page of help to account for object snapping
changed widget title "Vertex Snap" to "Object/Vertex Snap"
widget "S<" was not bold like ">T"
Attachments
Vertex Snap.RsObj
(140.33 KiB) Downloaded 13 times
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2465
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 » 17 Aug 2019, 18:45

clintonman wrote:
17 Aug 2019, 18:21
trueBlue wrote:
17 Aug 2019, 17:56
...

@Clinton
...
For me these changes make it easier to use with the Arrow keys to select other objects.
...
How so? Arrow keys aren't mentioned in the description above.
Your keyboard Arrow keys. Not having to use the Ctrl key frees up being able to use the arrow keys.

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 18:49

trueBlue wrote:
17 Aug 2019, 18:45
clintonman wrote:
17 Aug 2019, 18:21
trueBlue wrote:
17 Aug 2019, 17:56
...

@Clinton
...
For me these changes make it easier to use with the Arrow keys to select other objects.
...
How so? Arrow keys aren't mentioned in the description above.
Your keyboard Arrow keys. Not having to use the Ctrl key frees up being able to use the arrow keys.
Still not getting it. How does ctrl keys stop the use of arrow keys?
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2465
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 » 17 Aug 2019, 19:01

clintonman wrote:
17 Aug 2019, 18:29
Vertex Snap Bug Fixes:

error in getPoint2 script in the case where 2 items are not selected first. was locking out all other use cases including object mode snapping
added 3 missing nodes from original script for automatically converting the selection to points which removes limitation of only allowing vertex selections
added second page of help to account for object snapping
changed widget title "Vertex Snap" to "Object/Vertex Snap"
widget "S<" was not bold like ">T"
Thanks!
Updated the update in the previous post.

clintonman
Captain
Posts: 3103
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 » 17 Aug 2019, 19:31

trueBlue wrote:
17 Aug 2019, 17:56
...
New- 4View layout has unique WinGUID toolbars for all four views. No prototype for ortho views.
...
What does this do that not so unique winGUID doesn't do?
Clinton Reese

http://clintons3d.com

Post Reply