|
|
In article <3CE8E511.8384AF23@gmx.de>, tim### [at] gmxde says...
> Hm. Interesting ideas. I'll look into those...
> Thanks!
>
> Slime wrote:
>
> > > So, I'm basically looking for an automatic way for POV
> > > to run and trace a certain image every time the computer
> > > starts up...
> >
> > Perhaps if you put a shortcut to povray in the startup menu, using the
> > shortcut properties to specify certain command line parameters?
> >
> > Or maybe you could set povray to *render* a file when it's opened rather
> > than open it in the editor, and then just put a shortcut to the file in the
> > starup menu?
> >
> > - Slime
> > [ http://www.slimeland.com/ ]
>
> --
> Tim Nikias
> Homepage: http://www.digitaltwilight.de/no_lights/index.html
> Email: Tim### [at] gmxde
>
>
>
How did you go, Tim? I took a different path and experimented with
running it directly from the registry.
First create a POV ini file called (eg.) "D:\Graphics\RunRender.ini",
containing the file to render plus any options you want, eg:
Height=480
Width=640
Input_File_Name="D:\Graphics\PoV Projects\thing.pov"
Continue_Trace=on
Then to place a startup command in the Registry. To make it easier to
load (if you choose to do this), create a text file called
"PoV-Render.reg", with contents (example below) matching your own
directory paths. You can then simply double-click the REG file you
created to merge it into your registry, without having to run Regedit.
You only need to do this once, but there is no harm in subsequently re-
editing the .REG file and re-loading it, if you wish to change the
registry value.
The following is how Regedit exported my own Registry value to the
PoV-Render.reg text file, including the double-slash escape sequences.
[the last "two" lines are actually a single line, with a space between
"Windows" and "v3.5".]
--cut--
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run]
"PoV-Ray Render"="D:\\Program Files\\POV-Ray for Windows
v3.5\\bin\\pvengine.exe D:\\Graphics\\RunRender"
--cut--
To change your scene or options, just edit the RunRender.INI file.
To disable or re-enable it, simply use the msconfig utility:- a "PoV-Ray
Render" tick option is now in the "startup" tab!
Cheers,
Brian.
--
"Strictly UNIX" To dance is to live.
bel### [at] gilcomau
Post a reply to this message
|
|