File: s_22.html

package info (click to toggle)
povray 1%3A3.6.1-6
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 31,052 kB
  • ctags: 20,305
  • sloc: ansic: 110,032; cpp: 86,573; sh: 13,595; pascal: 5,942; asm: 2,994; makefile: 1,747; ada: 1,637
file content (138 lines) | stat: -rw-r--r-- 4,009 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

<!--  This file copyright Persistence of Vision Raytracer Pty. Ltd. 2003-2004  -->
<html> 
<head>
  
<!--  NOTE: In order to users to help find information about POV-Ray using  -->
 
<!--  web search engines, we ask you to *not* let them index documentation  -->
 
<!--  mirrors because effectively, when searching, users will get hundreds  -->
 
<!--  of results containing the same information! For this reason, the two  -->
 
<!--  meta tags below disable archiving and indexing of this page by all  -->
 
<!--  search engines that support these meta tags.  -->
 
 <meta content="noarchive" name="robots">
   
 <meta content="noindex" name="robots">
   
 <meta content="no-cache" http-equiv="Pragma">
   
 <meta content="0" http-equiv="expires">
   
<title>1.3.7 POV-Ray for Unix Tips</title>
 <link href="povray35.css" rel="stylesheet" type="text/css"> 
</head>
 <body> 
<table class="NavBar" width="100%">
  
 <tr>
   
  <td align="left" nowrap="" valign="middle" width="32">
    <a href="s_21.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_21.html">1.3.6 Rendering the Sample Scenes</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong class="NavBar">POV-Ray 3.6 for UNIX documentation</strong><br> <strong>1.3.7 
   POV-Ray for Unix Tips</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_23.html">1.4 I/O Restrictions</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_23.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 
<h3><a name="s01_03_07">1.3.7 </a>POV-Ray for Unix Tips</h3>

<h4><a name="s01_03_07_01">1.3.7.1 </a>Automated execution</h4>

<p>
  POV-Ray for Unix is well suited for automated execution, for example, for rendering diagrams displaying statistical 
 data on a regular basis or similar things. 
</p>

<p>
  POV-Ray can also write its image output directly to stdout. Therefore the image data can be piped in another 
 program for further processing. To do this the special output filename '-' needs to be specified. For instance: 
</p>

<pre>
povray -iscene.pov +fp -o- | cjpeg &gt; scene.jpg
</pre>

<p>
  will pass the image data to the <code>cjpeg</code> utility which writes the image in the JPEG format. 
</p>

<p>
  The text output of POV-Ray is always written to stderr, it can be redirected to a file with (using a 
 Bourne-compatible shell): 
</p>

<pre>
povray [Options] 2&gt; log.txt
</pre>

<p>
  See also <a href="s_95.html#s03_01_02_07_03">Directing Text Streams to Files</a>. 
</p>

<p>
  For remote execution of POV-Ray, as for example in a rendering service on the web, make sure you read and comply 
 with the <a href="s_87.html#s02_05_01">POV-Ray Legal Document</a>. 
</p>

<h4><a name="s01_03_07_02">1.3.7.2 </a>Post-processing Images</h4>

<p>
  For Unix systems, the PBM utilities (<a href="http://www.acme.com/software/pbmplus" target="new">PBMPLUS</a>, <a href="http://netpbm.sourceforge.net" target="new">NetPBM</a>) 
 and <a href="http://www.imagemagick.org" target="new">ImageMagick</a> are an excellent choice for post-processing 
 utilities, especially if you only have a command-line interface to Unix. 
</p>
 <br> 
<table class="NavBar" width="100%">
  
 <tr>
   
  <td align="left" nowrap="" valign="middle" width="32">
    <a href="s_21.html"><img alt="previous" border="0" src="prev.png"></a> 
   
  </td>
   
  <td align="left" valign="middle" width="30%">
    <a href="s_21.html">1.3.6 Rendering the Sample Scenes</a> 
  </td>
   
  <td align="center" valign="middle">
    <strong>1.3.7 POV-Ray for Unix Tips</strong> 
  </td>
   
  <td align="right" valign="middle" width="30%">
    <a href="s_23.html">1.4 I/O Restrictions</a> 
  </td>
   
  <td align="right" nowrap="" valign="middle" width="32">
    <a href="s_23.html"><img alt="next" border="0" src="next.png"></a> 
   
  </td>
   
 </tr>
  
</table>
 </body> </html>