smeighan Posted November 9, 2012 Share Posted November 9, 2012 Snowflakes has never worked they way i imagined it when i wrote it 6 months ago.so, i rewrote it to get it closer to what i wanted and to fix some errors it was having.Bug fix: no longer causes errors when generating effectEnhancement:1) Faster to generate2) he number of frames of animation is equal to (sequence duration)/fame_timingso if you have 50ms frame timng and a 11 sec duration sequence you will have 220 frames of animation.3) 7 New promptscolor1 (was start_color)color2 (was end_color)speed (i think values around ..3 to .8 are prob better)background_color (if and rgb value is ever zero, substitute with this value)snowflake_type (0-6. discussed below)colour_model (1,2. discussed below)number_snowflakes (How many snowflakes are originally drawn).snowflakes Effect Settingsusername fuser_target Aeffect_class snowflakessubmit Submit Form to create your effecteffect_name SNOWFLAKE_DEMO1window_degrees 180color1 #08FFADcolor2 #0011FFframe_delay 100sparkles 0speed 0.5background_color #000000snowflake_type 2number_snowflakes 30colour_model 1seq_duration 7fade_in 0fade_out 0OBJECT_NAME snowflakesbatch 0show_frame NSo , let's discuss these.First i changed the start_color, end_color to now be called color1, color2,. These colors are used differently than before.There are two color models:color_model #1:color1 is the center dot of your snowflake. color2 is the color that wraps around the center.here is an examplecolor model #2:we start with color1 and then end with color2. if you have 10 snowflakes, the 1st snowflake will be color1, the 10th snowflake color2. the other 8 will be spread across the hue spectrum between the two colors.here is an example using everything the same as above, but selecting color_model = 2:There are 6 types of snowflakes, this is set with snowflake_type:type 1: a single pixel. this probably can look just like light snowtype 2: a single pixel surrounded by 4 additional pixels.type 3: a 3 pixel vertical or 3 pixel horizontal snowflake. they are randomly picle vert or horiz.type 4: a single pixel surrounded by 8 additional pixels.type 5: a single pixel surrounded by 20 additional pixels.type 6: a single pixel surrounded by 44 additional pixels.types 2,4,5,6 create large and larger snowflakes, you need a big enough target model for the larger numbers.Type 0: is a special case that will randomly select all of the above.So here is an example of snowflake_type 5snowflakes Effect Settingsusername fuser_target Aeffect_class snowflakeseffect_name SNOWFLAKE_DEMO3window_degrees 180color1 #08FFADcolor2 #0011FFframe_delay 100sparkles 0speed 0.5background_color #000000snowflake_type 5number_snowflakes 10colour_model 1seq_duration 7fade_in 0fade_out 0submit Submit Form to create your effectOBJECT_NAME snowflakesbatch 0show_frame NNew option background color, now works as expected. It will set your background color whenever it finds an rgb value of zero.snowflakes Effect Settingsusername fuser_target Aeffect_class snowflakessubmit Submit Form to create your effecteffect_name SNOWFLAKE_DEMO4window_degrees 180color1 #FFFFFFcolor2 #8AFFE0frame_delay 100sparkles 0speed 0.5background_color #000CB3snowflake_type 2number_snowflakes 25colour_model 1seq_duration 7fade_in 0fade_out 0OBJECT_NAME snowflakesbatch 0show_frame NEnjoy!I will go over this effect in tonights tutorial at 7pm MSTthankssean Link to comment Share on other sites More sharing options...
Tim Fischer Posted November 9, 2012 Share Posted November 9, 2012 (edited) Nice!I may need to go back and resequence "Let it Snow" now (I currently use Snowstorm for it) Edited November 9, 2012 by Tim Fischer Link to comment Share on other sites More sharing options...
Recommended Posts