Oops, yes, that's what I mean.
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
Re: Light View Widget and Camera for UU
Yippy, I fixed a couple of things!
Do not hookup the Camera's FOV to the light's Angle.
Remove these two selected nodes.
Do not hookup the Camera's FOV to the light's Angle.
Remove these two selected nodes.
Re: Light View Widget and Camera for UU
Got the Camera FOV tool to work with Spot and Projector light's Angle
Add the selected items to Widget/Tools/View tools/Camera fov/ .
Can do the same with the Widget/Tools/Scale selection/Scale/
Edit: Works but moves a little bit, so no go.
Add the selected items to Widget/Tools/View tools/Camera fov/ .
Can do the same with the Widget/Tools/Scale selection/Scale/
Edit: Works but moves a little bit, so no go.
Re: Light View Widget and Camera for UU
@Clinton
Please try this updated Widgets
Removed the Hide Object and LightObject
I added a Previous View - MClick gesture to the ViewAngle:
Fixed the ViewMove RDrag - Axis Swap values changed.
Do not connect Camera FOV to Angle - Much better view from light!!! - ViewFromObject script
Fix for the Camera FOV tool now works with the Light widget
Please try this updated Widgets
Removed the Hide Object and LightObject
I added a Previous View - MClick gesture to the ViewAngle:
Code: Select all
var cmd = '';cmd += 'UUCFS = Node.AccessFnSet("Scripts/UUCommands/UUCameraFunctionSet");UUCFS.EyeCam();';RsApp.RunScriptBuffer(cmd)
Do not connect Camera FOV to Angle - Much better view from light!!! - ViewFromObject script
Fix for the Camera FOV tool now works with the Light 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
What does this do and how to test it?
moving in and out seems to be much more difficult or slower or something
moves very slowly, have to move mouse forward and back instead of left and right
removing all fov goes to far, now only light cone works, no control over actual view fov, not seeing what the light sees except on smaller angles
should start at same fov as the light or greater. looks like a constant unchanging fov, needs separate view zoom controls
Same issue as Do not connect Camera FOV to Angle
Conceptually, a true fix would allow changes to both camera fov and angle with one control and have another control to adjust the light angle independent of the fov like you already have setup.
Footnote nothing to do with the changes: it should be noted that when using autokey that you don't get keys when using the view tools or the view widget like in modelspace. It involves 2 separate widgets to make it work, not usre if it's possible or worth the work require. More research is needed.
- 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
Got a working prototype for separate angle and fov controls. Ugly now but it works.
I'm thinking the final form will be another concentric ring for the camera just outside the angle ring control.
This works by exporting the light camera FOV instead of connecting it to the light FOV. Then adding a camera fov widget control to the spot light view widget.
Think I found a bug too. Earlier version could move the light around in other views by dragging it, but now can't move 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
changes based off of the last uu release
On spotlight will now export the camera fov instead of connecting it to the spotlight angle
Added a fov widget to the Spotlight view widget - octagonal shape around the angle control
Fixed the missing move control, can now move and select if needed - small cone in the image above on the left
Removed the hide object and LightObject - there's nothing to hide I guess
Starts out with the view fov and the spot angle matching.
replace /Widgets/Select/Spot light view widget
replace /Widgets/WidgetScripts/CamLightExtras
- Attachments
-
- Spot light view widget202.RsObj
- (251.64 KiB) Downloaded 47 times
-
- CamLightExtras203.RsObj
- (50.89 KiB) Downloaded 47 times
Re: Light View Widget and Camera for UU
Started trueSpace this morning and the noticed the changes I made to the Widgets were not working as it was yesterday.
Not good, so scrapped those ideas!
Can you explain the new FOV, advantages and its use?
I do understand it is independent of the light's Angle but not sure why it is needed.
I do think this new FOV widget makes the whole widget huge.
How about something like this?
FOV and View Control together and are for the Camera .
Have not previously looked at this widget in Ortho views.
The View Control moves in Perspective and Ortho views.
In ortho view the View Move, FOV, and the View Control move but not the View Angle and View Rotate Looking at the View Widget, it looks like they made an Ortho and a separate Perspective widget.
They also locked all the shapes down with a ExpandInMatrix
Not good, so scrapped those ideas!
Can you explain the new FOV, advantages and its use?
I do understand it is independent of the light's Angle but not sure why it is needed.
I do think this new FOV widget makes the whole widget huge.
How about something like this?
FOV and View Control together and are for the Camera .
Have not previously looked at this widget in Ortho views.
The View Control moves in Perspective and Ortho views.
In ortho view the View Move, FOV, and the View Control move but not the View Angle and View Rotate Looking at the View Widget, it looks like they made an Ortho and a separate Perspective widget.
They also locked all the shapes down with a ExpandInMatrix
Re: Light View Widget and Camera for UU
In UU9 the Camera tools widgets do have Auto Keyframingclintonman wrote: ↑07 Apr 2023, 04:05 Footnote nothing to do with the changes: it should be noted that when using autokey that you don't get keys when using the view tools or the view widget like in modelspace. It involves 2 separate widgets to make it work, not usre if it's possible or worth the work require. More research is needed.
The View Widget does not, because selecting the Eye Camera does not work in the Animation Editor
Because it uses a Euler Transform.
But you can use a Camera.
You just need to enable FOV in the Keying panel, to Auto Keyframe using the Camera FOV tool widget
Camera Move and Rotate also work.
- 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 guess it's just a convenience thing now. Your last set of widgets lead me to believe that you did not want a light view that matched the angle of the light.trueBlue wrote: ↑07 Apr 2023, 18:10 Started trueSpace this morning and the noticed the changes I made to the Widgets were not working as it was yesterday.
Not good, so scrapped those ideas!
Can you explain the new FOV, advantages and its use?
I do understand it is independent of the light's Angle but not sure why it is needed.
...
I don't know what that sentence means, but in the image it's odd that the fov control is around the closing control.