POV-Ray : Newsgroups : povray.unix : My pov-mode Server Time
28 Jul 2024 22:18:10 EDT (-0400)
  My pov-mode (Message 16 to 25 of 25)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Nieminen Juha
Subject: Re: My pov-mode
Date: 3 Nov 1999 10:12:56
Message: <382050f8@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
: it'd still be nice to be able to get a
: list of the dependencies of a scene file if you plan to pack it up and
: send it off to irtc or news.povray.org or wherever.

  Yes, that would be useful sometimes.

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


Post a reply to this message

From: Nieminen Juha
Subject: Re: My pov-mode
Date: 3 Nov 1999 10:14:26
Message: <38205152@news.povray.org>
Btw, another useful feature would be a switch that makes povray just
parse the scene but not render it. This would be a fast way of checking the
syntax correctness of a file.

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


Post a reply to this message

From: Jakob Flierl
Subject: Re: My pov-mode
Date: 3 Nov 1999 11:12:24
Message: <38205EE8.61860865@gmx.de>
Nieminen Juha wrote:
> 
>   Btw, another useful feature would be a switch that makes povray just
> parse the scene but not render it. This would be a fast way of checking the
> syntax correctness of a file.

... or start povray with "+w1 +h1".


Post a reply to this message

From: Nieminen Juha
Subject: Re: My pov-mode
Date: 3 Nov 1999 12:05:49
Message: <38206b6d@news.povray.org>
Jakob Flierl <joo### [at] gmxde> wrote:
: ... or start povray with "+w1 +h1".

  That's not the same since it will not only parse the scene but actually
make instances of all the objects, calculate all the #while-loops, #macros,
etc, and so on.
  For example the conversion of bicubic patches to triangles is done
after parsing the patches and can take very long.

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


Post a reply to this message

From: Ron Parker
Subject: Re: My pov-mode
Date: 3 Nov 1999 14:39:34
Message: <slrn82134b.v8.ron.parker@ron.gwmicro.com>
On 3 Nov 1999 12:05:49 -0500, Nieminen Juha wrote:
>  That's not the same since it will not only parse the scene but actually
>make instances of all the objects, calculate all the #while-loops, #macros,
>etc, and so on.

Some of that would probably have to stay.  Consider these two problems, which
wouldn't be caught on such a prepass but probably should be:

Problem 1:
----------
#macro MyMacro( foo, bar ) 
  object {foo texture {bar}}
#end

MyMacro(1,2)

Problem 2:
----------
#declare a=0;
#while (a<1 ) 
  #if (a<.5)
    sphere {10*a*x,1 pigment {color rgb 1-a}}
  #else
    sphere {10*a*x,1 pigment {color rgb a}
  #end
  #declare a=a+.1;
#end

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Peter Toneby
Subject: Re: My pov-mode
Date: 4 Nov 1999 10:44:00
Message: <3821A9BF.B3B306E@acc.umu.se>
Ron Parker wrote:
> 
> On Tue, 28 Sep 1999 00:03:18 +0200, Peter Toneby wrote:
> >Nieminen Juha wrote:
> >>
> >> Peter Toneby <woo### [at] accumuse> wrote:
> >> : Have you updated the code for keyword-completion? (added the new
> >> : keywords and all that)
> >>
> >>   Nope. I have never used the completion feature. Perhaps I'll have to
> >> familiarize myself with it. It may be handy.
> >>   My additions to the pov-mode.el are far from complete.
> >
> >I noted that, but they are good, but for emacs only, not xemacs, so I
> >had to make some changes
> >to it to make sure it's compatible, I still have to test it a bit more,
> >and I might do
> >some other work on the mode as well later this week, so hopefully I can
> >make a release this
> >weekend.
> 
> I just started playing with pov-mode myself, and the first thing I
> found is that rendering the scene is a lot more work than it should
> be.  Is there some variable somewhere I can set with the default
> render command so I don't have to retype it every time I run emacs?

I will see what I can do, I never use that feature myself, I always use
commandline since I get better control that way.

/Peter Toneby


Post a reply to this message

From: Ron Parker
Subject: Re: My pov-mode
Date: 4 Nov 1999 10:56:57
Message: <slrn823b5o.v8.ron.parker@ron.gwmicro.com>
On Thu, 04 Nov 1999 16:43:59 +0100, Peter Toneby wrote:
>Ron Parker wrote:
>> I just started playing with pov-mode myself, and the first thing I
>> found is that rendering the scene is a lot more work than it should
>> be.  Is there some variable somewhere I can set with the default
>> render command so I don't have to retype it every time I run emacs?
>
>I will see what I can do, I never use that feature myself, I always use
>commandline since I get better control that way.

I found a variable that controls whether m-x compile is interactive or
not, and what the command is if it isn't.  That's close.  I think I'll
just have to dig into compile.el a little and see what I find.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Nieminen Juha
Subject: Re: My pov-mode
Date: 5 Nov 1999 03:13:10
Message: <38229196@news.povray.org>
The problem with rendering directly from emacs is that you can't stop
povray in the middle of the rendering, but you have to wait for it to
finish (at least if you don't want multiple povrays running). Or at least
I don't know how to stop it from emacs.
  When started from the shell I just press ^C.

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


Post a reply to this message

From: Mark Gordon
Subject: Re: My pov-mode
Date: 5 Nov 1999 08:28:07
Message: <3822EABC.90566AF9@mailbag.com>
Nieminen Juha wrote:
> 
>   The problem with rendering directly from emacs is that you can't stop
> povray in the middle of the rendering, but you have to wait for it to
> finish (at least if you don't want multiple povrays running). Or at least
> I don't know how to stop it from emacs.
>   When started from the shell I just press ^C.

If you can't pass it a signal from within emacs (I suspect you can), you
might be able to run kill from emacs.

-Mark Gordon


Post a reply to this message

From: Francois Dispot
Subject: Re: My pov-mode
Date: 5 Nov 1999 18:48:59
Message: <38236CE7.CD835E0F@club-internet.fr>
Nieminen Juha wrote:
> 
> Jakob Flierl <joo### [at] gmxde> wrote:
> : ... or start povray with "+w1 +h1".
> 
>   That's not the same since it will not only parse the scene but actually
> make instances of all the objects, calculate all the #while-loops, #macros,
> etc, and so on.
>   For example the conversion of bicubic patches to triangles is done
> after parsing the patches and can take very long.

...and that's a way to get an idea of how bulky (in terms of memory)
your work will be: an information you just get when everything is
finished.

-- 

      __  __ __  __  _
|  | /  \  /  / |_  /  |/
\/\/ \__/ /_ /_ |__ \_ |\


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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