POV-Ray : Newsgroups : povray.unix : General linux advice (is there a GUI editor?) Server Time
22 Dec 2024 08:34:18 EST (-0500)
  General linux advice (is there a GUI editor?) (Message 1 to 10 of 10)  
From: gregjohn
Subject: General linux advice (is there a GUI editor?)
Date: 7 Apr 2006 12:20:01
Message: <web.4436900f985c796440d56c170@news.povray.org>
This is in response to jofg's earlier question.  This is how I run povray:

1) I use "kate" as my scene file editor. It is GUI! :) It gives one the
capability of having multiple scene files open under tabs just as does
POV-Ray for Windows.

2) I also have open a file in the kate editor which is "POVRAY.INI" or
"POV.INI" or "ZINI.INK" or whatever.  In this file, I have put text
equivalents of all those horribly aggravating +/- switch commands.  Here is
a typical one I might use:

------BEGIN ZINI.INK FILE LISTING --------

;Input_File_Name=latest16b04.pov
;Input_File_Name=golfco05.pov
;Input_File_Name=zfixirishd07dc.pov
Input_File_Name=maze10g39.pov
;Input_File_Name=giles_clouds.pov
;Input_File_Name=team03d2.pov
; +W160 +H120 +A0.0 ; Labels are not case sensitive.
+W320 +H240 +A0.0 ; Labels are not case sensitive.
;+W640 +H480 +A0.3 ; Labels are not case sensitive.
;+W1600 +H1200 +A0.3 ; Labels are not case sensitive.

;; File output type control.
;;     T    Uncompressed Targa-24
;;     C    Compressed Targa-24
;;     P    UNIX PPM
;;     N    PNG (8-bits per colour RGB)
;;     Nc   PNG (c'' bit per colour RGB where 5 <= c <= 16)

Output_to_File=true
Output_File_Type=N8             ;; (+/-Ftype)
Output_File_Name=/home/greg/images/
;Final_Frame=110;

----------------END ZINI.INK LISTING-------------

As you can see, I can use this method to tell povray my image size
requirements, my input file name, and even whether I'm doing an animation.
You can even leave commonly used options there on the list, and just
comment them out with a ";" as I have done here. It may seem like an
aggravation to go to the trouble of writing all this until you see my next
step:

3) Have a "konsole"  (command window) open all the time. In it, simply type,
"povray zini.ink" and hit enter.  It will render the scene file you
specified in 2), with the image size and everything.   Now this may still
seem like a pain until the time has come for you to render the SECOND
iteration of your image.  And that is done via"

4) In your konsole, hit <up arrow> <enter>.  Viola! it renders your image
with two keystrokes.   (Honestly, I had thought that linux users of povray
were hopeless, 1992-vintage luddites until I discovered this trick, (and
then grew newfound appreciation again when I was shown bash)).


hope this helps.


Post a reply to this message

From: nemesis
Subject: Re: General linux advice (is there a GUI editor?)
Date: 7 Apr 2006 23:15:00
Message: <web.443729ce972a330fb0beb7c80@news.povray.org>
This is always fun. :)  My typical povray session goes like this in a bash
shell:

$ vim tmp.pov
*some editing*
:w
CTRL+Z
$ CTRL+Rpovray+ENTER
$ fg
*repeat*

In other words, open up a tmp pov file in vim -- excellent editor with
syntax-highlighting, textual completion, block select, macros and many
advanced editing capabilities -- do some editing, save the work (:w in
vim), interrupt the editor process (CTRL+Z), search backwards in the
command-line session history for the last povray invocation with my many
default options set already and if i'm not happy with the output, bring
back the editor and repeat the whole process... :)

Though i'm rather new to povray, this is a very productive setup for me.
kate's not bad, it's just not up there yet with vim and emacs... ;)

"gregjohn" <pte### [at] yahoocom> wrote:
> This is in response to jofg's earlier question.  This is how I run povray:


Post a reply to this message

From: Warp
Subject: Re: General linux advice (is there a GUI editor?)
Date: 8 Apr 2006 04:00:56
Message: <44376db8@news.povray.org>
nemesis <nam### [at] gmailcom> wrote:
> $ vim tmp.pov
> *some editing*
> :w
> CTRL+Z
> $ CTRL+Rpovray+ENTER
> $ fg
> *repeat*

  That means you can't edit while rendering?

-- 
                                                          - Warp


Post a reply to this message

From: mil01
Subject: Re: General linux advice (is there a GUI editor?)
Date: 8 Apr 2006 10:40:01
Message: <web.4437ca9f972a330fe31c21340@news.povray.org>
I like povwin for its add-on menu.
Is there something equivalent for Linux ?

milovann.


Post a reply to this message

From: nemesis
Subject: Re: General linux advice (is there a GUI editor?)
Date: 8 Apr 2006 15:05:00
Message: <web.443808b9972a330ff70064780@news.povray.org>
>   That means you can't edit while rendering?

sorry, just forgot the & after the povray command, like
$ CTRL+RpovrayCTRL+E &ENTER

:P

still, most of the time i wanna see the result of the last editing before
moving on with yet more editing... i render it just enough to see if the
changes are good, stop the rendering with CTRL+z and then go ahead with
more changes... :)


Post a reply to this message

From: nemesis
Subject: Re: General linux advice (is there a GUI editor?)
Date: 8 Apr 2006 16:30:00
Message: <web.44381c20972a330f94c85a980@news.povray.org>
whoa!  and make sure you stop/cancel the rendering with a CTRL+C, i mean! :P

"nemesis" <nam### [at] gmailcom> wrote:
> >   That means you can't edit while rendering?
>
> sorry, just forgot the & after the povray command, like
> $ CTRL+RpovrayCTRL+E &ENTER
>
> :P
>
> still, most of the time i wanna see the result of the last editing before
> moving on with yet more editing... i render it just enough to see if the
> changes are good, stop the rendering with CTRL+z and then go ahead with
> more changes... :)


Post a reply to this message

From: Warp
Subject: Re: General linux advice (is there a GUI editor?)
Date: 9 Apr 2006 04:22:28
Message: <4438c443@news.povray.org>
Wouldn't it be much easier to simply have two separate windows, one for
the editor and one for the renderer? Like this:

http://tag.povray.org/povQandT/EmacsPovFrontend.png

-- 
                                                          - Warp


Post a reply to this message

From: nemesis
Subject: Re: General linux advice (is there a GUI editor?)
Date: 9 Apr 2006 10:50:00
Message: <web.44391e6a972a330f4d69ef0f0@news.povray.org>
....or two tabs in gnome-terminal.  But really, the fg/bg processess
switching works just about as fast and fine to me as alternating to another
window and invoking pov...

Warp <war### [at] tagpovrayorg> wrote:
> Wouldn't it be much easier to simply have two separate windows, one for
> the editor and one for the renderer? Like this:
>
> http://tag.povray.org/povQandT/EmacsPovFrontend.png
>
> --
>                                                           - Warp


Post a reply to this message

From: jofg
Subject: Re: General linux advice (is there a GUI editor?)
Date: 14 Apr 2006 00:35:00
Message: <web.443f25ea972a330f18e619bc0@news.povray.org>
"gregjohn" <pte### [at] yahoocom> wrote:
> This is in response to jofg's earlier question.  This is how I run povray:
>
> 1) I use "kate" as my scene file editor. It is GUI! :) It gives one the
> capability of having multiple scene files open under tabs just as does
> POV-Ray for Windows.
>
> 2) I also have open a file in the kate editor which is "POVRAY.INI" or
> "POV.INI" or "ZINI.INK" or whatever.  In this file, I have put text
> equivalents of all those horribly aggravating +/- switch commands.  Here is
> a typical one I might use:
>
> ------BEGIN ZINI.INK FILE LISTING --------
>
> ;Input_File_Name=latest16b04.pov
> ;Input_File_Name=golfco05.pov
> ;Input_File_Name=zfixirishd07dc.pov
> Input_File_Name=maze10g39.pov
> ;Input_File_Name=giles_clouds.pov
> ;Input_File_Name=team03d2.pov
> ; +W160 +H120 +A0.0 ; Labels are not case sensitive.
> +W320 +H240 +A0.0 ; Labels are not case sensitive.
> ;+W640 +H480 +A0.3 ; Labels are not case sensitive.
> ;+W1600 +H1200 +A0.3 ; Labels are not case sensitive.
>
> ;; File output type control.
> ;;     T    Uncompressed Targa-24
> ;;     C    Compressed Targa-24
> ;;     P    UNIX PPM
> ;;     N    PNG (8-bits per colour RGB)
> ;;     Nc   PNG (c'' bit per colour RGB where 5 <= c <= 16)
>
> Output_to_File=true
> Output_File_Type=N8             ;; (+/-Ftype)
> Output_File_Name=/home/greg/images/
> ;Final_Frame=110;
>
> ----------------END ZINI.INK LISTING-------------
>
> As you can see, I can use this method to tell povray my image size
> requirements, my input file name, and even whether I'm doing an animation.
> You can even leave commonly used options there on the list, and just
> comment them out with a ";" as I have done here. It may seem like an
> aggravation to go to the trouble of writing all this until you see my next
> step:
>
> 3) Have a "konsole"  (command window) open all the time. In it, simply type,
> "povray zini.ink" and hit enter.  It will render the scene file you
> specified in 2), with the image size and everything.   Now this may still
> seem like a pain until the time has come for you to render the SECOND
> iteration of your image.  And that is done via"
>
> 4) In your konsole, hit <up arrow> <enter>.  Viola! it renders your image
> with two keystrokes.   (Honestly, I had thought that linux users of povray
> were hopeless, 1992-vintage luddites until I discovered this trick, (and
> then grew newfound appreciation again when I was shown bash)).
>
>
> hope this helps.



Yes,

I read the UNIX/LINUX documentation, and the LINUX downloads.

I got PYVON to work work, It is close enough to the Windows version.

Will try POVLINUX next.

Thanks


Post a reply to this message

From: HENON fabien
Subject: Re: General linux advice (is there a GUI editor?)
Date: 3 May 2006 13:30:00
Message: <web.4458e7cc972a330f4d185c630@news.povray.org>
You might try wxpyvon
at
http://fabienhenon.free.fr/wxpyvon/

It uses wxpython. It is still in beta version ( I have not worked on it for
a while :( : Lack of time ).

Cheers

Fabien

"jofg" <jos### [at] yahoocom> wrote:
> "gregjohn" <pte### [at] yahoocom> wrote:
> > This is in response to jofg's earlier question.  This is how I run povray:
> >
> > 1) I use "kate" as my scene file editor. It is GUI! :) It gives one the
> > capability of having multiple scene files open under tabs just as does
> > POV-Ray for Windows.
> >
> > 2) I also have open a file in the kate editor which is "POVRAY.INI" or
> > "POV.INI" or "ZINI.INK" or whatever.  In this file, I have put text
> > equivalents of all those horribly aggravating +/- switch commands.  Here is
> > a typical one I might use:
> >
> > ------BEGIN ZINI.INK FILE LISTING --------
> >
> > ;Input_File_Name=latest16b04.pov
> > ;Input_File_Name=golfco05.pov
> > ;Input_File_Name=zfixirishd07dc.pov
> > Input_File_Name=maze10g39.pov
> > ;Input_File_Name=giles_clouds.pov
> > ;Input_File_Name=team03d2.pov
> > ; +W160 +H120 +A0.0 ; Labels are not case sensitive.
> > +W320 +H240 +A0.0 ; Labels are not case sensitive.
> > ;+W640 +H480 +A0.3 ; Labels are not case sensitive.
> > ;+W1600 +H1200 +A0.3 ; Labels are not case sensitive.
> >
> > ;; File output type control.
> > ;;     T    Uncompressed Targa-24
> > ;;     C    Compressed Targa-24
> > ;;     P    UNIX PPM
> > ;;     N    PNG (8-bits per colour RGB)
> > ;;     Nc   PNG (c'' bit per colour RGB where 5 <= c <= 16)
> >
> > Output_to_File=true
> > Output_File_Type=N8             ;; (+/-Ftype)
> > Output_File_Name=/home/greg/images/
> > ;Final_Frame=110;
> >
> > ----------------END ZINI.INK LISTING-------------
> >
> > As you can see, I can use this method to tell povray my image size
> > requirements, my input file name, and even whether I'm doing an animation.
> > You can even leave commonly used options there on the list, and just
> > comment them out with a ";" as I have done here. It may seem like an
> > aggravation to go to the trouble of writing all this until you see my next
> > step:
> >
> > 3) Have a "konsole"  (command window) open all the time. In it, simply type,
> > "povray zini.ink" and hit enter.  It will render the scene file you
> > specified in 2), with the image size and everything.   Now this may still
> > seem like a pain until the time has come for you to render the SECOND
> > iteration of your image.  And that is done via"
> >
> > 4) In your konsole, hit <up arrow> <enter>.  Viola! it renders your image
> > with two keystrokes.   (Honestly, I had thought that linux users of povray
> > were hopeless, 1992-vintage luddites until I discovered this trick, (and
> > then grew newfound appreciation again when I was shown bash)).
> >
> >
> > hope this helps.
>
>
>
> Yes,
>
> I read the UNIX/LINUX documentation, and the LINUX downloads.
>
> I got PYVON to work work, It is close enough to the Windows version.
>
> Will try POVLINUX next.
>
> Thanks


Post a reply to this message

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