Hi, i am finding problems in the generation of rays along a line with fixed angle with respect to the line.
More specifically, rays have to be emitted from the points on a segment at fized polar angle but with isotropic azimuthal angle.
Do you know how to generate on a line and how to fix the angular properties of photons?
In addition, photons have to be polarized so thay the electric field vector is perpendicular to the emission direction and points in the direction of the source line.
Thank you in advance.