Renderman 20 denoise function

Renderman 20 denoise function

Postby dhernand on Nov 10th, '15, 15:01

(11/10 10:02) rfm Notice: Executing: ${RMANTREE}/bin/denoise --crossframe -v variance /tmp/farm/Job_299631/1.{0007}.exr\r\nFiltering to produce /tmp/farm/Job_299631/1.{0007}_filtered.exr\r\n\r\nError: Cannot read image file \"/tmp/farm/Job_299631/1.{0007}.exr\". No such file or directory.. Aborting.

Hi, there!\r\nUntil now, we cannot use renderman 20 denoise function in renderfarm properly, but you can see the error message in the log file indicate that it should work. The correct syntax for \"denoise\" command is \"/tmp/farm/Job_299631/1.0007.exr\", not \"{0007}.exr\", can you double check this? Thanks!\r\n\r\nAll the best,\r\n\r\nBotian
Dan Hernandez
Systems Support
Montgomery Hall
Savannah College of Art & Design
dhernand@scad.edu
User avatar
dhernand
 
Posts: 237
Joined: Aug 6th, '08, 15:14

Re: Renderman 20 denoise function

Postby jlaird21 on Nov 10th, '15, 15:07

"Switch on Denoise cross frame in the Render Settings.
Set Pixel Variance to, say, 1.0
Submit job to the farm.
Copy the attached script to the images folder and then run it.
It will create a file called "run_denoise".
Execute the "run_denoise" script and it will open a
terminal that will show the progress of the denoising.
The original images should be trashed because they are very large in size.

Malcolm"

save this as a .py file and execute it then execute

#!/usr/bin/env python


# 1 Copy this script to the images folder and then run it.
# It will create a file called "run_denoise".
# 2 Execute the "run_denoise" script and it will open a
# terminal that will show the progress of the denoising.
# Malcolm Kesson
# Nov 10 2015

import os, glob

path = __file__

command = 'denoise --crossframe -v variance '
rootpath = os.path.dirname(path)
pattern = os.path.join(rootpath, "*.exr");

images = glob.glob(pattern)
images.sort()

f = open( os.path.join(rootpath, 'run_denoise'), 'w')

for image in images:
f.write('%s %s\n' % (command, image))

f.close()
User avatar
jlaird21
 
Posts: 3
Joined: Oct 8th, '15, 14:27


Return to VSFX Applications

Who is online

Users browsing this forum: No registered users and 2 guests

cron