Hiyas, I’am wondering if anyone has done any type of gfx program that is not based on the standard spectrum/oss output. I’am looking at generating maybe something like a fractal image in relatime based on VU readings or something.
Anyone have any ideas or suggestions on a high speed algorthism that perhaps looks half decent. My attempts so far has been either too slow , or the output is so poor its sicking.
I don’t think fractals are a very good idea for fast graphics.
The problem is that calculating fractals, withouth even showing them, is relatively slow.
You could render some fractals in memory with different parameters and then do things like moving/color fading/… with the rendered fractals, but I don’t think it is possible to calculate high quality fractals at a reasonable realtime speed.
For fast graphics in general (such as winamp’s avs) I think you have to take a look at DirectX/DDraw/D3D.
- Adion answered 15 years ago
Oh yeah, I hate using 3rd party dlls, but blackshard was trying to tell me how he did all of his callback and dsp stuff so I used his dlls for my dsp fx. I’m going to try to find a way to not use them because I hate using them! Anyways, I didnt use any OCX’s so I dont know what you mean by that, I did however use a custom slider bar which I did include.
Thanks adion, I already was planning on using the DirectX SDK, via a mix of Direct 3D, and Direct Draw.
However my mind is a blank (no creativity) when it comes to applying the data I do have into something half decent. I do have alot of fractal images, but as to manulplating them I am at a loss.
If you are able to get the right data you could make something like the Winamp visuals. For example, you could make something like the Winamp fireworks display, which could change color on every beat change, and increases in size depending on the speed /and or an increase in VU values. To plot it, try looking at some Dirext-X tutorials, try looking at [url:2fn1uui1]http://www.directx4vb.com/[/url:2fn1uui1] or [url:2fn1uui1]http://www.planetsourcecode.com/[/url:2fn1uui1]. There are some really nice tutorials on either site.
I took a look at the oscilloscope program that you wrote, It constantly crashes on my machine. Though I have not taken the time to truely look at the source code in detail. When I start looking at source and find that it uses ocx’s which are not included in the source. I generally throw them away. Same with 3rd party dll’s. I like to have as much source code written by myself as possible.
As for the visual its not a matter of what I wana display its a matter of a fast, very efficent routine that looks “awsome”. Something like a fractal image changing to the beat of the music in real time I think would look very nice.
By the way don't get me wrong, I did like your player, I think alot of users could learn from it however its full of 3rd party dlls and even a ocx file that you did not include the source too. Without this source newbies to FMOD will not be able to fully understand what is going on. Furthermore if any of these are copyrighted in any way then the person would need to seek permission to use them as well. There might be some conditions they have set that you didn't include with your source. Anyhow as I said, its not a matter of attaning the data, its a matter of how to represent the data in some type of visual that is appealing to the eye.
P.S. If I sounded condensing to you Android it is not how I wanted to express myself, and I applogize in advance.
Please login first to submit.