POV-Ray : Newsgroups : povray.advanced-users : run povray from matlab : Re: run povray from matlab Server Time
28 Jul 2024 10:30:00 EDT (-0400)
  Re: run povray from matlab  
From: Florian Brucker
Date: 13 Feb 2006 14:12:39
Message: <43f0da27$1@news.povray.org>
Hi Shimon!

Okay, so you've downloaded (and installed?) MegaPOV. Fine! Now look into 
your folder where the original POV-Ray executable is stored (By default 
that's somewhere in C:\Program Files\POV-Ray\binaries, I'm not on 
Windows here, so I can't check, sorry). There should also be 2 MegaPOV 
executables in that directory. Try which one is the command line one in 
case you can't make it out from the filenames (Just doubleclick on them 
and see which one does not popup the usual POV-Ray window).

Then replace your call to POV-Ray with the call to the command line 
MegaPOV. How are you calling POV-Ray right now? I'm not using Matlab too 
much, so I guess your code looks like

     !C:\Program Files\POV-Ray\binaries\pvengine.exe

or

    system('C:\Program Files\POV-Ray\binaries.pvengine.exe')

Just replace 'pvengine.exe' with the filename you just found out - Your 
script should now run without opening a POV-Ray window.

Did that work so far? If not, what went wrong? Can you please post the 
Matlab code you're using to run POV-Ray?


HTH,
Florian


Post a reply to this message

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