POV-Ray : Newsgroups : povray.macintosh : How to make POV-Ray run Server Time
21 Nov 2024 13:02:14 EST (-0500)
  How to make POV-Ray run (Message 1 to 4 of 4)  
From: maria
Subject: How to make POV-Ray run
Date: 22 Feb 2009 19:00:00
Message: <web.49a1e54ee728647329a90f430@news.povray.org>
Hello,
Could you help me to make the POV-Ray working.

System Version: Mac OS X 10.4.11
Installed the software POV-Ray

Run the application:
Finder>Applications>POV-Ray 3.6>POV-Ray Mac 3.6 Folder>POV-Ray Mac 3.6

With editor:TextEdit
create file and named it demo.pov, and saved in a folder: username/pov/demo.pov

content on file is as per PDF(5.0MB) Documentation on this website:

  #include "colors.inc"    // The include files contain
//  #include "stones.inc"    // pre-defined scene elements
background { color Cyan }
  camera {
    location <0, 2, -3>
    look_at  <0, 1,  2>
  }
  sphere {
    <0, 1, 2>, 2
    texture {
      pigment { color Yellow }
    }
  }
// color red 1.0 green 0.8 blue 0.8  // nice shade of pink can be specified
// color rgb <1.0, 0.8, 0.8>   // The following produces the same shade of pink
// rgb <1.0, 0.8, 0.8>  // shortest way to specify the pink color is
light_source { <2, 4, -3> color White}

Saved with name demo.pov
and tried to render it, but how?
tried from Terminal, Applications>Utilities>Terminal:

Macintosh:~ mari$ povray +Idemo.pov
-bash: povray: command not found
Macintosh:~ mari$

Nothing happens, tried:

Macintosh:~ mari$ povray +Idemo.pov +Odemo.png +D +P +W800 +H800 +A
-bash: povray: command not found
Macintosh:~ mari$


Tried from POV-Ray:
File>New
copy the file here
and in POV-Ray: File>Save as: demo1.pov
but cannot render on the option:
Render>Start Render is grey not able to select it.

Well, could you advice, how it works?
I am not able to find the option to render it and see the picture.

Thank you,
Mari


Post a reply to this message

From: triple r
Subject: Re: How to make POV-Ray run
Date: 23 Feb 2009 02:05:01
Message: <web.49a24a698239e1bf63a1b7c30@news.povray.org>
"maria" <mar### [at] gmailcom> wrote:
> Macintosh:~ mari$ povray +Idemo.pov
> -bash: povray: command not found

To use this approach, you will have to actually install the command line
version.  It is not enough to install the Mac version.  If you wish to do this,
an approach I have had good luck with, you will first need the developer tools
(XCode) from the apple website, http://developer.apple.com .  After this you
must download the unix/linux/generic source code for POV-Ray.  Go to the
uncompressed directory and type './configure', followed by 'make', and finally
'sudo make install'.  If this completes successfully, POV-Ray should be
installed so that you can call it from the command line.  Sorry if this is too
much or not enough detail, but just let me know if you need clarification.

> Tried from POV-Ray:
> File>New
> copy the file here
> and in POV-Ray: File>Save as: demo1.pov
> but cannot render on the option:
> Render>Start Render is grey not able to select it.

My only guess is that you may have to set some render preferences or check all
of the menus for something that would make rendering unavailable.  Usually when
the file is saved, you should be able to render.  Unfortunately since I have Mac
OS 10.5.6, I can't test this since the GUI version will not open for me.

If you don't mind the terminal, I recommend that approach overall since I find
it more dependable, but many people prefer the GUI version.  Of course I am
unable to help you with that, but perhaps someone else around can give better
advice.  Good luck.

 - Ricky


Post a reply to this message

From: Bill Pragnell
Subject: Re: How to make POV-Ray run
Date: 23 Feb 2009 05:35:01
Message: <web.49a27b188239e1bf6dd25f0b0@news.povray.org>
If I understood correctly, you tried to run POV-Ray from the Applications
directory via Finder? This the right way to do it; however, there may be a
problem. If you have an Intel Mac, POV-Ray 3.6 will not work. You'll see the
splash screen and (briefly) its main gui, but then it exits.

If this is the case, then Ricky's solution is the only way to use POV3.6.
Otherwise, use MegaPOV - this will run properly.

Bill


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: How to make POV-Ray run
Date: 23 Feb 2009 07:54:56
Message: <49a29ca0$1@news.povray.org>
maria wrote:
> Hello,
> Could you help me to make the POV-Ray working.
> 
> System Version: Mac OS X 10.4.11
> Installed the software POV-Ray
> 
> Run the application:
> Finder>Applications>POV-Ray 3.6>POV-Ray Mac 3.6 Folder>POV-Ray Mac 3.6
> 
> With editor:TextEdit
> create file and named it demo.pov, and saved in a folder: username/pov/demo.pov
> 
> content on file is as per PDF(5.0MB) Documentation on this website:
> 
>   #include "colors.inc"    // The include files contain
> //  #include "stones.inc"    // pre-defined scene elements
> background { color Cyan }
>   camera {
>     location <0, 2, -3>
>     look_at  <0, 1,  2>
>   }
>   sphere {
>     <0, 1, 2>, 2
>     texture {
>       pigment { color Yellow }
>     }
>   }
> // color red 1.0 green 0.8 blue 0.8  // nice shade of pink can be specified
> // color rgb <1.0, 0.8, 0.8>   // The following produces the same shade of pink
> // rgb <1.0, 0.8, 0.8>  // shortest way to specify the pink color is
> light_source { <2, 4, -3> color White}
> 
> Saved with name demo.pov
> and tried to render it, but how?
> tried from Terminal, Applications>Utilities>Terminal:
> 
> Macintosh:~ mari$ povray +Idemo.pov
> -bash: povray: command not found
> Macintosh:~ mari$
> 
> Nothing happens, tried:
> 
> Macintosh:~ mari$ povray +Idemo.pov +Odemo.png +D +P +W800 +H800 +A
> -bash: povray: command not found
> Macintosh:~ mari$

All this is the wrong way to go. You apparently followed the Unix tutorial 
in the documentation...

> Tried from POV-Ray:
> File>New
> copy the file here
> and in POV-Ray: File>Save as: demo1.pov
> but cannot render on the option:
> Render>Start Render is grey not able to select it.

Make sure you did actually assign the extension. If you are unsure, in the 
POV-Ray preferences disables rendering of ".pov" files only so it will 
render with files of any extension.

	Thorsten, POV-Team


Post a reply to this message

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