|
|
Simon Andrews wrote:
>
> [...]
>
> What I've found is that povray, when called with *any* command line
> switches (including +gafile), will silently die if the DISPLAY
> environment variable is not set (which it isn't in a CGI script). If I
> manually set that variable to some arbitrary number (which isn't used),
> then povray suddenly bursts back into life, and does all of its
> processing as expected. Interestingly povray will work without this
> variable if you don't call it with any switches at all.
>
> Is this behaviour documented? Is there a good reason for it that I'm
> missing? I can't see any need for POV-ray to always have the DISPLAY
> variable set, as it can be very useful without it. Since I was running
> POV with the -D flag set (ie no display), I can't see why it would be
> required.
Have you tried compining POV-Ray without X support ('#define
X_DISPLAY_MISSING 1' in 'conf.h')?
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|