POV-Ray : Newsgroups : povray.general : Standalone editor & parser? Server Time
24 Nov 2024 18:35:07 EST (-0500)
  Standalone editor & parser? (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Bald Eagle
Subject: Standalone editor & parser?
Date: 20 Oct 2017 15:15:00
Message: <web.59ea4aa855edc2cbc437ac910@news.povray.org>
Is there a way to be able to use only the parser (and the editor)?

Just thinking it might be handy to have a stripped-down portable SDL language
environment that doesn't require a registry-based installation.
Something that could be run off a USB stick...

Is that possible - and 'straightforward'?


Post a reply to this message

From: clipka
Subject: Re: Standalone editor & parser?
Date: 20 Oct 2017 22:31:52
Message: <59eab198$1@news.povray.org>
Am 20.10.2017 um 21:12 schrieb Bald Eagle:
> Is there a way to be able to use only the parser (and the editor)?
> 
> Just thinking it might be handy to have a stripped-down portable SDL language
> environment that doesn't require a registry-based installation.
> Something that could be run off a USB stick...
> 
> Is that possible - and 'straightforward'?

I don't understand.

Do you want the Windows GUI and parser without the render engine? What
good would that be?

For issues unrelated to 3D rendering, there are scripting languages far
better suited to such tasks.


Post a reply to this message

From: Alain
Subject: Re: Standalone editor & parser?
Date: 21 Oct 2017 12:06:41
Message: <59eb7091$1@news.povray.org>
Le 17-10-20 à 15:12, Bald Eagle a écrit :
> Is there a way to be able to use only the parser (and the editor)?
> 
> Just thinking it might be handy to have a stripped-down portable SDL language
> environment that doesn't require a registry-based installation.
> Something that could be run off a USB stick...
> 
> Is that possible - and 'straightforward'?
> 
> 

As for the editor, any text editor that save as simple ASCII will do.

As for the parser, it would need to save the parsed scene to be of any 
use. Then, you'd need to pass that to the renderer part.

As for running from an USB stick, you can always use the Linux, command 
line version. Useable under Windows by enabling the Unix environment 
available from Windows 7 onward.


Post a reply to this message

From: clipka
Subject: Re: Standalone editor & parser?
Date: 21 Oct 2017 12:37:58
Message: <59eb77e6@news.povray.org>
Am 21.10.2017 um 18:09 schrieb Alain:

> As for running from an USB stick, you can always use the Linux, command
> line version. Useable under Windows by enabling the Unix environment
> available from Windows 7 onward.

The "Windows Subsystem for UNIX-based applications" (SUA) has actually
been available from Windows Vista onward, and a predecessor, "Windows
Services for UNIX" (SFU), has been available from XP onward.

Both require a Server, Enterprise or Ultimate edition of Windows though.

The successor, "Windows Subsystem for Linux" (WSL), on the other hand,
is only available for Windows 10, but appears to be available on all
(64-bit) editions.


Post a reply to this message

From: jr
Subject: Re: Standalone editor & parser?
Date: 22 Oct 2017 11:36:28
Message: <59ecbafc$1@news.povray.org>
hi,

re standalone editor

I like Vim (http://www.vim.org/).  it has syntax highlighting for the
SDL (and many other languages), and is cross-platform.

while no help with the parser, Vim's "make" command can be set to call
povray and render the scene file in the current buffer.

regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Standalone editor & parser?
Date: 23 Oct 2017 13:05:06
Message: <web.59ee20e8e089fcd9c437ac910@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> Do you want the Windows GUI and parser without the render engine? What
> good would that be?

I'd be able to write SDL on any computer I was sitting at, and check for proper
syntax and other errors without having to install POV-Ray on every box I used.

Color coded contextual highlighting is nice (I will check out VIM), but the
parser is really the thing that tells me if something's going to even GET TO the
render phase without choking on a missing include file, a missing ) or }, an
undeclared variable, etc.

It was just an idea for something useful, if it was simple enough to do.

A dream in a longer, narrower pipe would be to have an online editor / parser
that could be used in a browser...


Post a reply to this message

From: Alain
Subject: Re: Standalone editor & parser?
Date: 23 Oct 2017 16:15:15
Message: <59ee4dd3@news.povray.org>
Le 17-10-23 à 13:03, Bald Eagle a écrit :
> clipka <ano### [at] anonymousorg> wrote:
> 
>> Do you want the Windows GUI and parser without the render engine? What
>> good would that be?
> 
> I'd be able to write SDL on any computer I was sitting at, and check for proper
> syntax and other errors without having to install POV-Ray on every box I used.
> 
> Color coded contextual highlighting is nice (I will check out VIM), but the
> parser is really the thing that tells me if something's going to even GET TO the
> render phase without choking on a missing include file, a missing ) or }, an
> undeclared variable, etc.
> 
> It was just an idea for something useful, if it was simple enough to do.
> 
> A dream in a longer, narrower pipe would be to have an online editor / parser
> that could be used in a browser...
> 
> 

You may want to take the Unix/Linux source files, remove/comment out the 
renderer part and compile.


Post a reply to this message

From: jhu
Subject: Re: Standalone editor & parser?
Date: 24 Oct 2017 01:55:00
Message: <web.59eed4b0e089fcd9194284cc0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> clipka <ano### [at] anonymousorg> wrote:
>
> > Do you want the Windows GUI and parser without the render engine? What
> > good would that be?
>
> I'd be able to write SDL on any computer I was sitting at, and check for proper
> syntax and other errors without having to install POV-Ray on every box I used.
>
> Color coded contextual highlighting is nice (I will check out VIM), but the
> parser is really the thing that tells me if something's going to even GET TO the
> render phase without choking on a missing include file, a missing ) or }, an
> undeclared variable, etc.
>
> It was just an idea for something useful, if it was simple enough to do.
>
> A dream in a longer, narrower pipe would be to have an online editor / parser
> that could be used in a browser...

You can already run the Windows Povray version off a USB stick.


Post a reply to this message

From: Bald Eagle
Subject: Re: Standalone editor & parser?
Date: 27 Oct 2017 07:55:00
Message: <web.59f31e3be089fcd9c437ac910@news.povray.org>
"jhu" <nomail@nomail> wrote:

> You can already run the Windows Povray version off a USB stick.

Is there a special way I have to "install" it on the USB?
I tried to copy the bin directory onto a USB and run the executable, and got:




ERROR: Cannot find Home entry in registry (and cannot infer it).

This entry should have been set by the installation program.

POV-Ray can usually infer the installation path but that requires a standard
layout of directories, which also seems to be absent.

...... etc.


Post a reply to this message

From: clipka
Subject: Re: Standalone editor & parser?
Date: 27 Oct 2017 09:38:11
Message: <59f336c3$1@news.povray.org>
Am 27.10.2017 um 13:53 schrieb Bald Eagle:
> "jhu" <nomail@nomail> wrote:
> 
>> You can already run the Windows Povray version off a USB stick.
> 
> Is there a special way I have to "install" it on the USB?
> I tried to copy the bin directory onto a USB and run the executable, and got:

> ERROR: Cannot find Home entry in registry (and cannot infer it).

You'd have to copy the whole POV-Ray install directory (e.g. `C:\Program
Files\POV-Ray\v3.7\`) to the USB stick (e.g. `E:\POV-Ray\v3.7\`).

In addition, you'd have to copy POV-Ray's directory of user-editable
files (sample scenes, include files etc., e.g.
`C:\Users\JohnDoe\Documents\POV-Ray\v3.7`) to the USB stick (e.g.
`E:\User\POV-Ray\v3.7\

On the system you want to work on, you'd then have to invoke the
following command once:

    pvengine.exe /INSTALL "E:\POV-Ray\v3.7\" "E:\User\POV-Ray\v3.7\"

(It should also be possible to throw both directories together on the
USB stick.)


However, this does not really qualify as a so-called "portable
installation", which is what most people expect when they talk about
"running program XY off a USB stick", as the above command does actually
modify the computer's registry. This means that it won't work on a
computer where you don't have the necessary administrative privileges.

Also, if you later work with POV-Ray on the same computer again, and
another USB stick happens to be plugged in, so that the USB stick's
drive letter changes (e.g. "F:" instead of "E:"), you have to invoke the
above command /again/ (with according changes).


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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