Red Hat SATELLITE 5.3.0 RELEASE NOTES Informations techniques Page 173

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 172
A.4.7 Blender
Blender is an open source 3D content creation suite and is used in movie rendering example
in this paper. Version 2.48a was used for compatibility with the version of python in Red Hat
Enterprise Linux 5.5 and was download from
http://download.blender.org/release/Blender2.48a/blender-2.48a-linux-glibc236-py24-x86_64-
static.tar.bz2.
A.4.8 render.tgz
This render tar file contains the command scripts and source to render of a small movie clip.
The movie clip is from “elephant's dream” and the source can be downloaded from
http://orange.blender.org/download.
Other files included in the tar file but not from “elephant's dream” source are:
render/
render/setup_jobs.rb
render/production/
render/production/jobs/
render/production/jobs/start_job.sh
render/production/jobs/hello.sh
render/production/jobs/testjob
setup_jobs.rb - a ruby script which creates the submit files
#!/usr/bin/ruby
RENDER_HOME="/home/admin/render"
BLEND_FILE=RENDER_HOME+"/production/07_emo_flips_out/07_01.blend"
FRAME_DIR=RENDER_HOME+"/production/frames"
MOVIE_DIR=RENDER_HOME+"/production/movies"
LOGS_HOME=RENDER_HOME+"/production/logs"
JOBS_HOME=RENDER_HOME+"/production/jobs"
NUM_FRAMES=45
setupFile = File.new("%s/render_setup.sub" % [JOBS_HOME], "w")
setupFile.write("Universe = vanilla\n")
setupFile.write("Executable = %s/start_job.sh\n" % [RENDER_HOME])
setupFile.write("Log = %s/setup.log\n" % [LOGS_HOME])
setupFile.write("Output = %s/setup.out\n" % [LOGS_HOME])
setupFile.write("Error = %s/setup.err\n" % [LOGS_HOME])
setupFile.write("transfer_executable = false\n")
setupFile.write("Requirements = Arch =?= \"X86_64\"\n")
setupFile.write("QUEUE\n")
for frame in 1..NUM_FRAMES
jobFile = File.new("%s/frame%d.sub" % [JOBS_HOME, frame], "w")
jobFile.write("Universe = vanilla\n")
jobFile.write("Executable = /home/admin/blender-2.48a-linux-glibc236-py24-x86_64-static/blender\n")
jobFile.write("Arguments = -b %s -F PNG -o %s/frame_##.png -f %d\n" % \
173 www.redhat.com
Vue de la page 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 198 199

Commentaires sur ces manuels

Pas de commentaire