leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Lights don't make any difference in renders

Open paravantis opened this issue 6 years ago • 1 comments

Neither setting a light nor a spotlight seems to make any difference when rendering. I get the same darkish looking image with the same shadows irrespective of where I place a light or a spotlight source.

Exporting my project to a POV file, and opening it from POV-ray, I find that there are 4 lights written to the text file (although I have inserted none in my scene):

light_source{ <0.000000, -6.767246, -8.687246> color rgb 0.75 area_light 200, 200, 10, 10 jitter }

light_source{ <9.167246, -3.711497, 5.772716> color rgb 0.75 area_light 200, 200, 10, 10 jitter }

light_source{ <0.000000, -9.822994, 0.480000> color rgb 0.5 area_light 200, 200, 10, 10 jitter }

light_source{ <12.222995, 2.400000, -11.742995> color rgb 0.5 area_light 200, 200, 10, 10 jitter }

Are these inserted automatically by LeoCAD? If so, I don't understand why not inserting one light source like:

light_source { <0, 0, 5> color rgb 2 }

If I remove these lines from the POV editor, and add my own light, the scene renders well in POV-ray.

(In case it makes any difference, I am in Windows 10 x64 on a Ryzen 5 2600 and an nVidia GTX 1660 Ti.)

I am new in LeoCAD and I may be missing something. Help would be appreciated.

paravantis avatar Dec 03 '20 21:12 paravantis

I need to export the lights, they don't do anything yet

leozide avatar Dec 05 '20 00:12 leozide