Camera, lights


RE: Camera, lights
#3
(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).
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Camera, lights - by Michael Horvath - 2016-08-21, 13:05
RE: Camera, lights - by Roland Melkert - 2016-08-21, 17:18
RE: Camera, lights - by Travis Cobbs - 2016-08-22, 4:26
RE: Camera, lights - by Michael Horvath - 2016-08-22, 14:00
RE: Camera, lights - by Tore Eriksson - 2016-11-06, 12:34
RE: Camera, lights - by Tore Eriksson - 2016-11-06, 16:03
RE: Camera, lights - by Michael Horvath - 2016-11-07, 15:41
RE: Camera, lights - by Tore Eriksson - 2016-11-07, 16:14
RE: Camera, lights - by Michael Horvath - 2016-11-07, 17:18
RE: Camera, lights - by Tore Eriksson - 2016-11-08, 0:13
RE: Camera, lights - by Michael Horvath - 2016-11-09, 6:00
RE: Camera, lights - by Michael Horvath - 2016-11-17, 9:49

Forum Jump:


Users browsing this thread: 1 Guest(s)