POV-Ray : Newsgroups : povray.windows : /nogui ? : Re: /nogui ? Server Time
8 Jul 2024 04:36:28 EDT (-0400)
  Re: /nogui ?  
From: Wlodzimierz ABX Skiba
Date: 4 Jul 2001 04:16:25
Message: <3b42d0d9@news.povray.org>
Elias Pschernig wrote in message <3b421201@news.povray.org>...
>I'm externally calling megapov.exe, and I want it to just render a file, but
>not display a graphical user interface. For some reason, I can't find the
>option for this in the docs. (I've read the chapter twice, but seems i'm
>missing something.)

Of course Christoph's solution is good enough but if you some way find windows
compilation somehow better (for example for speed) there is also solution for
windows version. A little brutal but it is. Here is list of things to do (you
need small external utylity):

o) run pvengine.exe (windows version)
o) check on menu Options -> Other settings -> Save settings on exit
o) minimize window
o) right click on minimized POV-Ray
o) exit POV-Ray
o) run it again

o) check off menu Options -> Other settings -> Save settings on exit
o) exit POV-Ray
o) open [POV-Ray dir]/renderer/povray.ini with any text editor
o) add line Post_Scene_Command=kill -f pvengine

adventage : you can still maximize window and observe all outputs
disadventage : you have to run only one POV to avoid mistakes during automatic
killing

kill.exe is very popular tool to killing processes
perhaps there is other less brutal method to do it but currently I can't find it

I don't like this method - I just listed it to show it is possible

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.