I've been following this tutorial on how to make a simple explosion, I am using the same values, but I don't get the same effect.
It seems like my particles have no initial velocity.
Do you know what could cause this problem?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityI've been following this tutorial on how to make a simple explosion, I am using the same values, but I don't get the same effect.
It seems like my particles have no initial velocity.
Do you know what could cause this problem?
[Edited per our conversation below]...
I think blender is indeed having a problem with its cache.
Aside: I see you have disk cache vs. memory cache for Plane.001 vs Plane.002; perhaps your just trying various combinations.
Try:
import bpy
import time
bakedItemCount=0
startTime=time.time()
for scene in bpy.data.scenes:
for object in scene.objects:
for modifier in object.modifiers:
if modifier.type == 'PARTICLE_SYSTEM':
print("Baking particles for ", object.name)
override = {'scene': scene, 'active_object': object, 'point_cache': modifier.particle_system.point_cache}
bpy.ops.ptcache.free_bake(override)
bpy.ops.ptcache.bake(override, bake=True)
bakedItemCount+=1
for object in scene.objects:
for modifier in object.modifiers:
if modifier.type == 'FLUID':
if modifier.fluid_type == 'DOMAIN':
print("Baking fluid for ", object.name)
object.select_set(True)
bpy.context.view_layer.objects.active = object
bpy.ops.fluid.bake_data()
bakedItemCount+=1
elif modifier.type == 'CLOTH':
print("Baking cloth for ", object.name)
override = {'scene': scene, 'active_object': object, 'point_cache': modifier.point_cache}
bpy.ops.ptcache.free_bake(override)
bpy.ops.ptcache.bake(override, bake=True)
bakedItemCount+=1
endTime=time.time()
duration = int((endTime - startTime)+.999)
print( bakedItemCount, ' items baked over ', duration, ' seconds')
Frame 16 rendered with max samples = 16 to reduce render time: