POV-Ray : Newsgroups : povray.unix : Good editor for Unix POV-Ray: NEdit Server Time
28 Jul 2024 18:24:45 EDT (-0400)
  Good editor for Unix POV-Ray: NEdit (Message 1 to 2 of 2)  
From: Jon Berndt
Subject: Good editor for Unix POV-Ray: NEdit
Date: 23 May 1999 08:48:03
Message: <3747eaf3.0@news.povray.org>
FYI:

I discovered that nedit can be highly customized to suit POV-Ray. One can
add items to the menu which can run shell commands. I use this to run
POV-Day with the file I am currently editing. One can also add macros which
can do things like insert constructs. I think it can be configured to do
almost anything the Windows POV editor can do. Plus, in KDE, I think one can
attach the view context menu to a POV file so that if you right-click a POV
file you can have it rendered on-the-fly; if you select edit, you could
bring up the scene file in nedit. You can also set up your own custom syntax
highlighting. If you want to add render capabilities in a submenu under
Shell, you could add this to the .nedit file in your home directory (this is
better done via the default options | menu editor within NEdit, though):

 Render>320x240 No AA@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W320 +H240 +DH0 +FC +P\n\
 Render>640x480 No AA@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W640 +H480 +DH0 +FC +P\n\
 Render>800x600 No AA@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W800 +H600 +DH0 +FC +P\n\
 Render>1024x768 No AA@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W1024 +H768 +DH0 +FC +P\n\
 Render>1280x1024 No AA@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W1280 +H1024 +DH0 +FC +P\n\
 Render>640x480 AA 0.3@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W640 +H480 +DH0 +FC +A0.3+P\n\
 Render>800x600 AA 0.3@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W800 +H600 +DH0 +FC +A0.3 +P\n\
 Render>1024x768 AA 0.3@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W1024 +H768 +DH0 +FC +A0.3 +P\n\
 Render>1280x1024 AA 0.3@POV:::DS:\n\
  x-povray -I% +L/var/povray31/include +W1280 +H1024 +DH0 +FC +A0.3 +P\n

Jon

====================================================
Jon & Frances Berndt
email: jsb### [at] hal-pcorg, fan### [at] hal-pcorg
WWW: http://www.hal-pc.org/~jsb
League City, TX
====================================================


Post a reply to this message

From: Spider
Subject: Re: Good editor for Unix POV-Ray: NEdit
Date: 3 Jun 1999 14:54:32
Message: <3756C13D.99BE55F4@bahnhof.se>
Jon Berndt wrote:
> 
> FYI:
> 
> I discovered that nedit can be highly customized to suit POV-Ray. One can
> add items to the menu which can run shell commands. I use this to run
> POV-Day with the file I am currently editing. One can also add macros which
> can do things like insert constructs. I think it can be configured to do
> almost anything the Windows POV editor can do. Plus, in KDE, I think one can
> attach the view context menu to a POV file so that if you right-click a POV
> file you can have it rendered on-the-fly; if you select edit, you could
> bring up the scene file in nedit. You can also set up your own custom syntax
> highlighting. If you want to add render capabilities in a submenu under
> Shell, you could add this to the .nedit file in your home directory (this is
> better done via the default options | menu editor within NEdit, though):
> 
>  Render>320x240 No AA@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W320 +H240 +DH0 +FC +P\n\
>  Render>640x480 No AA@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W640 +H480 +DH0 +FC +P\n\
>  Render>800x600 No AA@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W800 +H600 +DH0 +FC +P\n\
>  Render>1024x768 No AA@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W1024 +H768 +DH0 +FC +P\n\
>  Render>1280x1024 No AA@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W1280 +H1024 +DH0 +FC +P\n\
>  Render>640x480 AA 0.3@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W640 +H480 +DH0 +FC +A0.3+P\n\
>  Render>800x600 AA 0.3@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W800 +H600 +DH0 +FC +A0.3 +P\n\
>  Render>1024x768 AA 0.3@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W1024 +H768 +DH0 +FC +A0.3 +P\n\
>  Render>1280x1024 AA 0.3@POV:::DS:\n\
>   x-povray -I% +L/var/povray31/include +W1280 +H1024 +DH0 +FC +A0.3 +P\n
> 
> Jon
> 
> ====================================================
> Jon & Frances Berndt
> email: jsb### [at] hal-pcorg, fan### [at] hal-pcorg
> WWW: http://www.hal-pc.org/~jsb
> League City, TX
> ====================================================
ho. I'm working a bit on a language mode for pov to Nedit.. Anyone here
interested? (If so, I'll clean it up and prepare the parts that are
necessary here for ya)

I'm not done yet, and I'm currently not all to certain of how to solve
some things...

What different colourings do you want, and so on..
Currently there are: (subject to change)

Strings 	" "
objects 	sphere, disc
groupings	difference, mesh
script		#declare, #macro
comments	/* */, //
material	material { texture { pigment_map {
keywords	filter, location, look_at
translations	rotate, translate, matrix, some other misc things


Any changes and ideas?


//Spider


Post a reply to this message

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