POV-Ray : Newsgroups : povray.unix : gcc-like Povray interface? Server Time
28 Jul 2024 16:24:26 EDT (-0400)
  gcc-like Povray interface? (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Jason Alonso
Subject: gcc-like Povray interface?
Date: 25 Oct 2000 20:24:57
Message: <39f779d9@news.povray.org>
I was wondering...

A while ago I worked on a personal project that involved converting some
data files into images and then feeding the images as height-fields into
POV-ray.  I found that the most convenient method of handling this was to
use a Makefile.  So...

What if POV-ray parsed gcc-style command-line options and sources files and
reported errors/warnings in the same manner as an item in the gcc toolchain?
This would also mean (perhaps by an option) suppressing all console output
in the absence of errors.

This would greatly enhance POV-ray for batch processing, as well as allow
POV-ray to be integrated readily into many IDE's.

Is this a feature/design that is worth coming up with an unofficial patch
for?  Is it something worth investigating if POV-ray 4 is open-sourced?

I'm curious as to what people think.

Jason


Post a reply to this message

From: Steve
Subject: Re: gcc-like Povray interface?
Date: 25 Oct 2000 22:18:13
Message: <slrn8vf51g.as1.steve@zero-pps.localdomain>
On Wed, 25 Oct 2000 20:24:48 -0400, Jason Alonso wrote:
>I was wondering...
>

>I'm curious as to what people think.

I'm curious as to what you mean.  The way you describe it sounds
a bit like a solution that's looking for a problem.  Pov already
has command line options.  I still don't understand what you 
mean. 

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  3:07am  up 15 days,  4:28,  1 user,  load average: 1.16, 1.07, 1.02


Post a reply to this message

From: Warp
Subject: Re: gcc-like Povray interface?
Date: 26 Oct 2000 04:39:23
Message: <39f7edba@news.povray.org>
Steve <ste### [at] zeroppsuklinuxnet> wrote:
: Pov already has command line options.

  He wasn't talking about command line options but proper return values
and text output (and quietness if no error happened).
  Using povray in a makefile can be of great help in many applications.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Jason Alonso
Subject: Re: gcc-like Povray interface?
Date: 26 Oct 2000 16:35:15
Message: <39f89583$1@news.povray.org>
Exactly.

Now I'm just wondering if this is something worth considering for POV-ray 4,
especially if it is open-sourced.

"Warp" <war### [at] tagpovrayorg> wrote in message
news:39f7edba@news.povray.org...
> Steve <ste### [at] zeroppsuklinuxnet> wrote:
> : Pov already has command line options.
>
>   He wasn't talking about command line options but proper return values
> and text output (and quietness if no error happened).
>   Using povray in a makefile can be of great help in many applications.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Pabs
Subject: Re: gcc-like Povray interface?
Date: 26 Oct 2000 21:44:21
Message: <39F8DDA9.F18EFE7A@hotmail.com>
Warp wrote:

> Steve <ste### [at] zeroppsuklinuxnet> wrote:
> : Pov already has command line options.
>
>   He wasn't talking about command line options but proper return values

0 for success & 1 for failure?

> and text output (and quietness if no error happened).

Suppressing the credits & copyright messages?
Sounds contrary to POVLegal to me.
Correct me if I'm wrong.
--
Bye
Pabs


Post a reply to this message

From: Andrea Ryan
Subject: Re: gcc-like Povray interface?
Date: 27 Oct 2000 00:25:27
Message: <39F8FF86.7C727031@global2000.net>
> 0 for success & 1 for failure?

Nothing for success and specific error messages upon failure.
Brendan Ryan


Post a reply to this message

From: Warp
Subject: Re: gcc-like Povray interface?
Date: 27 Oct 2000 07:09:14
Message: <39f9625a@news.povray.org>
Pabs <pab### [at] hotmailcom> wrote:
: Suppressing the credits & copyright messages?
: Sounds contrary to POVLegal to me.

  Well, it can be done already:

povray whatever >& /dev/null

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Pabs
Subject: Re: gcc-like Povray interface?
Date: 29 Oct 2000 20:33:27
Message: <39FCD030.C8E9FEC9@hotmail.com>
Warp wrote:

> povray whatever >& /dev/null

Just a syntax query - what is the ampersand for?
Does ">&" mean send stderr (and or stdout) to outer space?
--
Bye
Pabs


Post a reply to this message

From: Warp
Subject: Re: gcc-like Povray interface?
Date: 30 Oct 2000 04:59:14
Message: <39fd4671@news.povray.org>
Pabs <pab### [at] hotmailcom> wrote:
: Just a syntax query - what is the ampersand for?
: Does ">&" mean send stderr (and or stdout) to outer space?

  In most shells (tcsh, zsh and I think bash, but not sh) it means redirecting
both stdout and stderr (also |& can be used).

  If you want to redirect only stderr it's "2>".

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Pabs
Subject: Re: gcc-like Povray interface?
Date: 30 Oct 2000 20:34:49
Message: <39FE2053.B73EB219@hotmail.com>
Warp wrote:

> Pabs <pab### [at] hotmailcom> wrote:
> : Just a syntax query - what is the ampersand for?
> : Does ">&" mean send stderr (and or stdout) to outer space?
>
>   In most shells (tcsh, zsh and I think bash, but not sh) it means redirecting
> both stdout and stderr (also |& can be used).
>
>   If you want to redirect only stderr it's "2>".

Thanx

--
Bye
Pabs


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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