![]() This.Amount4 = newToken.GetProperty(PropertyNames.Amount4).Value ĬloudsProps = cloudsEffect.CreatePropert圜ollection() This.Amount3 = newToken.GetProperty(PropertyNames.Amount3).Value This.Amount2 = newToken.GetProperty(PropertyNames.Amount2).Value This.Amount1 = newToken.GetProperty(PropertyNames.Amount1).Value Protected override void OnSetRenderInfo(PropertyBasedEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs) Try different gradient shapes to vary the flames.") Protected override ControlInfo OnCreateConfigUI(Propert圜ollection props)ĬontrolInfo configUI = CreateDefaultConfigUI(props) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount1, ControlInfoPropertyNames.DisplayName, "Scale") ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount2, ControlInfoPropertyNames.DisplayName, "Roughness") ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount2, ControlInfoPropertyNames.SliderLargeChange, 0.25) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount2, ControlInfoPropertyNames.SliderSmallChange, 0.05) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount2, ControlInfoPropertyNames.UpDownIncrement, 0.01) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount4, ControlInfoPropertyNames.DisplayName, string.Empty) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount4, ControlInfoPropertyNames.Description, "Black and White") ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount3, ControlInfoPropertyNames.DisplayName, string.Empty) ĬonfigUI.SetPropert圜ontrolType(PropertyNames.Amount3, Propert圜ontrolType.IncrementButton) ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount3, ControlInfoPropertyNames.ButtonText, "Randomize") ĬonfigUI.SetPropert圜ontrolValue(PropertyNames.Amount3, ControlInfoPropertyNames.Description, "HINT: Start by drawing a gradient from black to white before running this effect. Props.Add(new Int32Property(PropertyNames.Amount3, 0, 0, 255)) Props.Add(new BooleanProperty(PropertyNames.Amount4, false)) Props.Add(new DoubleProperty(PropertyNames.Amount2, 0.5, 0, 1)) Props.Add(new Int32Property(PropertyNames.Amount1, 100, 2, 1000)) ![]() Protected override Propert圜ollection OnCreatePropert圜ollection() : base(StaticName, StaticIcon, SubmenuNames.Distort, EffectFlags.Configurable) Return new Bitmap(typeof(BurninateEffectPlugin), "burninate.png") Public class BurninateEffectPlugin : PropertyBasedEffect Return base.GetType().Assembly.GetName().Version Return ((AssemblyProductAttribute)base.GetType().Assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false)).Product Return ((Assembl圜opyrightAttribute)base.GetType().Assembly.GetCustomAttributes(typeof(Assembl圜opyrightAttribute), false)).Copyright Public class PluginSupportInfo : IPluginSupportInfo This plugin shows up under the Effects > Distort menu as "Burninate". If that doesn't work, post your troubles here: Mine is different.įor my plugin, the user (that's you) will need to draw a black to white gradient in the general shape you want the flames before running the effect. Simon Brown has created a similar plugin here. ![]() ![]() For info see this post: Tom Jackson's Excellent Fire Tutorial
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |