Oh, I see, you had a Move node.
Upper left light
.Light View Widget and Camera for UU
Re: Light View Widget and Camera for UU
It can be added back in, but you can still do the same thing using the Object Move tool widget.
.
Re: Light View Widget and Camera for UU
What the static Move object lacks is Color and Angle.
Re: Light View Widget and Camera for UU
How is this?
In this example, I used a very small Angle 0.150 .
Another example, Angle 2.000
In this example, I used a very small Angle 0.150 .
Another example, Angle 2.000
Re: Light View Widget and Camera for UU
Another example with a Green color and changed to a Yellow Highlight.
- 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
This is the LightViewWidget 4 Clinton, which means it was custom made for myself. I don't expect any of these changes to be used in the UU. See the UU fix for cycling lights at the bottom of this post.
Changes:
Moved light cycle function to the ViewMove control
Removed Cancel
Changed "Reset Angle" to "Angle to FOV", match light angle to fov
Changed "Reset FOV" to "FOV to Angle", match fov to the light angle
Increased transparency for all surfaces
Move FOV control concentric with the angle control
Moved close control so not touching the new FOV control, made it red again
Reestablished the Move control, sized to the Spotlight mesh, connected the angle value and reintroduced the object hider, can now move by dragging
Fixed cycle lights code - was adding cameras to all the lights, also moved into the function set
Repositioned whole widget
Light Cycle code still needs some work, it only works with non-grouped spot lights.
For the UU you will want to add the fix for the Cycle Lights. The previous cycle lights was adding a camera to all the scene spotlights.
The changes are in 2 places:
/Widgets/WidgetScripts/CamLightExtras/ViewFrom Function Set
contains the fix for the Cycle Lights so replace your CamLightExtras
Copy
/Widgets/Select/Spot light view widget/ViewMove/Cycle SpotLight
replacing
/Widgets/Select/Spot light view widget/ViewControl/Cycle Lights
so that the new code is used when cycling the lights
- Attachments
-
- Spot light view widget311.RsObj
- (260.35 KiB) Downloaded 52 times
-
- CamLightExtras302.RsObj
- (54.73 KiB) Downloaded 52 times
Re: Light View Widget and Camera for UU
What do you think about adding a FOV attribute to the Spot and Projector lights?
Of course, your code would have to be modified to check if it exists or not.
Removed
Of course, your code would have to be modified to check if it exists or not.
Removed
Re: Light View Widget and Camera for UU
I think I am going to add this very simple version to the UU9
Removed the Red Dot and CameraFOV controls.
Added the 4 Gestures from the Red Dot to the View Move
. + Adds a camera to all Spot & Projector lights in the current scene
CamLightExtras
Removed the seperate Camera FOV code.
Connects the Camera FOV to light's Angle.
Removed due to update
.
Removed the Red Dot and CameraFOV controls.
Added the 4 Gestures from the Red Dot to the View Move
. + Adds a camera to all Spot & Projector lights in the current scene
CamLightExtras
Removed the seperate Camera FOV code.
Connects the Camera FOV to light's Angle.
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
My test shows it adds the camera one by one as you cycle the lights without removing the previous camera. It's not adding it to all the lights in the scene with one click.
Everything works as described except noted above and the normal spotlight doesn't have LClick,RClick open light view.
Re: Light View Widget and Camera for UU
It does not add a Camera to all of the Spot and of Projector lights in the scene with one click.clintonman wrote: ↑09 Apr 2023, 23:58My test shows it adds the camera one by one as you cycle the lights without removing the previous camera. It's not adding it to all the lights in the scene with one click.
Everything works as described except noted above and the normal spotlight doesn't have LClick,RClick open light view.
You have to Shift LClick cycle through each light.
It does not duplicate the Camera, there can only be one! .
The new Spotlight widget with the LClick and RClick gestures has not been released yet.