View the scene through the spot light without using a panel button.
Less overhead for cameras in the scene - has fewer nodes by default, additional nodes are loaded as needed for the synchronization process.
LClick the angle ring to switch the view to a spotlight view
Ctrl + LClick to open a new 3d view for the spotlight
Spotlight view with spotlight view widget on the right
Red dot to switch to a perspective view and exit out of spotlight view mode
All other controls are the same for move, rotate and angle
Use the view controls to move and rotate
Only the object rotate tool works in the spotlight view, move and scale tools do not work in the spotlight view
Widget will appear in all 3d viewports when the spotlight is selected.
LClick the angle ring to switch the view to a spotlight view
When exit out of spotlight view there is a dialog with the option to make the perspective view match the spotlight. The default for the question is "No" for the default tS behavior. Images above show what happens when you select yes and then wheel mouse back a bit.
Other changes:
Both the spotlight and camera have had their synchronization and window frame nodes removed. They are loaded as needed so the scene stays as light as possible. The spotlight has also had it's camera node removed and only loaded when using a spotlight view.
Light View Widget and Camera for UU
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
The Unofficial Update v9 is required.
Load "CamLightExtras" into /Widgets/WidgetScripts/
Replace the "Spot light widget" inside /Widgets/Select/
Add "Spot light view widget" to /Widgets/Select/
Camera and Spot have been modified to use the CamLightExtras scripts and the new and updated spotlight widgets.
One know issue, when you Ctrl + LClick to open a new 3d view for the spotlight it sometimes converts the current view to a spotlight view. Reason unknown at this time - it's random.
Load "CamLightExtras" into /Widgets/WidgetScripts/
Replace the "Spot light widget" inside /Widgets/Select/
Add "Spot light view widget" to /Widgets/Select/
Camera and Spot have been modified to use the CamLightExtras scripts and the new and updated spotlight widgets.
One know issue, when you Ctrl + LClick to open a new 3d view for the spotlight it sometimes converts the current view to a spotlight view. Reason unknown at this time - it's random.
- Attachments
-
- Camera.RsObj
- (56.73 KiB) Downloaded 50 times
-
- Spot.RsObj
- (139.76 KiB) Downloaded 51 times
-
- Spot light widget.RsObj
- (439.37 KiB) Downloaded 55 times
-
- Spot light view widget.RsObj
- (227.48 KiB) Downloaded 49 times
-
- CamLightExtras.RsObj
- (52.58 KiB) Downloaded 51 times
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
Update:
Removed the exit view dialog, "Set the perspective view to match the light viewpoint?"
New RClick on red close light view control to keep the current view point
LClick same as before, revert view point and don't ask
Added missing "/Camera" path so only the single camera node is copied instead of the camera compound object
Edit: fixed error, thanks.
Removed the exit view dialog, "Set the perspective view to match the light viewpoint?"
New RClick on red close light view control to keep the current view point
LClick same as before, revert view point and don't ask
Added missing "/Camera" path so only the single camera node is copied instead of the camera compound object
Edit: fixed error, thanks.
- Attachments
-
- Spot light view widget.RsObj
- (229.81 KiB) Downloaded 49 times
-
- CamLightExtras.RsObj
- (52.99 KiB) Downloaded 51 times
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
Changes:
Image shows the spotlight view widget when it is not in a spotlight view. This is not visible from inside of a spotlight view.
Spotlight view widget:
Scene representation in non-light view is now cone shaped.
Exit spotlight view and keep position - offset back from the light position when RClick the red close control, no need to mouse scroll to clear up the view
Spot:
Spotlight View panel button(code written by trueBlue, but not approved by trueBlue):
LMB - switch spotlight widget to view widget mode
LClick the widget angle control to activate the widget in the desired 3d view
RMB - open a light view in a new 3d window with the widget already active
Status message added to the LMB panel button, "LClick the Spotlight View widget Angle control to activate it."
Image shows the spotlight view widget when it is not in a spotlight view. This is not visible from inside of a spotlight view.
Spotlight view widget:
Scene representation in non-light view is now cone shaped.
Exit spotlight view and keep position - offset back from the light position when RClick the red close control, no need to mouse scroll to clear up the view
Spot:
Spotlight View panel button(code written by trueBlue, but not approved by trueBlue):
LMB - switch spotlight widget to view widget mode
LClick the widget angle control to activate the widget in the desired 3d view
RMB - open a light view in a new 3d window with the widget already active
Status message added to the LMB panel button, "LClick the Spotlight View widget Angle control to activate it."
- Attachments
-
- Spot light view widget.RsObj
- (232.44 KiB) Downloaded 51 times
-
- Spot.RsObj
- (142.07 KiB) Downloaded 47 times
Re: Light View Widget and Camera for UU
'Load "CamLightExtras" into /Widgets/WidgetScripts/
Replace the "Spot light widget" inside /Widgets/Select/
Add "Spot light view widget" to /Widgets/Select/'
Install 'Camera Deluxe Installer' from Objects - Script Objects
Load clintonMans - 05-03-23 - Spot
LClick the Spot widget angle control
Switch view back to Perspective view
Spot widget is now Deluxe Camera Widget
Replace the "Spot light widget" inside /Widgets/Select/
Add "Spot light view widget" to /Widgets/Select/'
Install 'Camera Deluxe Installer' from Objects - Script Objects
Load clintonMans - 05-03-23 - Spot
LClick the Spot widget angle control
Switch view back to Perspective view
Spot widget is now Deluxe Camera Widget
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
Looks like it takes over.Saul wrote: ↑05 Apr 2023, 14:15 'Load "CamLightExtras" into /Widgets/WidgetScripts/
Replace the "Spot light widget" inside /Widgets/Select/
Add "Spot light view widget" to /Widgets/Select/'
Install 'Camera Deluxe Installer' from Objects - Script Objects
Load clintonMans - 05-03-23 - Spot
LClick the Spot widget angle control
Switch view back to Perspective view
Spot widget is now Deluxe Camera Widget
Thanks, I'll increase the activation weight of the spotlight view to prevent it.
Re: Light View Widget and Camera for UU
Awesome update Clinton!
I have added a Cycle Lights script to your View widget control.
Changed the LClick gesture to this Cycle Lights script.
Changed the RClick gesture to Close the widget.
Added MClick gesture to what I am calling a Zoom to Light. .
The Cycle Lights script cycles all of the present Spot and Projector lights in the scene, adds the Camera, and switches to the light's View.
Please try it out and let me know if you approve.
Removed due to update
I have added a Cycle Lights script to your View widget control.
Changed the LClick gesture to this Cycle Lights script.
Changed the RClick gesture to Close the widget.
Added MClick gesture to what I am calling a Zoom to Light. .
The Cycle Lights script cycles all of the present Spot and Projector lights in the scene, adds the Camera, and switches to the light's View.
Please try it out and let me know if you approve.
Removed due to update
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
Looks good. Glad to see you stopped hating on your own code.trueBlue wrote: ↑05 Apr 2023, 15:50 Awesome update Clinton!
I have added a Cycle Lights script to your View widget control.
Changed the LClick gesture to this Cycle Lights script.
Changed the RClick gesture to Close the widget.
Added MClick gesture to what I am calling a Zoom to Light.
ViewControl.png
.
The Cycle Lights script cycles all of the present Spot and Projector lights in the scene, adds the Camera, and switches to the light's View.
Please try it out and let me know if you approve.
When I read "Zoom to Light" I thought it was going to zoom the light view to another light. Maybe Zoom to Light should be Close to Light or Exit to Light, something like that.
/Widgets/Select/Spot light view widget/Activation/Automatic activation node
I set the Widget weight bias to 3.1 to override the "Camera Deluxe" from the "Objects - Script objects" library
Re: Light View Widget and Camera for UU
Yeah, was not sure what to call it, I think you changed that from the previous version?clintonman wrote: ↑05 Apr 2023, 16:27Looks good. Glad to see you stopped hating on your own code.trueBlue wrote: ↑05 Apr 2023, 15:50 Awesome update Clinton!
I have added a Cycle Lights script to your View widget control.
Changed the LClick gesture to this Cycle Lights script.
Changed the RClick gesture to Close the widget.
Added MClick gesture to what I am calling a Zoom to Light.
ViewControl.png
.
The Cycle Lights script cycles all of the present Spot and Projector lights in the scene, adds the Camera, and switches to the light's View.
Please try it out and let me know if you approve.
When I read "Zoom to Light" I thought it was going to zoom the light view to another light. Maybe Zoom to Light should be Close to Light or Exit to Light, something like that.
/Widgets/Select/Spot light view widget/Activation/Automatic activation node
I set the Widget weight bias to 3.1 to override the "Camera Deluxe" from the "Objects - Script objects" library
I think RClick Close is more similar to trueSpace's theme and other scripts/widgets.
Is 3.1 enough, did you test it?
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Light View Widget and Camera for UU
Yes, I tested it and yes 3.1 is enough.trueBlue wrote: ↑05 Apr 2023, 16:53Yeah, was not sure what to call it, I think you changed that from the previous version?clintonman wrote: ↑05 Apr 2023, 16:27Looks good. Glad to see you stopped hating on your own code.trueBlue wrote: ↑05 Apr 2023, 15:50 Awesome update Clinton!
I have added a Cycle Lights script to your View widget control.
Changed the LClick gesture to this Cycle Lights script.
Changed the RClick gesture to Close the widget.
Added MClick gesture to what I am calling a Zoom to Light.
ViewControl.png
.
The Cycle Lights script cycles all of the present Spot and Projector lights in the scene, adds the Camera, and switches to the light's View.
Please try it out and let me know if you approve.
When I read "Zoom to Light" I thought it was going to zoom the light view to another light. Maybe Zoom to Light should be Close to Light or Exit to Light, something like that.
/Widgets/Select/Spot light view widget/Activation/Automatic activation node
I set the Widget weight bias to 3.1 to override the "Camera Deluxe" from the "Objects - Script objects" library
I think RClick Close is more similar to trueSpace's theme and other scripts/widgets.
Is 3.1 enough, did you test it?