Old 22nd July 2011, 20:51   #1
RLP's Avatar
Join Date: Mar 2009
Location: A city
Posts: 48
Reviving Stereo 3D

Now these days we got more 3D movies hitting theaters than ever before I guess, and the PS3 is able to do 3D gaming, 3DTVs out on the market, and NVIDIA has them 3D Vision glasses. Well I'm wondering if maybe we can bring back Stereoscopic 3D into MilkDrop. I think there could be a way the code could be worked out so MD can display 3D in full color with the 3D Vision glasses or whatever is there, unless there's already a way. Care to evaluate or state your point of view?

RLP is offline   Reply With Quote
Old 23rd July 2011, 10:13   #2
Major Dude
Join Date: Mar 2008
Location: Erlangen
Posts: 926

That should certainly be possible but basically the code is no longer open source so it's all down to a few developers what they think is useful or not. Ryan Geiss quit the project long ago and has last been heard to work for Microsoft on their Natal project.

I don't think there will be MD3. Any reasonable new development would have to break up with original milkdrop and go new ways, and it's unlikely this will happen under winamp. That said, it is possible clone milkdrop2, as this guy demonstrates.


He used DirectX 11 as renderer and DirectCompute as equation solver. If he would make it available, that might be a basis for further devs but again I don't think this will happen. A future vis should support definition of geometries, rather than MD's flat mesh. Actually there are quite a few around such as plane9, mads by enthusiasts apparently, but they lead a niche existence.

I made an attempt for a flight through a mandelbox maze in 3D, but it's red-green again.
Nitorami is offline   Reply With Quote
Old 1st August 2011, 20:02   #3
RLP's Avatar
Join Date: Mar 2009
Location: A city
Posts: 48
NIce to see someone redid MD2 to run on DX11. Maybe you are right though about the current devs for MD2 for Winamp, but the 3D could happen, but alas, Ryan Geiss left. He's actually working at Google now though. Appreciate your input, though, and as for your preset, I can't view it for 2 reasons:
1: I don't have red-blue glasses, only green-magenta (came with Jakcass 3)
2: ALL of your presets use shaders, and my FX5200 blew up over a year ago, I'm stuck with the old Intel chip built into my Dell, and I think it's ready to go too (Running MilkDrop, GTASA, PS1 Emu, etc.)

RLP is offline   Reply With Quote
Old 2nd August 2011, 18:02   #4
Major Dude
Join Date: Mar 2008
Location: Erlangen
Posts: 926
I agree that shader2 presets won't work without a half decent video card, but red-cyan glasses should be fairly ok. You may try them with the screenshot attached.
Attached Thumbnails
Click image for larger version

Name:	red-cyan2.jpg
Views:	833
Size:	59.2 KB
ID:	49020  
Nitorami is offline   Reply With Quote
Old 28th August 2011, 16:22   #5
Junior Member
Join Date: Mar 2011
Posts: 3
Hey guys,

I made the DX11 clone of Milkdrop 2.
Fun to see it mentioned here, without I even told anyone about my hobby project

But my project is currently on hold, I'm busy with other stuff, I hope I can continue with it on the end of the year.
But it took me a very long time to reverse engineer Milkdrop 2. And the current code is still very unstable and very dirty, so it has no use to share it with other developers.

The biggest negative point is that it takes a few seconds to switch from 1 preset to another. This is because my equation solver uses directcompute shaders, and they all need to be compiled while loading a new preset. And this takes a long time (few seconds)

My original plan was to convert it for Mac OS X, with GLSL (ati has an opensource project to convert HLSL to GLSL shaders). But that is still so much work. And then I wanted to extend it, to add 3D stuff and to make more use of the parallel power of the GPU.

My project was originally based on Project-M (http://projectm.sourceforge.net/), but that project gives a lot of wrong results, a lot of bugs and things different than MilkDrop pffff, so I did a total rewrite.

Uploaded with ImageShack.us

So yeah, don't expect a for example MD3 from me soon
litheon is offline   Reply With Quote
Old 28th August 2011, 19:35   #6
Major Dude
Join Date: Mar 2008
Location: Erlangen
Posts: 926
Hi litheon

Pity then, but I still need to say I was quite impressed by your clone. I stumbled across it when scanning youtube for milkdrop videos.
The last MD source available was 1.1 I think, which was before AOL took over. Interesting to see it can be cloned anyway... how long did you work on it ?
Nitorami is offline   Reply With Quote
Old 15th March 2012, 12:41   #7
Junior Member
Join Date: Mar 2012
Posts: 6
Great job litheon! And thank you for sharing That's a fantastic start, I read your introduction & explanation of your progress on YouTube... I hope you will have the time & be motivated to keep working on it.

Martin: You are awesome! Thank you so much! I love your presets, they are all fantastic. I have to admit I've gone in and tweaked out a number of them- just to kind of personalize them to my favorite colors or to respond to my music in a certain way; and I've replaced a number of the textures with my own.
And I'm really intrigued & amazed by this 3D preset you've made. I've gotta find some of those glasses so I can check it out!

Although I realize it's unlikely, I really hope that MD will be developed further in order to take advantage of the new features & capabilities of today's GPUs.
AuralArchitect is offline   Reply With Quote
Old 31st March 2012, 18:36   #8
Junior Member
Join Date: Dec 2001
Posts: 42
Great stuff litheon, I'm curious what the status of this is? I would really love to see the code get released. Since it's obvious that AOL refuses to work on MD2 any further, or release the code, it appears that your project is the only hope. Would you be willing to release it? Even if the code is in a messy state, some other developers (like myself) could possibly help in cleaning it up.

Let us know, thanks.
mfbscs is offline   Reply With Quote
Old 31st December 2015, 21:49   #9
Junior Member
Join Date: Dec 2015
Posts: 5
System Report

Time has passed and now I have encounted a similiar system requirement.

Steroscopic Visualization System Definition:
1.) System will process audio signal into stereoscopic video.
2.) System will support common audio file formats such as mp3, wav, ect...
3.) System will support MilkDrop plugin compatibility.
4.) System will support Line-in/Mic input.

Stereoscopic 3D playback has been added in VLC as part of the Google Summer of Code project (GSoC 2011).

I notice this file in the code:

Check this out:
* Open the module
* @param p_this: the filter object
* @return VLC_SUCCESS or vlc error codes
static int Open( vlc_object_t * p_this )
/* Create the object for the thread */
vlc_sem_init( &p_sys->ready, 0 );
p_sys->b_error = false;
p_sys->b_quit = false;
p_sys->i_width = var_InheritInteger( p_filter, "projectm-width" );
p_sys->i_height = var_InheritInteger( p_filter, "projectm-height" );
p_sys->i_channels = aout_FormatNbChannels( &p_filter->fmt_in.audio );
vlc_mutex_init( &p_sys->lock );
p_sys->p_buffer = NULL;
p_sys->i_buffer_size = 0;
p_sys->i_nb_samples = 0;

* Do the actual work with the new sample
* @param p_aout: audio output object
* @param p_filter: filter object
* @param p_in_buf: input buffer
* @param p_out_buf: output buffer
static block_t *DoWork( filter_t *p_filter, block_t *p_in_buf )
filter_sys_t *p_sys = p_filter->p_sys;

vlc_mutex_lock( &p_sys->lock );
if( p_sys->i_buffer_size > 0 )
p_sys->i_nb_samples = __MIN( p_sys->i_buffer_size,
p_in_buf->i_nb_samples );

const float *p_src = (float*)p_in_buf->p_buffer;
for( unsigned i = 0; i < p_sys->i_nb_samples; i++ )
float v = 0;
for( int j = 0; j < p_sys->i_channels; j++ )
v += p_src[p_sys->i_channels * i + j];
p_sys->p_buffer[i] = v / p_sys->i_channels;
vlc_mutex_unlock( &p_sys->lock );

return p_in_buf;

Compilation Status: TODO
Compatibility report: TODO

In the event of failure, I will rewrite this from scratch using the latest VLC and project-m codebase.
mancoast is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Feature Requests

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