POV-Ray : Newsgroups : povray.general : can I use POV from an external application? Server Time
7 Nov 2024 02:26:02 EST (-0500)
  can I use POV from an external application? (Message 1 to 5 of 5)  
From: Gianluca Massaccesi
Subject: can I use POV from an external application?
Date: 9 Feb 2004 02:59:38
Message: <40273dea$1@news.povray.org>
I would like to know how I can render a file from an external application.
Like a Visual basic one, for example. May be by giving some simple dos
command line?

Could you help me?

Thanks.

Gianluca


Post a reply to this message

From: Tom Galvin
Subject: Re: can I use POV from an external application?
Date: 9 Feb 2004 03:10:19
Message: <Xns948A20057FE03tomatimporg@203.29.75.35>
"Gianluca Massaccesi" <gia### [at] tinit> wrote in
news:40273dea$1@news.povray.org: 

> I would like to know how I can render a file from an external
> application. Like a Visual basic one, for example. May be by giving
> some simple dos command line?
> 
> Could you help me?
> 

pvengine.exe /NR /EXIT filename.pov

Season with switches(see docs for details) to your liking.




-- 
Tom
_________________________________
The Internet Movie Project
http://www.imp.org/


Post a reply to this message

From: Gianluca Massaccesi
Subject: Re: can I use POV from an external application?
Date: 9 Feb 2004 03:42:16
Message: <402747e8@news.povray.org>
Many thanks for the suggestion.

I have tried the following line:

"C:\Programmi\POV-Ray for Windows v3.5\bin\pvengine.exe" /NR /RENDER
"C:\Programmi\POV-Ray for Windows v3.5\scenes\advanced\piece2.pov"

POV starts but it gives an erros, as it cannot fin the file. The file is
there, and it can be lauched successfully by the WIN interface.

Can you tell me where I am wrong?
There is anyway to avoid to let the interface opened/visible, while it is
rendering?

Thanks again.

Gianluca

"Tom Galvin" <tom### [at] imporg> ha scritto nel messaggio
news:Xns948A20057FE03tomatimporg@203.29.75.35...
> "Gianluca Massaccesi" <gia### [at] tinit> wrote in
> news:40273dea$1@news.povray.org:
>
> > I would like to know how I can render a file from an external
> > application. Like a Visual basic one, for example. May be by giving
> > some simple dos command line?
> >
> > Could you help me?
> >
>
> pvengine.exe /NR /EXIT filename.pov
>
> Season with switches(see docs for details) to your liking.
>
>
>
>
> -- 
> Tom
> _________________________________
> The Internet Movie Project
> http://www.imp.org/


Post a reply to this message

From: Gianluca Massaccesi
Subject: Re: can I use POV from an external application?
Date: 9 Feb 2004 03:45:47
Message: <402748bb@news.povray.org>
Following my previous message, here is the complete message given:

----------------------------------------------------------------------------
Roots tested:                16789   eliminated:                   0
Calls to Noise:              92388   Calls to DNoise:          72340
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Smallest Alloc:                 25 bytes   Largest:            89524
Peak memory used:          3080584 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  0 minutes   4.0 seconds (4 seconds)
    Total Time:    0 hours  0 minutes   4.0 seconds (4 seconds)
----------------------------------------------------------------------------
CPU time used: kernel 0.10 seconds, user 3.74 seconds, total 3.84 seconds
Render averaged 16686.16 PPS over 64000 pixels

POV-Ray finished

Preset INI file is 'C:\PROGRAMMI\POV-RAY FOR WINDOWS
V3.5\RENDERER\QUICKRES.INI', section is '[320x200, No AA]'.
Preset source file is 'C:\Programmi\POV-Ray for Windows
v3.5\scenes\advanced\piece2.pov'.
Persistence of Vision(tm) Ray Tracer Version 3.5 win32 (.icl)
  This is an official version prepared by the POV-Ray Team. See the
   documentation on how to contact the authors or visit us on the
   internet at http://www.povray.org/.
Copyright 1991-2002 POV-Ray Team(tm)
This Windows version by Christopher J. Cason
Parsing Options
  Input file: C:\Programmi\POV-Ray for Windows
v3.5\scenes\advanced\piece2.pov (compatible to version 3.5)
  Remove bounds........On  Split unions........Off
  Library paths: C:\Programmi\POV-Ray for Windows v3.5\INCLUDE
    C:\WINNT\Fonts
Output Options
  Image resolution 320 by 200 (rows 1 to 200, columns 1 to 320).
  Output file: piece2.bmp, 24 bpp (system format)
  Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption..Off  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  2
  Bounding boxes.......On  Bounding threshold: 3
  Light Buffer.........On  Vista Buffer.........On  Draw Vista Buffer...Off
  Antialiasing........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console.........Off
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On
Possible Scene File Parser Initialization Error: Could not find file
'C:\Programmi\POV-Ray for Windows v3.5\scenes\advanced\piece2.pov'
Scene File Parser Initialization Error: Cannot open input file.


Returned from renderer with error status


"Tom Galvin" <tom### [at] imporg> ha scritto nel messaggio
news:Xns948A20057FE03tomatimporg@203.29.75.35...
> "Gianluca Massaccesi" <gia### [at] tinit> wrote in
> news:40273dea$1@news.povray.org:
>
> > I would like to know how I can render a file from an external
> > application. Like a Visual basic one, for example. May be by giving
> > some simple dos command line?
> >
> > Could you help me?
> >
>
> pvengine.exe /NR /EXIT filename.pov
>
> Season with switches(see docs for details) to your liking.
>
>
>
>
> -- 
> Tom
> _________________________________
> The Internet Movie Project
> http://www.imp.org/


Post a reply to this message

From: Gianluca Massaccesi
Subject: Re: can I use POV from an external application?
Date: 9 Feb 2004 04:33:37
Message: <402753f1@news.povray.org>
Sorry!
The sintax is correct but the file was not there.
If there is it works!
Thanks



"Gianluca Massaccesi" <gia### [at] tinit> ha scritto nel messaggio
news:402748bb@news.povray.org...
> Following my previous message, here is the complete message given:
>
> --------------------------------------------------------------------------
--
> Roots tested:                16789   eliminated:                   0
> Calls to Noise:              92388   Calls to DNoise:          72340
> --------------------------------------------------------------------------
--
> --------------------------------------------------------------------------
--
> Smallest Alloc:                 25 bytes   Largest:            89524
> Peak memory used:          3080584 bytes
> --------------------------------------------------------------------------
--
> Time For Trace:    0 hours  0 minutes   4.0 seconds (4 seconds)
>     Total Time:    0 hours  0 minutes   4.0 seconds (4 seconds)
> --------------------------------------------------------------------------
--
> CPU time used: kernel 0.10 seconds, user 3.74 seconds, total 3.84 seconds
> Render averaged 16686.16 PPS over 64000 pixels
>
> POV-Ray finished
>
> Preset INI file is 'C:\PROGRAMMI\POV-RAY FOR WINDOWS
> V3.5\RENDERER\QUICKRES.INI', section is '[320x200, No AA]'.
> Preset source file is 'C:\Programmi\POV-Ray for Windows
> v3.5\scenes\advanced\piece2.pov'.
> Persistence of Vision(tm) Ray Tracer Version 3.5 win32 (.icl)
>   This is an official version prepared by the POV-Ray Team. See the
>    documentation on how to contact the authors or visit us on the
>    internet at http://www.povray.org/.
> Copyright 1991-2002 POV-Ray Team(tm)
> This Windows version by Christopher J. Cason
> Parsing Options
>   Input file: C:\Programmi\POV-Ray for Windows
> v3.5\scenes\advanced\piece2.pov (compatible to version 3.5)
>   Remove bounds........On  Split unions........Off
>   Library paths: C:\Programmi\POV-Ray for Windows v3.5\INCLUDE
>     C:\WINNT\Fonts
> Output Options
>   Image resolution 320 by 200 (rows 1 to 200, columns 1 to 320).
>   Output file: piece2.bmp, 24 bpp (system format)
>   Graphic display......On  (type: 0, palette: 3, gamma:  2.2)
>   Mosaic preview......Off
>   CPU usage histogram.Off
>   Continued trace.....Off  Allow interruption..Off  Pause when
done.....Off
>   Verbose messages.....On
> Tracing Options
>   Quality:  2
>   Bounding boxes.......On  Bounding threshold: 3
>   Light Buffer.........On  Vista Buffer.........On  Draw Vista
Buffer...Off
>   Antialiasing........Off
> Animation Options
>   Clock value....   0.000  (Animation off)
> Redirecting Options
>   All Streams to console.........Off
>   Debug Stream to console.........On
>   Fatal Stream to console.........On
>   Render Stream to console........On
>   Statistics Stream to console....On
>   Warning Stream to console.......On
> Possible Scene File Parser Initialization Error: Could not find file
> 'C:\Programmi\POV-Ray for Windows v3.5\scenes\advanced\piece2.pov'
> Scene File Parser Initialization Error: Cannot open input file.
>
>
> Returned from renderer with error status
>
>
> "Tom Galvin" <tom### [at] imporg> ha scritto nel messaggio
> news:Xns948A20057FE03tomatimporg@203.29.75.35...
> > "Gianluca Massaccesi" <gia### [at] tinit> wrote in
> > news:40273dea$1@news.povray.org:
> >
> > > I would like to know how I can render a file from an external
> > > application. Like a Visual basic one, for example. May be by giving
> > > some simple dos command line?
> > >
> > > Could you help me?
> > >
> >
> > pvengine.exe /NR /EXIT filename.pov
> >
> > Season with switches(see docs for details) to your liking.
> >
> >
> >
> >
> > -- 
> > Tom
> > _________________________________
> > The Internet Movie Project
> > http://www.imp.org/
>
>


Post a reply to this message

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