appleseed Users Forum

Fracture Modifier branch of Blender

I am working on the animation and it looks like this run I only have time for 3 passes. It should be a good teaser. Original glass image by Mango3 was 20 passes. I’ll see if I can find time to do one at 10 passes @ 1280x720. So far things are looking good and I should have it posted in a few hours. It’s interesting to do an FM animation with SPPM.

UPDATE:
The frame times seem to be increasing more than expected as the shards fall away from each other and create more objects to bounce off of…so it doesn’t look like I will get more than a second of animation. I’ll have to make a mother pass at this when I have more render computer time…I might have something to post tomorrow.

@Mango3 after looking closer I see you changed some of the settings for the lighting and rendering compared to GH’s original file. Since I am new at this type of lighting and rendering I was curious as to what your thoughts were in changing from his settings?

UPDATE:
Ah, looks like he just used the default settings and then raised the passes and lowered the samples. You adjusted more of the settings. I’m definitely interested if you experimented and eyeballed it or if you had specific special settings.

Does anybody have any recommendations on their favorite settings for this scene?
Engine: SPPM
Light Sampler: CDF
Direct Lighting: SPPM Direct Lighting
with Caustics

Sampling:
Tile Size: 64/64
FIlter: Blackman-Harris @ 2.00
Pixel Sampler: Uniform
[Anti-aliasing] Passes: ???
[Anti-aliasing] Samples: ???
Which number combinations of the two do you like?
More passes or more samples?

Decorrelate Pixels: on
Denoising: off

Photon Tracing settings???
Radiance Estimation settings???

Thanks and Fracture ON!

Good observation @JTa . I changed the scene slightly from Gottfried Hofmann’s unfractured original to put the emphasis on the fracturing. I increased the spot light power and changed camera position. Once it is more broken up in the animation the light is probably too intense and would have to be decreased.
Also, I increased the SPPM bounces and filter size. Denoising is off, which was less an issue for my still than it would be for an animation.

The Anti-alising Samples vs. Passes setting depends on your preferences. For the image quality the total number of samples matter, so samples/pass * passes, whichever way you split it. My laptop (Haswell Core i7) renders more efficient with a sample size/pass of >16 than with very low ones. The advantage of low samples/pass is that you get more of an immediate, progressive style feedback from the renderer, as each tile is rendered faster.

First test animation done for the Hoffman/Mango3/JTa SPPM caustics demo.
1280x720/24fps/tiles 64/passes 10/samples 6
~4hrs 45min render time on i7/3+GHz/4 CPU cores
See the included file for more info

Save the file by taking off the blend extension and then unzip. Resulting folder is a blend file and mp4 video linked in the VSE. The render setup is for Fracture Modifier branch of blender and Appleseed/Blenderseed.

Appleseed-Hoffman-SPPM-demo.zip.blend @ pasteall.org

Below is frame #61. You can see a cluster of optical dots that may or may not be fireflies. Watch the video and you can see them move…

This is a first experiment to animate SPPM in Blenderseed. Comments and suggestions are welcome.

Fracture ON!

2 Likes

Wow, thanks for rendering out the animation! The breakup of the pieces look really great.

  • One thing I would change is to increase the roughness settings for the inside glass material. The inside of the shards edges look to smooth which is unrealistic. This was not a problem for my still render where the edges were not fully visible but in the animation it is clearly the case.

  • Another thing would be to compare it with denoising on and see how well it works in that SPPM scene.

Your settings look good.

Regarding passes and samples: for SPPM you will need to use many passes anyway (as many as you can afford) so it’s best to keep the number of samples per pass low, 2 or 3 should be enough.

Regarding photon tracing settings: the more photons you use, the less blurry each pass will be. I’d say at least 1 million photons but you can try higher value. The limit here will be RAM usage, mostly.

Regarding radiance estimation settings: the number of photons is a noise vs blurriness tradeoff. The initial radius should be set such that the first pass isn’t overly blurry. If it’s too blurry, decrease the radius. In theory SPPM converges to the correct solution given enough time, but the timeframe can be gigantic so it’s a good idea to make sure it starts reasonably sharp already by increase the number of photons shoot per pass and decreasing the initial radius.

I have literally no idea how to use Blender. How do I view the video?

When you unzip the file it usually results in a folder. That should have 2 files. The blender blend file and the mp4 video file, which is linked externally. You can just play the mp4 file standalone or you can launch blender, load the blend file and the Video Sequence Editor/VSE should come right up with preview window and playback controls. So just click on the play button in the timeline window on the bottom of the screen and it will run the video.

There’s notes in that screen with additional information. Then you can go into Screens at the top and change the view to the Default screen and see the 3D View and shader settings.

Excellent information, thanks for the feedback… @ Mango3 also.

The 16p/8s version is done. It took 9 1/2 hours. I’ll post the animation later today. Here’s frame #61 again for comparision:

Next version I’ll use Franz and Mango3’s recomendations, different settings and more realistic fracturing.

This is not the best test scene but it’s helping me understand Appleseed’s SPPM. I’ll run some more reference renders and then post a blog article or something eventually to share the info. Thanks for everyone’s help.

I skipped ahead to take some of the suggestions and it ended up in a longer render. So I’m waiting until that is done to post the most current animation.

As suggested I went to 32 passes w/3 samples, changed the inner/edge texture so it’s not so reflective and is more translucent as well as more rough.

Renders are taking about 9 minutes a frame so I will have the animation posted tomorrow, Sunday. It’s looking really good.

Here’s frame #30:

2 Likes

Doesn’t proper DoF results interpretation come into play as one of SPPM’s benefits? I’ll have to check but I don’t think DoF is turned on in this sample file so we can see more of the signature features of SPPM.

I’m not sure since I don’t do much photo realistic work these days. I do more quick and dirty for live events. But I used it extensively in my early days so I have a workflow and understanding of basic concepts. These new concepts though seem to have very fragmented documentation and reference material aside from just reading white papers.

Can anyone point me to a good SPPM reference webpage? Tanks : )

Second test upload of the animation done for the Hoffman/Mango3/JTa SPPM caustics demo.
1280x720, 24fps, tiles 64, passes 32, samples 3
~12hrs 30min render time on i7/3+GHz/4 CPU cores
See the included blend file for more info

Save the file by taking off the blend extension and then unzip. Resulting folder is a blend file and mp4 video linked in the VSE. You can use official release or FM branch of blender to view the video and notes in the blend file. The MP4 video is linked externally so you can view that separately if you like.
Appleseed-Blenderseed-Hoffman-SPPM-causitics-animation v2.zip.blend @ PasteAll

The render setup is for Fracture Modifier branch of blender and Appleseed/Blenderseed.
Here’s the render blend file:
Appleseed-Blenderseed-Hoffman-SPPM-causitics-animation v2- Fracture Modifier Source.blend @ PasteAll

I’m done with this test for the time being so comments and suggestions are welcome for an eventual v3.
Thanks for everyone’s input.

1 Like

There’s nothing special about DOF with SPPM. DOF works exactly as in path tracing.

I get a “Data Error” with 7-zip when trying to unzip the file. Can you post the MP4 itself please?

Yes, I’ll get it uploaded in a bit. The file needs to have the .blend stripped off of the end so it’s renamed as a *.zip file. That’s a trick to use pasteall.org to store *.zip files instead of blend files.

Appleseed-Hoffman-SPPM-demo_0001-0100_v2.mp4.zip (25.6 MB)

Okies, there’s the mp4 file zipped so it will upload.

2 Likes

I’ve been working with Scorpion81 on the next version of the SMPP demo with smaller shards from the glass. Wow, this is going to be a fun demo file to share.

The work is in progress with tests of other objects to work out the latest best practices workflow.

I should have a sample image by this weekend to share and the demo file and animation available next week. Destruction fans are going to love this demo file! I’ll keep you posted.
Fracture ON!

Hello, I would like to know if it’s possible to freeze an object that has a Fracture Modifier on it. I tried making the rigid body ‘‘passive’’, but it would just disable the Fracture Modifier that was on it.

This is what I would like to achieve, at 0:27

Hello,

this was done with the help of the “Fracture Helper” Addon. It is bundled with the FM build (in the zip file, but needs to be installed by hand). Or you can download a newer version from here

Then have a look at the screenshot here, the option you need is under “Timing”-> “Delayed Fracture”.
You just run the simulation until the frame you want to end the freezing and enter the frame number in the according field, and click “Set Start Frame”. If you had “Object moves” enabled, the object will move unfractured until the start frame and then will start to fall apart. That movement is being captured by keyframes and being re-applied to the fractured mesh via the addon.

The final result should look similar to this (a simple test blend only) :

delayed.zip (1.5 MB)

Hope this helps,
scorpion81

1 Like