|
|
"argus" <arg### [at] npqrnet> wrote in message news:3df9a20d$1@news.povray.org...
> Key to getting this to work was setting -display variable in the
> command line call from script. Even though I don't run X and
> have -D in the command line and Display=Off in povray.ini
> Doesn't matter what display is specified i.e, -display 0 or
> -display 23 or any value will work.
ADDENDUM: it appears that the -display command line variable must
appear before the -D command line switch that turns off dispaly
It should be that -D obviates any need for -display checking.
Will look at source later, but I assume a check for a display name
runs before and regardless if -D switch is written. If -D, then why
does povray binary care if -display is set? Is it to ensure that parser
output, banner and messages have some place to go? If so, then the
command line parser might/should? look to see if err and output
redirection is written into the command line?
Pan
Post a reply to this message
|
|
|
|
Try compiling POV-Ray with the compiler option:
-DX_DISPLAY_MISSING
Due to a lack in the configure script, you'll need to add this option
manually to the Makefile in the src/ directory. You can add it for example
to the 'CFLAGS' and 'CXXFLAGS' variables. (There's probably a variable more
suitable for this, but I'm too lazy to search now.)
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|