How to find view point coordinates?
问题 I have azimuth , elevation and direction vector of the sun.. i want to place a view point on sun ray direction with some distance. Can anyone describe or provide a link to a resource that will help me understand and implement the required steps? I used cartesian coordinate system to find direction vector from azimuth and elevation.and then for find viewport origin.image for this question x = distance y = distance* tan azimuth z = distance * tan elevation. i want to find that distance value...