POV-Ray : Newsgroups : povray.windows : /nogui ? Server Time
2 Jul 2024 23:55:53 EDT (-0400)
  /nogui ? (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Elias Pschernig
Subject: /nogui ?
Date: 3 Jul 2001 14:42:09
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.)

Thanks

--
#macro C(X,Y)cylinder{X*x<X,0,-Y/2>.1}#end#macro U(R,X,Y)intersection{torus{.9
.1}box{-1 0rotate y*R*90}translate<X,0,Y>scale 1-z*.5}#end union{U(0,0,0)U(1,0
,0)U(2,-1,-1)U(1,1,0)U(1,1.5,-3)U(1,2,0)U(3,1,0)U(2,2,0)U(0,3,0)U(3,2,.5)C(.1,
2)C(.8,1)C(.8,-1)C(1.1,1)C(1.9,-1)pigment{rgb 10}rotate x*90translate<-1,0,4>}


Post a reply to this message

From: Christoph Hormann
Subject: Re: /nogui ?
Date: 3 Jul 2001 15:53:57
Message: <3B422326.DB9627D4@gmx.de>
Elias Pschernig wrote:
> 
> 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.)
> 

That's not possible with the standard windows version (neither official
nor megapov).  Various command line versions can be found on my site:

http://www.schunter.etc.tu-bs.de/~chris/povcyg.html

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Elias Pschernig
Subject: Re: /nogui ?
Date: 3 Jul 2001 16:02:01
Message: <3b4224b9@news.povray.org>
> That's not possible with the standard windows version (neither official
> nor megapov).  Various command line versions can be found on my site:
> 
> http://www.schunter.etc.tu-bs.de/~chris/povcyg.html
 
Many thanks, I will download the povcyg_mcp version..


Post a reply to this message

From: Elias Pschernig
Subject: Re: /nogui ?
Date: 3 Jul 2001 17:33:59
Message: <3b423a47$1@news.povray.org>
> That's not possible with the standard windows version (neither official
> nor megapov).  Various command line versions can be found on my site:
> 
> http://www.schunter.etc.tu-bs.de/~chris/povcyg.html

This is exactly what I wanted, but how do I turn off that annoying beep
after every frame of an animation? I *would* like a beep after the finsihed
render, but better no beep at all than all the time.. The docs only
describe additional features, and the GUI version has menu options for it,
so I have no idea what to do.

Thank you,

Elias Pschernig


Post a reply to this message

From: Christoph Hormann
Subject: Re: /nogui ?
Date: 3 Jul 2001 17:44:18
Message: <3B423D02.B3F96B9C@gmx.de>
Elias Pschernig wrote:
> 
> This is exactly what I wanted, but how do I turn off that annoying beep
> after every frame of an animation? I *would* like a beep after the finsihed
> render, but better no beep at all than all the time.. The docs only
> describe additional features, and the GUI version has menu options for it,
> so I have no idea what to do.
> 

That's something i would really like to know too, could not find it in the
source code and there is no switch for this.  Furthermore it uses the
speaker and not the soundcard so you can't even turn the volume down...

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: /nogui ?
Date: 3 Jul 2001 18:12:33
Message: <3b424350@news.povray.org>
Elias Pschernig <eli### [at] aonat> wrote:
: how do I turn off that annoying beep
: after every frame of an animation?

http://www.students.tut.fi/~warp/povVFAQ/miscVFAQ.html#nobeep

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Elias Pschernig
Subject: Re: /nogui ?
Date: 3 Jul 2001 18:20:23
Message: <3b424527@news.povray.org>
> : how do I turn off that annoying beep
> : after every frame of an animation?
> 
> http://www.students.tut.fi/~warp/povVFAQ/miscVFAQ.html#nobeep

-p didn't help. It seems to be some windows thing.


Post a reply to this message

From: Christoph Hormann
Subject: Re: /nogui ?
Date: 3 Jul 2001 18:41:10
Message: <3B424A56.E7935CA0@gmx.de>
Elias Pschernig wrote:
> 
> -p didn't help. It seems to be some windows thing.

Right, see also:

Subject: Turning off povray's finish beep?
Date: Fri, 02 Mar 2001 17:30:25 +0100
Newsgroups: povray.newusers

It wouldn't be a problem if i could find where to turn it off in the
source code.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Elias Pschernig
Subject: Re: /nogui ?
Date: 3 Jul 2001 19:29:30
Message: <3b42555a@news.povray.org>
be some windows thing.
> 
> Right, see also:
> 
> Subject: Turning off povray's finish beep?
> Date: Fri, 02 Mar 2001 17:30:25 +0100
> Newsgroups: povray.newusers
> 
> It wouldn't be a problem if i could find where to turn it off in the
> source code.

I just found a workaround. 
redir -eo <commandline> output.txt

This gets rid of beeping, and also has the advantage of having all the
messages in output.txt.

Elias Pschernig


Post a reply to this message

From: Elias Pschernig
Subject: Re: /nogui ?
Date: 3 Jul 2001 20:53:07
Message: <3b4268f3@news.povray.org>
> 
> It wouldn't be a problem if i could find where to turn it off in the
> source code.
> 

I'm quite sure it is here in userio.c:

void POV_Std_Display_Finished()
{
  char s[3];

  fprintf(stderr, "\007\007");
  if (opts.Options & PROMPTEXIT)
  {
    fgets(s, 2, stdin);
  }
}

Trying grep with \b and \007 showed it up quite fast..

Btw., do you think it would be hard recompiling it with mingw ?


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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