Motion blur problems

Hello all,

I start to play with the plugin :smiley: and i have trouble with motion blur.

I just check “Enable Motion blur” in the render settings.

With Krakatoa File source (with bin, prt particles), KrakatoaTP source, Krakatoa Fractal source, Krakatoa Emmiter Source, Krakatoa Mesh Source (perhaps other but i can’t test), when i render, my viewport “flash” and nothing happen. If i render in the picture viewer all is ok.

I have alternately this in my console for exemple :

[i][Krakatoa | DEBUG] PRT file “G:\scenes_realflow\test_krakatoa\particles\Circle01_00046.prt” metadata:
[Krakatoa | DEBUG]
[Krakatoa | DEBUG] Using particle layout:
[Krakatoa | DEBUG] channel_map {
[Krakatoa | DEBUG] float32[3] Position;
[Krakatoa | DEBUG] float16[3] Color;
[Krakatoa | DEBUG] float16[3] Lighting;
[Krakatoa | DEBUG] float16[3] Velocity;
[Krakatoa | DEBUG] float16 Density;
[Krakatoa | DEBUG] };
[Krakatoa | DEBUG]
[Krakatoa | PROGRESS] Retrieving Particles
[Krakatoa | STAT] Section “Retrieving Particles”:
[Krakatoa | STAT] Total 00h 00m 00.016sCalled 1 times Avg 00h 00m 00.016s
[Krakatoa | STAT] Total number of particles to be rendered: 11,596
[Krakatoa | STAT] Total Memory Allocated to particles: 362 KB
[Krakatoa | DEBUG] Internally reserving memory for 11596 particles.
[Krakatoa | DEBUG] splat_lighting_impl::compute_lighting()
[Krakatoa | DEBUG] light: Lumière
[Krakatoa | DEBUG] resolution: (size2t 250, 250 )
[Krakatoa | DEBUG] filter: 1
[Krakatoa | PROGRESS] Updating: Lumière
[Krakatoa | PROGRESS] Sorting particles: Lumière
[Krakatoa | PROGRESS] Calculating Lighting: Lumière
[Krakatoa | STAT] Section “Lighting:Updating Light”:
[Krakatoa | STAT] Total 00h 00m 00.000sCalled 1 times Avg 00h 00m 00.000s
[Krakatoa | STAT] Section “Lighting:Sorting Particles”:
[Krakatoa | STAT] Total 00h 00m 00.000sCalled 1 times Avg 00h 00m 00.000s
[Krakatoa | STAT] Section “Lighting:Calculating”:
[Krakatoa | STAT] Total 00h 00m 00.015sCalled 1 times Avg 00h 00m 00.015s
[Krakatoa | PROGRESS] Rendering
[Krakatoa | PROGRESS] Rendering pass 1 of 2
[Krakatoa | PROGRESS] Rendering pass 1 of 2: Sorting 11,596 particles
[Krakatoa | PROGRESS] Rendering pass 1 of 2: Drawing 11,596 particles
[Krakatoa | PROGRESS] Rendering pass 2 of 2
[Krakatoa | PROGRESS] Rendering pass 2 of 2: Sorting 11,596 particles
[Krakatoa | PROGRESS] Rendering pass 2 of 2: Drawing 11,596 particles
[Krakatoa | STAT] Section “Rendering:Matte”:
[Krakatoa | STAT] Total 00h 00m 00.000sCalled 0 times
[Krakatoa | STAT] Section “Rendering:Sorting”:
[Krakatoa | STAT] Total 00h 00m 00.000sCalled 2 times Avg 00h 00m 00.000s
[Krakatoa | STAT] Section “Rendering:Drawing”:
[Krakatoa | STAT] Total 00h 00m 00.031sCalled 2 times Avg 00h 00m 00.015s

[Krakatoa | DEBUG] PRT file “G:\scenes_realflow\test_krakatoa\particles\Circle01_00046.prt” metadata:
[Krakatoa | DEBUG]
[Krakatoa | DEBUG] Using particle layout:
[Krakatoa | DEBUG] channel_map {
[Krakatoa | DEBUG] float32[3] Position;
[Krakatoa | DEBUG] float16[3] Color;
[Krakatoa | DEBUG] float16[3] Lighting;
[Krakatoa | DEBUG] float16[3] Velocity;
[Krakatoa | DEBUG] float16 Density;
[Krakatoa | DEBUG] };
[Krakatoa | DEBUG]
[Krakatoa | PROGRESS] Retrieving Particles
[Krakatoa | STAT] Section “Retrieving Particles”:
[Krakatoa | STAT] Total 00h 00m 00.016sCalled 1 times Avg 00h 00m 00.016s
[Krakatoa | STAT] Total number of particles to be rendered: 11,596
[Krakatoa | STAT] Total Memory Allocated to particles: 362 KB
[Krakatoa | DEBUG] Internally reserving memory for 11596 particles.
[Krakatoa | DEBUG] progress_cancel_exception: Canceled operation “Operation cancelled by user.” => promised i cancel nothing :slight_smile:
[Krakatoa | INFO] Render cancelled[/i]

I have C4D R15.037.

Ps: sorry for my bad english :slight_smile:

I can confirm what you are seeing (tested in R14 here).

Looks like rendering in the viewport does not like Motion Blur. Will log it as a bug.
Thanks! This is the first bug from the Forums I am logging in our system, so congratulations on being our first Bug Reporter! :smiley:

Hey uncledim,

as I am used to this from all the other renderers, like Standard, Physical etc… ( I just tested Arnold, not sure about Vray but guess its the same as well).

So I guess this can be considered a known limitation within Cinema4D and not a Krakatoa C4D related bug.

What you can do though is use the interactive render region in the viewport and the motion blur will show correctly.

Happy testing!

I try to use interactive render with krakatoa Emitter source (with not cached / baked particle ) for exemple i have strange result.

Since a picture is better 10,000 words i make screenshots :

with interactive render (I have the impression that the turbulence is not taken into account)

Strange thing, when i go frame 0, i think i have the good render

I try also with Krakatoa TP source + pCache (to be sure particle is not generated on the fly) and the result is strange. I think motion blur is not accurate :unamused: . Like Before i make screenshots :

No motion blur

Motion blur with particle segments = 2

Motion blur with particle segments = 10

For finish, when i use Krakatoa File source with interactive render all is ok, no strange result (like emitter source) and good accurate. Thank’s TylerAfx :slight_smile:

PS: When i play to make this screenshots, C4D crash often without logs. I don’t have any scenario about this, sorry :confused: .

PS2: sorry for my bad english…

This workaround will only work with file source I suspect, as internally the frame offsets needed to generate the motion blur cause problems with interactive particle sources like the standard emitter or TP.

Try saving the TP source to prt via the PRT saver and load that with a file source. Should work in the interactive render region as well.

The standard emitter is a different story, as it wont even save to prt properly (yet).

Sorry same “bad” accurate with this workflow. (in interactive render / picture viewer).

No motion blur

Motion blur with particle segments default

Sorry TylerAfx if you find me boring :slight_smile:

In this case, could you share the scene? my guess is that the velocity info gets flawed at some point so the TP needs to be read/written differently

I clean the project.
motion blur_TP.zip (57.2 KB)

fixed;)

:smiley: