@Clinton
Here is an example using Shift LClick - Cycle Light Views + that adds a Camera to more than one light.
You are able to view 3 Spotlights at the same time.
.
It is easy removing all of the Cameras by using your LClick- Cycle Light Views and then RClick on the last one
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:
Re: Light View Widget and Camera for UU
Just noticed that object/subobject highlighting will show in the light view when the angle is large.
The attached CamLightExtras modifies the latest UU release so that it can find lights inside of groups and changes the cycle so if the active spotlight happens to be the first spotlight in the scene you don't have to press twice to cycle past it the first time.
- Attachments
-
- CamLightExtras402.RsObj
- (55.21 KiB) Downloaded 46 times
Re: Light View Widget and Camera for UU
Yay, grouped lights!clintonman wrote: ↑11 Apr 2023, 06:08 LightViewObjectSubObjectHighlighting.jpg
Testing and modifying the UU.
Just noticed that object/subobject highlighting will show in the light view when the angle is large.
The attached CamLightExtras modifies the latest UU release so that it can find lights inside of groups and changes the cycle so if the active spotlight happens to be the first spotlight in the scene you don't have to press twice to cycle past it the first time.
Added a solution for the Object/Subobject Highlighting that shows in the light view when the Angle is large.
LightMove
Increased the Size
Add:
Ctrl LClick - Connects the included Hide object widget
Shift move mouse - Disconnects the included Hide object widget
Note: Need to make this into a toggle with one gesture
It is possible to make this work in the Background
Re: Light View Widget and Camera for UU
Ended up making this into a Background widget with one gesture.
LightMove
Increased the Size
Add:
Hide
Toggle
Ctrl LClick - In a 3D Window, Connects | Disconnects the included Hide object widget
LightMove
Increased the Size
Add:
Hide
Toggle
Ctrl LClick - In a 3D Window, Connects | Disconnects the included Hide object 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
I don't see it as a problem to be fixed. Selection highlighting can be set to "None".
- 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
Final experiments for object view started.
Image shows an Object view. The view is from the cone on the left facing in the direction of the camera.
2 toolbar buttons for setting up the view, current view or new view.
The generic widget shown is used for infinite, sky and directional lights and 3d objects. For the directional light the outer ring controls the view angle and the inner ring controls the size of the light beam.
Re: Light View Widget and Camera for UU
Nice!clintonman wrote: ↑13 Apr 2023, 04:21 ObjectView01.jpg
Final experiments for object view started.
Image shows an Object view. The view is from the cone on the left facing in the direction of the camera.
2 toolbar buttons for setting up the view, current view or new view.
The generic widget shown is used for infinite, sky and directional lights and 3d objects. For the directional light the outer ring controls the view angle and the inner ring controls the size of the light beam.
Looks like you have created a Model's View Object for Workspace with additional controls!
- 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
Requested change for the uu cycle controls. Not really sure it does what you want. You can try and see.
Replace the ViewFrom Function Set and change the command in the widget:
"/Widgets/Select/Spot light view widget/ViewMove/Cycle Light Views/Cycle Lights Plus"
new command:
cmd='Node.AccessFnSet("/Widgets/WidgetScripts/CamLightExtras/ViewFrom Function Set").CycleSpotLightsPlus();';RsApp.RunScriptBuffer(cmd);
Replace the ViewFrom Function Set and change the command in the widget:
"/Widgets/Select/Spot light view widget/ViewMove/Cycle Light Views/Cycle Lights Plus"
new command:
cmd='Node.AccessFnSet("/Widgets/WidgetScripts/CamLightExtras/ViewFrom Function Set").CycleSpotLightsPlus();';RsApp.RunScriptBuffer(cmd);
- Attachments
-
- ViewFrom Function Set.RsObj
- (15.94 KiB) Downloaded 49 times