POV-Ray : Newsgroups : povray.general : Using POV to render only Server Time
12 Oct 2026 00:33:11 EDT (-0400)
  Using POV to render only (Message 1 to 16 of 16)  
From: Bryan Valencia
Subject: Using POV to render only
Date: 15 Nov 2007 19:04:29
Message: <473cde8d$1@news.povray.org>
I have an app that needs to render a quick object and display it on it's 
screen.


I have managed to get pvengine.exe to open up and render the bmp for me 
but it tosses up a splash screen.  how do I do this in a completely 
invisible way?


C# code
---------
Process POVRay = new Process();

POVRay.StartInfo.FileName = "C:\\Program Files\\POV3.6\\bin\\pvengine.exe";
POVRay.StartInfo.Arguments = "+IC:\\temp\\demo.pov +OC:\\temp\\demo.bmp 
+w320 +h200 -P -D /EXIT";
POVRay.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;

POVRay.Start();
POVRay.WaitForExit();


-- 
Bryan Valencia

"I'd rather live with false hope than with false despair."


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 15 Nov 2007 19:19:32
Message: <473ce214$1@news.povray.org>
Bryan Valencia escribió:
> I have an app that needs to render a quick object and display it on it's 
> screen.
> 
> 
> I have managed to get pvengine.exe to open up and render the bmp for me 
> but it tosses up a splash screen.  how do I do this in a completely 
> invisible way?

Compile your own POV-Ray without GUI :) Or, talk to an existing POV-Ray 
instance using a GUI extension.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 15 Nov 2007 19:21:50
Message: <473ce29e$1@news.povray.org>
Nicolas Alvarez escribió:
> Bryan Valencia escribió:
>> I have managed to get pvengine.exe to open up and render the bmp for 
>> me but it tosses up a splash screen.  how do I do this in a completely 
>> invisible way?
> 
> Compile your own POV-Ray without GUI :) Or, talk to an existing POV-Ray 
> instance using a GUI extension.

Or use Linux, where there is no integrated editor at all :)


Post a reply to this message

From: Manuel Mata
Subject: Re: Using POV to render only
Date: 16 Nov 2007 07:15:01
Message: <web.473d895054ece7ebd141b3240@news.povray.org>
> I have an app that needs to render a quick object and display it on it's
> screen.
>
>
> I have managed to get pvengine.exe to open up and render the bmp for me
> but it tosses up a splash screen.  how do I do this in a completely
> invisible way?
>

Well i tried the same in a java servlet under WindowsXP, and the splash screen
appeared. I think that you can use the /EXIT parameter in the same command line
when you invoke Povray. Then when pov finish the image you can show it on your
own window, i think ...

After some efforts povray crashed and I cant execute it and cant reinstall it
.... Windows XP ...

Hope it helps.

            Manuel Mata


Post a reply to this message

From: Bryan Valencia
Subject: Re: Using POV to render only
Date: 17 Nov 2007 15:07:21
Message: <473f49f9$1@news.povray.org>
Linux? are you nuts?  I am obviously in a Windows App, please!

Compiling my own POV-Ray... how hard is that?

Isn't there a way to tell POV to render in the task tray?  That would be 
acceptable.

What I am doing is accepting inputs from a user and based on them, 
creating a quick scene and displaying it in a panel on the winform.  So 
in this case, having the splash screen come up whenever the user changes 
anything is - how shall I say - too damned annoying.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 17 Nov 2007 17:01:41
Message: <473f64c5@news.povray.org>
Bryan Valencia escribió:
> Isn't there a way to tell POV to render in the task tray? That would
> be acceptable.

There is, click the Tray button on the toolbar :) But if your app 
restarts POV-Ray again for each render, the splash window can't be 
avoided. If you want that, you need to write a GUI Extension (in C) that 
controls a single instance of POV-Ray. You start POV-Ray once, minimize 
it to tray, and let your app control it.

> Compiling my own POV-Ray... how hard is that?

I'll do it for you. I don't want to compile an unoptimized version! What 
CPU do you have? Get CPU-Z or some similar tool to find out what 
instruction sets your computer supports.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 17 Nov 2007 17:43:51
Message: <473f6ea7$1@news.povray.org>
Nicolas Alvarez escribió:
> Bryan Valencia escribió:
>> Compiling my own POV-Ray... how hard is that?
> 
> I'll do it for you. I don't want to compile an unoptimized version! What 
> CPU do you have? Get CPU-Z or some similar tool to find out what 
> instruction sets your computer supports.

Well, here you go. Compiled with -msse2 -msse -mmmx -march=pentiumpro 
-mtune=pentium4 -ffast-math. So, should have MMX, SSE, SSE2, run 
somewhat faster on pentium4 and still be compatible with pentiumpro and 
higher.

http://www.wikifortio.com/733640/povray.exe.zip


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 17 Nov 2007 18:03:10
Message: <473f732e$1@news.povray.org>
Nicolas Alvarez escribió:
> Well, here you go. Compiled with -msse2 -msse -mmmx -march=pentiumpro
> -mtune=pentium4 -ffast-math. So, should have MMX, SSE, SSE2, run 
> somewhat faster on pentium4 and still be compatible with pentiumpro 
> and higher.
 >
 > http://www.wikifortio.com/733640/povray.exe.zip

Eh, looks like wikifortio screwed my upload. Try this (slow!)

http://stuff.povaddict.com.ar/povray.zip

PS: it's 3.6.1. I merged the Windows config and makefiles with the unix 
3.6.1 code, since there is no 3.6.1 win code yet.


Post a reply to this message

From: Warp
Subject: Re: Using POV to render only
Date: 18 Nov 2007 00:13:10
Message: <473fc9e6@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> Well, here you go. Compiled with -msse2 -msse -mmmx -march=pentiumpro 
> -mtune=pentium4 -ffast-math. So, should have MMX, SSE, SSE2, run 
> somewhat faster on pentium4 and still be compatible with pentiumpro and 
> higher.

  SSE2 was introduced with Pentium4, so if the compiler really generated SSE2
instructions it won't work with anything older.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Using POV to render only
Date: 18 Nov 2007 00:14:21
Message: <473fca2d@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> http://stuff.povaddict.com.ar/povray.zip

> PS: it's 3.6.1. I merged the Windows config and makefiles with the unix 
> 3.6.1 code, since there is no 3.6.1 win code yet.

  Btw, are you sure your distribution above complies with the POV-Ray
distribution license?

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Using POV to render only
Date: 18 Nov 2007 14:08:48
Message: <47408dc0$1@news.povray.org>
Warp escribió:
> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>> http://stuff.povaddict.com.ar/povray.zip
> 
>> PS: it's 3.6.1. I merged the Windows config and makefiles with the unix 
>> 3.6.1 code, since there is no 3.6.1 win code yet.
> 
>   Btw, are you sure your distribution above complies with the POV-Ray
> distribution license?

I added the license files to the zip.

Should also include the source code I used? I just copied all source/* 
files from 3.6.1 unix to 3.6 win directory (since there is no win 3.6.1 
code yet), modified optout.h as required (DISTRIBUTION_MESSAGE_2), and 
tweaked config.h for my MinGW version.


Post a reply to this message

From: CyrusA
Subject: Re: Using POV to render only
Date: 7 Jan 2008 20:10:01
Message: <web.4782cc5e54ece7eb83de9c010@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> Warp escribió:
> > Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> >> http://stuff.povaddict.com.ar/povray.zip
> >
> >> PS: it's 3.6.1. I merged the Windows config and makefiles with the unix
> >> 3.6.1 code, since there is no 3.6.1 win code yet.
> >
> >   Btw, are you sure your distribution above complies with the POV-Ray
> > distribution license?
>
> I added the license files to the zip.
>
> Should also include the source code I used? I just copied all source/*
> files from 3.6.1 unix to 3.6 win directory (since there is no win 3.6.1
> code yet), modified optout.h as required (DISTRIBUTION_MESSAGE_2), and
> tweaked config.h for my MinGW version.

I am considering incorporating POV-Ray into a program I am developing that
creates an engineering connection component based on user input. Long story
short - the user enters certain parameters (beam width, load, etc.)  and my
program designs the physical connection component. My program calls POV-Ray and
feeds it command line parameters that define the connection object, POV-Ray
renders it, and then my program displays the 3-D image that POV-Ray generates.

My question is how I can figure out if this is compliant with the licensing
agreement of POV-Ray. My program will be sold for-profit, and I do not mind
releasing the source code as well. I just want to know if running POV-Ray in
this fashion and incorporating the output into my program is kosher. If this is
not the correct place to ask this, please let me know if you know where I should
be inquiring for this information.

Thank you,

Cyrus


Post a reply to this message

From: Jan Dvorak
Subject: Re: Using POV to render only
Date: 8 Jan 2008 00:01:44
Message: <478303b8@news.povray.org>
> ...My program will be sold for-profit, and I do not mind
> releasing the source code as well. ...

???


Post a reply to this message

From: Warp
Subject: Re: Using POV to render only
Date: 8 Jan 2008 01:53:36
Message: <47831df0@news.povray.org>
CyrusA <nomail@nomail> wrote:
> please let me know if you know where I should
> be inquiring for this information.

  Here: http://povray.org/distribution-license.html

-- 
                                                          - Warp


Post a reply to this message

From: CyrusA
Subject: Re: Using POV to render only
Date: 10 Jan 2008 17:50:00
Message: <web.4786a07b54ece7ebc7c4b8120@news.povray.org>
Jan Dvorak <jan### [at] centrumcz> wrote:
> > ...My program will be sold for-profit, and I do not mind
> > releasing the source code as well. ...
>
> ???

Haha,
What I meant is I would include the source for POV-Ray, not my program. :-P


Post a reply to this message

From: CyrusA
Subject: Re: Using POV to render only
Date: 10 Jan 2008 17:55:01
Message: <web.4786a17454ece7ebc7c4b8120@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> Nicolas Alvarez escribió:
> > Well, here you go. Compiled with -msse2 -msse -mmmx -march=pentiumpro
> > -mtune=pentium4 -ffast-math. So, should have MMX, SSE, SSE2, run
> > somewhat faster on pentium4 and still be compatible with pentiumpro
> > and higher.
>  >
>  > http://www.wikifortio.com/733640/povray.exe.zip
>
> Eh, looks like wikifortio screwed my upload. Try this (slow!)
>
> http://stuff.povaddict.com.ar/povray.zip
>
> PS: it's 3.6.1. I merged the Windows config and makefiles with the unix
> 3.6.1 code, since there is no 3.6.1 win code yet.

Nicolas,
I can't access this file. Could you please Repost?
Thanks!
 -Cyrus


Post a reply to this message

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