|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I found what I want.
It's the megapov. With this you can render povray file from the command
lines.
And I found that the fuction to run function from the matlab is
system('...')
But know i hace problems with the megapov. Maybe someone can help me.
Imagine:
The path of the megapov is:
C:Documents and SettingsadminDesktopmegapov-1.2.1-windowsbin
The path of the file I want to render is :
d:Documents and SettingsadminMy DocumentsproyectopovrayrobotSimulator
The name of the file I want to render is:
robot_movement_eyefish.ini
The files I have to include are in the path:
d:Documents and SettingsadminMy DocumentsproyectopovrayrobotSimulator
The files .inc that megapov needs like colors.inc are in
C:Program FilesPOV-Ray for Windows v3.6include
The picture of the video I need to make i need to save in
d:Documents and SettingsadminMy Documentsproyectointerface
And I need the pictures in bmp
I tried this:
system('"C:Documents and
SettingsadminDesktopmegapov-1.2.1-windowsbinmegapov.exe" +HI"d:Documents
and SettingsadminMy DocumentsproyectopovrayrobotSimulator" +L"c:Program
FilesPOV-Ray for Windows v3.6renderer" +I"d:Documents and SettingsadminMy
DocumentsproyectopovrayrobotSimulatormovimiento_robot.pov"')
With this result:
Cannot open INI file 'FilesPOV-Ray'.
Cannot process command-line due to a parse error.
This is not a valid command-line. Check the command-line for syntax errors,
correct them, and try again!
Valid command-line switches are explained in detail in the reference part of
the documentation.
To get a short list of command-line switches, use either the '-h', '-?',
'-help' or '--help' switch.
Failed to render file due to error(s)!
ans =
-8
documentation
Thank you
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
maesla wrote:
> I found what I want.
> It's the megapov. With this you can render povray file from the command
> lines.
You can do that with the standard POV-ray too.
> And I found that the fuction to run function from the matlab is
> system('...')
or !
> But know i hace problems with the megapov. Maybe someone can help me.
> Imagine:
> The path of the megapov is:
> C:Documents and SettingsadminDesktopmegapov-1.2.1-windowsbin
why do you log in as admin?
> The path of the file I want to render is :
> d:Documents and SettingsadminMy DocumentsproyectopovrayrobotSimulator
> The name of the file I want to render is:
> robot_movement_eyefish.ini
> The files I have to include are in the path:
> d:Documents and SettingsadminMy DocumentsproyectopovrayrobotSimulator
> The files .inc that megapov needs like colors.inc are in
> C:Program FilesPOV-Ray for Windows v3.6include
> The picture of the video I need to make i need to save in
> d:Documents and SettingsadminMy Documentsproyectointerface
> And I need the pictures in bmp
>
> I tried this:
> system('"C:Documents and
> SettingsadminDesktopmegapov-1.2.1-windowsbinmegapov.exe" +HI"d:Documents
> and SettingsadminMy DocumentsproyectopovrayrobotSimulator" +L"c:Program
> FilesPOV-Ray for Windows v3.6renderer" +I"d:Documents and SettingsadminMy
> DocumentsproyectopovrayrobotSimulatormovimiento_robot.pov"')
>
> With this result:
>
> Cannot open INI file 'FilesPOV-Ray'.
Then that is probably what is wrong. ;)
My suggestions to get this to work are:
- make sure that your scene runs from within the GUI version
of (mega)pov
- create a script to hide the ugly absolute paths.
(I could give you mine if you really want, but you might
prefer to write your own).
- cd to the directory that contains your pov script
- run it there without any options
- add options untill you find where the bug is.
- run it from another directory
Always be aware of filenames with spaces in it,
but I think you already got that one.
I hope this helps a little
> Cannot process command-line due to a parse error.
> This is not a valid command-line. Check the command-line for syntax errors,
> correct them, and try again!
> Valid command-line switches are explained in detail in the reference part of
> the documentation.
> To get a short list of command-line switches, use either the '-h', '-?',
> '-help' or '--help' switch.
> Failed to render file due to error(s)!
>
> ans =
>
> -8
>
> documentation
>
> Thank you
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
andrel <a_l### [at] hotmailcom> wrote:
> maesla wrote:
> > I found what I want.
> > It's the megapov. With this you can render povray file from the command
> > lines.
> You can do that with the standard POV-ray too.
> > And I found that the fuction to run function from the matlab is
> > system('...')
> or !
How can I do this with pov ray?? I know you can open povray from the command
line, but I need to render without open the graphical interface
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
maesla wrote:
> andrel <a_l### [at] hotmailcom> wrote:
>> maesla wrote:
>>> I found what I want.
>>> It's the megapov. With this you can render povray file from the command
>>> lines.
>> You can do that with the standard POV-ray too.
>>> And I found that the fuction to run function from the matlab is
>>> system('...')
>> or !
>
> How can I do this with pov ray?? I know you can open povray from the command
> line, but I need to render without open the graphical interface
>
Why?
You have to specify that POV should close after rendering.
I admit that it is a bit annoying that the whole GUI
starts everytime but I never found that a problem myself.
Generating a movie I do in batch anyway (preferably when
sleeping).
(I didn't have megapov installed yet. I have now. I'll
look unto the command line options for that).
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
andrel wrote:
> (I didn't have megapov installed yet. I have now. I'll
> look unto the command line options for that).
>
OK I did that, works perfectly for me, so what was your
problem ;)
Attached my megapov script.
Unfortunately not useable for you, because it is using my
swiss army knife ProcessVarargin to handle the options, but
I think you'll get the point. If not, I might attach that
function next time ;) .
Post a reply to this message
Attachments:
Download 'us-ascii' (1 KB)
|
|
| |
| |
|
|
|
|
| |