(2016-08-21, 13:05)Michael Horvath Wrote: What is the official method of adding cameras and light sources to models?
I was thinking it would be nice to add camera/lookat and lightsource/pointat pairs in a single line in a model. This would require some sort of extension. Has someone done this before?
The official file light.dat was designed to be used for this. That file was created by James Jessiman, so it's been around for a long time. The color you use to specify this file is the color of the light source. (Same with the brightness.) Unfortunately, there's no real standard on how this should be used for a light source. LDView supports light.dat for its real-time 3D rendering, converting it into an OpenGL point light source (paying attention to the RGB value of the model reference to determine color and brightness). But I never got around to supporting it during POV export (although I'm pretty sure it would be possible to hack in support after-the-fact using a top include).