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