Page 1 of 1

rfrk2 motion blur question

Posted: Thu Dec 16, 2010 10:27 am
by wwfx
Hi there,

Our pipeline is 3delight based and I'm trying to adapt RFRK2 FOR RENDERMAN FOR MAYA to fit our needs. For that I'm using the primitive parameters from RendermanCommandLine section in documentation.
I'm having the following issues.
1. The rfrk_smooth parameter from the Meshing section doesn't affect the render at all. With the mental ray render kit it's working.
2. Motion Blur doesn't work as expected. At least I can't get it.

These are the shutter open/close values I use with camera shutter angle of 144. They are the same as what 3delight uses when computing motion blur:

End on frame (shutter closes on frame -> offset 0 relative to the frame)
-0.4; 0.0
Start on frame (shutter opens on frame)
0.0; 0.4
Center on frame
-0.2; 0.2

What is the correct way to render motion blur with rfrk?

We're on Linux (Fedora 11 x64) using "rfrk2_runprogram" procedural.

The motion blur I'm getting is only from the position of the mesh forward (as in "start on frame")
Here are some of my test renders:
Image
Image
Image

Thanks in advance.
Peter

Re: rfrk2 motion blur question

Posted: Thu Dec 16, 2010 12:44 pm
by Hector
Hi,

1 - rfrk_smooth parameter should work. Try with a greater value, it goes from 0 to 100 ( safety zone), but you can increase it more. Let me know, please

2 - Yes, you are right, motion blur only can be set as start on frame. Sorry if it is not documented properly

Re: rfrk2 motion blur question

Posted: Thu Dec 16, 2010 1:59 pm
by wwfx
Hi Hector,
thank you for quick replay.

I tried several different values for smooth parameter within range 100 - 5000, but again it doesn't affect the render.

Peter.

Re: rfrk2 motion blur question

Posted: Fri Dec 17, 2010 10:11 am
by Hector
Hi Peter,

Could you send me all the parameter string, please ?

Re: rfrk2 motion blur question

Posted: Fri Dec 17, 2010 11:47 am
by wwfx
Here it is:

Procedural "RunProgram" [ "rfrk2_runprogram" "rfrk2_mesher -rfrk_fileSeq /path/to/binfile.bin -rfrk_polygonSize 0.1000000015 -$rfrk_smooth 5000 -rfrk_fieldType 1 -rfrk_filterMesh 1 -rfrk_tension 0 -rfrk_relax 0.1000000015 -rfrk_steps 24 -rfrk_radius 0.07999999821 -rfrk_core 0 -rfrk_splash 0 -rfrk_shutterOpen 0 -rfrk_shutterClose 0.400000006 -rfrk_motionBlur 1 -rfrk_motionBlurType 2 -rfrk_shutterAngle 144" ] [ -1e5 1e5 -1e5 1e5 -1e5 1e5 ]

Thank you
Peter.

Re: rfrk2 motion blur question

Posted: Fri Dec 17, 2010 6:16 pm
by Hector
Hi Peter:

Please, remove the $ symbol of the rfrk_smooth parameter and try again

Procedural "RunProgram" [ "rfrk2_runprogram" "rfrk2_mesher -rfrk_fileSeq /path/to/binfile.bin -rfrk_polygonSize 0.1000000015 -rfrk_smooth 100 -rfrk_fieldType 1 -rfrk_filterMesh 1 -rfrk_tension 0 -rfrk_relax 0.1000000015 -rfrk_steps 24 -rfrk_radius 0.07999999821 -rfrk_core 0 -rfrk_splash 0 -rfrk_shutterOpen 0 -rfrk_shutterClose 0.400000006 -rfrk_motionBlur 1 -rfrk_motionBlurType 2 -rfrk_shutterAngle 144" ] [ -1e5 1e5 -1e5 1e5 -1e5 1e5 ]

Re: rfrk2 motion blur question

Posted: Mon Dec 20, 2010 1:21 pm
by wwfx
Wow sorry!
I was blind about that. :?

Thank you Hector.