This is a rather esoteric request but it might be easyish for you to implement.
I have a spherical HDRI file that shows earth from the stratosphere; it actually looks like a view from orbit.
You can see the sun in the image but most of the light comes from the clouds below so my model is dark on the topside and light on the sides and bottom.
So even though the sun is visible, fairly high up, in the image: it isn’t casting enough light for my purposes.
So I tried to put a directional light into the scene and I tried to put it where the sun is.
That turned out to be more difficult than I expected.
- setting camera location to world origin
- put in shaded mode to find the camera and select it
- put in rendered mode to find the sun
But where has the light gone?
I’d like a single command to put the camera at the world origin and go into rendered mode then I can rotate the view and click on the center of the sun then when I complete the command a directional light is placed somewhere on a line between sun and the world origin. The light would be pointing at the world origin.
I don’t really care how it’s implemented, just as long as it’s easy to do.
To recap: I’d like some way to place a directional light in a scene that is lit with an image and have the light come from the direction of something that I can click on in the image.
I imagine that my view position would be at the world origin and I click on the screen where I see something in the image and this gives you a direction vector from origin to image that you can reverse to set the direction of any light that has a notion of direction.
I imagine that if I have selected a light b4 I run the command then this just sets the direction vector of the existing light.
Maybe I’d want to be able to create multiple lights in one go. I dunno.