POV-Ray : Newsgroups : povray.general : Using POV to render only Server Time
27 Nov 2024 22:42:26 EST (-0500)
  Using POV to render only (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
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>

> 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>


>> 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>

> 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>


>> 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>

> 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

Goto Latest 10 Messages Next 6 Messages >>>

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