How do i create my own effect?

OldMarty

New elf
Joined
Dec 27, 2016
Messages
38
Location
Melbourne, East Suburbs
Hi all,

I want to create some of my own custom FX for X-lights, but any FX tutorial that i find on youtube only tells me how in insert FX into sequences/shows and that's not what i'm looking for.

I'd like to know how & where i get down to the raw nuts'n'bolts of writing the channel patterns information etc.

I hope this makes sense? ;-)

Thanks in advance.
 

OldMarty

New elf
Joined
Dec 27, 2016
Messages
38
Location
Melbourne, East Suburbs
Thanks guys,

I'm very new to X-lights and already don't agree with may of the effect styles lol, hence my desire to create my own or at least edit/cut the existing ones to pieces.

I know nothing about shaders, but that's something for me to read up on.
 

Skymaster

Crazy elf
Global moderator
Generous elf
Joined
Dec 19, 2021
Messages
1,063
Location
Western Sydney
Be sure to twiddle all the knobs available to you for effects. Simple things like the 'Single Line' effect have great potential when applied to things like sub model groups, rotating the render buffer, and using value curves.
Don't underestimate the power of what's available with the built-in effects.
 

CargoLights

Apprentice elf
Generous elf
Joined
Sep 16, 2020
Messages
80
Location
Grantsville, Utah, United States
Creating effects in xLights is more art than science. If you want to learn, one of the best ways would be to find a sequence with an effect you find interesting and look at how it was done, then see if you can replicate it. Once you've got a good understanding of how other people use the tools available, you can start to find creative ways to use them yourself.
 

Adsy

Full time elf
Joined
Aug 10, 2018
Messages
204
Location
Sheidow Park SA
Shaders generally work well with large props or as a whole house effect. As mentioned on the surface it seems limiting, but there are lots of
options with rendering outputs and layering. That said if you want create new effects i'd be interested to see what's cooking :)
 

brando

Full time elf
Joined
Nov 26, 2021
Messages
130
Location
Ormeau, Qld
I'm not a techy and I'm not creative, but as Skymaster mentions above, the adjustments available can make more difference than you'd expect. I've tried doing my own sequences and think they look garbage only to find an import sequence using the same effect looks amazing and it's all down to the different rendering styles and layering etc.
Have a look at what someone like Ron Howard can create with the tools that are already there
 

merryoncherry

Senior elf
Joined
Apr 2, 2022
Messages
634
Location
Cherry St., Hudson MA USA
Yes to all of the above.

Shaders, (or a simple video / image effect exported from somewhere else), can produce stuff that's truly new, and sure you can go to the C++ and add more. The best resource I found for learning about shaders and so on is:

View: https://www.youtube.com/watch?v=D7OjgquPYbA


But people get a lot of mileage out of the built-ins given there is:
1. Layering & Layer blending and masking
2. Roto-zoom tab, buffer style and blur
3. Color gradients and colors that change in time if you right click
4. in/out transitions
5. Canvas mode, and effects like warp that use it well
6. Value curves to make the effect interesting through time
7. Sparkles, color adjustments, various stuff I didn't mention

If you had any specific effect in mind that you were trying to get but couldn't get, maybe that'd help others give suggestions on how to achieve it.

IMO, certain props like single-strand arches just don't do very much, and chase effects, value curves, etc., are all you need.
At the far end, whole house and matrix, you are in territory where you can't do everything, but shaders and videos can stand in. The "sketch effect" is the most recent addition here, so probably room for more in the code also... but if you wanted to add one look at the commits for that.

The one big open area is true 3-D effects for cubes etc. xLights doesn't offer as much there as it could because of how the render styles always build 2D buffers.
 
Top