POV-Ray : Newsgroups : povray.advanced-users : run povray from matlab : Re: run povray from matlab Server Time
28 Jul 2024 10:25:13 EDT (-0400)
  Re: run povray from matlab  
From: Florian Brucker
Date: 13 Feb 2006 02:13:19
Message: <43f0318f$1@news.povray.org>
Hi!

> 1. I'm a new user and I need examples to understand you, if you do'nt mind.
That's no problem at all. Keep in mind, though, that this newsgroup is 
for advanced questions. I saw you tried povray.newusers first, so you 
know about that. For a question like yours, povray.general would've been 
the best group. But here we go :)


> 2. first i'm using ver pov3.6 for windows, and i have xp windows version.
Okay. This version of POV-Ray will *always* open the POV-Ray window, and 
you have no option to change that. But you can use another version of 
POV-Ray, an unofficial compile called MegaPOV, which can be run from the 
command line without opening a window (MegaPOV allows you to do the same 
things as normal POV-Ray but has some extra patches for experimental 
features added). You can get MegaPOV from http://megapov.inetart.net. 
Download and install it.


> 3. second, i want to run pov lot's of time from matlab, and every time the
>    same pov file but with new values (which given from malab function) other
>    the last time, without open the pov window.
You'll have to find a way to pass your values to the POV scene file, if 
they are different all the time. Or do you write your scene file on the 
fly? If not, write the values into an include file which is then 
included via "#include" by your scene file.
When calling MegaPOV, make sure you use the command line executable, not 
the graphical interface one (it comes with two executables, both are 
placed in the same folder as the original POV-Ray executable IIRC).


> 4. i want to read the gray level values in the pov program.
Let's leave that question unanswered until we finished your problems 
above. Better to concentrate on one thing at a time :)


> 5. again, lot's of thanks.
You're welcome. If you still have problems with the explanations above, 
just ask again (and add some details about what's not working as expected).


Florian


Post a reply to this message

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