Light View Widget and Camera for UU

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

Re: Light View Widget and Camera for UU

Post by trueBlue »

@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.
QuadViewing 3 Spotlights.png
.
It is easy removing all of the Cameras by using your LClick- Cycle Light Views and then RClick on the last one
User avatar
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

Post by clintonman »

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.
Attachments
CamLightExtras402.RsObj
(55.21 KiB) Downloaded 46 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: Light View Widget and Camera for UU

Post by trueBlue »

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.
Yay, grouped lights! :bananathumb:

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
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Light View Widget and Camera for UU

Post by trueBlue »

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
User avatar
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

Post by clintonman »

SelectionHighlightNone.jpg
SelectionHighlightNone.jpg (36.9 KiB) Viewed 781 times

I don't see it as a problem to be fixed. Selection highlighting can be set to "None".
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: Light View Widget and Camera for UU

Post by clintonman »

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.
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: Light View Widget and Camera for UU

Post by trueBlue »

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.
Nice! :bananathumb:
Looks like you have created a Model's View Object for Workspace with additional controls! :worship:
User avatar
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

Post by clintonman »

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);
Attachments
ViewFrom Function Set.RsObj
(15.94 KiB) Downloaded 49 times
Clinton Reese

http://clintons3d.com
Post Reply