Old 12th February 2013, 18:11   #1
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
old AVSer's first Milkdrop

i wanted to try out my skills, i had years ago with avs, but now with milkdrop...

what do you think about my first (viewable ) preset?

thanx for comments

GreatWho
Attached Files
File Type: milk GreatWho - Rock The House.milk (6.1 KB, 304 views)
greatWho is offline   Reply With Quote
Old 19th February 2013, 19:50   #2
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 856
Excellent, seriously. Please continue.
Nitorami is offline   Reply With Quote
Old 22nd February 2013, 11:08   #3
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
+1 what he says!

If you like, here's a pack that features my warp and composite shaders that are most likely mashable:
http://a-musing-discordian.deviantart.com/art/MegolamaGreg-Mixes-168194845


Flexi is offline   Reply With Quote
Old 23rd February 2013, 21:03   #4
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
rock out on 93 mixes:
Attached Files
File Type: zip GreatWho + Flexi - Rock The House [Caturday Night].zip (197.9 KB, 249 views)
Flexi is offline   Reply With Quote
Old 26th February 2013, 20:01   #5
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
Thank you, i'd go on...

@Flexi, very nice mixes, I have to know more about the shaders^^
any good tutorial out there?

i've added some moves in my first one and there are two new, wher i tried to get something like the superscope in avs. netxt i try the 3d-superscope (from el-vis), but it's tricky...

... can i make any block for the /per-instance -part in the per-frame section of the custom shape? or only in the way like "x=0.1+0.8*instance/number_of_instance;" is there any way to find out how much instances are set?
Attached Files
File Type: milk GreatWho - Rock The House_newmove.milk (5.9 KB, 260 views)
File Type: milk GreatWho - Lasershow.milk (6.3 KB, 241 views)
File Type: milk GreatWho . Neomtwister.milk (6.5 KB, 274 views)
greatWho is offline   Reply With Quote
Old 26th February 2013, 20:52   #6
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 856
Multiple shapes were added to MD later. I understand that in order to maintain compatibility, no shapes per-frame section could be added.
The number of shapes is in num_inst.

In comparison to avs, programming shapes and waves in MD is rather awkward, with the four separate sections and a separate per-frame section. Its strength is the capability to directly wysiwyg the shaders. Your first tutorial should be the preset authoring guide that comes with milkdrop. You might also find my tutorial posts in the forum useful.
Nitorami is offline   Reply With Quote
Old 27th February 2013, 20:20   #7
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
found a way for 3d in flexi's new cubism and made some modifications in my_x and my_y...


and i added some color ;-)
greatWho is offline   Reply With Quote
Old 28th February 2013, 18:22   #8
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
I'm glad you could pick it up, yeah! I also liked the lasers and i went a little bit nuts about it, resulting in over 200 mixes again...

If you want to see a serious 3D hack check this out: http://forums.winamp.com/showpost.ph...34&postcount=2
Flexi is offline   Reply With Quote
Old 28th February 2013, 19:24   #9
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
thank you, cool mixes again.

thank you for the link. i'll look the code.

here's a new one
Attached Files
File Type: milk GreatWho - Helix.milk (6.7 KB, 241 views)
greatWho is offline   Reply With Quote
Old 4th March 2013, 17:14   #10
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
cool, some parts of the codes in my old avs-presets can be used with the shapes...

here's another one*

*there is any bug in the shapes, the drawn hearts will disapear and there are only the instances 100,200,300,400 of the shapes (1&2) drawn. I don't know why, it happens randomly and i didn't find any way to reproduce the bug yet.(well, would be a nice effect, if controlable)
Attached Files
File Type: milk GreatWho - Dancing Hearts.milk (7.8 KB, 281 views)

Last edited by greatWho; 4th March 2013 at 18:14.
greatWho is offline   Reply With Quote
Old 4th March 2013, 20:44   #11
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 856
Quote:
cool, some parts of the codes in my old avs-presets can be used with the shapes...
Yes, the ns-eel language extension was added with winamp version 5.57. Read the details here
http://forums.winamp.com/showthread.php?t=315268
that should sound familiar to you.

Quote:
there is any bug in the shapes
Probably a problem with the "equal" comparison such as in "equal (index,101)". Make sure that the numbers are integer, not float, otherwise the comparison may fail. You may force numbers to integer by int(), floor() or ceil() before doing "equal" comparisons.

BTW this preset runs very slow on my machine, because the polygons have 100 sides. 30 sides still look fine but use a lot less CPU.

Martin
Nitorami is offline   Reply With Quote
Old 5th March 2013, 11:00   #12
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
that may be, i will check, if it is the problem...
i didn' realise the speed problem, i've got a fast cpu^^ but I changed to 30 sides. thank you for that input.

thank you, i didn't know, if typecast is possible, now i have the answer^^ i was thinking to make a grid with x=(instance-1)%num_inst^(1/2); and y=int((instance-1)/num_inst^(1/2));

or a "3d"-cube with x=(instance-1)%num_inst^(1/3); y=int((instance-1)/num_inst^(1/3)); and z=int((instance-1)/num_inst^(2/3));

i think that should be possible
greatWho is offline   Reply With Quote
Old 17th March 2013, 09:15   #13
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
Shader playaround

to learn about the pixelshaders, i played around with. what do you think about my first steps?
Attached Files
File Type: milk GreatWho - Playaround 1b.milk (5.9 KB, 230 views)
File Type: milk GreatWho - Playaround 2.milk (6.3 KB, 222 views)
File Type: milk GreatWho - Twisted.milk (7.0 KB, 216 views)
greatWho is offline   Reply With Quote
Old 17th March 2013, 10:08   #14
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
code:
float2 uv1= uv;
uv1 += GetBlur2(uv.x)+.1*treb;


when you do something like this in the shaders, you must know that GetBlur and GetPixel return a three-component vector: the rgb value at the location uv. uv is a two-component vector for the normalized xy position in a texture, aka "screen space" or "domain map". By the statement above you increment xy by rg, b won't be used. Adding another constant or float value like that at the end, implicitly expands it to a two-component value with the same value for x and y. By the same way, you're also only using the diagonal through blur2: an equivalent statement would have been GetBlur2(uv.xx). you can address the components in a custom order and combination too, xyz and rgb mean the same thing.

In general, if you modify the uv vector, this is called a plane deformation operation. In the simplest case this is a scaling or shift. Rotation is a bit trickier. But if you once got the hang of it, you can even use the gradients in the texture for inflation/deflation effects.

Nice first tries! i hope this helps you further anyhow.

have fun!
Flexi is offline   Reply With Quote
Old 18th March 2013, 10:33   #15
Vasyutina2
Banned
 
Join Date: Mar 2013
Posts: 3
спасибо за инфу - тока forums.winamp.com почему то у меня медленно грузится - что может быть не так?
Vasyutina2 is offline   Reply With Quote
Old 18th March 2013, 21:37   #16
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 856
Если вы не можете английский -

http://forums.winamp.com/forumdispla...ysprune=&f=165
Nitorami is offline   Reply With Quote
Old 21st March 2013, 16:10   #17
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
here's my next preset learning to use the pixelshader

what do you think about this one?
Attached Files
File Type: milk GreatWho - The Beauty and the Maths.milk (8.3 KB, 227 views)
greatWho is offline   Reply With Quote
Old 22nd March 2013, 17:26   #18
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
here's another one to see
Attached Files
File Type: milk GreatWho - Singularity.milk (7.3 KB, 231 views)
greatWho is offline   Reply With Quote
Old 12th May 2013, 19:39   #19
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
here are some new presets

have fun
Attached Files
File Type: milk GreatWho - In The Spotlight V1.milk (6.5 KB, 231 views)
File Type: milk GreatWho - In The Spotlight V2.milk (8.1 KB, 218 views)
greatWho is offline   Reply With Quote
Old 13th May 2013, 17:21   #20
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
v2 looks very nice with "in the air tonight" by Phil Collins
greatWho is offline   Reply With Quote
Old 9th November 2013, 18:12   #21
TheNewGeneration
Junior Member
 
Join Date: Jul 2013
Posts: 28
So many freakin' Presets! I think the mixer inside of my is in orgasm right now. Can't wait to see all of these, including your mixes Flexi!
TheNewGeneration is offline   Reply With Quote
Old 11th November 2013, 19:28   #22
Nitorami
Major Dude
 
Join Date: Mar 2008
Location: Erlangen
Posts: 856
Hi Great Who

I like the surprising shapes in addicted, but find them a bit too flashy. But then, maybe that is just because me and my eyes are getting old.

A hint at this place: To soften brightness steps, in other words to adjust the gamma value, do not use the log10, which is negative for inputs < 1, has a nasty zero singularity and is undefined for negative values. The usual way to map an input between 0... infinity, as may be the outcome of calculations, to the valid range 0...1, is

ret = 1 - exp(-a x ret + b);

where a>0 and b is often zero but may be slightly negative to decrease contrast, or positive to increase it.

Martin
Nitorami is offline   Reply With Quote
Old 13th November 2013, 22:28   #23
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
Hey Martin
well, i know its a little bit flashy. I hope you have not had a seizure.
Thank you for the hint

here is anonter one
Attached Files
File Type: milk GreatWho - Mirrors.milk (7.2 KB, 188 views)
greatWho is offline   Reply With Quote
Old 14th November 2013, 21:12   #24
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
here is an extendet version of the last preset.
Attached Files
File Type: milk GreatWho - Mirrors_opt1mov.milk (7.5 KB, 211 views)
greatWho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump