|
|
|
|
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 08:08:09
Message: <3AE56CB8.8A9ACC75@gmx.de>
|
|
|
| |
| |
|
|
Warp wrote:
>
> Christoph Hormann <chr### [at] gmxde> wrote:
> : For emacs you probably need a command line version of Povray
>
> WinPov can be called from the command line as well.
>
Probably not a very good solution. I tried it with other programs and
found that it:
- takes quite a long time to load
- does not print out anything (error info, stats) that can be used by the
invoking program
- does not return as you would expect from a console program
- does not work at all if 'keep single instance' is activated.
One thing that would be really useful is a command line GUI Extension that
emulates a command line Povray version, but invokes WinPov.
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: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 09:12:18
Message: <3ae57bb2@news.povray.org>
|
|
|
| |
| |
|
|
In povray.unix Christoph Hormann <chr### [at] gmxde> wrote:
: - does not return as you would expect from a console program
Use /exit
--
#local D=array[6]{11117333955,7382340,3358,3900569407,970,4254934330}
#local I=0;#macro M()<mod(D[I],13)-6,mod(div(D[I],13),8)-3,10>#end
#while(I<6)cylinder{M()#local D[I]=div(D[I],104);M().1
pigment{rgb M()}}#local I=(D[I]>99?I:I+1);#end /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 09:31:52
Message: <3AE58058.EEC1D897@gmx.de>
|
|
|
| |
| |
|
|
Warp wrote:
>
> Use /exit
>
I meant it actually returned *before* the render was finished. Since no
output is generated anyway this does not make much difference of course.
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 24 Apr 2001 14:08:24 +0200, Christoph Hormann wrote:
>- does not print out anything (error info, stats) that can be used by the
>invoking program
You should investigate the available command line options more thoroughly.
>- does not return as you would expect from a console program
You should investigate the available command line options more thoroughly.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 24 Apr 2001 15:32:08 +0200, Christoph Hormann wrote:
>I meant it actually returned *before* the render was finished. Since no
>output is generated anyway this does not make much difference of course.
Of course it returns before the render is finished. That, however, is a
Windows issue and not a POV-Ray issue. If you're using a batch file,
consider the various options given to you by the "start" command. If
programming in a more useful language, ponder the ShellExecuteEx function
and how it could be used with WaitForSingleObject to achieve the desired
goal.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
|
| |
| |
|
|
From: Wlodzimierz ABX Skiba
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 09:59:15
Message: <3ae586b3@news.povray.org>
|
|
|
| |
| |
|
|
Christoph Hormann wrote in message <3AE58058.EEC1D897@gmx.de>...
> I meant it actually returned *before* the render was finished. Since no
> output is generated anyway this does not make much difference of course.
I don't know if it is possible with other windows but in NT 4 there is command
START with optional parameter /WAIT. It waits until task not finish.
start /wait povray.exe
I don't know what about return codes from runing
btw: command START can also set priority of task
ABX
Post a reply to this message
|
|
| |
| |
|
|
From: Christoph Hormann
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 10:11:30
Message: <3AE589A1.83D6CE1E@gmx.de>
|
|
|
| |
| |
|
|
Ron Parker wrote:
>
> You should investigate the available command line options more thoroughly.
> [...]
> You should investigate the available command line options more thoroughly.
>
Perhaps i should emphasize that i wasn't complaining, i just want to
mention that WinPov is not an universal substitute for a command line
version. The additional options do not really help.
Most editors, probably including emacs, have functions for invoking
external programs like compilers and also include analysis of error
output, but they are designed for command line programs and therefore will
not work with WinPov that easily. Of course one could redirect the output
to a text file and print it out again in a batch afterwards, but i really
don't thing this is a really acceptable solution also because of the other
disadvantages i mentioned.
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: Christoph Hormann
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 10:24:01
Message: <3AE58C91.F64F9AAF@gmx.de>
|
|
|
| |
| |
|
|
Wlodzimierz ABX Skiba wrote:
>
> I don't know if it is possible with other windows but in NT 4 there is command
> START with optional parameter /WAIT. It waits until task not finish.
>
> start /wait povray.exe
>
> I don't know what about return codes from runing
>
> btw: command START can also set priority of task
>
> ABX
I know about that although i had forgotten it for the moment. Thanks for
mentioning it. Anyway the most important problem stays, i.e. the program
takes at least some seconds to load and therefore it's not really useful
to start it again every time.
As already mentioned a GUI Extension offers very nice possibilities for
this (you could render scenes in a already running version of WinPov this
way). I did not have luck getting it work in the past, but i did not try
very hard anyway...
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: Wlodzimierz ABX Skiba
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 10:32:22
Message: <3ae58e76@news.povray.org>
|
|
|
| |
| |
|
|
Christoph Hormann wrote in message <3AE58C91.F64F9AAF@gmx.de>...
> most important problem stays, i.e. the program
> takes at least some seconds to load and therefore it's not really useful
> to start it again every time.
if you know that you render very often than you can run one winpov at start of
system and every next run use the same loaded code block and only allocate
memory for data - it's rule of windows I think
ABX
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: Using the Emacs POV-Mode in the win32 XEmacs
Date: 24 Apr 2001 21:13:56
Message: <3ae624d4$1@news.povray.org>
|
|
|
| |
| |
|
|
In article <3AE589A1.83D6CE1E@gmx.de> , Christoph Hormann
<chr### [at] gmxde> wrote:
> Of course one could redirect the output
> to a text file and print it out again in a batch afterwards
You can also redirect to stdout, but I am not sure if this works in windows
programs.
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |