How to get a direct light source with a definable range of incidence

Hello friends from the forum, I have encountered a problem with direct light source in the process of using Groimp software, and I hope it can be solved.

I’ve found that the direct light source (de.grogra.imp3d.objects.DirectionalLight) will adapts its size automatically to the size of the scene, but I currently need a custom sized direct light source and don’t want it to change automatically with the size of the scene.

Thank you!

1 Like

Hi,
Since GroIMP 2.2, there is a light (de.grogra.imp3d.objects.LaserLight) that is a directional light with a fixed radius. The radius is set with .setRadius(double). All other aspect of the light are the same as the directional one.