2009-08-31 08:58 AM - last edited on 2023-05-24 11:56 AM by Rubia Torres
2009-08-31 09:07 AM
2009-08-31 09:43 AM
period = ML_strobe_rate*ML_frame_rate flash = ML_strobe_dur*ML_frame_rate IF ML_strobe_rate > 0 THEN IF GLOB_FRAME_NR MOD period < period - flash THEN strobe_switch = 0 ELSE strobe_switch = 1 ENDIF ELSE strobe_switch = 1 ENDIF
IF strobe_switch = 0 THEN strobe_color = ML_strobe_off_mat ELSE LIGHT D, E, F, 0, 0.1, 40, 80, 1.0, 0.1, 8.0, 1.0 strobe_color = ML_strobe_on_mat ENDIF
2009-08-31 12:45 PM
Matthew wrote:
This is in the Master Script:
period = ML_strobe_rate*ML_frame_rate flash = ML_strobe_dur*ML_frame_rate IF ML_strobe_rate > 0 THEN IF GLOB_FRAME_NR MOD period < period - flash THEN strobe_switch = 0 ELSE strobe_switch = 1 ENDIF ELSE strobe_switch = 1 ENDIF
...and this is the 3D:
IF strobe_switch = 0 THEN strobe_color = ML_strobe_off_mat ELSE LIGHT D, E, F, 0, 0.1, 40, 80, 1.0, 0.1, 8.0, 1.0 strobe_color = ML_strobe_on_mat ENDIF
2009-08-31 01:13 PM
LIGHT D, E, F, 0, 0.1, 40, 80, 1.0, 0.1, 8.0, 1.0And it has no effect on the render...
2009-08-31 02:02 PM
!!! ---------- Flashing ---------- if bAnim and bFlash then if bittest (GLOB_FRAME_NR, 0) then C = 1 else C = 0 endif endif
2009-08-31 04:07 PM
2009-08-31 05:34 PM
2009-08-31 06:32 PM
2009-08-31 07:16 PM