@@ -109,8 +109,8 @@ def createDissolveText(title, extrude, bevel_depth, spacemode, textsize, width,
109
109
# Particle parameters
110
110
PSSettings .count = NbQuads
111
111
PSSettings .frame_start = 10
112
- PSSettings .frame_end = 60
113
- PSSettings .lifetime = 80
112
+ PSSettings .frame_end = 30
113
+ PSSettings .lifetime = 90
114
114
ParticleSystem .point_cache .frame_step = 1
115
115
PSSettings .normal_factor = 0.0
116
116
# not useful
@@ -165,6 +165,7 @@ def createDissolveText(title, extrude, bevel_depth, spacemode, textsize, width,
165
165
166
166
TexSlot = PSSettings .texture_slots .add ()
167
167
TexSlot .texture = sTex
168
+ TexSlot .texture_coords = 'OBJECT'
168
169
TexSlot .use_map_time = True
169
170
170
171
deselect ()
@@ -187,12 +188,8 @@ def createDissolveText(title, extrude, bevel_depth, spacemode, textsize, width,
187
188
# hide plane for render
188
189
Plane .hide_render = True
189
190
190
- select (Text )
191
-
192
- TexSlot .texture_coords = 'OBJECT'
193
191
TexSlot .object = Plane
194
- TexSlot .use_map_time = True
195
-
192
+ select (Text )
196
193
Text .data .update ()
197
194
198
195
bpy .ops .object .modifier_add (type = 'EXPLODE' )
@@ -201,16 +198,6 @@ def createDissolveText(title, extrude, bevel_depth, spacemode, textsize, width,
201
198
Text .modifiers ['Explode' ].show_dead = False
202
199
Text .data .update ()
203
200
204
- select (Text )
205
-
206
- TexSlot .texture_coords = 'OBJECT'
207
- TexSlot .object = Plane
208
-
209
- TexSlot .use_map_time = False
210
- TexSlot .use_map_time = True
211
-
212
- Text .data .update ()
213
-
214
201
215
202
# Debug Info:
216
203
# ./blender -b test.blend -P demo.py
0 commit comments