POV-Ray : Newsgroups : povray.general : Rendering to a window Server Time
1 Nov 2024 09:20:37 EDT (-0400)
  Rendering to a window (Message 1 to 4 of 4)  
From: Kene Meniru
Subject: Rendering to a window
Date: 23 May 2013 22:05:54
Message: <519ecb02$1@news.povray.org>
I was just wondering if it is possible to run povray and have the image show 
on a window such as one created using pyqt for example QtGui.QWidget or 
maybe something like libQGLViewer showing examples here -  
http://www.libqglviewer.com/examples/index.html. I am programming a python 
CAD program which I want to have a more unified/integrated interface.

I know I can run it via command line and will probably keep doing that but I 
was just curious and after searching the net for a couple of days I just 
wanted to throw it out there in this forum just in case I am missing 
something.

Thanks.
-- 

Kene
::::::::::::::::::
KeM### [at] gmailcom


Post a reply to this message

From: Stephen
Subject: Re: Rendering to a window
Date: 23 May 2013 22:25:05
Message: <519ecf81$1@news.povray.org>
On 24/05/2013 3:05 AM, Kene Meniru wrote:
> I was just wondering if it is possible to run povray and have the image show
> on a window such as one created using pyqt for example QtGui.QWidget or
> maybe something like libQGLViewer showing examples here -
> http://www.libqglviewer.com/examples/index.html. I am programming a python
> CAD program which I want to have a more unified/integrated interface.
>
> I know I can run it via command line and will probably keep doing that but I
> was just curious and after searching the net for a couple of days I just
> wanted to throw it out there in this forum just in case I am missing
> something.
>
> Thanks.
>

Just a quick reply and I am sure that someone will answer more fully later.
As a user of Moray and Bishop3D (PovRay Modellers). PovRay images can be 
displayed in a viewport in those programs. It requires a GUIExtension 
which is referenced in pvengine.ini

E.g.
[GUIExtensions]
UseExtensions=1

ExtDll17=C:\Program Files (x86)\Bishop3D\Bishop3DPovComm.dll
ExtDll18=C:\Graphics\Moray For Windows\MorayCtrl.DLL

As for the details I am sorry but I cannot help there.



-- 
Regards
     Stephen


Post a reply to this message

From: MichaelJF
Subject: Re: Rendering to a window
Date: 24 May 2013 14:00:02
Message: <web.519faa19424a917f15f1d36f0@news.povray.org>
Kene Meniru <Ken### [at] illomorg> wrote:
> I was just wondering if it is possible to run povray and have the image show
> on a window such as one created using pyqt for example QtGui.QWidget or
> maybe something like libQGLViewer showing examples here -
> http://www.libqglviewer.com/examples/index.html. I am programming a python
> CAD program which I want to have a more unified/integrated interface.
>
> I know I can run it via command line and will probably keep doing that but I
> was just curious and after searching the net for a couple of days I just
> wanted to throw it out there in this forum just in case I am missing
> something.
>
> Thanks.
> --
>
> Kene
> ::::::::::::::::::
> KeM### [at] gmailcom

What system are you running? Linux or Windows? As you requested this, I would
assume you must be a Linux user since the Windows version displays the
POV-output at the fly. If it is possible to have this with Linux I would like to
learn how to do it as well as you.

Best regards,
Michael


Post a reply to this message

From: James Holsenback
Subject: Re: Rendering to a window
Date: 24 May 2013 18:26:33
Message: <519fe919$1@news.povray.org>
On 05/24/2013 01:57 PM, MichaelJF wrote:
> Kene Meniru <Ken### [at] illomorg> wrote:
>> I was just wondering if it is possible to run povray and have the image show
>> on a window such as one created using pyqt for example QtGui.QWidget or
>> maybe something like libQGLViewer showing examples here -
>> http://www.libqglviewer.com/examples/index.html. I am programming a python
>> CAD program which I want to have a more unified/integrated interface.
>>
>> I know I can run it via command line and will probably keep doing that but I
>> was just curious and after searching the net for a couple of days I just
>> wanted to throw it out there in this forum just in case I am missing
>> something.
>>
>> Thanks.
>> --
>>
>> Kene
>> ::::::::::::::::::
>> KeM### [at] gmailcom
>
> What system are you running? Linux or Windows? As you requested this, I would
> assume you must be a Linux user since the Windows version displays the
> POV-output at the fly. If it is possible to have this with Linux I would like to
> learn how to do it as well as you.
>
> Best regards,
> Michael
>
>
from line 217 of the file INSTALL included with the linux source build 
package:

"- SDL version 1.2 or above (used for the display preview)
   http://www.libsdl.org"

if everything went ok during configure/make at the command line do:

povray --version

and you should see ...

X Window display:          enabled (using SDL)

the rest is proper command line switches +d +p ... etc


Post a reply to this message

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