POV-Ray : Newsgroups : povray.binaries.utilities : POV Linux editor : Re: POV Linux editor Server Time
26 May 2024 12:17:35 EDT (-0400)
  Re: POV Linux editor  
From: ingo
Date: 21 Mar 2002 03:44:54
Message: <Xns91D8638A98E2Aseed7@povray.org>
in news:3C9### [at] club-internetfr Fabien HENON wrote:

> NB : It works with Windows 2000 ( and Mac ?). The render process
> doesn't. 

Works for me:
        # app = dir where pov is located (on my system) and
        # use pvengine.exe in spawnv
    	   # /EXIT /NR are there to close the gui after rendering.

        app = 'c:\\graphics\\POV-RAY35\\bin\\pvengine'
        spawnv(P_NOWAIT, app , ('pvengine.exe /EXIT /NR',     	    
	    	    	"+i"+self.filename+" "+params))

Also if I recall well. Python can detect what os is being used and thus 
could select the right app/spawnv combination. The user would still have 
to tell where pov is located the first time the editor is used.

> TODO:

> Implement syntax color highlight (Any help there would be
> appreciated) 

Pick whatever you need:

http://members.home.nl/seedseven/povsdl2html.py

Also look for the colordelegator(?) in the code for IDLE that comes with 
Python.

Ingo


Post a reply to this message

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