POV-Ray : Newsgroups : povray.advanced-users : run povray from matlab : Re: run povray from matlab Server Time
28 Jul 2024 10:23:15 EDT (-0400)
  Re: run povray from matlab  
From: Florian Brucker
Date: 10 Feb 2006 08:50:03
Message: <43ec9a0b$1@news.povray.org>
Hi!

Which version of POV-Ray, and especially under which operating system do 
you use?

If you're using the official POV-Ray for Windows, then there's no way to 
stop the GUI (The POV-Ray Window) from appearing. You can use MegaPOV, 
though, which offers a command line executable IIRC. You can find 
MegaPOV at http://megapov.intetart.net.

With MegaPOV and any other command line interface version (e.g. POV-Ray 
for Un*x/Linux), make sure you have set the -P option either via a 
command line parameter or in your povray.conf/povray.ini. Otherwise 
POV-Ray will wait for you to close the render window. To get rid off the 
render window completely, use the -D switch.

Getting the gray level of a pixel in the image is probably easier if you 
use Matlab (as you're using it anyways). IIRC you're able to load images 
with Matlab (make sure you select the right output format in POV-Ray). 
Then you'll have access to the whole image data.

Hope that helps, if not just ask some more :)

Florian


Post a reply to this message

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