POV-Ray : Newsgroups : povray.unofficial.patches : Matlab y megapov : Re: Matlab y megapov Server Time
28 Apr 2024 12:38:19 EDT (-0400)
  Re: Matlab y megapov  
From: andrel
Date: 19 May 2007 12:47:25
Message: <464F2B07.4040003@hotmail.com>
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

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