 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
fabien Henon wrote:
>
In addition to what Warp wrote:
> [...]
> - Does your editor show you the previously opened POV-Ray files (so that
> you can open them with a mere click) ?
There are various add-ons for emacs allowing this in some form.
> - Does it handle syntax hightlighting well ( I know that Pyvon does not
> do it well either because of speed)
Emacs does this extremely well, in addition you also have a section
browser.
> - Can you pause, then resume a render ?
I doubt Pyvon can do this (unless you 'pause' by changing priority to
lowest).
> These are all the features can I can think of for the moment. There
> might be others.
>
> As I am not sure that you can answer yes to all the questions above,
> that is why I think POV would 'deserve' a GUI on its own.
The question is not whether it 'deserves' it but whether a proprietary GUI
would be better to use and more powerful than a good and customizable
editor and some additional tools. WinPOV - although being worked on for
quite some time - is still much less powerful than a good editor. Some
key features of Emacs for me are:
- auto-indention (which is much more than WinPOV offers)
- ability to edit all kind of text files in one editor (and each file type
with its own syntax highlighting, navigation helps etc.)
- auto-completition (which is syntax sensitive in emacs)
- templates with automatically updated 'last modified' field
- integration of tools like 'diff', 'ispell' and regular expression search
These are just examples although you will already have a hard time
implementing them in WinPOV or Pyvon. I have no doubt there are some
things rather difficult to do in emacs but for this some small tools
implementing specific features would be better than a whole new editor.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3eec650f@news.povray.org>, fabien Henon <fabienhenon@fr>
wrote:
> - handle multiple files at once : Has the user to select one files among
> others with a mouse-click ?
Both do. jEdit has a buffer menu, tabs, or a buffer selector which
contains a button for each open file, depending on which plugins you
use. Emacs can switch buffers with keystrokes when in a console, and has
similar facilities for switching buffers when using the graphical
interfaece.
> - Is it possible to choose a predefined resolution without typing +W...
> +H... in a command line ?
This is possible with some simple scripting and an ordinary terminal
program. With Emacs, you could probably do a fairly sophisticated
interface in the editor itself, with jEdit a simple plugin should do.
> - Is it possible to choose the quality settings ( from +Q0 to Q9) with a
> mouse click ?
Not "out of the box". Both are customizeable enough to make it possible
though.
> - Does your editor show you the previously opened POV-Ray files (so that
> you can open them with a mere click) ?
jEdit: yes. Emacs: I don't know if it has a file history or not.
> - Do you have the possiblity to define which area to render (+sc...
> +ec.... ) without the command line
Not out of the box.
> - Does it handle syntax hightlighting well ( I know that Pyvon does not
> do it well either because of speed)
Both handle it quite well.
> - Can you pause, then resume a render ?
The Unix version handles this just fine, the method you use to start it
doesn't affect it.
> - Can you choose the color for each type of keywords in a simple window
> dialog ?
jEdit: yes. Emacs has a different interface for setting these options,
but you can enter a "dialog" where you choose the colors.
> - Can you do queue rendering ( render one file then another unattended) ?
Not out of the box.
> As I am not sure that you can answer yes to all the questions above,
> that is why I think POV would 'deserve' a GUI on its own.
Faulty thinking. The existing solutions don't cover 100% of the needs,
that does not mean you have to go use something else. It should be quite
easy to build a plugin for jEdit which puts all the rendering options in
the toolbar, and you would be building on an already highly capable
editor for the scene files.
> > I like this idea better: create a Cocoa interface, and port it to
> > GNUStep for other systems.
> Could you tell more about Cocoa ?
> I don't know much about it, but I thought it was a graphical toolkit for
> Mac OS.X.
> Besides, is it easily portable to other platform ?
> Is it freely available ?
It is one of the primary APIs for Mac OS X, and is pretty much the
modern OpenStep API. GNUStep is the open source implementation, which
tries to follow Cocoa as closely as possible. It isn't complete, but
should be enough for a POV interface.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Christoph Hormann wrote:
>
> fabien Henon wrote:
>
>
> In addition to what Warp wrote:
>
>
>>[...]
>>- Does your editor show you the previously opened POV-Ray files (so that
>>you can open them with a mere click) ?
>
>
> There are various add-ons for emacs allowing this in some form.
>
>
>>- Does it handle syntax hightlighting well ( I know that Pyvon does not
>>do it well either because of speed)
>
>
> Emacs does this extremely well, in addition you also have a section
> browser.
I meant with very large files. I got emacs and Pyvon to hang while
scrolling 5 Mb large files.
>
>
>>- Can you pause, then resume a render ?
>
>
> I doubt Pyvon can do this (unless you 'pause' by changing priority to
> lowest).
>
There is a pause/resume button in Pyvon.
>
>>These are all the features can I can think of for the moment. There
>>might be others.
>>
>>As I am not sure that you can answer yes to all the questions above,
>>that is why I think POV would 'deserve' a GUI on its own.
>
>
> The question is not whether it 'deserves' it but whether a proprietary GUI
> would be better to use and more powerful than a good and customizable
> editor and some additional tools. WinPOV - although being worked on for
> quite some time - is still much less powerful than a good editor. Some
> key features of Emacs for me are:
>
> - auto-indention (which is much more than WinPOV offers)
> - ability to edit all kind of text files in one editor (and each file type
> with its own syntax highlighting, navigation helps etc.)
> - auto-completition (which is syntax sensitive in emacs)
> - templates with automatically updated 'last modified' field
> - integration of tools like 'diff', 'ispell' and regular expression search
>
There is auto-indentation in Pyvon along with auto-completion (which can
be disabled).
As for the rest of the key features, I did not implement them in Pyvon
or were not implemented in WinPov.
In which case do you use 'diff', 'ispell' and RE.search ? (regular
expressions are intensively used in Pyvon for syntax highlighting)
What is the use of templates ?
Fabien
> These are just examples although you will already have a hard time
> implementing them in WinPOV or Pyvon. I have no doubt there are some
> things rather difficult to do in emacs but for this some small tools
> implementing specific features would be better than a whole new editor.
>
> Christoph
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
3EEC979D.5FB80FE6@gmx.de...
> - auto-completition (which is syntax sensitive in emacs)
Just for the record, auto-completion works in WinPov (first letters + tab)
G.
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
fabien Henon wrote:
>
> [...]
> >
> > - auto-indention (which is much more than WinPOV offers)
> > - ability to edit all kind of text files in one editor (and each file type
> > with its own syntax highlighting, navigation helps etc.)
> > - auto-completition (which is syntax sensitive in emacs)
> > - templates with automatically updated 'last modified' field
> > - integration of tools like 'diff', 'ispell' and regular expression search
> >
> There is auto-indentation in Pyvon along with auto-completion (which can
> be disabled).
As i have pointed out it's not the exisitence of such features per se,
it's how well they work. Syntax sensitive auto-completition meaning it
only tries to complete keywords which are allowed at the current position
(when you are in a 'union' and type diff<tab> you immediately get
'difference' because 'diffuse' is not allowed there)
auto-indention is much more powerful in emacs than in WinPOV (and i assume
it is not much better in Pyvon than in WinPOV) - you can automatically
indent whole blocks and closing braces and '#end' are positioned correctly
while typing as well.
> In which case do you use 'diff', 'ispell' and RE.search ? (regular
> expressions are intensively used in Pyvon for syntax highlighting)
'ispell' is of course rarely useful in POV-SDL but i use it frequently
when editing HTML and TEX. 'diff' and regular expressions search are
always handy when editing code.
> What is the use of templates ?
File skeletons that are inserted when creating new files. I use for
example:
// Persistence Of Vision Ray Tracer Scene Description File
// -------------------------------------------------------
// File: @(#)TEMPLATE.pov.tpl
// Desciption: (>>>COMMENT<<<)
// Creation Date: $ (>>>DATE<<<), (>>>TIME<<<) $
// Last modified: $ (>>>DATE<<<), (>>>TIME<<<) $
// Author: (>>>AUTHOR<<<)
//
where all the capitalized stuff gets replaced when creating the file and
the 'Last modified' line gets updated every time you save it.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Gilles Tran wrote:
> 3EEC979D.5FB80FE6@gmx.de...
>
>
>>- auto-completition (which is syntax sensitive in emacs)
>
>
> Just for the record, auto-completion works in WinPov (first letters + tab)
In Pyvon, this works as well, but if you begin typing 'cam', Pyvon will
insert 'camera {' because no other keywords begin with 'cam'.
Fabien H
>
> G.
>
> --
>
> **********************
> http://www.oyonale.com
> **********************
> - Graphic experiments
> - POV-Ray and Poser computer images
> - Posters
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
squidian wrote:
> Using KDE on one desktop I open several virtual terminals. In each
> terminal I load the file of interest with old, reliable jstar -- joe in
> WordStar mode. The alt-tab switches between the files being edited.
In KDE I'm using Kate, a nice editor with multiple windows, e.g. a list
window wich shows you all opened files and it allows you to switch from
file to file very fast. Below the main editor window there's an additional
shell window. Here you can type in chell commands or you can start POV-Ray.
The only thing I'm missing is syntax highlighting, but it's easy to
implement because it uses XML styles for the syntax definition.
Andreas
--
http://www.render-zone.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Andreas Kreisig killed the keyboard with:
> In KDE I'm using Kate, a nice editor with multiple windows, e.g. a list
> window wich shows you all opened files and it allows you to switch from
> file to file very fast. Below the main editor window there's an
> additional shell window. Here you can type in chell commands or you can
> start POV-Ray. The only thing I'm missing is syntax highlighting, but
> it's easy to implement because it uses XML styles for the syntax
> definition.
I made such a XML file. It's based on the C++ highlighting, and it's just
a quick solution, and not bug free. I posted it to
povray.text.scene-files, hopefully that's the right place to post it.
Have fun.
Wolfgang
--
.-. This is Linux Country.
/v\ On a quiet night, you
/( )\ can hear Windows reboot.
^^ ^^ LFS-No.: 120
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Wolfgang Landauer wrote:
> I made such a XML file. It's based on the C++ highlighting, and it's just
> a quick solution, and not bug free. I posted it to
> povray.text.scene-files, hopefully that's the right place to post it.
> Have fun.
Very nice, thank you! :)
Andreas
--
http://www.render-zone.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Another useful application for pov editing is quanta.
This is really a web editor, but the document tags, can be definied, so
that there can be a button for adding a sphere for instance. Also with a
bit of work on the button, a script can be added to even pop up a dialog
box with all the options for the sphere etc.
Supports projects, documentation, built in web browser etc.
Fran.
Andreas Kreisig wrote:
> Wolfgang Landauer wrote:
>
>
>>I made such a XML file. It's based on the C++ highlighting, and it's just
>>a quick solution, and not bug free. I posted it to
>>povray.text.scene-files, hopefully that's the right place to post it.
>>Have fun.
>
>
> Very nice, thank you! :)
>
> Andreas
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |