File: bake.sh

package info (click to toggle)
povray 1%3A3.8.0~beta.2-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 160,364 kB
  • sloc: cpp: 861,153; ansic: 125,127; sh: 34,680; pascal: 6,892; asm: 3,355; ada: 1,681; makefile: 1,432; cs: 879; perl: 645; awk: 590; python: 394; xml: 95; php: 13; javascript: 6
file content (31 lines) | stat: -rwxr-xr-x 1,391 bytes parent folder | download | duplicates (7)
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
#!/bin/bash

# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
# To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a
# letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

# Persistence Of Vision Raytracer sample file.

# bake all the meshes for the scene baking_demo.pov
# and repair the seams for each one
# Jaime Vives Piqueres, Jan. 2011  <jaime@ignorancia.org>

# /***************************************************************************
# * $File: //depot/povray/smp/distribution/scenes/camera/mesh_camera/bake.sh $
# * $Revision: #2 $
# * $Change: 5377 $
# * $DateTime: 2011/01/09 19:56:00 $
# * $Author: jholsenback $
# ***************************************************************************/

# vase 1
povray +Ibaking_demo +w512 +h512 +a +UA +K1 +Oim_vase1_baked.png +FN -p Declare=use_baking=1
povray +Ibaking_repair_seams +w512 +h512 +a +UA +K1 +Oim_vase1_baked.png +FN -p

# vase 2
povray +Ibaking_demo +w512 +h512 +a +UA +K2 +Oim_vase2_baked.png +FN -p Declare=use_baking=1
povray +Ibaking_repair_seams +w512 +h512 +a +UA +K2 +Oim_vase2_baked.png +FN -p

# room
povray +Ibaking_demo +w1024 +h1024 +a +UA +K3 +Oim_room_baked.png +FN -p Declare=use_baking=1
povray +Ibaking_repair_seams +w1024 +h1024 +a +UA +K3 +Oim_room_baked.png +FN -p