originalnicodr / RELit

Mod to spawn lights in RE Engine games
https://framedsc.com/GeneralGuides/relit.htm
25 stars 4 forks source link

Add a button to move the camera to the light #4

Closed originalnicodr closed 2 years ago

originalnicodr commented 2 years ago

Similar to how UUU4 lights work, having a button to move the camera to a specific light could help fine tunning lights, plus one could create a spotlight, disable it and use it as a point to return to the original composition if you need to move lights around a subject.

I would imagine it would be very similar to how move_light_to_camera works, altho since that is using offsets we would probably need to work on #2 first if we want to make this.

We might also want to look at the other UUU4 lights menu UI if we think something there might be worth replicating. Probably in the future after releasing it since its just QoL stuff.

FransBouma commented 2 years ago

This will be hard to do as e.g. camera tools write the coordinates/quaternion for the camera every frame, and do so from their own data. So writing the light orientation/coords into the camera struct for a frame by RELit is simple, the next frame this data will be overwritten by the camera tools (be it the free cam in the REFramework or mine or other).

originalnicodr commented 2 years ago

Yes, you are right, probably not the best idea to try to get control of the camera then.